summaryrefslogtreecommitdiff
path: root/src/gui/registerdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-19 15:15:19 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-19 16:39:56 +0300
commit10badd2c0e099c7611f6d23b3973e54f210bc172 (patch)
tree3689c22c252c2fed2f7e3d4cbd57d330fc2bf839 /src/gui/registerdialog.h
parent876e370925a021bb6731703c3db2db2945f62f85 (diff)
downloadplus-10badd2c0e099c7611f6d23b3973e54f210bc172.tar.gz
plus-10badd2c0e099c7611f6d23b3973e54f210bc172.tar.bz2
plus-10badd2c0e099c7611f6d23b3973e54f210bc172.tar.xz
plus-10badd2c0e099c7611f6d23b3973e54f210bc172.zip
Fix namespace conflicts.
Diffstat (limited to 'src/gui/registerdialog.h')
-rw-r--r--src/gui/registerdialog.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/src/gui/registerdialog.h b/src/gui/registerdialog.h
index d21cf802d..7d375c691 100644
--- a/src/gui/registerdialog.h
+++ b/src/gui/registerdialog.h
@@ -34,11 +34,7 @@ class Button;
class LoginData;
class OkDialog;
class RadioButton;
-
-namespace gcn
-{
- class TextField;
-}
+class TextField;
/**
* Listener used while dealing with wrong data. It is used to direct the focus
@@ -52,11 +48,11 @@ class WrongDataNoticeListener final : public gcn::ActionListener
A_DELETE_COPY(WrongDataNoticeListener)
- void setTarget(gcn::TextField *const textField);
+ void setTarget(TextField *const textField);
void action(const gcn::ActionEvent &event) override;
private:
- gcn::TextField *mTarget;
+ TextField *mTarget;
};
/**
@@ -102,10 +98,10 @@ class RegisterDialog final : public Window, public gcn::ActionListener,
LoginData *mLoginData;
- gcn::TextField *mUserField;
- gcn::TextField *mPasswordField;
- gcn::TextField *mConfirmField;
- gcn::TextField *mEmailField;
+ TextField *mUserField;
+ TextField *mPasswordField;
+ TextField *mConfirmField;
+ TextField *mEmailField;
Button *mRegisterButton;
Button *mCancelButton;
RadioButton *mMaleButton;