aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel
Commit message (Collapse)AuthorAgeFilesLines
...
| * Move unityqmlmenumodel's properties to unitymenumodelLars Uebernickel2013-06-244-149/+133
| | | | | | | | | | | | | | | | 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-052-18/+67
| |
| * unitymenumodel: add activate()Lars Uebernickel2013-06-052-0/+20
| |
| * Link against the qml moduleLars Uebernickel2013-06-051-2/+1
| | | | | | | | Reverts r69, that was nonsense.
| * unitymenumodel: expose isSeparatorLars Uebernickel2013-06-042-1/+6
| |
| * unitymenumodel: watch the bus nameLars Uebernickel2013-06-041-30/+83
| | | | | | | | This makes it possible to restart the service that provides the menu.
| * CMakeLists.txt: explicitly specify qml include pathLars Uebernickel2013-06-041-0/+1
| | | | | | | | CMake doesn't call moc correctly if this is not specified.
| * Introduce UnityMenuModel and UnityQmlMenuModelLars Uebernickel2013-06-0417-2/+3089
| | | | | | | | | | | | | | | | | | 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.
* | styleAlberto Mardegan2013-05-231-1/+3
| |
* | Use invalid index as root indexAlberto Mardegan2013-05-201-0/+1
|/ | | | | When emitting the rowsInserted signal for top-level items, use an invalid QModelIndex as parent.
* Used qmake to retrieve the import dir used to install QML modules.Renato Araujo Oliveira Filho2013-01-311-3/+5
|
* Updated to qt5 final.Renato Araujo Oliveira Filho2013-01-182-2/+2
|
* Fixed "invokeMethod" call to use only the method name instead of full signature.Renato Araujo Oliveira Filho2013-01-141-1/+1
|
* Used 'invokeMethod' to call slot, to make the code simple.Renato Araujo Oliveira Filho2013-01-141-13/+9
|
* Merged mainline.Renato Araujo Oliveira Filho2013-01-111-0/+19
|\
| * Added missing license header.Renato Araujo Oliveira Filho2013-01-111-0/+19
| |
* | Fixed item removal and insertion.Renato Araujo Oliveira Filho2013-01-103-22/+56
| | | | | | | | Removed debug messages. Fixed tests to work with new tree model structure.
* | Implmeneted QMenuModel as tree model.Renato Araujo Oliveira Filho2013-01-036-269/+473
|/
* Fixed model changes and singal.Renato Araujo Oliveira Filho2012-12-162-25/+80
| | | Try to keep the module unchanged until the function begin[Insert|Remove]Rows is called.
* Removed keywords from VIRTUAL functions.Renato Araujo Oliveira Filho2012-12-151-4/+4
|
* Only checks for row index in cache.Renato Araujo Oliveira Filho2012-12-141-8/+6
| | | Used Q_EMIT keywork for signals.
* Avoid change rowCount value outside of BeginModel[Insert|Remove|Reset] functionsRenato Araujo Oliveira Filho2012-12-142-7/+12
|
* Fixed model disconnect function.Renato Araujo Oliveira Filho2012-12-111-0/+1
| | | Set the model null during the disconnection will make sure that the model was cleared and the new call of connect will populate the model again.
* Avoid emit signal during the model reset, this can crash qml.Renato Araujo Oliveira Filho2012-12-112-4/+7
|
* Fixed crash during model changes.Renato Araujo Oliveira Filho2012-12-111-2/+5
|
* Implemented conversion for GVariant and Arrays.Renato Araujo Oliveira Filho2012-12-071-2/+12
|
* Better comment.Olivier Tilloy2012-12-041-1/+1
|
* Add comments to explain non-trivial cache updates.Olivier Tilloy2012-12-041-0/+3
|
* Add myself to the list of authors.Olivier Tilloy2012-12-041-0/+1
|
* Make the cache a pointer, to enforce const correctness.Olivier Tilloy2012-12-042-25/+21
|
* Simplify the caching mechanism using a a QHash that associates indexes (int) ↵Olivier Tilloy2012-12-032-60/+31
| | | | to QMenuModel*.
* Changed getLink function to not be const.Renato Araujo Oliveira Filho2012-12-032-7/+12
|
* QMenuModel now keeps cache of any link element.Renato Araujo Oliveira Filho2012-12-012-6/+69
|
* Used a shorter QObject::connect signature.Renato Araujo Oliveira Filho2012-11-291-3/+3
|
* Optimized get function code.Renato Araujo Oliveira Filho2012-11-282-10/+9
|
* Merged mainline.Renato Araujo Oliveira Filho2012-11-288-42/+92
|\
| * Fixed QMenumodel behavior when the GMenuModel is destroyed.Renato Araujo Oliveira Filho2012-11-233-7/+8
| |\ | | | | | | Approved by Lars Uebernickel, PS Jenkins bot.
| | * Removed missing function declaration.Renato Araujo Oliveira Filho2012-11-232-7/+2
| | |
| | * Take care of object ref internally on QMenumodel, instead of QDBusMenuModel.Renato Araujo Oliveira Filho2012-11-233-25/+7
| | |
| | * Replaced 'reinterpret_cast' for gobject cast when possible.Renato Araujo Oliveira Filho2012-11-232-5/+5
| | |
| | * Merged mainline.Renato Araujo Oliveira Filho2012-11-231-3/+25
| | |\
| | * | Fixed QMenumodel behaviour when the GMenuModel is destroyed.Renato Araujo Oliveira Filho2012-11-233-2/+26
| | | |
| * | | Removed QAction dependency from QStateAction.Renato Araujo Oliveira Filho2012-11-234-23/+39
| |\ \ \ | | |_|/ | |/| | | | | | | | | | Exported activate function on QStateAction. Approved by Ugo Riboni, PS Jenkins bot.
| | * | Added docs on new functions.Renato Araujo Oliveira Filho2012-11-221-5/+14
| | | |
| | * | Removed QAction dependecy from QStateAction.Renato Araujo Oliveira Filho2012-11-224-23/+30
| | |/ | | | | | | | | | Exported activate function on QStateAction.
| * | Fixed code style.Renato Araujo Oliveira Filho2012-11-231-2/+2
| | |
| * | Only unref variant if its is valid.Renato Araujo Oliveira Filho2012-11-221-1/+1
| | |
| * | Implemented support to tuple conversions.Renato Araujo Oliveira Filho2012-11-221-3/+25
| |/
| * Avoid find children recursive during the model cleanup.Renato Araujo Oliveira Filho2012-11-221-1/+1
| |