diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-25 13:27:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-25 13:27:25 +0300 |
commit | d671eb90eb2ba431ba15123309368520608e5ba3 (patch) | |
tree | c2658830de37e50d7c4b66a63e2164c666c2bf25 /src/gui/windows | |
parent | 7f60553aa81fe9e1889b1af12e0fe7db8d68f074 (diff) | |
download | manaplus-d671eb90eb2ba431ba15123309368520608e5ba3.tar.gz manaplus-d671eb90eb2ba431ba15123309368520608e5ba3.tar.bz2 manaplus-d671eb90eb2ba431ba15123309368520608e5ba3.tar.xz manaplus-d671eb90eb2ba431ba15123309368520608e5ba3.zip |
Fix align in constructors.
Diffstat (limited to 'src/gui/windows')
-rw-r--r-- | src/gui/windows/botcheckerwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/changeemaildialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/changepassworddialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/charselectdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/chatwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/confirmdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/connectiondialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/editdialog.cpp | 6 | ||||
-rw-r--r-- | src/gui/windows/equipmentwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/inventorywindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/logindialog.cpp | 5 | ||||
-rw-r--r-- | src/gui/windows/npcpostdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/outfitwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/quitdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/selldialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/shopwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/textdialog.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/tradewindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/windows/worldselectdialog.cpp | 2 |
20 files changed, 25 insertions, 22 deletions
diff --git a/src/gui/windows/botcheckerwindow.cpp b/src/gui/windows/botcheckerwindow.cpp index 8e4bdd047..292d18891 100644 --- a/src/gui/windows/botcheckerwindow.cpp +++ b/src/gui/windows/botcheckerwindow.cpp @@ -36,7 +36,7 @@ #include "debug.h" -BotCheckerWindow::BotCheckerWindow(): +BotCheckerWindow::BotCheckerWindow() : // TRANSLATORS: bot checker window header Window(_("Bot Checker"), false, nullptr, "botchecker.xml"), ActionListener(), diff --git a/src/gui/windows/changeemaildialog.cpp b/src/gui/windows/changeemaildialog.cpp index 33a55ef2b..f67a01584 100644 --- a/src/gui/windows/changeemaildialog.cpp +++ b/src/gui/windows/changeemaildialog.cpp @@ -44,7 +44,7 @@ #include "debug.h" -ChangeEmailDialog::ChangeEmailDialog(LoginData *const data): +ChangeEmailDialog::ChangeEmailDialog(LoginData *const data) : // TRANSLATORS: change email dialog header Window(_("Change Email Address"), true, nullptr, "changeemail.xml"), ActionListener(), diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp index d809c5efc..c2bb85c21 100644 --- a/src/gui/windows/changepassworddialog.cpp +++ b/src/gui/windows/changepassworddialog.cpp @@ -45,7 +45,7 @@ #include "debug.h" -ChangePasswordDialog::ChangePasswordDialog(LoginData *const data): +ChangePasswordDialog::ChangePasswordDialog(LoginData *const data) : // TRANSLATORS: change password window name Window(_("Change Password"), true, nullptr, "changepassword.xml"), ActionListener(), diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp index 167bd37f1..70d8cc4e1 100644 --- a/src/gui/windows/charselectdialog.cpp +++ b/src/gui/windows/charselectdialog.cpp @@ -55,7 +55,7 @@ // Character slots per row in the dialog static const int SLOTS_PER_ROW = 5; -CharSelectDialog::CharSelectDialog(LoginData *const data): +CharSelectDialog::CharSelectDialog(LoginData *const data) : // TRANSLATORS: char select dialog name Window(strprintf(_("Account %s (last login time %s)"), data->username.c_str(), data->lastLogin.c_str()), diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp index fe95b4e97..0ec192a89 100644 --- a/src/gui/windows/chatwindow.cpp +++ b/src/gui/windows/chatwindow.cpp @@ -85,7 +85,7 @@ static const char *const ACTION_COLOR_PICKER = "color picker"; -ChatWindow::ChatWindow(): +ChatWindow::ChatWindow() : // TRANSLATORS: chat window name Window(_("Chat"), false, nullptr, "chat.xml"), ActionListener(), diff --git a/src/gui/windows/confirmdialog.cpp b/src/gui/windows/confirmdialog.cpp index f71d4e551..ee4844aa5 100644 --- a/src/gui/windows/confirmdialog.cpp +++ b/src/gui/windows/confirmdialog.cpp @@ -37,7 +37,7 @@ ConfirmDialog::ConfirmDialog(const std::string &restrict title, const std::string &restrict msg, const std::string &restrict soundEvent, const bool ignore, - const bool modal, Window *const parent): + const bool modal, Window *const parent) : Window(title, modal, parent, "confirm.xml"), ActionListener(), mTextBox(new TextBox(this)), diff --git a/src/gui/windows/connectiondialog.cpp b/src/gui/windows/connectiondialog.cpp index 93b7f7e7b..3ea6d797a 100644 --- a/src/gui/windows/connectiondialog.cpp +++ b/src/gui/windows/connectiondialog.cpp @@ -36,7 +36,7 @@ extern bool mStatsReUpdated; ConnectionDialog::ConnectionDialog(const std::string &text, - const State cancelState): + const State cancelState) : Window("", false, nullptr, "connection.xml"), ActionListener(), mCancelState(cancelState) diff --git a/src/gui/windows/editdialog.cpp b/src/gui/windows/editdialog.cpp index 55102acdb..e0fbbdc4e 100644 --- a/src/gui/windows/editdialog.cpp +++ b/src/gui/windows/editdialog.cpp @@ -30,8 +30,10 @@ EditDialog::EditDialog(const std::string &restrict title, const std::string &restrict msg, - const std::string &restrict eventOk, const int width, - Window *const parent, const bool modal): + const std::string &restrict eventOk, + const int width, + Window *const parent, + const bool modal) : Window(title, modal, parent, "edit.xml"), ActionListener(), mEventOk(eventOk), diff --git a/src/gui/windows/equipmentwindow.cpp b/src/gui/windows/equipmentwindow.cpp index 4d90899b5..3cd1cd92e 100644 --- a/src/gui/windows/equipmentwindow.cpp +++ b/src/gui/windows/equipmentwindow.cpp @@ -57,7 +57,7 @@ static const int BOX_COUNT = 13; EquipmentWindow::EquipmentWindow(Equipment *const equipment, Being *const being, - const bool foring): + const bool foring) : // TRANSLATORS: equipment window name Window(_("Equipment"), false, nullptr, "equipment.xml"), ActionListener(), diff --git a/src/gui/windows/inventorywindow.cpp b/src/gui/windows/inventorywindow.cpp index 2049d2a12..43e5112a0 100644 --- a/src/gui/windows/inventorywindow.cpp +++ b/src/gui/windows/inventorywindow.cpp @@ -70,7 +70,7 @@ InventoryWindow::WindowList InventoryWindow::invInstances; -InventoryWindow::InventoryWindow(Inventory *const inventory): +InventoryWindow::InventoryWindow(Inventory *const inventory) : Window("Inventory", false, nullptr, "inventory.xml"), ActionListener(), KeyListener(), diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp index 6cd9ecdf5..94059592b 100644 --- a/src/gui/windows/logindialog.cpp +++ b/src/gui/windows/logindialog.cpp @@ -60,8 +60,9 @@ namespace OpenUrlListener urlListener; } // namespace -LoginDialog::LoginDialog(LoginData *const data, std::string serverName, - std::string *const updateHost): +LoginDialog::LoginDialog(LoginData *const data, + std::string serverName, + std::string *const updateHost) : // TRANSLATORS: login dialog name Window(_("Login"), false, nullptr, "login.xml"), ActionListener(), diff --git a/src/gui/windows/npcpostdialog.cpp b/src/gui/windows/npcpostdialog.cpp index 3fdb42cb7..327fcbf3f 100644 --- a/src/gui/windows/npcpostdialog.cpp +++ b/src/gui/windows/npcpostdialog.cpp @@ -39,7 +39,7 @@ NpcPostDialog::DialogList NpcPostDialog::instances; -NpcPostDialog::NpcPostDialog(const int npcId): +NpcPostDialog::NpcPostDialog(const int npcId) : // TRANSLATORS: npc post dialog caption Window(_("NPC"), false, nullptr, "npcpost.xml"), ActionListener(), diff --git a/src/gui/windows/outfitwindow.cpp b/src/gui/windows/outfitwindow.cpp index f9ac83ada..60030fbd3 100644 --- a/src/gui/windows/outfitwindow.cpp +++ b/src/gui/windows/outfitwindow.cpp @@ -49,7 +49,7 @@ #include "debug.h" -OutfitWindow::OutfitWindow(): +OutfitWindow::OutfitWindow() : // TRANSLATORS: outfits window name Window(_("Outfits"), false, nullptr, "outfits.xml"), ActionListener(), diff --git a/src/gui/windows/quitdialog.cpp b/src/gui/windows/quitdialog.cpp index 9d0b72295..20c194360 100644 --- a/src/gui/windows/quitdialog.cpp +++ b/src/gui/windows/quitdialog.cpp @@ -50,7 +50,7 @@ #include "debug.h" -QuitDialog::QuitDialog(QuitDialog **const pointerToMe): +QuitDialog::QuitDialog(QuitDialog **const pointerToMe) : // TRANSLATORS: quit dialog name Window(_("Quit"), true, nullptr, "quit.xml"), ActionListener(), diff --git a/src/gui/windows/selldialog.cpp b/src/gui/windows/selldialog.cpp index 691624e06..18d993c91 100644 --- a/src/gui/windows/selldialog.cpp +++ b/src/gui/windows/selldialog.cpp @@ -68,7 +68,7 @@ SellDialog::SellDialog(const int npcId) : init(); } -SellDialog::SellDialog(const std::string &nick): +SellDialog::SellDialog(const std::string &nick) : // TRANSLATORS: sell dialog name Window(_("Sell"), false, nullptr, "sell.xml"), ActionListener(), diff --git a/src/gui/windows/shopwindow.cpp b/src/gui/windows/shopwindow.cpp index 903a21a57..2d13cf23f 100644 --- a/src/gui/windows/shopwindow.cpp +++ b/src/gui/windows/shopwindow.cpp @@ -74,7 +74,7 @@ extern std::string tradePartnerName; ShopWindow::DialogList ShopWindow::instances; -ShopWindow::ShopWindow(): +ShopWindow::ShopWindow() : // TRANSLATORS: shop window name Window(_("Personal Shop"), false, nullptr, "shop.xml"), ActionListener(), diff --git a/src/gui/windows/textdialog.cpp b/src/gui/windows/textdialog.cpp index 3aa3211ad..314f8d6a0 100644 --- a/src/gui/windows/textdialog.cpp +++ b/src/gui/windows/textdialog.cpp @@ -39,7 +39,7 @@ int TextDialog::instances = 0; TextDialog::TextDialog(const std::string &restrict title, const std::string &restrict msg, Window *const parent, - const bool isPassword): + const bool isPassword) : Window(title, true, parent, "textdialog.xml"), ActionListener(), mTextField(nullptr), diff --git a/src/gui/windows/tradewindow.cpp b/src/gui/windows/tradewindow.cpp index 5827ca8a0..eaef2026b 100644 --- a/src/gui/windows/tradewindow.cpp +++ b/src/gui/windows/tradewindow.cpp @@ -67,7 +67,7 @@ // TRANSLATORS: trade window button #define CAPTION_ACCEPTED _("Agreed. Waiting...") -TradeWindow::TradeWindow(): +TradeWindow::TradeWindow() : // TRANSLATORS: trade window caption Window(_("Trade: You"), false, nullptr, "trade.xml"), ActionListener(), diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index 9835279cc..b38f19943 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -162,7 +162,7 @@ static std::vector<UpdateFile> loadTxtFile(const std::string &fileName) UpdaterWindow::UpdaterWindow(const std::string &restrict updateHost, const std::string &restrict updatesDir, const bool applyUpdates, - const int updateType): + const int updateType) : // TRANSLATORS: updater window name Window(_("Updating..."), false, nullptr, "update.xml"), ActionListener(), diff --git a/src/gui/windows/worldselectdialog.cpp b/src/gui/windows/worldselectdialog.cpp index 6a3dfb7a1..da7e29585 100644 --- a/src/gui/windows/worldselectdialog.cpp +++ b/src/gui/windows/worldselectdialog.cpp @@ -43,7 +43,7 @@ extern WorldInfo **server_info; -WorldSelectDialog::WorldSelectDialog(Worlds worlds): +WorldSelectDialog::WorldSelectDialog(Worlds worlds) : // TRANSLATORS: world select dialog name Window(_("Select World"), false, nullptr, "world.xml"), ActionListener(), |