Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduce UnityMenuModel and UnityQmlMenuModel | Lars Uebernickel | 2013-06-04 | 16 | -0/+3087 |
| | | | | | | | | | 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. | ||||
* | Updated to qt5 final. | Renato Araujo Oliveira Filho | 2013-01-18 | 1 | -1/+1 |
| | |||||
* | Fixed "invokeMethod" call to use only the method name instead of full signature. | Renato Araujo Oliveira Filho | 2013-01-14 | 1 | -1/+1 |
| | |||||
* | Used 'invokeMethod' to call slot, to make the code simple. | Renato Araujo Oliveira Filho | 2013-01-14 | 1 | -13/+9 |
| | |||||
* | Merged mainline. | Renato Araujo Oliveira Filho | 2013-01-11 | 1 | -0/+19 |
|\ | |||||
| * | Added missing license header. | Renato Araujo Oliveira Filho | 2013-01-11 | 1 | -0/+19 |
| | | |||||
* | | Fixed item removal and insertion. | Renato Araujo Oliveira Filho | 2013-01-10 | 3 | -22/+56 |
| | | | | | | | | Removed debug messages. Fixed tests to work with new tree model structure. | ||||
* | | Implmeneted QMenuModel as tree model. | Renato Araujo Oliveira Filho | 2013-01-03 | 6 | -269/+473 |
|/ | |||||
* | Fixed model changes and singal. | Renato Araujo Oliveira Filho | 2012-12-16 | 2 | -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 Filho | 2012-12-15 | 1 | -4/+4 |
| | |||||
* | Only checks for row index in cache. | Renato Araujo Oliveira Filho | 2012-12-14 | 1 | -8/+6 |
| | | | Used Q_EMIT keywork for signals. | ||||
* | Avoid change rowCount value outside of BeginModel[Insert|Remove|Reset] functions | Renato Araujo Oliveira Filho | 2012-12-14 | 2 | -7/+12 |
| | |||||
* | Fixed model disconnect function. | Renato Araujo Oliveira Filho | 2012-12-11 | 1 | -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 Filho | 2012-12-11 | 2 | -4/+7 |
| | |||||
* | Fixed crash during model changes. | Renato Araujo Oliveira Filho | 2012-12-11 | 1 | -2/+5 |
| | |||||
* | Implemented conversion for GVariant and Arrays. | Renato Araujo Oliveira Filho | 2012-12-07 | 1 | -2/+12 |
| | |||||
* | Better comment. | Olivier Tilloy | 2012-12-04 | 1 | -1/+1 |
| | |||||
* | Add comments to explain non-trivial cache updates. | Olivier Tilloy | 2012-12-04 | 1 | -0/+3 |
| | |||||
* | Add myself to the list of authors. | Olivier Tilloy | 2012-12-04 | 1 | -0/+1 |
| | |||||
* | Make the cache a pointer, to enforce const correctness. | Olivier Tilloy | 2012-12-04 | 2 | -25/+21 |
| | |||||
* | Simplify the caching mechanism using a a QHash that associates indexes (int) ↵ | Olivier Tilloy | 2012-12-03 | 2 | -60/+31 |
| | | | | to QMenuModel*. | ||||
* | Changed getLink function to not be const. | Renato Araujo Oliveira Filho | 2012-12-03 | 2 | -7/+12 |
| | |||||
* | QMenuModel now keeps cache of any link element. | Renato Araujo Oliveira Filho | 2012-12-01 | 2 | -6/+69 |
| | |||||
* | Used a shorter QObject::connect signature. | Renato Araujo Oliveira Filho | 2012-11-29 | 1 | -3/+3 |
| | |||||
* | Optimized get function code. | Renato Araujo Oliveira Filho | 2012-11-28 | 2 | -10/+9 |
| | |||||
* | Merged mainline. | Renato Araujo Oliveira Filho | 2012-11-28 | 8 | -42/+92 |
|\ | |||||
| * | Fixed QMenumodel behavior when the GMenuModel is destroyed. | Renato Araujo Oliveira Filho | 2012-11-23 | 3 | -7/+8 |
| |\ | | | | | | | Approved by Lars Uebernickel, PS Jenkins bot. | ||||
| | * | Removed missing function declaration. | Renato Araujo Oliveira Filho | 2012-11-23 | 2 | -7/+2 |
| | | | |||||
| | * | Take care of object ref internally on QMenumodel, instead of QDBusMenuModel. | Renato Araujo Oliveira Filho | 2012-11-23 | 3 | -25/+7 |
| | | | |||||
| | * | Replaced 'reinterpret_cast' for gobject cast when possible. | Renato Araujo Oliveira Filho | 2012-11-23 | 2 | -5/+5 |
| | | | |||||
| | * | Merged mainline. | Renato Araujo Oliveira Filho | 2012-11-23 | 1 | -3/+25 |
| | |\ | |||||
| | * | | Fixed QMenumodel behaviour when the GMenuModel is destroyed. | Renato Araujo Oliveira Filho | 2012-11-23 | 3 | -2/+26 |
| | | | | |||||
| * | | | Removed QAction dependency from QStateAction. | Renato Araujo Oliveira Filho | 2012-11-23 | 4 | -23/+39 |
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | Exported activate function on QStateAction. Approved by Ugo Riboni, PS Jenkins bot. | ||||
| | * | | Added docs on new functions. | Renato Araujo Oliveira Filho | 2012-11-22 | 1 | -5/+14 |
| | | | | |||||
| | * | | Removed QAction dependecy from QStateAction. | Renato Araujo Oliveira Filho | 2012-11-22 | 4 | -23/+30 |
| | |/ | | | | | | | | | | Exported activate function on QStateAction. | ||||
| * | | Fixed code style. | Renato Araujo Oliveira Filho | 2012-11-23 | 1 | -2/+2 |
| | | | |||||
| * | | Only unref variant if its is valid. | Renato Araujo Oliveira Filho | 2012-11-22 | 1 | -1/+1 |
| | | | |||||
| * | | Implemented support to tuple conversions. | Renato Araujo Oliveira Filho | 2012-11-22 | 1 | -3/+25 |
| |/ | |||||
| * | Avoid find children recursive during the model cleanup. | Renato Araujo Oliveira Filho | 2012-11-22 | 1 | -1/+1 |
| | | |||||
| * | Moved model children clear to clearModel function. | Renato Araujo Oliveira Filho | 2012-11-22 | 1 | -5/+5 |
| | | |||||
| * | Fixed memory leak after the service disapear. | Renato Araujo Oliveira Filho | 2012-11-21 | 1 | -0/+5 |
| | | |||||
| * | Reimplement roleNames() instead of using setRoleNames(…). | Olivier Tilloy | 2012-11-19 | 2 | -9/+15 |
| | | | | | | In Qt5, setRoleNames(…) is marked deprecated. | ||||
* | | Created auxiliary functions. To allows access the model data from JavaScript; | Renato Araujo Oliveira Filho | 2012-11-13 | 2 | -0/+47 |
|/ | |||||
* | Used utf8 instead of latin1 for strings. | Renato Araujo Oliveira Filho | 2012-10-30 | 5 | -16/+16 |
|\ | |||||
| * | Replaced gchar <-> QString convertion function, from Latin1 to Utf8. | Renato Araujo Oliveira Filho | 2012-10-30 | 2 | -6/+6 |
| |\ | | | | | | | Approved by PS Jenkins bot, Olivier Tilloy. | ||||
| | * | Replaced string convertion from Latin1 to Utf8. | Renato Araujo Oliveira Filho | 2012-10-30 | 2 | -6/+6 |
| | | | |||||
* | | | Created function actionActivate on QDbusActionGroup. | Renato Araujo Oliveira Filho | 2012-10-30 | 4 | -3/+11 |
| | | | |||||
* | | | Use the correct function "g_action_group_change_action_state" to change the ↵ | Renato Araujo Oliveira Filho | 2012-10-30 | 1 | -1/+1 |
|/ / | | | | | | | action state. | ||||
* / | Changed the 'g_bus_watch_name' flag to auto start the service; | Renato Araujo Oliveira Filho | 2012-10-24 | 1 | -1/+1 |
|/ | |||||
* | Used utf8 instead of latin1 on QString conversion; | Renato Araujo Oliveira Filho | 2012-10-17 | 1 | -1/+1 |
| |