Port away from Controller::activeConnectionIndex

This commit is contained in:
Tobias Fella
2023-11-05 17:07:08 +01:00
committed by Joshua Goins
parent e9e1e223f7
commit 6ba2b715c3
3 changed files with 9 additions and 19 deletions

View File

@@ -46,11 +46,6 @@ class Controller : public QObject
*/
Q_PROPERTY(NeoChatConnection *activeConnection READ activeConnection WRITE setActiveConnection NOTIFY activeConnectionChanged)
/**
* @brief The row number in the accounts directory of the active connection.
*/
Q_PROPERTY(int activeConnectionIndex READ activeConnectionIndex NOTIFY activeConnectionIndexChanged)
/**
* @brief Whether the OS NeoChat is running on supports sytem tray icons.
*/
@@ -99,8 +94,6 @@ public:
*/
void dropConnection(NeoChatConnection *c);
int activeConnectionIndex() const;
/**
* @brief Save an access token to the keychain for the given account.
*/
@@ -169,7 +162,6 @@ Q_SIGNALS:
void passwordStatus(Controller::PasswordStatus status);
void userConsentRequired(QUrl url);
void isOnlineChanged(bool isOnline);
void activeConnectionIndexChanged();
public Q_SLOTS:
void saveWindowGeometry();