diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2016-05-30 17:18:06 +0200 |
---|---|---|
committer | Anne Jan Brouwer <annejan@noprotocol.com> | 2016-05-30 17:18:06 +0200 |
commit | b6eececed2490081ed18f6dcadc60f9fd15899e5 (patch) | |
tree | ae2045e4d9fb04898251ce4af8b448737700bc27 /singleapplication.h | |
parent | 2e0a15113fd8bd4b98c9c9f82bc9b95c28b3565e (diff) |
clang formatter
Diffstat (limited to 'singleapplication.h')
-rw-r--r-- | singleapplication.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/singleapplication.h b/singleapplication.h index ad642446..bfe212ce 100644 --- a/singleapplication.h +++ b/singleapplication.h @@ -2,23 +2,23 @@ #define SINGLEAPPLICATION_H_ #include <QApplication> -#include <QSharedMemory> #include <QLocalServer> +#include <QSharedMemory> class SingleApplication : public QApplication { Q_OBJECT - public: +public: SingleApplication(int &argc, char *argv[], const QString uniqueKey); bool isRunning(); bool sendMessage(const QString &message); - public slots: +public slots: void receiveMessage(); - signals: +signals: void messageAvailable(QString message); - private: +private: bool _isRunning; QString _uniqueKey; QSharedMemory sharedMemory; @@ -27,4 +27,4 @@ class SingleApplication : public QApplication { static const int timeout = 1000; }; -#endif // SINGLEAPPLICATION_H_ +#endif // SINGLEAPPLICATION_H_ |