aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unityqmlmenumodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move unityqmlmenumodel's properties to unitymenumodelLars Uebernickel2013-06-241-66/+0
| | | | | | | | 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.
* Introduce UnityMenuModel and UnityQmlMenuModelLars Uebernickel2013-06-041-0/+102
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.