diff options
Diffstat (limited to 'logic/lists/MojangAccountList.h')
-rw-r--r-- | logic/lists/MojangAccountList.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/logic/lists/MojangAccountList.h b/logic/lists/MojangAccountList.h index cfe96c11..908f5a7a 100644 --- a/logic/lists/MojangAccountList.h +++ b/logic/lists/MojangAccountList.h @@ -133,6 +133,11 @@ signals: */ void listChanged(); + /*! + * Signal emitted to indicate that the active account has changed. + */ + void activeAccountChanged(); + protected: /*! * Called whenever the list changes. @@ -140,6 +145,12 @@ protected: */ void onListChanged(); + /*! + * Called whenever the active account changes. + * Emits the activeAccountChanged() signal and autosaves the list if enabled. + */ + void onActiveChanged(); + QList<MojangAccountPtr> m_accounts; /*! |