X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=32ae3a9247f2cf7c37df4cafb6bbe1ea43db05ef;hp=26e67cc5d504bfa9a83a02f40ff1be726692444e;hb=453731c6d3c5eac2df5e98c4f179afabed4451a1;hpb=d1b6499b0b848d4287efae89107576548533502c diff --git a/src/client/client.h b/src/client/client.h index 26e67cc5..32ae3a92 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -54,14 +54,14 @@ public: static void destroy(); static void init(AbstractUi *); - static QList networks(); - static Network *network(NetworkId networkid); - static QList allBufferInfos(); static QList buffers(); static Buffer *buffer(BufferId bufferUid); static Buffer *buffer(BufferInfo); + static QList networkIds(); + static const Network * network(NetworkId); + static QList identityIds(); static const Identity * identity(IdentityId); @@ -144,6 +144,8 @@ signals: //! Sent to the core when an identity shall be removed. Should not be used elsewhere. void requestRemoveIdentity(IdentityId); + void networkAdded(NetworkId id); + public slots: //void selectBuffer(Buffer *); @@ -153,14 +155,13 @@ public slots: void setCoreConfiguration(const QVariantMap &settings); + void userInput(BufferInfo, QString); private slots: void recvSessionData(const QString &key, const QVariant &data); //void coreSocketError(QAbstractSocket::SocketError); - void userInput(BufferInfo, QString); - //void networkConnected(NetworkId); //void networkDisconnected(NetworkId);