summaryrefslogtreecommitdiffstats
path: root/src/imports/contacts/qdeclarativecontactrelationshipmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove usage of deprecated API from the declarative pluginsChris Adams2020-11-021-8/+12
| | | | | Change-Id: Id2f9f936faf687ed51ab9adfca915711f1e65b9b Reviewed-by: Pekka Vuorela <pvuorela@iki.fi>
* Don't include mocs inside namespacesChris Adams2018-10-261-2/+2
| | | | | | | | See commit 5b99f3a3 in qtbase dev. Task-number: QTBUG-71300 Change-Id: I38b281f8990baa9b8ea9969e52b8a7b80b5e7da9 Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Fix licensingJani Heikkinen2017-05-041-14/+20
| | | | | | | | | | Currently tests are licensed under GPL-EXCEPT, examples under BSD and src under LGPL so replase old license headers with new & proper ones. Also remove old & unused license files & add missing ones Task-number: QTBUG-57147 Change-Id: I07f7b555a3766ad1c4f57d662fc3326522885abe Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* QtPim: Use the newly-introduced qmlWarning instead of qmlInfoRobin Burchell2017-01-131-1/+1
| | | | | | | | qmlInfo will shortly be returning info-level messages (as the name hints), rather than warning level messages. Change-Id: I19e18b4015d4974366fdbc3c28b9da8e90754f86 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* More license test fixesAlex Blasche2015-04-161-1/+1
| | | | | | | | | This change should have really been part of I4a4c08123be144a0f3c2c9ce987f5ce1e9ff8bb4 but resolving the conflicts across 300+ files is no fun. Change-Id: Ic14b52c6e27c1924419446b7f876954dc7bf1450 Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Update contact URLAlex Blasche2015-04-161-1/+1
| | | | | | | QtProject is no more. Change-Id: I2b1d6ff8ed40deec419c51757a539b40cc78b42f Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Fix licenses for QtPIMAlex Blasche2015-04-161-21/+13
| | | | | | | | | | 1.) Use QtCompany in each header and update copyright year 2.) All tests are LGPLv21 (some test files were BSD) 3.) Convert doc snippet to BSD (some were LGPL) 4,) Convert example code from FDL to BSD Change-Id: I4a4c08123be144a0f3c2c9ce987f5ce1e9ff8bb4 Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Remove unnecessary \inqmlmodule parameterAlejandro Exojo2014-12-081-1/+1
| | | | | Change-Id: Ib9207074048c0368977f5e3db276f1ec8c7d2eaf Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Revert change to QContactRelationship participant typesMatt Vogt2014-07-091-3/+3
| | | | | | | | | | | | | | A earlier change converted QContactRelationship first and second properties to use QContact rather than QContactId representations. The motivation for this change is unclear, but it resulted in undesirable complication to the interface without obvious benefits. This change restores the original ID-based representation for relationships. Change-Id: Iaeff907d11efcda0ef3ba3161ee0c3e760b0dd1a Reviewed-by: Christopher Adams <chris.adams@jollamobile.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Normalize signal & slot signatures in connectionThiago Macieira2014-02-041-2/+2
| | | | | | | Profiling shows Qt Creator spends 2% of its load time normalizing Change-Id: I46826476f25e7d60a93a0697378dabc442c9e364 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Check that the request don't get deleted in a slotKonstantin Ritt2014-01-101-2/+3
| | | | | | | | | Deleting sender() in a slot isn't allowed, really. Produce an assert for now to help the existing users fix their code. Change-Id: I784ec6f7bc0116b4bf5be8da086dae9492bf3aea Reviewed-by: Michael Krasnyk <michael.krasnyk@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Use the installed headersKonstantin Ritt2014-01-081-4/+7
| | | | | | | | | | | This fixes synqt warnings about incorrect inclusions in public headers. Also deals with extra- and duplicate includes, forward declaration, namespacing issues, and circular dependencies... ...and Qt-ifies the headers after all. Change-Id: Ia373d6fb93e0fecedd2a2334fbeb4c2005a67a4c Reviewed-by: Michael Krasnyk <michael.krasnyk@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Move the declarative bindings out of the module namespaceKonstantin Ritt2014-01-061-2/+4
| | | | | | | | | | | | | | This fixes a broken types in QML (the typical error from engine is like "QMetaProperty::read: Unable to handle unregistered datatype 'QDeclarativeOrganizerItemType::ItemType' for property 'QtOrganizer::QDeclarativeOrganizerEvent::itemType") This reverts 75d049f770f86 and magically fixes related issues missed in it. Task-number: QTBUG-35276 Change-Id: I792cf2bb3ff8f5ea7b59438ddf3107009eb2bc63 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Adjust QT*_{BEGIN,END}_NAMESPACE macroSergio Ahumada2013-03-261-2/+2
| | | | | | | | Changed to QT_{BEGIN,END}_NAMESPACE_* to match syncqt and tst_header's checks. Change-Id: If41721bf6be1294c9e0068af74917afc246603e9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Change copyrights from Nokia to DigiaIikka Eklund2012-09-241-24/+24
| | | | | | | | | Change copyrights and license headers from Nokia to Digia Change-Id: I2d9a4538442adcebf58fe50bf47c5e5c8b3b526a Reviewed-by: Janne Anttila <janne.anttila@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Doc: Changed \qmlclass to \qmltype and added \instantiatesJerome Pasion2012-07-301-1/+2
| | | | | | | | | -\qmlclass is now \qmltype -\instantiates is for QML types implemented in C++ Change-Id: Ic16ff5d625529fc31680978d2e5f1700b7858345 Reviewed-by: Peter Yard <peter.yard@nokia.com> Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Use QStringLiteral macro instead of QLatin1String where possible.Cristiano di Flora2012-05-311-15/+15
| | | | | Change-Id: I283e72fa94ac08f2ac40db285b8607f3170b9d5b Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Add qml module version to \inqmlmodule referencesMikko Suonio2012-05-221-1/+1
| | | | | | | | Unspecified version causes qdoc to assume '1.0' and generate a warning. Change-Id: Ia1c69952c4019cec2f0f9d0f4eab130bf0320fdb Reviewed-by: Päivi Rajala <paivi.rajala@nokia.com> Reviewed-by: Andy Cox <andrew.cox@nokia.com>
* Doc: Fix \sa usageMarius Storm-Olsen2012-05-101-1/+1
| | | | | | | | Ensure comma between elements (2 missing), single space and curly- braces around title elements, etc. Change-Id: Ib9f1c733709730b2ddb0b7e9992770278fabe4d3 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
* Declarative --> Qml adaptation.Xizhi Zhu2012-03-121-4/+4
| | | | | | Change-Id: Id17d603bcd84d3073ff17af8ca235ad8534ebcae Reviewed-by: Kranthi Kuntala <kranthi.kumar-kuntala@nokia.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Remove the usage of deprecated qdoc macros.Casper van Donderen2012-03-081-1/+1
| | | | | | | | | | | | QDoc now has support for Doxygen style commands for italics, bold and list items. This change applies that change in QDoc to the actual documentation. Task-number: QTBUG-24578 Change-Id: I19e15490a54b69ebec26a0932cd53ce080a9391e Reviewed-by: Kranthi Kuntala <kranthi.kumar-kuntala@nokia.com> Reviewed-by: Andy Cox <andrew.cox@nokia.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Remove "All rights reserved" line from license headers.Jason McDonald2012-01-301-1/+1
| | | | | | | | | | | As in the past, to avoid rewriting various autotests that contain line-number information, an extra blank line has been inserted at the end of the license text to ensure that this commit does not change the total number of lines in the license header. Change-Id: I063dff80c66d3f4d1dfd07c27478b9d5b1bfe0d8 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* introduce QContactIdKranthi Kuntala2012-01-241-3/+3
| | | | | | | | | | | | | | | This change introduces a back-end agnostic QContactId abstraction based on the design pattern already adopted in Organizer API. Back-end specific IDs are hidden behind an opaque QContactId wrapper class. This implementation removes the QContactLocalId from the api Fixes to auto tests done by Pekka Kauppila<pekka.kauppila@nokia.com> Change-Id: Ib9f5433c662eeac476f73005500c1bdd5604b1fb Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com> Reviewed-by: Mikko Suonio <mikko.suonio@nokia.com>
* Update obsolete contact address.Jason McDonald2012-01-201-1/+1
| | | | | | | | Replace Nokia contact email address with Qt Project website. Change-Id: I981663bb2eec3d39a40bbec70bc064d0abec98ba Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Update copyright year in license headers.Jason McDonald2012-01-051-1/+1
| | | | | | Change-Id: I47c2fc4d33b31929f1d7427bf85a7ac73ccbae61 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Improvements to the Qt Contacts QML documentation.Simo Kivimäki2011-12-021-2/+3
| | | | | | Change-Id: I0b4e9f40fe9805e20c5417c9f71b72438deb7621 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Fix references to contacts QML module in docs.Mikko Suonio2011-11-241-1/+1
| | | | | | Change-Id: I0ec54278d75a382e5c0eae1c2fc65668255f5f1b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>
* Finalize namespace.Xizhi Zhu2011-10-191-2/+2
| | | | | Change-Id: I2b54571b2befa8120049422aa8034e8ba1e98ea8 Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Fix two issues in contact relationship qml elements.Cristiano di Flora2011-10-171-18/+10
| | | | | | | | | | - export RelationshipModel element - check if participant property is set before parsing its value Change-Id: Iae1f54323a5e539a54406167659bade7b7155742 Reviewed-by: Claudio Brunelli <claudio.brunelli@nokia.com> Reviewed-by: Tommi Anttila <tommi.4.anttila@nokia.com> Reviewed-by: Kranthi Kumar Kuntala <kranthi.kumar-kuntala@nokia.com>
* QtPim: Fix compilation on Windows/Warnings.Friedemann Kleint2011-09-291-2/+2
| | | | | | | | | | | | - Fix export of VersitOrganizer - Fix ASCII string conversion warnings - Fix crash-prone (QString == 0) comparisons - Fix setting of participant to have an effect Change-Id: Icac4266e7857b9b0b93c9a2722e308c7ac823d94 Reviewed-on: http://codereview.qt-project.org/5796 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Adapt contacts qml plugins to refactored qcontactrelationship.Cristiano di Flora2011-09-211-16/+14
| | | | | | | Change-Id: I544dfe56a15e7bce03ad6129fd031c9b0437381f Reviewed-on: http://codereview.qt-project.org/5316 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: <mika.tikkakoski@nokia.com>
* Cherry-pick various changes in the common code.Xizhi Zhu2011-08-261-9/+7
| | | | | | Change-Id: I0ae312045847df8986ec71fba9c9282dc91be32a Reviewed-on: http://codereview.qt.nokia.com/3490 Reviewed-by: Xizhi Zhu <xizhi.zhu@nokia.com>
* Import from latest QtMobility.Xizhi Zhu2011-08-231-0/+435