From f3a0b4d09379e63a26ec410088617fe20d5cd27f Mon Sep 17 00:00:00 2001 From: Nils Schwabe Date: Thu, 20 Mar 2014 18:47:48 +0100 Subject: - added tab view - added filter box --- src/sessiontreemodel.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/sessiontreemodel.h') 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& sessions, const QString& section); - void addLabelItem(const QString& label, const QString& section); - void removeItem(const QString& name, const QString& section); + void addItems(const QList& sessions); + void addLabelItem(const QString& label); + void removeItem(const QString& name); + QList lookForItem(const QString& label); void updateView(); -- cgit v1.2.3-55-g7522