aboutsummaryrefslogtreecommitdiff
path: root/src/singleapplication.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-26 19:51:52 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-26 19:51:52 +0200
commit5825451aef1a762bfaeff2d37c09b3790deee7b1 (patch)
tree75feca7f6483e25d9bd920645e6044d3bb22966b /src/singleapplication.h
parentUpdate pkgbuild (diff)
downloadsmolbote-5825451aef1a762bfaeff2d37c09b3790deee7b1.tar.xz
Socket messages are json formatted
Diffstat (limited to 'src/singleapplication.h')
-rw-r--r--src/singleapplication.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/singleapplication.h b/src/singleapplication.h
index 05b7b40..68af953 100644
--- a/src/singleapplication.h
+++ b/src/singleapplication.h
@@ -23,13 +23,13 @@ public:
bool bindLocalSocket(const QString &name);
QString serverName() const;
- int sendMessage(const QString &profileName, bool newWindow, const QStringList &urls);
+ int sendMessage(const QJsonObject &message);
signals:
- void messageAvailable(const QString &profileName, bool newWindow, const QStringList &urls);
+ void messageAvailable(const QJsonObject &object);
private slots:
- void parseMessage();
+ void receiveMessage();
private:
const int LOCALSERVER_TIMEOUT = 500;