X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=d13001a48d8e4c065ab1aeec7649c2b058a76117;hp=ec9d8d6985512f43723757d678e00c5151d1152d;hb=4b45582f5d766e7324fe6d2abd260548ef0b9584;hpb=fee1002dcb914ef9d47ceae97080b8c140e3b1ed diff --git a/src/client/client.h b/src/client/client.h index ec9d8d69..d13001a4 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -5,7 +5,7 @@ * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -51,7 +51,7 @@ public: static QList networkInfos(); static NetworkInfo *networkInfo(uint networkid); - + static QList allBufferInfos(); static QList buffers(); static Buffer *buffer(uint bufferUid); @@ -68,7 +68,7 @@ public: static void fakeInput(uint bufferUid, QString message); static void fakeInput(BufferInfo bufferInfo, QString message); - + static void storeSessionData(const QString &key, const QVariant &data); static QVariant retrieveSessionData(const QString &key, const QVariant &def = QVariant()); static QStringList sessionDataKeys(); @@ -90,6 +90,8 @@ signals: void coreConnectionMsg(const QString &msg); void coreConnectionProgress(uint part, uint total); + void showConfigWizard(const QVariantMap &coredata); + void connected(); void disconnected(); @@ -103,6 +105,8 @@ public slots: void connectToCore(const QVariantMap &); void disconnectFromCore(); + void setCoreConfiguration(const QVariantMap &settings); + private slots: void recvCoreState(const QVariant &state); void recvSessionData(const QString &key, const QVariant &data); @@ -111,7 +115,6 @@ private slots: void coreHasData(); void coreSocketConnected(); void coreSocketDisconnected(); - void coreSocketStateChanged(QAbstractSocket::SocketState); void userInput(BufferInfo, QString); @@ -124,19 +127,22 @@ private slots: void recvBacklogData(BufferInfo, QVariantList, bool); void updateBufferInfo(BufferInfo); - void bufferDestroyed(); - void layoutMsg(); +private slots: + void bufferDestroyed(); + void networkInfoDestroyed(); + void ircChannelAdded(QString); + private: Client(QObject *parent = 0); virtual ~Client(); void init(); - + void syncToCore(const QVariant &coreState); static QPointer instanceptr; - + QPointer socket; QPointer _signalProxy; QPointer mainUi; @@ -146,7 +152,7 @@ private: quint32 blockSize; bool connectedToCore; - + QVariantMap coreConnectionInfo; QHash _buffers; QHash _networkInfo;