aboutsummaryrefslogtreecommitdiff
path: root/libqmenumodel/src/qmenumodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* moved events to separate file.Nick Dedekind2013-08-091-18/+2
|
* Glib callbacks send events through qt.Nick Dedekind2013-08-081-15/+42
|
* 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.
* Fixed item removal and insertion.Renato Araujo Oliveira Filho2013-01-101-17/+8
| | | | Removed debug messages. Fixed tests to work with new tree model structure.
* Implmeneted QMenuModel as tree model.Renato Araujo Oliveira Filho2013-01-031-228/+151
|
* Fixed model changes and singal.Renato Araujo Oliveira Filho2012-12-161-22/+70
| | | 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-141-7/+11
|
* Avoid emit signal during the model reset, this can crash qml.Renato Araujo Oliveira Filho2012-12-111-3/+6
|
* Fixed crash during model changes.Renato Araujo Oliveira Filho2012-12-111-2/+5
|
* 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-041-22/+19
|
* Simplify the caching mechanism using a a QHash that associates indexes (int) ↵Olivier Tilloy2012-12-031-56/+28
| | | | to QMenuModel*.
* Changed getLink function to not be const.Renato Araujo Oliveira Filho2012-12-031-6/+11
|
* QMenuModel now keeps cache of any link element.Renato Araujo Oliveira Filho2012-12-011-6/+63
|
* Used a shorter QObject::connect signature.Renato Araujo Oliveira Filho2012-11-291-3/+3
|
* Optimized get function code.Renato Araujo Oliveira Filho2012-11-281-9/+8
|
* Merged mainline.Renato Araujo Oliveira Filho2012-11-281-10/+21
|\
| * Take care of object ref internally on QMenumodel, instead of QDBusMenuModel.Renato Araujo Oliveira Filho2012-11-231-19/+3
| |
| * Replaced 'reinterpret_cast' for gobject cast when possible.Renato Araujo Oliveira Filho2012-11-231-2/+2
| |
| * Fixed QMenumodel behaviour when the GMenuModel is destroyed.Renato Araujo Oliveira Filho2012-11-231-1/+18
| |
| * Avoid find children recursive during the model cleanup.Renato Araujo Oliveira Filho2012-11-221-1/+1
| |
| * Moved model children clear to clearModel function.Renato Araujo Oliveira Filho2012-11-221-5/+5
| |
| * Fixed memory leak after the service disapear.Renato Araujo Oliveira Filho2012-11-211-0/+5
| |
| * Reimplement roleNames() instead of using setRoleNames(…).Olivier Tilloy2012-11-191-9/+14
| | | | | | In Qt5, setRoleNames(…) is marked deprecated.
* | Created auxiliary functions. To allows access the model data from JavaScript;Renato Araujo Oliveira Filho2012-11-131-0/+40
|/
* Replaced string convertion from Latin1 to Utf8.Renato Araujo Oliveira Filho2012-10-301-3/+3
|
* Merged mainline.Renato Araujo Oliveira Filho2012-10-111-0/+4
|\
| * Revert to using g* types, and forward-declare them.Olivier Tilloy2012-10-101-4/+4
| | | | | | This is more future-proof.
| * Avoid including C headers (glib/gio) in public headers; use "forward ↵Olivier Tilloy2012-10-091-4/+8
| | | | | | | | declarations" instead.
* | Created a new private function "clearModel" instead of change signature of ↵Renato Araujo Oliveira Filho2012-10-101-14/+17
| | | | | | | | "setModel" function.
* | Fixed crash during model destruction in QML.Renato Araujo Oliveira Filho2012-10-091-5/+9
|/
* Fixed some deprecation warnings when generating the API documentation.Olivier Tilloy2012-10-051-2/+2
|
* Rename the source directories.Olivier Tilloy2012-10-041-0/+225