Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Rename 'logInWorked' to 'loggedInWithNewCredentials'

parent fc1d5dbf
......@@ -123,7 +123,7 @@ void ClientWorker::onConnect()
// Emit signal, that logging in with these credentials has worked for the first time
if (creds.isFirstTry)
emit kaidan->logInWorked();
emit kaidan->loggedInWithNewCredentials();
// accept credentials and save them
creds.isFirstTry = false;
......
......@@ -243,11 +243,11 @@ signals:
void newCredentialsNeeded();
/**
* Emitted when log in worked with new credentials
* Emitted when an authenticated connection to the server is established with new credentials for the first time.
*
* The client will be in connected state, when this is emitted.
*/
void logInWorked();
void loggedInWithNewCredentials();
/**
* Show passive notification
......
......@@ -142,7 +142,7 @@ Kirigami.ApplicationWindow {
Component.onCompleted: {
Kaidan.passiveNotificationRequested.connect(passiveNotification)
Kaidan.newCredentialsNeeded.connect(openLoginPage)
Kaidan.logInWorked.connect(openChatView)
Kaidan.loggedInWithNewCredentials.connect(openChatView)
Kaidan.subscriptionRequestReceived.connect(handleSubRequest)
openChatView()
......@@ -154,7 +154,7 @@ Kirigami.ApplicationWindow {
Component.onDestruction: {
Kaidan.passiveNotificationRequested.disconnect(passiveNotification)
Kaidan.newCredentialsNeeded.disconnect(openLoginPage)
Kaidan.logInWorked.disconnect(openChatView)
Kaidan.loggedInWithNewCredentials.disconnect(openChatView)
Kaidan.subscriptionRequestReceived.disconnect(handleSubRequest)
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment