aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unitymenumodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Using qt event loop to pass UnityMenuAction eventsNick Dedekind2013-08-221-8/+15
|
* Added activate/changeState to UnityMenuModelNick Dedekind2013-08-221-0/+26
|
* Added UnityMenuAction for out-of-line actions. Action muxer copied to submenus.Nick Dedekind2013-08-211-1/+141
|
* Removed UnityMenuAction. Fixed leaks from unitymenumodel.Nick Dedekind2013-08-121-63/+31
|
* Add isToggled roleLars Uebernickel2013-08-121-1/+6
|
* Use qevents to send between direct glib loop events and qt.Nick Dedekind2013-08-121-28/+66
|\
| * glib callbacks pass events through qt.Nick Dedekind2013-08-091-28/+67
| |
* | use correct qvariant types for sensitive and isSeparator rolesNick Dedekind2013-08-121-2/+2
|\ \
| * | use correct qvariant types for sensitive and isSeparator rolesNick Dedekind2013-08-091-2/+2
| |/
* | Expose isCheck and isRadio rolesLars Uebernickel2013-08-121-1/+11
| |
* | Add parameter to unitymenumodel.action.activateLars Uebernickel2013-08-091-2/+6
| |
* | Re-add UnityMenuModel::activate()Lars Uebernickel2013-08-091-0/+8
|/
* Fix exporting of boolean extended-attribute in attributeToQVariant()Mirco Müller2013-08-051-1/+1
|\
| * Fix exporting of boolean extended-attribute in attributeToQVariant()Mirco Müller2013-08-011-1/+1
| |
* | Allow changing action stateNick Dedekind2013-08-051-13/+39
|\ \ | |/ |/|
| * Added menu action updateStateNick Dedekind2013-07-301-17/+31
| |
| * Added action nameNick Dedekind2013-07-301-0/+12
|/
* Add action role (replacing actionState role)Nick Dedekind2013-07-301-6/+30
|
* Set model qdata on items instead of the muxerLars Uebernickel2013-07-301-7/+3
|
* Add ActionStateParserNick Dedekind2013-07-301-2/+35
|
* unitymenumodel: lookup themed icon before turning it into a uriNick Dedekind2013-07-301-5/+11
|
* unitymenumodel: add get()Lars Uebernickel2013-07-261-0/+12
|
* Expose the state of a menu item's action in model.actionStateLars Uebernickel2013-07-261-3/+22
|
* Fix crash in UnityMenuModel::menuItemChangedLars Uebernickel2013-07-251-1/+1
| | | | | | | menuItemInserted set the iter _after_ the one that was just inserted as qdata. This is (a) wrong and (b) leads to the end iter being in there in some cases. menuItemChanged can't deal with that (it calls g_sequence_get() without checking for the end iter).
* unitymenumodel: expose type and extended attributes to qmlLars Uebernickel2013-07-251-1/+113
|
* unitymenumodel: add support for iconsLars Uebernickel2013-06-251-1/+55
| | | | For now, this includes themed icons, file icons, and icons send as raw data.
* 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.