diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-06-09 00:50:59 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-06-09 00:50:59 +0000 |
| commit | 60a2ed8ee8aa994c83d382af2ec477e171beb950 (patch) | |
| tree | 6fea6867adee00f22b9d775a6dce15ed875d75e6 /pokemodr/ObjectUI.cpp | |
| parent | 0737b455ca94351c574aa1a8c83ea30c5b7bc443 (diff) | |
| download | sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.tar.gz sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.tar.xz sigen-60a2ed8ee8aa994c83d382af2ec477e171beb950.zip | |
[FIX] All modules now use their own namespace
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@201 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/ObjectUI.cpp')
| -rw-r--r-- | pokemodr/ObjectUI.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/pokemodr/ObjectUI.cpp b/pokemodr/ObjectUI.cpp index 34ae36fa..caef8956 100644 --- a/pokemodr/ObjectUI.cpp +++ b/pokemodr/ObjectUI.cpp @@ -25,7 +25,7 @@ // KDE includes #include <KMessageBox> -ObjectUI::ObjectUI(QWidget* parent) : +Pokemodr::ObjectUI::ObjectUI(QWidget* parent) : QWidget(parent), m_changed(false), m_object(NULL), @@ -34,71 +34,71 @@ ObjectUI::ObjectUI(QWidget* parent) : connect(this, SIGNAL(changed(bool)), SLOT(setChanged(bool))); } -ObjectUI::~ObjectUI() +Pokemodr::ObjectUI::~ObjectUI() { delete m_object_mod; } -void ObjectUI::reload() +void Pokemodr::ObjectUI::reload() { refreshGui(); setGui(); } -bool ObjectUI::isChanged() const +bool Pokemodr::ObjectUI::isChanged() const { return m_changed; } -const Pokemod* ObjectUI::pokemod() const +const Pokemod::Pokemod* Pokemodr::ObjectUI::pokemod() const { - return static_cast<const Pokemod*>(m_object->pokemod()); + return static_cast<const Pokemod::Pokemod*>(m_object->pokemod()); } -const Object* ObjectUI::original() const +const Pokemod::Pokemod::Object* Pokemodr::ObjectUI::original() const { return m_object; } -Object* ObjectUI::original() +Pokemod::Object* Pokemodr::ObjectUI::original() { return m_object; } -const Object* ObjectUI::modified() const +const Pokemod::Object* Pokemodr::ObjectUI::modified() const { return m_object_mod; } -Object* ObjectUI::modified() +Pokemod::Object* Pokemodr::ObjectUI::modified() { return m_object_mod; } -void ObjectUI::setChanged(const bool changed) +void Pokemodr::ObjectUI::setChanged(const bool changed) { m_changed = changed; } -void ObjectUI::errorMessage(const QString& message) +void Pokemodr::ObjectUI::errorMessage(const QString& message) { KMessageBox::error(this, message, "Error"); } -void ObjectUI::warningMessage(const QString& message) +void Pokemodr::ObjectUI::warningMessage(const QString& message) { KMessageBox::warningContinueCancel(this, message, "Warning"); } -void ObjectUI::initGui() +void Pokemodr::ObjectUI::initGui() { } -void ObjectUI::refreshGui() +void Pokemodr::ObjectUI::refreshGui() { } -void ObjectUI::setObjects(Object* original, Object* modified) +void Pokemodr::ObjectUI::setObjects(Pokemod::Object* original, Pokemod::Object* modified) { m_object = original; m_object_mod = modified; @@ -110,7 +110,7 @@ void ObjectUI::setObjects(Object* original, Object* modified) init(); } -void ObjectUI::init() +void Pokemodr::ObjectUI::init() { initGui(); reload(); |
