summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-15 15:15:39 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-15 15:15:39 +0300
commitb2b348d4baf2891fd82635e068a4f64d2694ba6d (patch)
treec26a27f24697c0a3d925e1ee54239edf78dd6921 /src/gui/widgets
parentb675c9444e268238f836fcd0deb827233df3d012 (diff)
downloadmanaverse-b2b348d4baf2891fd82635e068a4f64d2694ba6d.tar.gz
manaverse-b2b348d4baf2891fd82635e068a4f64d2694ba6d.tar.bz2
manaverse-b2b348d4baf2891fd82635e068a4f64d2694ba6d.tar.xz
manaverse-b2b348d4baf2891fd82635e068a4f64d2694ba6d.zip
Fix compilation warnings without C++11 support.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/avatarlistbox.h2
-rw-r--r--src/gui/widgets/battletab.h2
-rw-r--r--src/gui/widgets/browserbox.h2
-rw-r--r--src/gui/widgets/button.h2
-rw-r--r--src/gui/widgets/channeltab.h2
-rw-r--r--src/gui/widgets/chattab.h2
-rw-r--r--src/gui/widgets/checkbox.h2
-rw-r--r--src/gui/widgets/desktop.h2
-rw-r--r--src/gui/widgets/dropdown.h2
-rw-r--r--src/gui/widgets/dropshortcutcontainer.h2
-rw-r--r--src/gui/widgets/emoteshortcutcontainer.h2
-rw-r--r--src/gui/widgets/extendedlistbox.h2
-rw-r--r--src/gui/widgets/extendednamesmodel.h2
-rw-r--r--src/gui/widgets/flowcontainer.h2
-rw-r--r--src/gui/widgets/guildchattab.h2
-rw-r--r--src/gui/widgets/guitable.cpp2
-rw-r--r--src/gui/widgets/guitable.h2
-rw-r--r--src/gui/widgets/horizontcontainer.h2
-rw-r--r--src/gui/widgets/icon.h2
-rw-r--r--src/gui/widgets/inttextfield.h2
-rw-r--r--src/gui/widgets/itemcontainer.h2
-rw-r--r--src/gui/widgets/itemlinkhandler.h2
-rw-r--r--src/gui/widgets/itemshortcutcontainer.h2
-rw-r--r--src/gui/widgets/label.h2
-rw-r--r--src/gui/widgets/layout.h2
-rw-r--r--src/gui/widgets/layouthelper.h2
-rw-r--r--src/gui/widgets/listbox.h2
-rw-r--r--src/gui/widgets/namesmodel.h2
-rw-r--r--src/gui/widgets/passwordfield.h2
-rw-r--r--src/gui/widgets/playerbox.h2
-rw-r--r--src/gui/widgets/popup.h2
-rw-r--r--src/gui/widgets/progressbar.h2
-rw-r--r--src/gui/widgets/progressindicator.h2
-rw-r--r--src/gui/widgets/radiobutton.h2
-rw-r--r--src/gui/widgets/radiogroup.h2
-rw-r--r--src/gui/widgets/scrollarea.h2
-rw-r--r--src/gui/widgets/setupitem.h20
-rw-r--r--src/gui/widgets/setuptab.h2
-rw-r--r--src/gui/widgets/setuptabscroll.h2
-rw-r--r--src/gui/widgets/shopitems.h2
-rw-r--r--src/gui/widgets/shoplistbox.h2
-rw-r--r--src/gui/widgets/shortcutcontainer.h2
-rw-r--r--src/gui/widgets/slider.h2
-rw-r--r--src/gui/widgets/sliderlist.h2
-rw-r--r--src/gui/widgets/spellshortcutcontainer.h2
-rw-r--r--src/gui/widgets/tab.h2
-rw-r--r--src/gui/widgets/tabbedarea.h2
-rw-r--r--src/gui/widgets/tablemodel.h2
-rw-r--r--src/gui/widgets/tabstrip.h2
-rw-r--r--src/gui/widgets/textbox.h2
-rw-r--r--src/gui/widgets/textfield.h2
-rw-r--r--src/gui/widgets/textpreview.h2
-rw-r--r--src/gui/widgets/tradetab.h2
-rw-r--r--src/gui/widgets/vertcontainer.h2
-rw-r--r--src/gui/widgets/whispertab.h2
-rw-r--r--src/gui/widgets/widgetgroup.h2
-rw-r--r--src/gui/widgets/window.h2
57 files changed, 66 insertions, 66 deletions
diff --git a/src/gui/widgets/avatarlistbox.h b/src/gui/widgets/avatarlistbox.h
index 84c491cd2..e79515bd4 100644
--- a/src/gui/widgets/avatarlistbox.h
+++ b/src/gui/widgets/avatarlistbox.h
@@ -48,7 +48,7 @@ class AvatarListBox final : public ListBox, public ConfigListener
public:
AvatarListBox(AvatarListModel *const model);
- A_DELETE_COPY(AvatarListBox);
+ A_DELETE_COPY(AvatarListBox)
~AvatarListBox();
diff --git a/src/gui/widgets/battletab.h b/src/gui/widgets/battletab.h
index 83dc44499..95042c9ea 100644
--- a/src/gui/widgets/battletab.h
+++ b/src/gui/widgets/battletab.h
@@ -33,7 +33,7 @@ class BattleTab final : public ChatTab
public:
BattleTab();
- A_DELETE_COPY(BattleTab);
+ A_DELETE_COPY(BattleTab)
~BattleTab();
diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h
index 7f9812a99..ec7b15585 100644
--- a/src/gui/widgets/browserbox.h
+++ b/src/gui/widgets/browserbox.h
@@ -84,7 +84,7 @@ class BrowserBox final : public gcn::Widget,
BrowserBox(const unsigned int mode = AUTO_SIZE,
const bool opaque = true);
- A_DELETE_COPY(BrowserBox);
+ A_DELETE_COPY(BrowserBox)
/**
* Destructor.
diff --git a/src/gui/widgets/button.h b/src/gui/widgets/button.h
index 47ba4cb1f..fbcc941ed 100644
--- a/src/gui/widgets/button.h
+++ b/src/gui/widgets/button.h
@@ -75,7 +75,7 @@ class Button final : public gcn::Button, public gcn::WidgetListener
const std::string &actionEventId,
gcn::ActionListener *const listener);
- A_DELETE_COPY(Button);
+ A_DELETE_COPY(Button)
/**
* Destructor.
diff --git a/src/gui/widgets/channeltab.h b/src/gui/widgets/channeltab.h
index d51e71511..e02da3b1e 100644
--- a/src/gui/widgets/channeltab.h
+++ b/src/gui/widgets/channeltab.h
@@ -33,7 +33,7 @@ class Channel;
class ChannelTab final : public ChatTab
{
public:
- A_DELETE_COPY(ChannelTab);
+ A_DELETE_COPY(ChannelTab)
Channel *getChannel() const
{ return mChannel; }
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h
index 2ab19814d..bd90e4d2e 100644
--- a/src/gui/widgets/chattab.h
+++ b/src/gui/widgets/chattab.h
@@ -55,7 +55,7 @@ class ChatTab : public Tab
*/
ChatTab(const std::string &name);
- A_DELETE_COPY(ChatTab);
+ A_DELETE_COPY(ChatTab)
~ChatTab();
diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h
index 63569214a..654c48d62 100644
--- a/src/gui/widgets/checkbox.h
+++ b/src/gui/widgets/checkbox.h
@@ -44,7 +44,7 @@ class CheckBox final : public gcn::CheckBox
gcn::ActionListener *const listener = nullptr,
const std::string &eventId = "");
- A_DELETE_COPY(CheckBox);
+ A_DELETE_COPY(CheckBox)
/**
* Destructor.
diff --git a/src/gui/widgets/desktop.h b/src/gui/widgets/desktop.h
index 818a1f037..253f22010 100644
--- a/src/gui/widgets/desktop.h
+++ b/src/gui/widgets/desktop.h
@@ -49,7 +49,7 @@ class Desktop final : public Container, private gcn::WidgetListener
public:
Desktop();
- A_DELETE_COPY(Desktop);
+ A_DELETE_COPY(Desktop)
~Desktop();
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h
index 97732db9b..1dd2f5a35 100644
--- a/src/gui/widgets/dropdown.h
+++ b/src/gui/widgets/dropdown.h
@@ -52,7 +52,7 @@ class DropDown final : public gcn::DropDown
gcn::ActionListener *const listener = nullptr,
const std::string &eventId = "");
- A_DELETE_COPY(DropDown);
+ A_DELETE_COPY(DropDown)
~DropDown();
diff --git a/src/gui/widgets/dropshortcutcontainer.h b/src/gui/widgets/dropshortcutcontainer.h
index 8b591b3c0..74f76fdaa 100644
--- a/src/gui/widgets/dropshortcutcontainer.h
+++ b/src/gui/widgets/dropshortcutcontainer.h
@@ -44,7 +44,7 @@ class DropShortcutContainer final : public ShortcutContainer
*/
DropShortcutContainer();
- A_DELETE_COPY(DropShortcutContainer);
+ A_DELETE_COPY(DropShortcutContainer)
/**
* Destructor.
diff --git a/src/gui/widgets/emoteshortcutcontainer.h b/src/gui/widgets/emoteshortcutcontainer.h
index 75b1e5a03..05fa737a4 100644
--- a/src/gui/widgets/emoteshortcutcontainer.h
+++ b/src/gui/widgets/emoteshortcutcontainer.h
@@ -45,7 +45,7 @@ class EmoteShortcutContainer final : public ShortcutContainer
*/
EmoteShortcutContainer();
- A_DELETE_COPY(EmoteShortcutContainer);
+ A_DELETE_COPY(EmoteShortcutContainer)
/**
* Destructor.
diff --git a/src/gui/widgets/extendedlistbox.h b/src/gui/widgets/extendedlistbox.h
index ac6c767c3..87e4ffde0 100644
--- a/src/gui/widgets/extendedlistbox.h
+++ b/src/gui/widgets/extendedlistbox.h
@@ -31,7 +31,7 @@ class ExtendedListBox final : public ListBox
*/
ExtendedListBox(gcn::ListModel *const listModel);
- A_DELETE_COPY(ExtendedListBox);
+ A_DELETE_COPY(ExtendedListBox)
~ExtendedListBox();
diff --git a/src/gui/widgets/extendednamesmodel.h b/src/gui/widgets/extendednamesmodel.h
index 52f162edb..3078f977f 100644
--- a/src/gui/widgets/extendednamesmodel.h
+++ b/src/gui/widgets/extendednamesmodel.h
@@ -32,7 +32,7 @@ class ExtendedNamesModel : public ExtendedListModel
public:
ExtendedNamesModel();
- A_DELETE_COPY(ExtendedNamesModel);
+ A_DELETE_COPY(ExtendedNamesModel)
virtual ~ExtendedNamesModel();
diff --git a/src/gui/widgets/flowcontainer.h b/src/gui/widgets/flowcontainer.h
index 526bec6ff..a56b0e2e8 100644
--- a/src/gui/widgets/flowcontainer.h
+++ b/src/gui/widgets/flowcontainer.h
@@ -42,7 +42,7 @@ class FlowContainer final : public Container,
*/
FlowContainer(const int boxWidth, const int boxHeight);
- A_DELETE_COPY(FlowContainer);
+ A_DELETE_COPY(FlowContainer)
/**
* Destructor.
diff --git a/src/gui/widgets/guildchattab.h b/src/gui/widgets/guildchattab.h
index 4981ad41e..74a1d0949 100644
--- a/src/gui/widgets/guildchattab.h
+++ b/src/gui/widgets/guildchattab.h
@@ -33,7 +33,7 @@ class GuildChatTab final : public ChatTab
public:
GuildChatTab();
- A_DELETE_COPY(GuildChatTab);
+ A_DELETE_COPY(GuildChatTab)
~GuildChatTab();
diff --git a/src/gui/widgets/guitable.cpp b/src/gui/widgets/guitable.cpp
index d00ff287b..18e7c37d7 100644
--- a/src/gui/widgets/guitable.cpp
+++ b/src/gui/widgets/guitable.cpp
@@ -45,7 +45,7 @@ public:
GuiTableActionListener(GuiTable *_table, gcn::Widget *_widget,
int _row, int _column);
- A_DELETE_COPY(GuiTableActionListener);
+ A_DELETE_COPY(GuiTableActionListener)
virtual ~GuiTableActionListener();
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index 5953348fc..edbaecef3 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -56,7 +56,7 @@ public:
GuiTable(TableModel *const initial_model = nullptr,
const bool opacity = true);
- A_DELETE_COPY(GuiTable);
+ A_DELETE_COPY(GuiTable)
virtual ~GuiTable();
diff --git a/src/gui/widgets/horizontcontainer.h b/src/gui/widgets/horizontcontainer.h
index 48c1eaa84..7730c9bcf 100644
--- a/src/gui/widgets/horizontcontainer.h
+++ b/src/gui/widgets/horizontcontainer.h
@@ -38,7 +38,7 @@ class HorizontContainer final : public Container, public gcn::WidgetListener
public:
HorizontContainer(const int height, const int spacing);
- A_DELETE_COPY(HorizontContainer);
+ A_DELETE_COPY(HorizontContainer)
virtual void add(gcn::Widget *widget);
diff --git a/src/gui/widgets/icon.h b/src/gui/widgets/icon.h
index 97de87d25..d04b12d4a 100644
--- a/src/gui/widgets/icon.h
+++ b/src/gui/widgets/icon.h
@@ -47,7 +47,7 @@ class Icon final : public gcn::Widget
*/
Icon(Image *const image);
- A_DELETE_COPY(Icon);
+ A_DELETE_COPY(Icon)
/**
* Gets the current Image.
diff --git a/src/gui/widgets/inttextfield.h b/src/gui/widgets/inttextfield.h
index e846e0cbe..d2191433e 100644
--- a/src/gui/widgets/inttextfield.h
+++ b/src/gui/widgets/inttextfield.h
@@ -37,7 +37,7 @@ class IntTextField final : public TextField
IntTextField(const int def = 0, const int min = 0, const int max = 0,
const bool enabled = true, const int width = 0);
- A_DELETE_COPY(IntTextField);
+ A_DELETE_COPY(IntTextField)
/**
* Sets the minimum and maximum values of the text box.
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h
index 419f23632..f2c6163d2 100644
--- a/src/gui/widgets/itemcontainer.h
+++ b/src/gui/widgets/itemcontainer.h
@@ -65,7 +65,7 @@ class ItemContainer final : public gcn::Widget,
ItemContainer(Inventory *const inventory,
const bool forceQuantity = false);
- A_DELETE_COPY(ItemContainer);
+ A_DELETE_COPY(ItemContainer)
/**
* Destructor.
diff --git a/src/gui/widgets/itemlinkhandler.h b/src/gui/widgets/itemlinkhandler.h
index 329bdeb80..dede39db1 100644
--- a/src/gui/widgets/itemlinkhandler.h
+++ b/src/gui/widgets/itemlinkhandler.h
@@ -34,7 +34,7 @@ class ItemLinkHandler final : public LinkHandler
public:
ItemLinkHandler();
- A_DELETE_COPY(ItemLinkHandler);
+ A_DELETE_COPY(ItemLinkHandler)
~ItemLinkHandler();
diff --git a/src/gui/widgets/itemshortcutcontainer.h b/src/gui/widgets/itemshortcutcontainer.h
index 9b8bfe797..18a5c020f 100644
--- a/src/gui/widgets/itemshortcutcontainer.h
+++ b/src/gui/widgets/itemshortcutcontainer.h
@@ -45,7 +45,7 @@ class ItemShortcutContainer final : public ShortcutContainer
*/
ItemShortcutContainer(const unsigned number);
- A_DELETE_COPY(ItemShortcutContainer);
+ A_DELETE_COPY(ItemShortcutContainer)
/**
* Destructor.
diff --git a/src/gui/widgets/label.h b/src/gui/widgets/label.h
index 51dcb632b..09f193436 100644
--- a/src/gui/widgets/label.h
+++ b/src/gui/widgets/label.h
@@ -48,7 +48,7 @@ class Label final : public gcn::Label
*/
Label(const std::string &caption);
- A_DELETE_COPY(Label);
+ A_DELETE_COPY(Label)
~Label();
diff --git a/src/gui/widgets/layout.h b/src/gui/widgets/layout.h
index f5dab2d33..895cf6019 100644
--- a/src/gui/widgets/layout.h
+++ b/src/gui/widgets/layout.h
@@ -336,7 +336,7 @@ class Layout final : public LayoutCell
public:
Layout();
- A_DELETE_COPY(Layout);
+ A_DELETE_COPY(Layout)
/**
* Sets the margin around the layout.
diff --git a/src/gui/widgets/layouthelper.h b/src/gui/widgets/layouthelper.h
index 72402f630..75443d8ac 100644
--- a/src/gui/widgets/layouthelper.h
+++ b/src/gui/widgets/layouthelper.h
@@ -40,7 +40,7 @@ class LayoutHelper final : public gcn::WidgetListener
*/
LayoutHelper(gcn::Container *const container);
- A_DELETE_COPY(LayoutHelper);
+ A_DELETE_COPY(LayoutHelper)
/**
* Destructor.
diff --git a/src/gui/widgets/listbox.h b/src/gui/widgets/listbox.h
index 5ba710987..e3976454d 100644
--- a/src/gui/widgets/listbox.h
+++ b/src/gui/widgets/listbox.h
@@ -44,7 +44,7 @@ class ListBox : public gcn::ListBox
*/
ListBox(gcn::ListModel *const listModel);
- A_DELETE_COPY(ListBox);
+ A_DELETE_COPY(ListBox)
~ListBox();
diff --git a/src/gui/widgets/namesmodel.h b/src/gui/widgets/namesmodel.h
index 47248e246..9138f90ce 100644
--- a/src/gui/widgets/namesmodel.h
+++ b/src/gui/widgets/namesmodel.h
@@ -32,7 +32,7 @@ class NamesModel : public gcn::ListModel
public:
NamesModel();
- A_DELETE_COPY(NamesModel);
+ A_DELETE_COPY(NamesModel)
virtual ~NamesModel();
diff --git a/src/gui/widgets/passwordfield.h b/src/gui/widgets/passwordfield.h
index b5b2c4e53..55b884b4f 100644
--- a/src/gui/widgets/passwordfield.h
+++ b/src/gui/widgets/passwordfield.h
@@ -38,7 +38,7 @@ class PasswordField final : public TextField
*/
PasswordField(const std::string &text = "");
- A_DELETE_COPY(PasswordField);
+ A_DELETE_COPY(PasswordField)
/**
* Draws the password field.
diff --git a/src/gui/widgets/playerbox.h b/src/gui/widgets/playerbox.h
index 4ae3c8866..5f9d3c54a 100644
--- a/src/gui/widgets/playerbox.h
+++ b/src/gui/widgets/playerbox.h
@@ -49,7 +49,7 @@ class PlayerBox final : public gcn::ScrollArea
PlayerBox(std::string skin = "");
- A_DELETE_COPY(PlayerBox);
+ A_DELETE_COPY(PlayerBox)
/**
* Destructor.
diff --git a/src/gui/widgets/popup.h b/src/gui/widgets/popup.h
index 26e73c183..d798966fd 100644
--- a/src/gui/widgets/popup.h
+++ b/src/gui/widgets/popup.h
@@ -60,7 +60,7 @@ class Popup : public Container, public gcn::MouseListener,
*/
Popup(const std::string &name = "", std::string skin = "");
- A_DELETE_COPY(Popup);
+ A_DELETE_COPY(Popup)
/**
* Destructor. Deletes all the added widgets.
diff --git a/src/gui/widgets/progressbar.h b/src/gui/widgets/progressbar.h
index 0039b245b..d306f58cb 100644
--- a/src/gui/widgets/progressbar.h
+++ b/src/gui/widgets/progressbar.h
@@ -51,7 +51,7 @@ class ProgressBar final : public gcn::Widget, public gcn::WidgetListener
const int width = 40, const int height = 7,
const int color = -1);
- A_DELETE_COPY(ProgressBar);
+ A_DELETE_COPY(ProgressBar)
~ProgressBar();
diff --git a/src/gui/widgets/progressindicator.h b/src/gui/widgets/progressindicator.h
index 1a9b91529..d96cc8f8c 100644
--- a/src/gui/widgets/progressindicator.h
+++ b/src/gui/widgets/progressindicator.h
@@ -37,7 +37,7 @@ class ProgressIndicator final : public gcn::Widget
public:
ProgressIndicator();
- A_DELETE_COPY(ProgressIndicator);
+ A_DELETE_COPY(ProgressIndicator)
~ProgressIndicator();
diff --git a/src/gui/widgets/radiobutton.h b/src/gui/widgets/radiobutton.h
index af73e7e75..7728d094e 100644
--- a/src/gui/widgets/radiobutton.h
+++ b/src/gui/widgets/radiobutton.h
@@ -41,7 +41,7 @@ class RadioButton final : public gcn::RadioButton
RadioButton(const std::string &caption, const std::string &group,
const bool marked = false);
- A_DELETE_COPY(RadioButton);
+ A_DELETE_COPY(RadioButton)
/**
* Destructor.
diff --git a/src/gui/widgets/radiogroup.h b/src/gui/widgets/radiogroup.h
index 008570faf..cdc9d8d0b 100644
--- a/src/gui/widgets/radiogroup.h
+++ b/src/gui/widgets/radiogroup.h
@@ -31,7 +31,7 @@ class RadioGroup final : public WidgetGroup
RadioGroup(const std::string &group, const int height,
const int spacing);
- A_DELETE_COPY(RadioGroup);
+ A_DELETE_COPY(RadioGroup)
gcn::Widget *createWidget(const std::string &name) override;
};
diff --git a/src/gui/widgets/scrollarea.h b/src/gui/widgets/scrollarea.h
index 4ce1499b5..c457afc8a 100644
--- a/src/gui/widgets/scrollarea.h
+++ b/src/gui/widgets/scrollarea.h
@@ -58,7 +58,7 @@ class ScrollArea final : public gcn::ScrollArea, public gcn::WidgetListener
ScrollArea(gcn::Widget *const widget, const bool opaque = true,
const std::string &skin = "");
- A_DELETE_COPY(ScrollArea);
+ A_DELETE_COPY(ScrollArea)
/**
* Destructor. Also deletes the content.
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index 4c843eebd..13540386f 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -69,7 +69,7 @@ class SetupItem : public gcn::ActionListener
std::string eventName, std::string def,
const bool mainConfig);
- A_DELETE_COPY(SetupItem);
+ A_DELETE_COPY(SetupItem)
~SetupItem();
@@ -144,7 +144,7 @@ class SetupItemCheckBox final : public SetupItem
std::string eventName, std::string def,
const bool mainConfig = true);
- A_DELETE_COPY(SetupItemCheckBox);
+ A_DELETE_COPY(SetupItemCheckBox)
~SetupItemCheckBox();
@@ -171,7 +171,7 @@ class SetupItemTextField final : public SetupItem
std::string eventName, std::string def,
const bool mainConfig = true);
- A_DELETE_COPY(SetupItemTextField);
+ A_DELETE_COPY(SetupItemTextField)
~SetupItemTextField();
@@ -210,7 +210,7 @@ class SetupItemIntTextField final : public SetupItem
const int min, const int max,
std::string def, const bool mainConfig = true);
- A_DELETE_COPY(SetupItemIntTextField);
+ A_DELETE_COPY(SetupItemIntTextField)
~SetupItemIntTextField();
@@ -241,7 +241,7 @@ class SetupItemLabel final : public SetupItem
SetupTabScroll *const parent,
const bool separator = true);
- A_DELETE_COPY(SetupItemLabel);
+ A_DELETE_COPY(SetupItemLabel)
~SetupItemLabel();
@@ -273,7 +273,7 @@ class SetupItemDropDown final : public SetupItem
std::string eventName, gcn::ListModel *const model,
std::string def, const bool mainConfig = true);
- A_DELETE_COPY(SetupItemDropDown);
+ A_DELETE_COPY(SetupItemDropDown)
~SetupItemDropDown();
@@ -308,7 +308,7 @@ class SetupItemSlider final : public SetupItem
const bool onTheFly = false,
const bool mainConfig = true);
- A_DELETE_COPY(SetupItemSlider);
+ A_DELETE_COPY(SetupItemSlider)
~SetupItemSlider();
@@ -357,7 +357,7 @@ class SetupItemSlider2 final : public SetupItem
const bool mainConfig = true,
const bool doNotAlign = false);
- A_DELETE_COPY(SetupItemSlider2);
+ A_DELETE_COPY(SetupItemSlider2)
~SetupItemSlider2();
@@ -407,7 +407,7 @@ class SetupItemSliderList : public SetupItem
const bool onTheFly = false,
const bool mainConfig = true);
- A_DELETE_COPY(SetupItemSliderList);
+ A_DELETE_COPY(SetupItemSliderList)
~SetupItemSliderList();
@@ -441,7 +441,7 @@ class SetupItemSound final : public SetupItemSliderList
const int width = 150, const bool onTheFly = false,
const bool mainConfig = true);
- A_DELETE_COPY(SetupItemSound);
+ A_DELETE_COPY(SetupItemSound)
void action(const gcn::ActionEvent &event) override;
diff --git a/src/gui/widgets/setuptab.h b/src/gui/widgets/setuptab.h
index 08da2dd67..caec8ab3f 100644
--- a/src/gui/widgets/setuptab.h
+++ b/src/gui/widgets/setuptab.h
@@ -39,7 +39,7 @@ class SetupTab : public Container, public gcn::ActionListener
public:
SetupTab();
- A_DELETE_COPY(SetupTab);
+ A_DELETE_COPY(SetupTab)
const std::string &getName() const
{ return mName; }
diff --git a/src/gui/widgets/setuptabscroll.h b/src/gui/widgets/setuptabscroll.h
index edc324306..9e974cbe5 100644
--- a/src/gui/widgets/setuptabscroll.h
+++ b/src/gui/widgets/setuptabscroll.h
@@ -37,7 +37,7 @@ class SetupTabScroll : public SetupTab
public:
SetupTabScroll();
- A_DELETE_COPY(SetupTabScroll);
+ A_DELETE_COPY(SetupTabScroll)
~SetupTabScroll();
diff --git a/src/gui/widgets/shopitems.h b/src/gui/widgets/shopitems.h
index dc0b5cbf1..5a9e36151 100644
--- a/src/gui/widgets/shopitems.h
+++ b/src/gui/widgets/shopitems.h
@@ -52,7 +52,7 @@ class ShopItems final : public gcn::ListModel
*/
ShopItems(const bool mergeDuplicates = false);
- A_DELETE_COPY(ShopItems);
+ A_DELETE_COPY(ShopItems)
~ShopItems();
diff --git a/src/gui/widgets/shoplistbox.h b/src/gui/widgets/shoplistbox.h
index 87885064e..d5d649e8b 100644
--- a/src/gui/widgets/shoplistbox.h
+++ b/src/gui/widgets/shoplistbox.h
@@ -49,7 +49,7 @@ class ShopListBox final : public ListBox
ShopListBox(gcn::ListModel *const listModel,
ShopItems *const shopListModel);
- A_DELETE_COPY(ShopListBox);
+ A_DELETE_COPY(ShopListBox)
/**
* Draws the list box.
diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h
index 02d22a283..62e06db58 100644
--- a/src/gui/widgets/shortcutcontainer.h
+++ b/src/gui/widgets/shortcutcontainer.h
@@ -46,7 +46,7 @@ class ShortcutContainer : public gcn::Widget,
*/
ShortcutContainer();
- A_DELETE_COPY(ShortcutContainer);
+ A_DELETE_COPY(ShortcutContainer)
/**
* Destructor.
diff --git a/src/gui/widgets/slider.h b/src/gui/widgets/slider.h
index 9dfd53a1b..fafa6c4cd 100644
--- a/src/gui/widgets/slider.h
+++ b/src/gui/widgets/slider.h
@@ -48,7 +48,7 @@ class Slider final : public gcn::Slider
*/
Slider(const double scaleStart, const double scaleEnd);
- A_DELETE_COPY(Slider);
+ A_DELETE_COPY(Slider)
/**
* Destructor.
diff --git a/src/gui/widgets/sliderlist.h b/src/gui/widgets/sliderlist.h
index 349ac5b86..3295a87cd 100644
--- a/src/gui/widgets/sliderlist.h
+++ b/src/gui/widgets/sliderlist.h
@@ -41,7 +41,7 @@ class SliderList final : public Container,
gcn::ActionListener *const listener = nullptr,
std::string eventId = "");
- A_DELETE_COPY(SliderList);
+ A_DELETE_COPY(SliderList)
~SliderList();
diff --git a/src/gui/widgets/spellshortcutcontainer.h b/src/gui/widgets/spellshortcutcontainer.h
index f18d76c21..6e0de1c6a 100644
--- a/src/gui/widgets/spellshortcutcontainer.h
+++ b/src/gui/widgets/spellshortcutcontainer.h
@@ -44,7 +44,7 @@ class SpellShortcutContainer final : public ShortcutContainer
*/
SpellShortcutContainer(const unsigned number);
- A_DELETE_COPY(SpellShortcutContainer);
+ A_DELETE_COPY(SpellShortcutContainer)
/**
* Destructor.
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h
index c41864e6c..fd3353707 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -50,7 +50,7 @@ class Tab : public gcn::BasicContainer,
public:
Tab();
- A_DELETE_COPY(Tab);
+ A_DELETE_COPY(Tab)
~Tab();
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index 6fe8066a2..e27f879f7 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -49,7 +49,7 @@ class TabbedArea final : public gcn::ActionListener,
*/
TabbedArea();
- A_DELETE_COPY(TabbedArea);
+ A_DELETE_COPY(TabbedArea)
~TabbedArea();
diff --git a/src/gui/widgets/tablemodel.h b/src/gui/widgets/tablemodel.h
index ecc922dc7..6fa820467 100644
--- a/src/gui/widgets/tablemodel.h
+++ b/src/gui/widgets/tablemodel.h
@@ -110,7 +110,7 @@ class StaticTableModel final : public TableModel
public:
StaticTableModel(const int width, const int height);
- A_DELETE_COPY(StaticTableModel);
+ A_DELETE_COPY(StaticTableModel)
virtual ~StaticTableModel();
diff --git a/src/gui/widgets/tabstrip.h b/src/gui/widgets/tabstrip.h
index 4b297a016..2524b95e8 100644
--- a/src/gui/widgets/tabstrip.h
+++ b/src/gui/widgets/tabstrip.h
@@ -34,7 +34,7 @@ class TabStrip final : public WidgetGroup
TabStrip(const int height, const int spacing = 0);
- A_DELETE_COPY(TabStrip);
+ A_DELETE_COPY(TabStrip)
gcn::Widget *createWidget(const std::string &name) override;
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index e854fac1a..300a9d771 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -42,7 +42,7 @@ class TextBox final : public gcn::TextBox
*/
TextBox();
- A_DELETE_COPY(TextBox);
+ A_DELETE_COPY(TextBox)
/**
* Sets the text after wrapping it to the current width of the widget.
diff --git a/src/gui/widgets/textfield.h b/src/gui/widgets/textfield.h
index 205cb3fe3..f231dfb77 100644
--- a/src/gui/widgets/textfield.h
+++ b/src/gui/widgets/textfield.h
@@ -47,7 +47,7 @@ class TextField : public gcn::TextField
std::string eventId = "",
const bool sendAlwaysEvents = false);
- A_DELETE_COPY(TextField);
+ A_DELETE_COPY(TextField)
~TextField();
diff --git a/src/gui/widgets/textpreview.h b/src/gui/widgets/textpreview.h
index 401cdbb8b..e9b23006d 100644
--- a/src/gui/widgets/textpreview.h
+++ b/src/gui/widgets/textpreview.h
@@ -37,7 +37,7 @@ class TextPreview final : public gcn::Widget
public:
TextPreview(const std::string &text);
- A_DELETE_COPY(TextPreview);
+ A_DELETE_COPY(TextPreview)
/**
* Sets the color the text is printed in.
diff --git a/src/gui/widgets/tradetab.h b/src/gui/widgets/tradetab.h
index 1609fe997..79f9a5d0c 100644
--- a/src/gui/widgets/tradetab.h
+++ b/src/gui/widgets/tradetab.h
@@ -33,7 +33,7 @@ class TradeTab final : public ChatTab
public:
TradeTab();
- A_DELETE_COPY(TradeTab);
+ A_DELETE_COPY(TradeTab)
~TradeTab();
diff --git a/src/gui/widgets/vertcontainer.h b/src/gui/widgets/vertcontainer.h
index 50eb54ffd..f81fdc90b 100644
--- a/src/gui/widgets/vertcontainer.h
+++ b/src/gui/widgets/vertcontainer.h
@@ -41,7 +41,7 @@ class VertContainer final : public Container, public gcn::WidgetListener
VertContainer(const int verticalItemSize, const bool resizable = true,
const int leftSpacing = 0);
- A_DELETE_COPY(VertContainer);
+ A_DELETE_COPY(VertContainer)
virtual void add2(gcn::Widget *const widget, const bool resizable,
const int spacing = -1);
diff --git a/src/gui/widgets/whispertab.h b/src/gui/widgets/whispertab.h
index 05def5818..d97c961e4 100644
--- a/src/gui/widgets/whispertab.h
+++ b/src/gui/widgets/whispertab.h
@@ -33,7 +33,7 @@ class Channel;
class WhisperTab final : public ChatTab
{
public:
- A_DELETE_COPY(WhisperTab);
+ A_DELETE_COPY(WhisperTab)
const std::string &getNick() const
{ return mNick; }
diff --git a/src/gui/widgets/widgetgroup.h b/src/gui/widgets/widgetgroup.h
index 6c53c3fda..7f1b7c8d5 100644
--- a/src/gui/widgets/widgetgroup.h
+++ b/src/gui/widgets/widgetgroup.h
@@ -36,7 +36,7 @@ class WidgetGroup : public Container,
WidgetGroup(const std::string &group, const int height,
const int spacing);
- A_DELETE_COPY(WidgetGroup);
+ A_DELETE_COPY(WidgetGroup)
virtual void addButton(std::string tag);
diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h
index f97662534..00a72660e 100644
--- a/src/gui/widgets/window.h
+++ b/src/gui/widgets/window.h
@@ -61,7 +61,7 @@ class Window : public gcn::Window, private gcn::WidgetListener
Window(const std::string &caption = "Window", const bool modal = false,
Window *const parent = nullptr, std::string skin = "");
- A_DELETE_COPY(Window);
+ A_DELETE_COPY(Window)
/**
* Destructor. Deletes all the added widgets.