summaryrefslogtreecommitdiffstats
path: root/src/imports/contacts/details/qdeclarativecontactextendeddetail_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Replace Q_NULLPTR with nullptrKevin Funk2017-11-151-1/+1
| | | | | Change-Id: I0c21694591687cdee8b3f749a53c701e76fa42f1 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* 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>
* Compile public headers with GCC 6 -Werror=zero-as-null-pointer-constantThiago Macieira2016-06-151-1/+1
| | | | | Change-Id: I635e4116c1e4499fa1c5fffd144ee47d0674b1b3 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Fix unit test failuresMatt Vogt2015-04-161-7/+1
| | | | | | | | | | | | | | | | | | | Includes the following changes: - QDeclarativeContactExtendedDetail::setData now unboxes values from QJSValue - QDeclarativeOrganizerItemExtendedDetail::setData now unboxes values from QJSValue - QDeclarativeOrganizerRecurrenceRule is now reset when assigned a null void * - Correct tst_QVersitContactExporter logic, since QVariantHash is now a supported type for QJsonValue export - Correct tst_QVersitOrganizerExporter logic, since QVariantHash is now a supported type for QJsonValue export - Correct expected output when compring debug output involving QVariant data Change-Id: I67b6b71226c4b4c928c0c26681b24813de525545 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* 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>
* Use the installed headersKonstantin Ritt2014-01-081-2/+2
| | | | | | | | | | | 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-4/+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>
* Fixed QML bindings.Renato Araujo Oliveira Filho2013-05-141-1/+3
| | | | | | | | | | Register types in QML without namespace. Task-number: QTBUG-29830 Change-Id: I03c40750b2b8ad4c079c0ea818e058fd5e0d18fb Reviewed-by: Olivier Goffart <ogoffart@woboq.com> Reviewed-by: Andrew den Exter <andrew.den.exter@qinetic.com.au>
* 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>
* Use enumerations for detail types and detail fields.Cristiano di Flora2012-02-241-15/+3
| | | | | | | | | | | | | | | | | | This patch changes the internal representation of detail types and field names within details from a string-based representation to enum constants. Detail definition names are then replaced by the concept of "Detail Type". Enum values are also aligned across C++ Vs QML APIs Authors: - Tommi Anttila <tommi.4.anttila@nokia.com> - Claudio Brunelli <claudio.brunelli@nokia.com> - Cristiano di Flora <cristiano.di-flora@nokia.com> Change-Id: I8b86022d08f9c3baf84b658f07e6600efdc73b8b Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com> Reviewed-by: Claudio Brunelli <claudio.brunelli@nokia.com>
* Fix the module names in the file headers.Xizhi Zhu2012-02-061-1/+1
| | | | | | Change-Id: Ibe0e92da12770e8dedc503788edad1f0d129a5f1 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Andy Cox <andrew.cox@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>
* 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 Nokia copyright headers.Jason McDonald2012-01-111-1/+1
| | | | | | | | | Update copyright headers from before 2011, and a few new ones that were merged after the previous change to copyright headers. Change-Id: I6d14a19ca1f3d257c05aaf26abc6bc2f3fb0489f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Simplify interface of QContactDetail.Cristiano di Flora2011-11-261-2/+2
| | | | | | | | | | | | - DefinitionName and field names are now QString and not QLatin1Constant anymore - removed extra field getter methods: now field values can be retrieved only as QVariant. Change-Id: I5de61520137228d25c067674174347a57eb77d12 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Mikko Suonio <mikko.suonio@nokia.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com> Reviewed-by: Mika Tikkakoski <mika.tikkakoski@nokia.com>
* Adding new ExtendedDetail detail.Cristiano di Flora2011-11-251-0/+122
- consider any unknown detail as extended detail in json2qcontact conversion - JsonDb internal (reserved) keys are skipped properly (i.e., keys starting with "_") - schema handling / detail definition removed - remove documentation of mutable definition mechanism - remove documentation of schema handling mechanisms - remove obsolete code from code snippets - remove qcontactdetaildefinition auto tests - remove detailDefinition tests from several auto tests - add cpp autotests and qml tests - Bool, int, uint, qlonglong, qulonglong, double and QChar supported in extended details - string conversion for date in UTC format for extended details - support for embedded variantlists and maps in extended details Change-Id: I0d9d9c8b3f31376934b64217db3c4be4c9284160 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Cristiano di Flora <cristiano.di-flora@nokia.com>