summaryrefslogtreecommitdiff
path: root/src/gui/widgets/setupitem.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-10 00:16:37 +0300
commite066ec2e038405621a7de50e4cd735e548eb488d (patch)
tree626e7ddacf867949a5380bfe528a332dffada5a4 /src/gui/widgets/setupitem.h
parent6d7af74bab17c03f1604e8351d397695286414ed (diff)
downloadManaVerse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.gz
ManaVerse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.bz2
ManaVerse-e066ec2e038405621a7de50e4cd735e548eb488d.tar.xz
ManaVerse-e066ec2e038405621a7de50e4cd735e548eb488d.zip
Delete copy constructor in some classes.
Diffstat (limited to 'src/gui/widgets/setupitem.h')
-rw-r--r--src/gui/widgets/setupitem.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gui/widgets/setupitem.h b/src/gui/widgets/setupitem.h
index f36dc2534..0643890a6 100644
--- a/src/gui/widgets/setupitem.h
+++ b/src/gui/widgets/setupitem.h
@@ -68,6 +68,8 @@ class SetupItem : public gcn::ActionListener
std::string eventName, std::string def,
const bool mainConfig);
+ A_DELETE_COPY(SetupItem);
+
~SetupItem();
void load();
@@ -141,6 +143,8 @@ class SetupItemCheckBox final : public SetupItem
std::string eventName, std::string def,
const bool mainConfig = true);
+ A_DELETE_COPY(SetupItemCheckBox);
+
~SetupItemCheckBox();
void createControls();
@@ -166,6 +170,8 @@ class SetupItemTextField final : public SetupItem
std::string eventName, std::string def,
const bool mainConfig = true);
+ A_DELETE_COPY(SetupItemTextField);
+
~SetupItemTextField();
void createControls();
@@ -203,6 +209,8 @@ class SetupItemIntTextField final : public SetupItem
const int min, const int max,
std::string def, const bool mainConfig = true);
+ A_DELETE_COPY(SetupItemIntTextField);
+
~SetupItemIntTextField();
void createControls();
@@ -232,6 +240,8 @@ class SetupItemLabel final : public SetupItem
SetupTabScroll *const parent,
const bool separator = true);
+ A_DELETE_COPY(SetupItemLabel);
+
~SetupItemLabel();
void createControls();
@@ -262,6 +272,8 @@ class SetupItemDropDown final : public SetupItem
std::string eventName, gcn::ListModel *const model,
std::string def, const bool mainConfig = true);
+ A_DELETE_COPY(SetupItemDropDown);
+
~SetupItemDropDown();
void createControls();
@@ -295,6 +307,8 @@ class SetupItemSlider final : public SetupItem
const bool onTheFly = false,
const bool mainConfig = true);
+ A_DELETE_COPY(SetupItemSlider);
+
~SetupItemSlider();
void createControls();
@@ -342,6 +356,8 @@ class SetupItemSlider2 final : public SetupItem
const bool mainConfig = true,
const bool doNotAlign = false);
+ A_DELETE_COPY(SetupItemSlider2);
+
~SetupItemSlider2();
void createControls();
@@ -390,6 +406,8 @@ class SetupItemSliderList : public SetupItem
const bool onTheFly = false,
const bool mainConfig = true);
+ A_DELETE_COPY(SetupItemSliderList);
+
~SetupItemSliderList();
void createControls();
@@ -422,6 +440,8 @@ class SetupItemSound final : public SetupItemSliderList
const int width = 150, const bool onTheFly = false,
const bool mainConfig = true);
+ A_DELETE_COPY(SetupItemSound);
+
void action(const gcn::ActionEvent &event) override;
void addMoreControls() override;