summaryrefslogtreecommitdiffstats
path: root/src/sessiontreemodel.h
diff options
context:
space:
mode:
authorNils Schwabe2014-03-07 16:23:16 +0100
committerNils Schwabe2014-03-07 16:23:16 +0100
commit56d213b3c8984ef033784e60fccf25d3cfbdbb13 (patch)
treeac6fdf1487a2051a702b58cae349cd6c6e3d6e84 /src/sessiontreemodel.h
parentfixed umlauts in xml (diff)
downloadvmchooser2-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.h2
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: