diff options
Diffstat (limited to 'sigmodr/tree/WeatherModel.cpp')
-rw-r--r-- | sigmodr/tree/WeatherModel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sigmodr/tree/WeatherModel.cpp b/sigmodr/tree/WeatherModel.cpp index aa2e5787..6a1bb9f6 100644 --- a/sigmodr/tree/WeatherModel.cpp +++ b/sigmodr/tree/WeatherModel.cpp @@ -30,16 +30,16 @@ // KDE includes #include <KMenu> -Sigmodr::WeatherModel::WeatherModel(BaseModel* parent, Sigmod::Weather* weather) : +Sigmodr::Tree::WeatherModel::WeatherModel(BaseModel* parent, Sigmod::Weather* weather) : ObjectModel(parent, weather) { } -Sigmodr::WeatherModel::~WeatherModel() +Sigmodr::Tree::WeatherModel::~WeatherModel() { } -QVariant Sigmodr::WeatherModel::data(int role) const +QVariant Sigmodr::Tree::WeatherModel::data(int role) const { if (role == Qt::DisplayRole) return qobject_cast<Sigmod::Weather*>(m_object)->name(); @@ -63,7 +63,7 @@ QVariant Sigmodr::WeatherModel::data(int role) const return ObjectModel::data(role); } -void Sigmodr::WeatherModel::deleteSelf() +void Sigmodr::Tree::WeatherModel::deleteSelf() { qobject_cast<GroupModel*>(m_parent)->deleteObject(this); } |