diff options
Diffstat (limited to 'sigmodr/tree/RootModel.cpp')
-rw-r--r-- | sigmodr/tree/RootModel.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
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 <sigmod/Game.h> +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) } |