summaryrefslogtreecommitdiffstats
path: root/sigmodr/tree/SoundModel.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-24 00:36:46 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-24 00:37:19 -0500
commit7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7 (patch)
treee8e28b88e60e7f0790333b88fd9f6c9206da3e89 /sigmodr/tree/SoundModel.cpp
parent1f54a4e8a8a662664355b8e2775d6e0d019399b5 (diff)
downloadsigen-7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7.tar.gz
sigen-7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7.tar.xz
sigen-7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7.zip
Moved sigmodrtree into namespace Sigmodr::Tree
Diffstat (limited to 'sigmodr/tree/SoundModel.cpp')
-rw-r--r--sigmodr/tree/SoundModel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/sigmodr/tree/SoundModel.cpp b/sigmodr/tree/SoundModel.cpp
index 11596c46..15eecf04 100644
--- a/sigmodr/tree/SoundModel.cpp
+++ b/sigmodr/tree/SoundModel.cpp
@@ -31,16 +31,16 @@
// KDE includes
#include <KMenu>
-Sigmodr::SoundModel::SoundModel(BaseModel* parent, Sigmod::Sound* sound) :
+Sigmodr::Tree::SoundModel::SoundModel(BaseModel* parent, Sigmod::Sound* sound) :
ObjectModel(parent, sound)
{
}
-Sigmodr::SoundModel::~SoundModel()
+Sigmodr::Tree::SoundModel::~SoundModel()
{
}
-QVariant Sigmodr::SoundModel::data(int role) const
+QVariant Sigmodr::Tree::SoundModel::data(int role) const
{
if (role == Qt::DisplayRole)
return qobject_cast<Sigmod::Sound*>(m_object)->name();
@@ -64,7 +64,7 @@ QVariant Sigmodr::SoundModel::data(int role) const
return ObjectModel::data(role);
}
-void Sigmodr::SoundModel::deleteSelf()
+void Sigmodr::Tree::SoundModel::deleteSelf()
{
qobject_cast<GroupModel*>(m_parent)->deleteObject(this);
}