From 741d50e884d8a8b783b3980db775ebc07045a65a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 16 May 2014 19:33:44 +0300 Subject: Move wrongdatanoticelistener into separate file. --- src/gui/windows/registerdialog.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'src/gui/windows/registerdialog.h') diff --git a/src/gui/windows/registerdialog.h b/src/gui/windows/registerdialog.h index 90087b5e2..fc063ac14 100644 --- a/src/gui/windows/registerdialog.h +++ b/src/gui/windows/registerdialog.h @@ -32,25 +32,7 @@ class Button; class LoginData; class RadioButton; class TextField; - -/** - * 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 final : public ActionListener -{ - public: - WrongDataNoticeListener(); - - A_DELETE_COPY(WrongDataNoticeListener) - - void setTarget(TextField *const textField); - - void action(const ActionEvent &event) override final; - private: - TextField *mTarget; -}; +class WrongDataNoticeListener; /** * The registration dialog. -- cgit v1.2.3-70-g09d2