X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fclient.h;h=6d224cf96fb74a2643213cdb6b85918ef7cc9b66;hp=445648b23fed023a10b3728ccb0659cab7b45652;hb=e56629542168c203cac8504085fc96c7f7b73d90;hpb=eaa1bd30bc088e5cae6d8a742d7aedb3d8ff1897 diff --git a/src/client/client.h b/src/client/client.h index 445648b2..6d224cf9 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -142,6 +142,8 @@ public: static void mergeBuffersPermanently(BufferId bufferId1, BufferId bufferId2); static void purgeKnownBufferIds(); + static void changePassword(const QString &oldPassword, const QString &newPassword); + #if QT_VERSION < 0x050000 static void logMessage(QtMsgType type, const char *msg); #else @@ -191,7 +193,9 @@ signals: */ void bufferMarkedAsRead(BufferId id); - void clientChangePassword(QString password); + //! Requests a password change (user name must match the currently logged in user) + void requestPasswordChange(PeerPtr peer, const QString &userName, const QString &oldPassword, const QString &newPassword); + void passwordChanged(bool success); public slots: void disconnectFromCore(); @@ -202,8 +206,6 @@ public slots: void markBufferAsRead(BufferId id); - void changePassword(QString newPassword); - private slots: void setSyncedToCore(); void setDisconnectedFromCore(); @@ -218,6 +220,8 @@ private slots: void coreNetworkCreated(NetworkId); void coreNetworkRemoved(NetworkId); + void corePasswordChanged(PeerPtr, bool success); + void requestInitialBacklog(); void sendBufferedUserInput();