summaryrefslogtreecommitdiffstats
path: root/sigmodr/widgets/MapWildListUI.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-23 20:24:14 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-23 20:28:12 -0500
commitcd9396d859cbba795c945796a6a0790a6c5c00a3 (patch)
tree7ee18954a884e430b685b64686d8985ecf6c9a86 /sigmodr/widgets/MapWildListUI.cpp
parent3479836bc56ed61f53ecd4aefa4a83a5378901a8 (diff)
downloadsigen-cd9396d859cbba795c945796a6a0790a6c5c00a3.tar.gz
sigen-cd9396d859cbba795c945796a6a0790a6c5c00a3.tar.xz
sigen-cd9396d859cbba795c945796a6a0790a6c5c00a3.zip
Moved the sources into the Widgets namespace
Diffstat (limited to 'sigmodr/widgets/MapWildListUI.cpp')
-rw-r--r--sigmodr/widgets/MapWildListUI.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/sigmodr/widgets/MapWildListUI.cpp b/sigmodr/widgets/MapWildListUI.cpp
index f1668941..8e2984e0 100644
--- a/sigmodr/widgets/MapWildListUI.cpp
+++ b/sigmodr/widgets/MapWildListUI.cpp
@@ -21,36 +21,36 @@
// Sigmod includes
#include <sigmod/MapWildList.h>
-Sigmodr::MapWildListUI::MapWildListUI(Sigmod::MapWildList* wildList, QWidget* parent) :
+Sigmodr::Widgets::MapWildListUI::MapWildListUI(Sigmod::MapWildList* wildList, QWidget* parent) :
ObjectUI(parent)
{
setupUi(this);
setObjects(wildList, new Sigmod::MapWildList(*wildList));
}
-Sigmodr::MapWildListUI::~MapWildListUI()
+Sigmodr::Widgets::MapWildListUI::~MapWildListUI()
{
}
-void Sigmodr::MapWildListUI::setGui()
+void Sigmodr::Widgets::MapWildListUI::setGui()
{
varName->setText(qobject_cast<Sigmod::MapWildList*>(modified())->name());
}
-void Sigmodr::MapWildListUI::apply()
+void Sigmodr::Widgets::MapWildListUI::apply()
{
*qobject_cast<Sigmod::MapWildList*>(original()) = *qobject_cast<Sigmod::MapWildList*>(modified());
emit(changed(false));
}
-void Sigmodr::MapWildListUI::discard()
+void Sigmodr::Widgets::MapWildListUI::discard()
{
*qobject_cast<Sigmod::MapWildList*>(modified()) = *qobject_cast<Sigmod::MapWildList*>(original());
setGui();
emit(changed(false));
}
-void Sigmodr::MapWildListUI::on_varName_textChanged(const QString& name)
+void Sigmodr::Widgets::MapWildListUI::on_varName_textChanged(const QString& name)
{
qobject_cast<Sigmod::MapWildList*>(modified())->setName(name);
}