aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unitymenumodel.h
Commit message (Collapse)AuthorAgeFilesLines
* unitymenumodel: move role enum into .cppLars Uebernickel2013-06-241-8/+0
| | | | No need for that to be public.
* Move unityqmlmenumodel's properties to unitymenumodelLars Uebernickel2013-06-241-6/+18
| | | | | | | | This gets rid of the ad-hoc construct-only properties and ::init() vfunc. Names and paths can now be changed after creating the menu model. This will probably be used seldom in practice, but it makes the code a bit cleaner. Unityqmlmenumodel doesn't do anything interesting right now.
* unitymenumodel: add support for submenusLars Uebernickel2013-06-051-0/+2
|
* unitymenumodel: add activate()Lars Uebernickel2013-06-051-0/+3
|
* unitymenumodel: expose isSeparatorLars Uebernickel2013-06-041-1/+2
|
* Introduce UnityMenuModel and UnityQmlMenuModelLars Uebernickel2013-06-041-0/+56
UnityMenuModel serves the same purpose as QMenuModel, but it is based on GtkMenuTracker and has a different API. GtkMenuTracker is maintained in gtk, but meant to be copy-and-pasted into other consumers of menu models. It does not introduce new dependencies. It does give us access to all the features that GMenuModel has.