summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/LoginDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialogs/LoginDialog.h')
-rw-r--r--gui/dialogs/LoginDialog.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/gui/dialogs/LoginDialog.h b/gui/dialogs/LoginDialog.h
index e7dbf52b..2fa863dd 100644
--- a/gui/dialogs/LoginDialog.h
+++ b/gui/dialogs/LoginDialog.h
@@ -45,17 +45,16 @@ private:
protected
slots:
void accept();
- void reject();
- void onTaskFailed(QString);
+ void onTaskFailed(const QString &reason);
void onTaskSucceeded();
- void onTaskStatus(QString);
- void onTaskProgress(qint64, qint64);
+ void onTaskStatus(const QString &status);
+ void onTaskProgress(qint64 value, qint64 max);
- void on_userTextBox_textEdited(QString);
- void on_passTextBox_textEdited(QString);
+ void on_userTextBox_textEdited(const QString &newText);
+ void on_passTextBox_textEdited(const QString &newText);
private:
Ui::LoginDialog *ui;
- QEventLoop loop;
+ MojangAccountPtr m_account;
};