qtui: Add debug dialog for showing the resource file tree
[quassel.git] / src / client / treemodel.h
index 12da2ed..92bf767 100644 (file)
@@ -154,6 +154,8 @@ public:
     TreeModel(const QList<QVariant> &, QObject *parent = 0);
     virtual ~TreeModel();
 
+    AbstractTreeItem *root() const;
+
     virtual QVariant data(const QModelIndex &index, int role) const;
     virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);