X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=gui%2Fguiproxy.h;h=0c0137916c9bf1142c656591ed96f8e531d9a3ea;hp=d1f5534825ed3ffe99d33082a74ddd4acb97e727;hb=82403b8a8777d44cbc35619e3bbd4feabfad5dc4;hpb=63db3c5de9d76c5abc55b0cba86f66d2aba7745d diff --git a/gui/guiproxy.h b/gui/guiproxy.h index d1f55348..0c013791 100644 --- a/gui/guiproxy.h +++ b/gui/guiproxy.h @@ -26,6 +26,7 @@ #include #include #include +#include /** This class is the GUI side of the proxy. The GUI connects its signals and slots to it, * and the calls are marshalled and sent to (or received and unmarshalled from) the CoreProxy. @@ -39,15 +40,15 @@ class GUIProxy : public QObject { public slots: inline void gsUserInput(QString s) { send(GS_USER_INPUT, s); } - inline void gsRequestConnect(QString host, quint16 port) { send(GS_REQUEST_CONNECT, host, port); } - //inline void gsPutQuasselData(QString key, QVariant data) { send(GS_PUT_QUASSEL_DATA, key, data); } + inline void gsRequestConnect(QStringList networks) { send(GS_REQUEST_CONNECT, networks); } void connectToCore(QString host, quint16 port); void disconnectFromCore(); signals: void csCoreState(QVariant); - void csCoreMessage(QString); + void csSendMessage(QString, QString, QString); + void csSendStatusMsg(QString, QString); void csUpdateGlobalData(QString key, QVariant data); void csGlobalDataChanged(QString key);