diff options
Diffstat (limited to 'src/client/clientapp/clientapp.h')
-rw-r--r-- | src/client/clientapp/clientapp.h | 31 |
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(); }; |