summaryrefslogtreecommitdiffstats
path: root/src/client/clientapp/clientapp.h
diff options
context:
space:
mode:
authorChristian Klinger2016-09-29 15:40:18 +0200
committerChristian Klinger2016-09-29 15:40:18 +0200
commit3d82bfc698165bb20f3c38d42f2b77ab855c1edf (patch)
tree2c170bcdd5c89259bb0b530fa11fdfe701c99850 /src/client/clientapp/clientapp.h
parentadded an information dialog that displays ip and hostname. (diff)
downloadpvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.gz
pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.tar.xz
pvs2-3d82bfc698165bb20f3c38d42f2b77ab855c1edf.zip
astyle.
Diffstat (limited to 'src/client/clientapp/clientapp.h')
-rw-r--r--src/client/clientapp/clientapp.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/client/clientapp/clientapp.h b/src/client/clientapp/clientapp.h
index 996d48d..910eba2 100644
--- a/src/client/clientapp/clientapp.h
+++ b/src/client/clientapp/clientapp.h
@@ -14,27 +14,28 @@
* several widgets. With this class information access will also be easier as
* it is possible to access the current ClientApp instance from anywhere with
* the clientApp macro (like qApp) macro */
-class ClientApp : public QApplication {
+class ClientApp : public QApplication
+{
- Q_OBJECT
+ Q_OBJECT
- public:
- enum ConnectionMode { None, Auto, Session };
+public:
+ enum ConnectionMode { None, Auto, Session };
- private:
- bool _examMode;
- ConnectionMode _connectionMode; /* way of automatically connection to a session on startup*/
- QString _sessionName; /* only set when _connectionMode == Session */
- Toolbar* _toolbar;
- QStringList _arguments;
+private:
+ bool _examMode;
+ ConnectionMode _connectionMode; /* way of automatically connection to a session on startup*/
+ QString _sessionName; /* only set when _connectionMode == Session */
+ Toolbar* _toolbar;
+ QStringList _arguments;
- QStringList parseParameters();
+ QStringList parseParameters();
- public:
+public:
- ClientApp(int& argc, char** argv);
+ ClientApp(int& argc, char** argv);
- bool isExamMode() const { return _examMode; };
+ bool isExamMode() const { return _examMode; };
- virtual QStringList arguments();
+ virtual QStringList arguments();
};