aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
Commit message (Collapse)AuthorAgeFilesLines
* Move glib includes outside of extern "C"Luca Weiss2021-05-178-16/+0
| | | | | | | | | | | | | | | | Recent glib versions throw this error otherwise: In file included from /usr/include/glib-2.0/glib/gatomic.h:31, from /usr/include/glib-2.0/glib/gthread.h:32, from /usr/include/glib-2.0/glib/gasyncqueue.h:32, from /usr/include/glib-2.0/glib.h:32, from /home/pmos/build/src/qmenumodel-0.8.0/libqmenumodel/src/converter.cpp:22: /usr/include/c++/10.2.1/type_traits:56:3: error: template with C linkage 56 | template<typename _Tp, _Tp __v> | ^~~~~~~~ /home/pmos/build/src/qmenumodel-0.8.0/libqmenumodel/src/converter.cpp:21:1: note: 'extern "C"' linkage started here 21 | extern "C" { | ^~~~~~~~~~
* Support ayatana typeMarius Gripsgard2020-08-151-1/+7
| | | | | | This adds support for x-ayatana-type but keeps the old x-canonical-type in case we have mixed type (as the case with ubuntu touch where we have indicators that are yet to be moved to ayatana)
* Add missing headerLuca Weiss2020-05-181-0/+1
| | | | | | | | | | | | | Resolves the following build-time warning: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c: In function ‘gtk_simple_action_observer_register_action’: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c:147:7: warning: implicit declaration of function ‘gtk_action_observable_register_observer’ [-Wimplicit-function-declaration] 147 | gtk_action_observable_register_observer (self->observable, self->action_name, GTK_ACTION_OBSERVER (self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c: In function ‘gtk_simple_action_observer_unregister_action’: [..]/libqmenumodel/src/gtk/gtksimpleactionobserver.c:156:5: warning: implicit declaration of function ‘gtk_action_observable_unregister_observer’ [-Wimplicit-function-declaration] 156 | gtk_action_observable_unregister_observer(self->observable, self->action_name, GTK_ACTION_OBSERVER (self)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* Fix build with Qt 5.11_beta3 (dropping qt5_use_modules)Ivan Semkin2018-06-202-4/+5
|
* Add a return trueAlbert Astals Cid2017-04-031-0/+1
| | | | Noone seems to be actually using the returned bool, but it's always nice to have a return
* Use submenu-enabled for those items that don't have an action (if it exists) ↵Albert Astals Cid2017-03-161-1/+11
|\ | | | | | | | | | | (LP: #1670694) Approved by: Lukáš Tinkl
| * Use submenu-enabled for those items that don't have an action (if it exists)Albert Astals Cid2017-03-081-1/+11
| |
* | Add UnityMenuModel::aboutToShow ((LP: 1664578)Bileto Bot2017-03-162-2/+44
|\ \
| * | 0 -> G_MAXINT as found by CharlesAlbert Astals Cid2017-03-161-1/+1
| | |
| * | Review improvementsAlbert Astals Cid2017-03-161-2/+2
| |/
| * Call about to show for those items that have a qtubuntu-tag propertyAlbert Astals Cid2017-03-062-2/+44
| |
* | Fix c&p, this ref should be unrefAlbert Astals Cid2017-03-161-1/+1
| |
* | valignAlbert Astals Cid2017-02-281-1/+1
| |
* | Batch add and removes into the modelAlbert Astals Cid2017-02-285-44/+84
|/
* merged with trunkNick Dedekind2016-12-099-80/+195
|\
| * converter: cleanup and add support for more variant typesMarco Trevisan (Treviño)2016-11-161-76/+100
| |\ | | | | | | | | | Approved by: Lukáš Tinkl
| | * converter: properly set the QByteArray using ctor, or it will be created twiceMarco Trevisan (Treviño)2016-10-261-4/+1
| | |
| | * converter: return a variant when the schema is a variantMarco Trevisan (Treviño)2016-10-251-1/+1
| | |
| | * converter: free schema type on destructionMarco Trevisan (Treviño)2016-10-251-2/+4
| | |
| | * converter: free the strv containerMarco Trevisan (Treviño)2016-10-251-0/+1
| | |
| | * Merged variant-string-parser into converter-improvements.Marco Trevisan (Treviño)2016-10-251-2/+6
| | |\
| | * | converter: use qUtf8Printable functionLukáš Tinkl2016-10-251-5/+5
| | | |
| | * | Converter: add support to String ArraysMarco Trevisan (Treviño)2016-10-251-2/+21
| | | |
| | * | Merging with lp:~3v1n0/qmenumodel/variant-string-parserMarco Trevisan (Treviño)2016-10-251-1/+0
| | |\ \
| | * | | converter: stop looking if w'eve no entryTypeMarco Trevisan (Treviño)2016-10-181-0/+2
| | | | |
| | * | | Converter: use builders and c++ facilities for schema conversionsMarco Trevisan (Treviño)2016-10-181-38/+22
| | | | |
| | * | | Converter: use some c++11 facilities for listsMarco Trevisan (Treviño)2016-10-181-13/+12
| | | | |
| | * | | Converter: use QMetaType to check integer subtypesMarco Trevisan (Treviño)2016-10-181-20/+16
| | | | |
| | * | | Converter: add support for ByteArrayListMarco Trevisan (Treviño)2016-10-181-1/+21
| | | | |
| | * | | Converter: add bytestring supportMarco Trevisan (Treviño)2016-10-181-1/+5
| | | | |
| * | | | Crossbuilding fixes.Florian Boucault2016-11-161-5/+1
| |\ \ \ \ | | |_|_|/ | |/| | | | | | | | Approved by: Marco Trevisan (Treviño)
| | * | | Crossbuilding fixes.Florian Boucault2016-07-191-5/+1
| | | | |
| * | | | UnityMenuModel: avoid copy on assignmentMarco Trevisan (Treviño)2016-10-251-1/+1
| | | | |
| * | | | UnityMenuModel: use conversion with gschema in unity actionsMarco Trevisan (Treviño)2016-10-251-1/+5
| | |_|/ | |/| |
| * | | remove deprecated g_type_init() callsMarco Trevisan (Treviño)2016-10-221-1/+0
| | |/ | |/|
| * | QStateAction: add ability to activate or change state by variant stringMarco Trevisan (Treviño)2016-10-183-1/+23
| | |
| * | Converter: move parseVariantString here from UnityMenuModelMarco Trevisan (Treviño)2016-10-183-25/+28
| | |
| * | 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-142-0/+36
| | | | | | | | | | | | string parameter
| * | Converter: add support to LongLong and ULongLongMarco Trevisan (Treviño)2016-10-141-0/+6
| |/
| * only log criticalNick Dedekind2016-02-231-2/+2
| |
| * added missing fileNick Dedekind2016-02-231-0/+23
| |
| * use logging categoriesNick Dedekind2016-02-191-2/+5
| |
* | better boolean checkNick Dedekind2016-10-041-2/+2
| |
* | Added roles for submenu & shortcut. Added actionsNick Dedekind2016-01-154-4/+28
|\ \ | |/ |/|
| * acceleratorsNick Dedekind2015-09-081-1/+11
|/
* Fix crash from not NULLing a variant that we later might try to unrefMichael Terry2015-04-301-0/+1
|
* added commentNick Dedekind2014-12-101-0/+1
|
* Allow override of action state parserNick Dedekind2014-11-112-2/+31
|