diff options
author | Andrew <forkk@forkk.net> | 2013-11-28 21:40:40 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-11-28 21:40:40 -0600 |
commit | f3a9dde52e99385eba01c9356ed8ef9548833e34 (patch) | |
tree | 557ddb2f51f4f1517f58a4a3e43201229a5b1abc /gui/dialogs/AccountListDialog.h | |
parent | bfc9e1e5d598f354dd39e5c2eb51d5e51585359b (diff) | |
download | MultiMC-f3a9dde52e99385eba01c9356ed8ef9548833e34.tar MultiMC-f3a9dde52e99385eba01c9356ed8ef9548833e34.tar.gz MultiMC-f3a9dde52e99385eba01c9356ed8ef9548833e34.tar.lz MultiMC-f3a9dde52e99385eba01c9356ed8ef9548833e34.tar.xz MultiMC-f3a9dde52e99385eba01c9356ed8ef9548833e34.zip |
Rework the password dialog
It's now used as a general purpose "account edit dialog". It'll be used
for entering usernames, passwords, or both.
Diffstat (limited to 'gui/dialogs/AccountListDialog.h')
-rw-r--r-- | gui/dialogs/AccountListDialog.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gui/dialogs/AccountListDialog.h b/gui/dialogs/AccountListDialog.h index 63720f58..634d944a 100644 --- a/gui/dialogs/AccountListDialog.h +++ b/gui/dialogs/AccountListDialog.h @@ -40,8 +40,6 @@ slots: void on_rmAccountBtn_clicked(); - void on_editAccountBtn_clicked(); - void on_setDefaultBtn_clicked(); void on_noDefaultBtn_clicked(); @@ -49,21 +47,17 @@ slots: // This will be sent when the "close" button is clicked. void on_closeBtnBox_rejected(); + void listChanged(); + //! Updates the states of the dialog's buttons. void updateButtonStates(); -signals: - void activeAccountChanged(); - protected: std::shared_ptr<MojangAccountList> m_accounts; - AuthenticateTask* m_authTask; - protected slots: - void doLogin(const QString& errMsg=""); - void onLoginComplete(); + void addAccount(const QString& errMsg=""); private: Ui::AccountListDialog *ui; |