1.1 --- a/treemodel.h Sat Aug 08 21:58:26 2009 +0000
1.2 +++ b/treemodel.h Tue Aug 18 12:39:07 2009 +0000
1.3 @@ -22,6 +22,7 @@
1.4 Qt::ItemFlags flags(const QModelIndex &index) const;
1.5 QVariant headerData(int section, Qt::Orientation orientation,
1.6 int role = Qt::DisplayRole) const;
1.7 + QModelIndex index (TreeItem* ti);
1.8 QModelIndex index(int row, int column,
1.9 const QModelIndex &parent = QModelIndex()) const;
1.10 QModelIndex parent(const QModelIndex &index) const;
1.11 @@ -35,7 +36,6 @@
1.12
1.13 TreeItem* getItem (const QModelIndex &index) const;
1.14 TreeItem* getRootItem();
1.15 - QModelIndex index (TreeItem* ti);
1.16
1.17
1.18 protected: