aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unitymenumodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* unitymenumodel: allow setting multiple prefixed action groupsLars Uebernickel2013-06-241-12/+15
|
* unitymenumodel: set free func on GSequenceLars Uebernickel2013-06-241-29/+10
| | | | | Makes item removal code much cleaner (no need for the explicit free), at the cost of another qdata.
* unitymenumodel: use g_clear_objectLars Uebernickel2013-06-241-6/+2
|
* unitymenumodel: remove forSubMenuLars Uebernickel2013-06-241-13/+6
|
* unitymenumodel: move role enum into .cppLars Uebernickel2013-06-241-3/+10
| | | | No need for that to be public.
* unitymenumodel: remove redundant priv functionsLars Uebernickel2013-06-241-67/+42
|
* Move unityqmlmenumodel's properties to unitymenumodelLars Uebernickel2013-06-241-60/+115
| | | | | | | | 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: call init in the the constructor that is meant to be used ↵Lars Uebernickel2013-06-051-0/+1
| | | | from c++
* unitymenumodel: add support for submenusLars Uebernickel2013-06-051-18/+65
|
* unitymenumodel: add activate()Lars Uebernickel2013-06-051-0/+17
|
* unitymenumodel: expose isSeparatorLars Uebernickel2013-06-041-0/+4
|
* unitymenumodel: watch the bus nameLars Uebernickel2013-06-041-30/+83
| | | | This makes it possible to restart the service that provides the menu.
* Introduce UnityMenuModel and UnityQmlMenuModelLars Uebernickel2013-06-041-0/+227
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.