summaryrefslogtreecommitdiffstats
path: root/smtreemodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'smtreemodel.h')
-rw-r--r--smtreemodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/smtreemodel.h b/smtreemodel.h
index 6d89fb2..3eae432 100644
--- a/smtreemodel.h
+++ b/smtreemodel.h
@@ -46,9 +46,10 @@ class SmTreeModel : public QAbstractItemModel {
bool removeRows(int row, int count, const QModelIndex &parent);
bool addRow(const QList<QVariant> &data, const QModelIndex &parent);
+ protected:
+ SmTreeItem *itemAt(const QModelIndex &index) const;
private:
- SmTreeItem *itemAt(const QModelIndex &index) const;
QStringList mHeaders;
SmTreeItem *mRootItem;
};