summaryrefslogtreecommitdiff
path: root/src/gui/register.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/register.h')
-rw-r--r--src/gui/register.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/src/gui/register.h b/src/gui/register.h
index 4c1d9f88..480a7c03 100644
--- a/src/gui/register.h
+++ b/src/gui/register.h
@@ -33,19 +33,7 @@
class LoginData;
class OkDialog;
-
-/**
- * Listener used while dealing with wrong data. It is used to direct the focus
- * to the field which contained wrong data when the Ok button was pressed on
- * the error notice.
- */
-class WrongDataNoticeListener : public gcn::ActionListener {
- public:
- void setTarget(gcn::TextField *textField);
- void action(const gcn::ActionEvent &event);
- private:
- gcn::TextField *mTarget;
-};
+class WrongDataNoticeListener;
/**
* The registration dialog.
@@ -84,7 +72,7 @@ class RegisterDialog : public Window, public gcn::ActionListener,
* Returns whether submit can be enabled. This is true in the register
* state, when all necessary fields have some text.
*/
- bool canSubmit();
+ bool canSubmit() const;
/**
* Function to decide whether string is an unsigned short or not