Prettified and correctly sortified user categories, closing BR #93. Translators can now
[quassel.git] / src / client / treemodel.h
index 3a1c144..599956e 100644 (file)
@@ -133,6 +133,11 @@ class TreeModel : public QAbstractItemModel {
   Q_OBJECT
 
 public:
+  enum myRoles {
+    SortRole = Qt::UserRole,
+    UserRole
+  };
+
   TreeModel(const QList<QVariant> &, QObject *parent = 0);
   virtual ~TreeModel();