From cd9396d859cbba795c945796a6a0790a6c5c00a3 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Mon, 23 Feb 2009 20:24:14 -0500 Subject: Moved the sources into the Widgets namespace --- sigmodr/widgets/MapWildListUI.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sigmodr/widgets/MapWildListUI.cpp') 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 -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(modified())->name()); } -void Sigmodr::MapWildListUI::apply() +void Sigmodr::Widgets::MapWildListUI::apply() { *qobject_cast(original()) = *qobject_cast(modified()); emit(changed(false)); } -void Sigmodr::MapWildListUI::discard() +void Sigmodr::Widgets::MapWildListUI::discard() { *qobject_cast(modified()) = *qobject_cast(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(modified())->setName(name); } -- cgit