summaryrefslogtreecommitdiff
path: root/resourceqt-client/client.h
diff options
context:
space:
mode:
authorWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-09-09 16:41:28 +0300
committerWolf Bergenheim <ext-wolf.2.bergenheim@nokia.com>2010-09-09 16:41:28 +0300
commitba2428504b6b20b2f1bd62383d1e88ff6ace10a7 (patch)
tree109e7d7195015cb864417838205863da7fd10772 /resourceqt-client/client.h
parentbf87507d83a8911d10fcefcf57d6c8d2f1d9dfae (diff)
downloadlibresourceqt-ba2428504b6b20b2f1bd62383d1e88ff6ace10a7.tar.gz
astyle
Diffstat (limited to 'resourceqt-client/client.h')
-rw-r--r--resourceqt-client/client.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/resourceqt-client/client.h b/resourceqt-client/client.h
index 1531db7..1a04961 100644
--- a/resourceqt-client/client.h
+++ b/resourceqt-client/client.h
@@ -24,21 +24,21 @@ public:
class Client : public QObject
{
- Q_OBJECT
+ Q_OBJECT
public:
- Client();
- ~Client();
+ Client();
+ ~Client();
- bool initialize(const CommandLineParser &commandParser);
- static uint32_t parseResourceList(QString resourceListStr);
+ bool initialize(const CommandLineParser &commandParser);
+ static uint32_t parseResourceList(QString resourceListStr);
private slots:
- void resourceAcquiredHandler(const QList<ResourcePolicy::ResourceType>& grantedResList);
- void resourceDeniedHandler();
- void resourceLostHandler();
- void resourceReleasedHandler();
- void resourcesBecameAvailableHandler(const QList<ResourcePolicy::ResourceType> &availableResources);
+ void resourceAcquiredHandler(const QList<ResourcePolicy::ResourceType>& grantedResList);
+ void resourceDeniedHandler();
+ void resourceLostHandler();
+ void resourceReleasedHandler();
+ void resourcesBecameAvailableHandler(const QList<ResourcePolicy::ResourceType> &availableResources);
void readLine(int);
void doExit();
@@ -46,18 +46,18 @@ private:
QTextStream standardInput;
QSocketNotifier stdInNotifier;
int mainTimerID;
- QString applicationClass;
- ResourcePolicy::ResourceSet *resourceSet;
+ QString applicationClass;
+ ResourcePolicy::ResourceSet *resourceSet;
QTextStream output;
static QMap<QString, CommandListArgs> commandList;
- ResourcePolicy::Resource* allocateResource(ResourcePolicy::ResourceType resource, bool optional);
- ResourcePolicy::ResourceType getResourceType(uint32_t resource);
+ ResourcePolicy::Resource* allocateResource(ResourcePolicy::ResourceType resource, bool optional);
+ ResourcePolicy::ResourceType getResourceType(uint32_t resource);
- void showPrompt();
- void showResources(const QList<ResourcePolicy::ResourceType> &resList);
- void showResources(const QList<ResourcePolicy::Resource*> &resList);
+ void showPrompt();
+ void showResources(const QList<ResourcePolicy::ResourceType> &resList);
+ void showResources(const QList<ResourcePolicy::Resource*> &resList);
};
#endif