From c81259d5ea3cf4659affdb51b7622c61685a82ff Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Sat, 28 Feb 2009 01:08:35 -0500 Subject: Added the Sigmod namespace to the sigmodrtree sources --- sigmodr/tree/RootModel.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sigmodr/tree/RootModel.cpp') diff --git a/sigmodr/tree/RootModel.cpp b/sigmodr/tree/RootModel.cpp index 55dc71c9..e2bddfff 100644 --- a/sigmodr/tree/RootModel.cpp +++ b/sigmodr/tree/RootModel.cpp @@ -24,6 +24,7 @@ // Sigmod includes #include +using namespace Sigmod; using namespace Sigmodr::Tree; RootModel::RootModel() : @@ -38,12 +39,12 @@ bool RootModel::setData(const QVariant& value, int role) return false; } -void RootModel::addGame(Sigmod::Game* game) +void RootModel::addGame(Game* game) { addChild(new GameModel(this, game)); } -void RootModel::deleteGame(const Sigmod::Game* game) +void RootModel::deleteGame(const Game* game) { for (int i = 0; i < m_objects.size(); ++i) { @@ -61,7 +62,7 @@ QString RootModel::types() const return "Sigmod"; } -void RootModel::addObject(Sigmod::Object* object) +void RootModel::addObject(Object* object) { Q_UNUSED(object) } -- cgit