From 8dddfc1ef55773cdf878e413d82142781a6e444b Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Wed, 25 Feb 2009 01:19:46 -0500 Subject: Renamed from Sigmod to Game in sigmodr tree --- sigmodr/tree/RootModel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sigmodr/tree/RootModel.cpp') diff --git a/sigmodr/tree/RootModel.cpp b/sigmodr/tree/RootModel.cpp index b5671c9c..c5549267 100644 --- a/sigmodr/tree/RootModel.cpp +++ b/sigmodr/tree/RootModel.cpp @@ -22,7 +22,7 @@ #include "SigmodModel.h" // Sigmod includes -#include +#include Sigmodr::Tree::RootModel::RootModel() : GroupModel(NULL, NULL) @@ -36,16 +36,16 @@ bool Sigmodr::Tree::RootModel::setData(const QVariant& value, int role) return false; } -void Sigmodr::Tree::RootModel::addSigmod(Sigmod::Sigmod* sigmod) +void Sigmodr::Tree::RootModel::addGame(Sigmod::Game* game) { - addChild(new SigmodModel(this, sigmod)); + addChild(new SigmodModel(this, game)); } -void Sigmodr::Tree::RootModel::deleteSigmod(const Sigmod::Sigmod* sigmod) +void Sigmodr::Tree::RootModel::deleteGame(const Sigmod::Game* game) { for (int i = 0; i < m_objects.size(); ++i) { - if (m_objects[i]->object() == sigmod) + if (m_objects[i]->object() == game) { delete m_objects[i]; m_objects.removeAt(i); -- cgit