summaryrefslogtreecommitdiff
path: root/resourceqt-client/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'resourceqt-client/client.h')
-rw-r--r--resourceqt-client/client.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/resourceqt-client/client.h b/resourceqt-client/client.h
index 36e6d48..1531db7 100644
--- a/resourceqt-client/client.h
+++ b/resourceqt-client/client.h
@@ -3,6 +3,7 @@
#include <QObject>
#include <QtCore/QTextStream>
+#include <QSocketNotifier>
#include <stdint.h>
#include <policy/resource-set.h>
@@ -38,12 +39,12 @@ private slots:
void resourceLostHandler();
void resourceReleasedHandler();
void resourcesBecameAvailableHandler(const QList<ResourcePolicy::ResourceType> &availableResources);
-
-protected:
- void timerEvent(QTimerEvent *e);
+ void readLine(int);
+ void doExit();
private:
QTextStream standardInput;
+ QSocketNotifier stdInNotifier;
int mainTimerID;
QString applicationClass;
ResourcePolicy::ResourceSet *resourceSet;