aboutsummaryrefslogtreecommitdiff
path: root/tests/client/modeltest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move glib includes outside of extern "C"Luca Weiss2021-05-171-2/+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" { | ^~~~~~~~~~
* Fixed item removal and insertion.Renato Araujo Oliveira Filho2013-01-101-51/+1
| | | | Removed debug messages. Fixed tests to work with new tree model structure.
* Fixed model changes and singal.Renato Araujo Oliveira Filho2012-12-161-10/+0
| | | Try to keep the module unchanged until the function begin[Insert|Remove]Rows is called.
* Created unit test for get data function.Renato Araujo Oliveira Filho2012-11-281-0/+38
|
* Take care of object ref internally on QMenumodel, instead of QDBusMenuModel.Renato Araujo Oliveira Filho2012-11-231-15/+0
|
* Merged mainline.Renato Araujo Oliveira Filho2012-11-231-0/+6
|\
| * Implemented support to tuple conversions.Renato Araujo Oliveira Filho2012-11-221-0/+6
| |
* | Fixed QMenumodel behaviour when the GMenuModel is destroyed.Renato Araujo Oliveira Filho2012-11-231-0/+27
|/
* Updated debian package to use debhelper instead of cdbs.Renato Araujo Oliveira Filho2012-11-071-1/+1
|\ | | | | Approved by Olivier Tilloy.
| * Removed QtTestGui include from tests.Renato Araujo Oliveira Filho2012-10-311-1/+1
| |
* | Fixed tests code to avoid crash if dbus session is not avaliable.Renato Araujo Oliveira Filho2012-11-021-1/+1
|/
* Created unit test for utf8 strings.Renato Araujo Oliveira Filho2012-10-301-1/+7
|
* Merged mainline.Renato Araujo Oliveira Filho2012-10-161-0/+22
|\
| * Merged mainline.Renato Araujo Oliveira Filho2012-10-151-5/+0
| |\
| * | Fixed crash during model destruction in QML.Renato Araujo Oliveira Filho2012-10-091-0/+22
| | |
* | | Created unit test for QVariantMap conversion;Renato Araujo Oliveira Filho2012-10-151-0/+10
| |/ |/|
* | Call g_type_init() in the constructor for QDBusObject.Olivier Tilloy2012-10-081-5/+0
|/ | | This ensures it is always called where needed: clients don’t need to invoke it themselves.
* Port to Qt5.Olivier Tilloy2012-10-051-0/+5
| | | To compile and test, one needs to install the qt5-meta-minimal package from the Canonical Qt5 Edgers PPA (https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta1). This installs Qt5 in /opt/qt5/. cmake needs to be invoked with CMAKE_PREFIX_PATH=/opt/qt5/lib/cmake, and /opt/qt5/bin needs to be added to $PATH.
* Fix variant conversion on 32-bits platforms.Olivier Tilloy2012-10-041-2/+2
|
* Move the enums into a class that inherits QObject, so they can be exposed ↵Olivier Tilloy2012-10-041-7/+7
| | | | and used directly from QML.
* Remove the implementation of columnCount.Olivier Tilloy2012-10-041-8/+0
| | | According to the documentation (http://doc.qt.digia.com/stable/model-view-programming.html#model-subclassing-reference), « List models do not provide this function because it is already implemented in QAbstractListModel. »
* Appended comments on unit test.Renato Araujo Oliveira Filho2012-09-131-0/+15
| | | | Added 'valid' property in QStateAction.
* Created class QStateAction to use as GAction proxy.Renato Araujo Oliveira Filho2012-09-131-11/+11
|
* Parse extra properties name to remove 'x-' and replace '-' to '_'.Renato Araujo Oliveira Filho2012-09-121-10/+10
|
* Append the default licence header into source files.Renato Araujo Oliveira Filho2012-09-111-0/+19
|
* Splitted qmenumodel plugin in two libraries to make it testable.Renato Araujo Oliveira Filho2012-09-111-0/+185
Create unit test for qmenumodel library.