diff options
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(); |