summaryrefslogtreecommitdiffstats
path: root/singleapplication.h
diff options
context:
space:
mode:
authorAnne Jan Brouwer <brouwer@annejan.com>2015-11-23 23:48:56 +0100
committerAnne Jan Brouwer <annejan@noprotocol.com>2015-11-23 23:48:56 +0100
commit281d8efd8fc55d847cf356954c3b33853c4e2a35 (patch)
treee6b8f538cefbbb02b83a692282c32f60927a857a /singleapplication.h
parent95a68a47e10d59cc2d229ad4492264d6a93206f9 (diff)
uncrustify
Diffstat (limited to 'singleapplication.h')
-rw-r--r--singleapplication.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/singleapplication.h b/singleapplication.h
index 966dc95c..236fabc1 100644
--- a/singleapplication.h
+++ b/singleapplication.h
@@ -7,25 +7,25 @@
class SingleApplication : public QApplication
{
- Q_OBJECT
+ Q_OBJECT
public:
- SingleApplication(int &argc, char *argv[], const QString uniqueKey);
+ SingleApplication(int &argc, char *argv[], const QString uniqueKey);
- bool isRunning();
- bool sendMessage(const QString &message);
+ bool isRunning();
+ bool sendMessage(const QString &message);
public slots:
- void receiveMessage();
+ void receiveMessage();
signals:
- void messageAvailable(QString message);
+ void messageAvailable(QString message);
private:
- bool _isRunning;
- QString _uniqueKey;
- QSharedMemory sharedMemory;
- QScopedPointer<QLocalServer> localServer;
+ bool _isRunning;
+ QString _uniqueKey;
+ QSharedMemory sharedMemory;
+ QScopedPointer<QLocalServer> localServer;
- static const int timeout = 1000;
+ static const int timeout = 1000;
};
#endif // SINGLE_APPLICATION_H