From be9b998b2ee87c0238c2ed1b41c8c2bc723f4ce4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 28 Jul 2014 20:06:11 +0300 Subject: Fix formatting in gui files. --- src/gui/windows/textdialog.h | 62 ++++++++++++++++++++++---------------------- 1 file changed, 31 insertions(+), 31 deletions(-) (limited to 'src/gui/windows/textdialog.h') diff --git a/src/gui/windows/textdialog.h b/src/gui/windows/textdialog.h index 8e69e8a3d..f1dc70792 100644 --- a/src/gui/windows/textdialog.h +++ b/src/gui/windows/textdialog.h @@ -39,47 +39,47 @@ class TextField; class TextDialog final : public Window, public ActionListener { -public: - /** - * Constructor. - * - * @see Window::Window - */ - TextDialog(const std::string &restrict title, - const std::string &restrict msg, - Window *const parent = nullptr, - const bool isPassword = false); + public: + /** + * Constructor. + * + * @see Window::Window + */ + TextDialog(const std::string &restrict title, + const std::string &restrict msg, + Window *const parent = nullptr, + const bool isPassword = false); - A_DELETE_COPY(TextDialog) + A_DELETE_COPY(TextDialog) - ~TextDialog(); + ~TextDialog(); - void postInit() override final; + void postInit() override final; - /** - * Called when receiving actions from the widgets. - */ - void action(const ActionEvent &event) override final; + /** + * Called when receiving actions from the widgets. + */ + void action(const ActionEvent &event) override final; - /** - * Get the text in the textfield - */ - const std::string &getText() const A_WARN_UNUSED; + /** + * Get the text in the textfield + */ + const std::string &getText() const A_WARN_UNUSED; - void setText(const std::string &text); + void setText(const std::string &text); - static bool isActive() A_WARN_UNUSED - { return instances; } + static bool isActive() A_WARN_UNUSED + { return instances; } - void close() override final; + void close() override final; -private: - static int instances; + private: + static int instances; - TextField *mTextField; - PasswordField *mPasswordField; - Button *mOkButton; - bool mEnabledKeyboard; + TextField *mTextField; + PasswordField *mPasswordField; + Button *mOkButton; + bool mEnabledKeyboard; }; #endif // GUI_WINDOWS_TEXTDIALOG_H -- cgit v1.2.3-60-g2f50