aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/unitymenumodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Converter: move parseVariantString here from UnityMenuModelMarco Trevisan (Treviño)2016-10-181-25/+2
|
* UnityMenuModel: avoid initializing an empty QVariant if not neededMarco Trevisan (Treviño)2016-10-151-4/+3
|
* UnityMenuModel: avoid copying the string to a new std oneMarco Trevisan (Treviño)2016-10-141-1/+1
|
* UnityMenuModel add support for activating and changing state with a variant ↵Marco Trevisan (Treviño)2016-10-141-0/+34
| | | | string parameter
* only log criticalNick Dedekind2016-02-231-2/+2
|
* use logging categoriesNick Dedekind2016-02-191-2/+5
|
* remove check for native fileNick Dedekind2014-07-291-1/+1
|
* unitymenumodel: add nameOwner propertyLars Uebernickel2014-07-111-0/+9
|
* unitymenumodel: notify when the bus name changesLars Uebernickel2014-07-111-0/+1
|
* unset actions model in destructorNick Dedekind2014-06-301-0/+11
|
* Add standard "has the property actually changed" check to ↵Antti Kaijanmäki2014-04-021-0/+3
| | | | UnityMenuModel::setBusName()
* revert the last commit.Antti Kaijanmäki2014-04-021-12/+2
|
* UnityMenuModel::setName: handle empty strings properly.Antti Kaijanmäki2014-04-021-2/+12
|
* Added data change to loadExtAttributesNick Dedekind2013-12-111-0/+2
|
* removed unnecessary pointer checksNick Dedekind2013-10-141-14/+13
|
* Added iterator/item pointer checksNick Dedekind2013-10-141-8/+49
|
* Use g_file_get_uri instead of g_file_get_path to make sure the URI's percentGustavo Pichorim Boiko2013-10-111-1/+1
| | | | encoding is properly kept.
* Fix sequence memory leak in unitymenumodelPete Woods2013-09-171-0/+1
|
* fullActioName: make sure 'name' is valid for the duration of the functionLars Uebernickel2013-09-031-1/+3
|
* Add UnityMenuAction::index propertyLars Uebernickel2013-09-031-44/+59
|
* Add UnityMenuModel::getActionLars Uebernickel2013-09-021-0/+28
| | | | | | A method that returns a UnityMenuAction for a menu item. It must be used if the action name came from an attribute on the menu item so that the menu item's namespace can be prepended to the action name.
* UnityMenuModel::activate: use gtk_menu_tracker_item_get_action_nameLars Uebernickel2013-09-021-1/+1
| | | | | Instead of fetching the action name directly. This will make sure we always get the full action name, including the name space if one is set.
* gtk_menu_tracker_item_get_action_name: return full name, including namespaceLars Uebernickel2013-09-021-2/+6
|
* Added UnityMenuAction for "out-of-menu" actions.Nick Dedekind2013-08-301-1/+174
|\ | | | | Approved by Lars Uebernickel, PS Jenkins bot.
| * merged with trunkNick Dedekind2013-08-271-8/+34
| |\
| * | Review commentsNick Dedekind2013-08-271-17/+17
| | |
| * | 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
| | |
* | | Let Qt manage deletion of childrenNick Dedekind2013-08-291-3/+0
| |/ |/|
* | UnityMenuModel::changeState now uses current state parameter type as a base ↵Nick Dedekind2013-08-261-2/+14
|\ \ | | | | | | | | | | | | for parameter GVariant conversion. Approved by Lars Uebernickel, PS Jenkins bot.
| * | Added toGVariantWithSchema for UnityMenuModel::changeStateNick Dedekind2013-08-151-2/+14
| |/
* / new unitymenumodel attribute typesNick Dedekind2013-08-201-6/+20
|/
* 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
|