diff options
author | Nils Schwabe | 2014-03-20 18:47:48 +0100 |
---|---|---|
committer | Nils Schwabe | 2014-03-20 18:47:48 +0100 |
commit | f3a0b4d09379e63a26ec410088617fe20d5cd27f (patch) | |
tree | e34adf2e0bf92ad5e0e03602c0d6060efbcdbead /src/sessiontreemodel.h | |
parent | removed the file and path option for XMLs (diff) | |
download | vmchooser2-f3a0b4d09379e63a26ec410088617fe20d5cd27f.tar.gz vmchooser2-f3a0b4d09379e63a26ec410088617fe20d5cd27f.tar.xz vmchooser2-f3a0b4d09379e63a26ec410088617fe20d5cd27f.zip |
- added tab view
- added filter box
Diffstat (limited to 'src/sessiontreemodel.h')
-rw-r--r-- | src/sessiontreemodel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sessiontreemodel.h b/src/sessiontreemodel.h index b8fd7ab..9079c59 100644 --- a/src/sessiontreemodel.h +++ b/src/sessiontreemodel.h @@ -27,9 +27,10 @@ class SessionTreeModel : public QAbstractItemModel { int rowCount(const QModelIndex &parent = QModelIndex()) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; - void addItems(const QList<Session*>& sessions, const QString& section); - void addLabelItem(const QString& label, const QString& section); - void removeItem(const QString& name, const QString& section); + void addItems(const QList<Session*>& sessions); + void addLabelItem(const QString& label); + void removeItem(const QString& name); + QList<Session*> lookForItem(const QString& label); void updateView(); |