+ //! Remove identity and propagate that fact to the clients.
+ /** \param identity The identity to be removed.
+ */
+ void removeIdentity(IdentityId identity);
+
+ //! Create a network and propagate the changes to the clients.
+ /** \param info The network's settings.
+ */
+ void createNetwork(const NetworkInfo &info, const QStringList &persistentChannels = QStringList());
+
+ //! Remove network and propagate that fact to the clients.
+ /** \param network The id of the network to be removed.
+ */
+ void removeNetwork(NetworkId network);
+
+ //! Rename a Buffer for a given network
+ /* \param networkId The id of the network the buffer belongs to
+ * \param newName The new name of the buffer
+ * \param oldName The old name of the buffer
+ */
+ void renameBuffer(const NetworkId &networkId, const QString &newName, const QString &oldName);
+
+ void changePassword(PeerPtr peer, const QString &userName, const QString &oldPassword, const QString &newPassword);
+
+ QHash<QString, QString> persistentChannels(NetworkId) const;
+
+ //! Marks us away (or unaway) on all networks
+ void globalAway(const QString &msg = QString());
+
+signals:
+ void initialized();
+ void sessionState(const Protocol::SessionState &sessionState);
+
+ //void msgFromGui(uint netid, QString buf, QString message);