summaryrefslogtreecommitdiffstats
path: root/sigmodr/tree/RootModel.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/RootModel.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/RootModel.cpp')
-rw-r--r--sigmodr/tree/RootModel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/sigmodr/tree/RootModel.cpp b/sigmodr/tree/RootModel.cpp
index 36b74659..65625aa7 100644
--- a/sigmodr/tree/RootModel.cpp
+++ b/sigmodr/tree/RootModel.cpp
@@ -24,28 +24,28 @@
// Sigmod includes
#include <sigmod/Sigmod.h>
-Sigmodr::RootModel::RootModel() :
+Sigmodr::Tree::RootModel::RootModel() :
GroupModel(NULL, NULL)
{
}
-Sigmodr::RootModel::~RootModel()
+Sigmodr::Tree::RootModel::~RootModel()
{
}
-bool Sigmodr::RootModel::setData(const QVariant& value, int role)
+bool Sigmodr::Tree::RootModel::setData(const QVariant& value, int role)
{
Q_UNUSED(value)
Q_UNUSED(role)
return false;
}
-void Sigmodr::RootModel::addSigmod(Sigmod::Sigmod* sigmod)
+void Sigmodr::Tree::RootModel::addSigmod(Sigmod::Sigmod* sigmod)
{
addChild(new SigmodModel(this, sigmod));
}
-void Sigmodr::RootModel::deleteSigmod(const Sigmod::Sigmod* sigmod)
+void Sigmodr::Tree::RootModel::deleteSigmod(const Sigmod::Sigmod* sigmod)
{
for (int i = 0; i < m_objects.size(); ++i)
{
@@ -58,17 +58,17 @@ void Sigmodr::RootModel::deleteSigmod(const Sigmod::Sigmod* sigmod)
}
}
-QString Sigmodr::RootModel::types() const
+QString Sigmodr::Tree::RootModel::types() const
{
return "Sigmod";
}
-void Sigmodr::RootModel::addObject(Sigmod::Object* object)
+void Sigmodr::Tree::RootModel::addObject(Sigmod::Object* object)
{
Q_UNUSED(object)
}
-void Sigmodr::RootModel::deleteObject(BaseModel* model)
+void Sigmodr::Tree::RootModel::deleteObject(BaseModel* model)
{
Q_UNUSED(model)
}