aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unitymenumodel.h
diff options
context:
space:
mode:
authorLars Uebernickel <lars.uebernickel@canonical.com>2013-06-04 21:05:40 -0400
committerLars Uebernickel <lars.uebernickel@canonical.com>2013-06-04 21:05:40 -0400
commit00885c1ddd04819c44d6a0ca2c7f2af8a1298a97 (patch)
tree049e560e1c7086d0cbf045a647b47e8c588e813c /libqmenumodel/src/unitymenumodel.h
parent2a01b1cba8af5891bac632683286951e2c3f95f0 (diff)
downloadqmenumodel-00885c1ddd04819c44d6a0ca2c7f2af8a1298a97.tar.gz
qmenumodel-00885c1ddd04819c44d6a0ca2c7f2af8a1298a97.tar.bz2
qmenumodel-00885c1ddd04819c44d6a0ca2c7f2af8a1298a97.zip
unitymenumodel: expose isSeparator
Diffstat (limited to 'libqmenumodel/src/unitymenumodel.h')
-rw-r--r--libqmenumodel/src/unitymenumodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libqmenumodel/src/unitymenumodel.h b/libqmenumodel/src/unitymenumodel.h
index 12a5891..75af13a 100644
--- a/libqmenumodel/src/unitymenumodel.h
+++ b/libqmenumodel/src/unitymenumodel.h
@@ -29,7 +29,8 @@ public:
enum MenuRoles {
ActionRole = Qt::DisplayRole + 1,
LabelRole,
- SensitiveRole
+ SensitiveRole,
+ IsSeparatorRole
};
public: