summaryrefslogtreecommitdiffstats
path: root/src/sessiontreemodel.h
diff options
context:
space:
mode:
authorNils Schwabe2014-03-20 18:47:48 +0100
committerNils Schwabe2014-03-20 18:47:48 +0100
commitf3a0b4d09379e63a26ec410088617fe20d5cd27f (patch)
treee34adf2e0bf92ad5e0e03602c0d6060efbcdbead /src/sessiontreemodel.h
parentremoved the file and path option for XMLs (diff)
downloadvmchooser2-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.h7
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();