diff options
author | Nils Schwabe | 2014-03-07 16:23:16 +0100 |
---|---|---|
committer | Nils Schwabe | 2014-03-07 16:23:16 +0100 |
commit | 56d213b3c8984ef033784e60fccf25d3cfbdbb13 (patch) | |
tree | ac6fdf1487a2051a702b58cae349cd6c6e3d6e84 /src/sessiontreemodel.h | |
parent | fixed umlauts in xml (diff) | |
download | vmchooser2-56d213b3c8984ef033784e60fccf25d3cfbdbb13.tar.gz vmchooser2-56d213b3c8984ef033784e60fccf25d3cfbdbb13.tar.xz vmchooser2-56d213b3c8984ef033784e60fccf25d3cfbdbb13.zip |
Added function to add info entries if the xml file could not be loaded
Diffstat (limited to 'src/sessiontreemodel.h')
-rw-r--r-- | src/sessiontreemodel.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sessiontreemodel.h b/src/sessiontreemodel.h index b5d8ff8..a768bf1 100644 --- a/src/sessiontreemodel.h +++ b/src/sessiontreemodel.h @@ -26,6 +26,8 @@ class SessionTreeModel : public QAbstractItemModel { 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); private: |