diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 00:36:46 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-02-24 00:37:19 -0500 |
| commit | 7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7 (patch) | |
| tree | e8e28b88e60e7f0790333b88fd9f6c9206da3e89 /sigmodr/tree/StoreModel.cpp | |
| parent | 1f54a4e8a8a662664355b8e2775d6e0d019399b5 (diff) | |
| download | sigen-7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7.tar.gz sigen-7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7.tar.xz sigen-7ccc2e3c73637e771c08b2c82539d6c4a7a5f0d7.zip | |
Moved sigmodrtree into namespace Sigmodr::Tree
Diffstat (limited to 'sigmodr/tree/StoreModel.cpp')
| -rw-r--r-- | sigmodr/tree/StoreModel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sigmodr/tree/StoreModel.cpp b/sigmodr/tree/StoreModel.cpp index 357d7339..627f8530 100644 --- a/sigmodr/tree/StoreModel.cpp +++ b/sigmodr/tree/StoreModel.cpp @@ -31,16 +31,16 @@ // KDE includes #include <KMenu> -Sigmodr::StoreModel::StoreModel(BaseModel* parent, Sigmod::Store* store) : +Sigmodr::Tree::StoreModel::StoreModel(BaseModel* parent, Sigmod::Store* store) : ObjectModel(parent, store) { } -Sigmodr::StoreModel::~StoreModel() +Sigmodr::Tree::StoreModel::~StoreModel() { } -QVariant Sigmodr::StoreModel::data(int role) const +QVariant Sigmodr::Tree::StoreModel::data(int role) const { if (role == Qt::DisplayRole) return qobject_cast<Sigmod::Store*>(m_object)->name(); @@ -64,7 +64,7 @@ QVariant Sigmodr::StoreModel::data(int role) const return ObjectModel::data(role); } -void Sigmodr::StoreModel::deleteSelf() +void Sigmodr::Tree::StoreModel::deleteSelf() { qobject_cast<GroupModel*>(m_parent)->deleteObject(this); } |
