BaseTreeView: add convenience function to get selected or current rows

Change-Id: I3239c52ad2d1eb725e4c10aeb93ee2e73ad5c0b6
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2013-01-10 15:23:12 +01:00
parent 3f945d6737
commit ca76c704fd
2 changed files with 13 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ public:
void setAlwaysAdjustColumnsAction(QAction *action);
virtual void addBaseContextActions(QMenu *menu);
bool handleBaseContextAction(QAction *action);
QModelIndexList activeRows() const;
void setModel(QAbstractItemModel *model);
virtual void rowActivated(const QModelIndex &) {}