From 7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 24 Feb 2009 00:36:46 -0500 Subject: Moved sigmodrtree into namespace Sigmodr::Tree --- sigmodr/tree/RootModel.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'sigmodr/tree/RootModel.cpp') 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 -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) } -- cgit