qtcontacts-tracker:hasselmms-qtcontacts-tracker.git
8 years agoChanges: update log for next tag harmattan/4.5.4-3 harmattan/4.5.4-3
Nathan Letwory [Wed, 7 Apr 2010 11:53:14 +0000 (14:53 +0300)]
Changes: update log for next tag harmattan/4.5.4-3
RevBy: TrustMe

8 years agoChange : do the removal async (WIP2)
Siraj Razick [Thu, 1 Apr 2010 23:08:08 +0000 (04:38 +0530)]
Change : do the removal async (WIP2)
         Need to check error conditions

Rev-By : people-review

8 years agoMerge branch 'master' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker
Siraj Razick [Thu, 1 Apr 2010 18:32:40 +0000 (00:02 +0530)]
Merge branch 'master' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker

8 years agoChanges : Use Que'ed connection to make it async
Siraj Razick [Wed, 31 Mar 2010 07:23:19 +0000 (12:53 +0530)]
Changes : Use Que'ed connection to make it async
RevBy : people-review

8 years agoAdds : Async Remove Request
Siraj Razick [Tue, 30 Mar 2010 20:32:59 +0000 (02:02 +0530)]
Adds : Async Remove Request
RevBy : people-review

8 years agoChanges: bump version for development
Nathan Letwory [Tue, 30 Mar 2010 08:14:13 +0000 (11:14 +0300)]
Changes: bump version for development
RevBy: TrustMe

8 years agoChanges: tagging for 4.5.4-2, adding fixed bugs entries harmattan/4.5.4-2
Nathan Letwory [Tue, 30 Mar 2010 06:36:44 +0000 (09:36 +0300)]
Changes: tagging for 4.5.4-2, adding fixed bugs entries
RevBy: TrustMe

8 years agoFix : NB#162457
Siraj Razick [Mon, 29 Mar 2010 07:10:31 +0000 (12:40 +0530)]
Fix : NB#162457

Details: QContact::displayLabel() returns Null QString even if there's a nickname

8 years agoUpdate the plugin's contact detail schema
Mathias Hasselmann [Tue, 23 Mar 2010 13:35:04 +0000 (14:35 +0100)]
Update the plugin's contact detail schema

- set unique flag where needed
- drop context field for details with unique flag
- also drop context for anniversaries, contexts and tags
- globally remove "Other" value for context field
- remove unsupported Avatar, GeoLocation and Name fields
- add custom OnlineAccount fields

RevBy: people-review

8 years agoBug : NB#161572
Siraj Razick [Wed, 24 Mar 2010 21:03:44 +0000 (02:33 +0530)]
Bug : NB#161572
RevBy : people-review

8 years agoRemove : the use of QContactAsyncReqest super class
Siraj Razick [Wed, 24 Mar 2010 19:21:59 +0000 (00:51 +0530)]
Remove : the use of QContactAsyncReqest super class
Rev-by : people-review

8 years agoRemoves : QTrackerContactAsyncRequest
Siraj Razick [Tue, 23 Mar 2010 08:22:17 +0000 (13:52 +0530)]
Removes : QTrackerContactAsyncRequest
RevBy  : people-devel

8 years agoUpdate copyright headers for ut_qtcontacts_common
Mathias Hasselmann [Tue, 23 Mar 2010 13:34:30 +0000 (14:34 +0100)]
Update copyright headers for ut_qtcontacts_common

RevBy: TrustMe

8 years agoAdd tool for generating RDF mapping document.
Mathias Hasselmann [Tue, 23 Mar 2010 13:33:46 +0000 (14:33 +0100)]
Add tool for generating RDF mapping document.

RevBy: TrustMe

8 years agoReactivate now working unit test
Mathias Hasselmann [Fri, 19 Mar 2010 21:21:48 +0000 (22:21 +0100)]
Reactivate now working unit test

In ut_qtcontacts_fetch::testFetchSavedContact() we can now check for exactly
one URL field being returned.

RevBy: TrustMe

8 years agoRefactor query column handling in fetch request
Mathias Hasselmann [Fri, 19 Mar 2010 21:16:27 +0000 (22:16 +0100)]
Refactor query column handling in fetch request

Store column index of each result column when creating the SELECT query to
avoid having to use absolutely exactly the same column access order when
reading the result: Fully preserving the order becomes hard as soon as branches
occur in the result handling code.

Fixes: NB#160824 - Two web addresses are displayed for a contact
added with one address

RevBy: people-review

8 years agoChanges: update changelog and tag 4.5.4-1 harmattan/4.5.4-1
Nathan Letwory [Fri, 19 Mar 2010 14:10:41 +0000 (16:10 +0200)]
Changes: update changelog and tag
RevBy: TrustMe

8 years agoChanges : remove the filter argument passed to the isMeContact
Siraj Razick [Thu, 18 Mar 2010 13:57:28 +0000 (19:27 +0530)]
Changes : remove the filter argument passed to the isMeContact
RevBy : people-review

8 years agoFix : Typo for the signal name
Siraj Razick [Thu, 18 Mar 2010 10:10:33 +0000 (15:40 +0530)]
Fix : Typo for the signal name
RevBy : TrustMe

8 years agoRemoving temporary solution to get contactsRemoved signal
Owe Nordquist [Thu, 18 Mar 2010 07:07:38 +0000 (09:07 +0200)]
Removing temporary solution to get contactsRemoved signal

8 years agoMove tracker plugin sources into src folder.
Mathias Hasselmann [Wed, 17 Mar 2010 15:21:41 +0000 (17:21 +0200)]
Move tracker plugin sources into src folder.

RevBy: TrustMe

8 years agoMake unit tests build again
Mathias Hasselmann [Wed, 17 Mar 2010 07:44:10 +0000 (09:44 +0200)]
Make unit tests build again

Update SOURCE and HEADER variables for ut_qtcontacts_add_async and
ut_qtcontacts_trackerplugin.

Rev-By: TrustMe
8 years agoRevert "Touch every file with a single whitespace addition."
Chris Adams [Wed, 17 Mar 2010 01:29:49 +0000 (11:29 +1000)]
Revert "Touch every file with a single whitespace addition."

This reverts commit 73029ed8d1014f10b52b02f243a0b0d2df6adacc.

8 years agoTouch every file with a single whitespace addition.
Chris Adams [Wed, 17 Mar 2010 01:04:12 +0000 (11:04 +1000)]
Touch every file with a single whitespace addition.

Doing this so that I can fix the merge problems with the
qtmobility contacts repository.

8 years agoTest which details can be saved and fetched
Mathias Hasselmann [Mon, 15 Mar 2010 12:08:40 +0000 (13:08 +0100)]
Test which details can be saved and fetched

Adds: New unit tests to figure out wich of our contact details actually are
      properly written to tracker and can be read back.

RevBy: people-review

8 years agoExtract common unit testing code
Mathias Hasselmann [Mon, 15 Mar 2010 11:10:46 +0000 (12:10 +0100)]
Extract common unit testing code

Changes: Move code common to ut_qtcontacts_fetch and ut_qtcontacts_sparql to
         ut_qtcontacts_common. This common code covers contact manager
         initialization, contact saving and fetching.

RevBy: people-review

8 years agoKrazy fix from the qt-mobility repo eean
Ian Monroe [Tue, 16 Mar 2010 10:51:08 +0000 (05:51 -0500)]
Krazy fix from the qt-mobility repo

8 years agoChanges: Make sure details with context other than ContextHome
Nathan Letwory [Tue, 16 Mar 2010 06:57:15 +0000 (08:57 +0200)]
Changes: Make sure details with context other than ContextHome
         and ContextWork get saved implicitly as home detail.
RevBy: TrustMe

8 years agoChanges: Don't add unnecessary DELETEs when saving *new* contacts
Nathan Letwory [Mon, 15 Mar 2010 22:25:26 +0000 (00:25 +0200)]
Changes: Don't add unnecessary DELETEs when saving *new* contacts
RevBy: people-review
Details:
* The more restrictive adding of DELETEs results in faster
  saving of contacts. When importing 1000 vcards the time
  to save a batch of 100 drops from around 1050-1100ms to
  a little over 800ms

8 years agoFixes: NB#157844 - Not able to change phone number type from home mobile to Office...
Nathan Letwory [Mon, 15 Mar 2010 21:52:28 +0000 (23:52 +0200)]
Fixes: NB#157844 -  Not able to change phone number type from home mobile to Office mobile
RevBy: people-review
Details: The old code assumed that details could be only one of the two, whereas many can be both.

8 years agoFix : NB #160138
Siraj Razick [Mon, 15 Mar 2010 14:34:51 +0000 (20:04 +0530)]
Fix : NB #160138
Status message always empty -> not any more ;-)

8 years agoChanges : Remove Verbosity
Siraj Razick [Mon, 15 Mar 2010 14:21:13 +0000 (19:51 +0530)]
Changes : Remove Verbosity
RevBy : TrustMe

8 years agoChanges : Fix Crashes
Siraj Razick [Mon, 15 Mar 2010 14:18:39 +0000 (19:48 +0530)]
Changes : Fix Crashes
FixMe : TrustMe

8 years agoGive QTrackerContactFetchRequest its own files.
Mathias Hasselmann [Mon, 15 Mar 2010 12:59:13 +0000 (13:59 +0100)]
Give QTrackerContactFetchRequest its own files.

Changes: Move QTrackerContactFetchRequest from qtrackercontactasyncrequest.cpp
         and qtrackercontactasyncrequest.h to qtrackercontactasyncrequest.cpp
         and qtrackercontactasyncrequest.h. Drop qtrackercontactasyncrequest.cpp.

RevBy: TrustMe

8 years agoChanges : Make Nick Name work for me-contact
Siraj Razick [Mon, 15 Mar 2010 09:54:06 +0000 (15:24 +0530)]
Changes : Make Nick Name work for me-contact
RevBy : people-devel

8 years agoChanges : Fix avatar loading for me contact
Siraj Razick [Sat, 13 Mar 2010 19:53:25 +0000 (01:23 +0530)]
Changes : Fix avatar loading for me contact
RevBy : people-devel

8 years agoFix : NB#159556
Siraj Razick [Thu, 11 Mar 2010 06:24:55 +0000 (11:54 +0530)]
Fix : NB#159556
RevBy : people-review

8 years agoinclude <QContactManagerEngine> -> include <qcontactmanagerengine.h>
astojilj [Fri, 12 Mar 2010 05:27:14 +0000 (07:27 +0200)]
include <QContactManagerEngine> -> include <qcontactmanagerengine.h>

8 years agoFix compilation of ut_qtcontacts_add_async + use version "0" in unit tests.
Simo Kosunen [Thu, 11 Mar 2010 09:42:55 +0000 (11:42 +0200)]
Fix compilation of ut_qtcontacts_add_async + use version "0" in unit tests.

8 years agoFix: ChangeListenner constructor
astojilj [Thu, 11 Mar 2010 09:50:45 +0000 (11:50 +0200)]
Fix: ChangeListenner constructor

8 years agoMerge branch 'master' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker
astojilj [Thu, 11 Mar 2010 09:18:50 +0000 (11:18 +0200)]
Merge branch 'master' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker

8 years agoselfContactId - solves problem with updating me contact presences.
astojilj [Thu, 11 Mar 2010 08:55:24 +0000 (10:55 +0200)]
selfContactId - solves problem with updating me contact presences.

- disconnect signallers fixed segfault when using sync API

8 years agoFix method signature of filterSupported().
Simo Kosunen [Thu, 11 Mar 2010 08:28:25 +0000 (10:28 +0200)]
Fix method signature of filterSupported().

8 years agoFix (update) synchronous contact signature method signature.
astojilj [Thu, 11 Mar 2010 05:10:44 +0000 (07:10 +0200)]
Fix (update) synchronous contact signature method signature.

- old code was not in

8 years agoFix sync saveContacts. disabled validation before save as it disables saving of conta...
astojilj [Thu, 11 Mar 2010 04:04:42 +0000 (06:04 +0200)]
Fix sync saveContacts. disabled validation before save as it disables saving of contacts imported from VCards

- QTrackerContactSaveRequest error map fix - map containts only errors - removing NoError
- using both added and changed signals from tracker to validate saving (getting either signal is pretty much OK for both)
- default QContactManagerEngine::validateContact blocks saving contacts imported from vcards - as we plan to support arbitrary vcard extension (opaque) fields, validation is disabled until approach is clarified
- removed some deadcode (findAndDelete)

8 years agoFix: IMAccount changed signals connected to selfcontact changed
astojilj [Wed, 10 Mar 2010 18:14:14 +0000 (20:14 +0200)]
Fix: IMAccount changed signals connected to selfcontact changed

- stopped using deprecated baseRemoveSubjectsd -> changed to subjectsRemoved
- removed some dead code from change listenner
- TODO IMAddresses signals

8 years agoReturn the engine backend implementation version number.
Simo Kosunen [Wed, 10 Mar 2010 08:16:55 +0000 (10:16 +0200)]
Return the engine backend implementation version number.

8 years agoEnsure all detail definitions have a name.
Mathias Hasselmann [Tue, 9 Mar 2010 11:07:37 +0000 (12:07 +0100)]
Ensure all detail definitions have a name.

QContactTrackerEngine::detailDefinitions():
Set name of new Url and OnlineAccount definition.
Remove definition name spam.

ut_qtcontacts_trackerplugin::testDefinitionNames():
Test if all reported detail definitions have a name.

RevBy: people-review

8 years agoMerge branch 'master' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker
Siraj Razick [Tue, 9 Mar 2010 08:42:59 +0000 (14:12 +0530)]
Merge branch 'master' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker

8 years agoChanges : remove verbosity
Siraj Razick [Tue, 9 Mar 2010 08:42:27 +0000 (14:12 +0530)]
Changes : remove verbosity
RevBy : TrustMe

8 years agoAdd a test in prep for supporting multiple im contacts.
Ian Monroe [Mon, 8 Mar 2010 03:49:32 +0000 (21:49 -0600)]
Add a test in prep for supporting multiple im contacts.

8 years agoMerge branch 'master' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker
Siraj Razick [Mon, 8 Mar 2010 11:47:50 +0000 (17:17 +0530)]
Merge branch 'master' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker

8 years agoFix : NB#158859
Siraj Razick [Mon, 8 Mar 2010 11:23:30 +0000 (16:53 +0530)]
Fix : NB#158859
RevBy : TrustMe

8 years agoFixes: NB#158328 - ChangeLogs feature is not available
Simo Kosunen [Mon, 8 Mar 2010 10:06:53 +0000 (12:06 +0200)]
Fixes: NB#158328 - ChangeLogs feature is not available

Fixed parameters of QContactTrackerEngine::hasFeature() method.
Parameters possibly changed in QContactManagerEngine in some phase.

8 years agoWIP
Siraj Razick [Mon, 8 Mar 2010 09:02:27 +0000 (14:32 +0530)]
WIP

8 years agoUse more async API in ut_qtcontacts_fetch
Mathias Hasselmann [Thu, 4 Mar 2010 12:31:29 +0000 (13:31 +0100)]
Use more async API in ut_qtcontacts_fetch

Changed: Use async API for saving and removing contacts.
RevBy: people-review

8 years agoTest Url detail fetching
Mathias Hasselmann [Thu, 4 Mar 2010 09:02:13 +0000 (10:02 +0100)]
Test Url detail fetching

Adds: Minimal unit test for testing fetching of Url detail.
RevBy: people-review

8 years agoSimplify ut_qtcontacts_fetch
Mathias Hasselmann [Mon, 1 Mar 2010 12:02:47 +0000 (13:02 +0100)]
Simplify ut_qtcontacts_fetch

Changes: Remove state machine and simulate async API instead.
RevBy: people-review

8 years agoUpdate .gitignore file
Mathias Hasselmann [Wed, 3 Mar 2010 22:17:39 +0000 (23:17 +0100)]
Update .gitignore file

8 years agoFix some licenses of unit tests, rearrange some includes
Chris Adams [Wed, 3 Mar 2010 07:13:51 +0000 (17:13 +1000)]
Fix some licenses of unit tests, rearrange some includes

Also, touch the contactidfetchrequest.h file to force
git to pick up a change for the next merge due to broken
merge commit in qt mobility repository 227fd1b3.

8 years agoBuild fixes for most recent QtMobility
Mathias Hasselmann [Tue, 2 Mar 2010 12:16:19 +0000 (13:16 +0100)]
Build fixes for most recent QtMobility

RevBy: TrustMe

8 years agoInitial set of tests checking ontology changes
Mathias Hasselmann [Tue, 2 Mar 2010 10:45:29 +0000 (11:45 +0100)]
Initial set of tests checking ontology changes

Adds: New unit tests check if QtContact operations have the expected impact
on our ontology. See NB#158859 for details.

RevBy: people-review

8 years agoFix: testIMContactsAndMetacontactMasterPresence - all test pass ontology
astojilj [Tue, 2 Mar 2010 08:31:16 +0000 (10:31 +0200)]
Fix: testIMContactsAndMetacontactMasterPresence - all test pass

8 years agoFix: port tests to use resultsAvailable. changed order of finished and resultsavailab...
astojilj [Tue, 2 Mar 2010 07:51:48 +0000 (09:51 +0200)]
Fix: port tests to use resultsAvailable. changed order of finished and resultsavailable in idfetch request

- removed signal statusUpdated
- all tests except testIMContactsAndMetacontactMasterPresence are passing

8 years agoFix: removing contact during basic merging
astojilj [Tue, 2 Mar 2010 07:04:33 +0000 (09:04 +0200)]
Fix: removing contact during basic merging

makex testQRelationshipAndMergingContacts to pass

8 years agoFix compilation by removing requestStateToString method
astojilj [Tue, 2 Mar 2010 04:58:48 +0000 (06:58 +0200)]
Fix compilation by removing requestStateToString method

8 years agoSkipping bogus tests
astojilj [Tue, 2 Mar 2010 04:17:44 +0000 (06:17 +0200)]
Skipping bogus tests

8 years agoFix: testIMContactsFilterring, writing and reading account path
astojilj [Tue, 2 Mar 2010 03:56:01 +0000 (05:56 +0200)]
Fix: testIMContactsFilterring, writing and reading account path

8 years agoFIX: account -> address typo.
Ian Monroe [Tue, 2 Mar 2010 03:57:11 +0000 (21:57 -0600)]
FIX: account -> address typo.

8 years agoFixing unit tests for filterring on account path
astojilj [Mon, 1 Mar 2010 12:44:12 +0000 (14:44 +0200)]
Fixing unit tests for filterring on account path

8 years agoFilterring imaddresses by account path
astojilj [Mon, 1 Mar 2010 10:24:54 +0000 (12:24 +0200)]
Filterring imaddresses by account path

8 years agoMerge branch 'ontology' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker...
astojilj [Mon, 1 Mar 2010 04:35:03 +0000 (06:35 +0200)]
Merge branch 'ontology' of git@gitorious.org:qtcontacts-tracker/qtcontacts-tracker into ontology

Conflicts:
qtrackercontactasyncrequest.cpp

8 years agoFix: reading account name and path during reading of IMAddresses
astojilj [Mon, 1 Mar 2010 04:24:05 +0000 (06:24 +0200)]
Fix: reading account name and path during reading of IMAddresses

- changed filtering for IMAddresses (from previous commit) established links between contact, imaddress and imaccounts
- some documentation to renamed prepareIMContactsQuery to prepareIMAddressesQuery

8 years agoChanges : Use ImAddress instead of IMContact
Siraj Razick [Thu, 25 Feb 2010 12:33:05 +0000 (18:03 +0530)]
Changes : Use ImAddress instead of IMContact
RevBy : TrustMe

8 years agodo a basic merge.
Ian Monroe [Wed, 24 Feb 2010 05:17:12 +0000 (23:17 -0600)]
do a basic merge.

8 years agoremove expected failures, since these tests do pass
Ian Monroe [Thu, 18 Feb 2010 13:45:19 +0000 (07:45 -0600)]
remove expected failures, since these tests do pass

8 years agoPorted: unit tests for IMContact -> IMAddress
astojilj [Sat, 27 Feb 2010 13:51:10 +0000 (15:51 +0200)]
Ported: unit tests for IMContact -> IMAddress

- scripts writing to tracker updated to write to new ontology for IMAddress
- imcontacts&metacontact unit test ported to IMAddress and merging expected behavior

8 years agoWIP: refactoring to new IMAddress - Removing metacontacts from fetchrequest
astojilj [Sat, 27 Feb 2010 05:30:39 +0000 (07:30 +0200)]
WIP: refactoring to new IMAddress - Removing metacontacts from fetchrequest

- metacontacts removed from contact fetch request
- next : replacing imcontacts query with Siraj's code from object branch

8 years agoModify project to build locally without full mobility source tree
Chris Adams [Fri, 26 Feb 2010 05:32:37 +0000 (15:32 +1000)]
Modify project to build locally without full mobility source tree

8 years agoBring .pro and .pri structure in line with that found in qtmobility
Chris Adams [Fri, 26 Feb 2010 05:22:26 +0000 (15:22 +1000)]
Bring .pro and .pri structure in line with that found in qtmobility

This change will enable easier integration / merging from the
qtcontacts-tracker repository into the qt mobility mainline repository

8 years agoUpdate license headers of new unit tests
Chris Adams [Fri, 26 Feb 2010 02:56:51 +0000 (12:56 +1000)]
Update license headers of new unit tests

8 years agoUse QtMobility's qmake support for linking
Mathias Hasselmann [Wed, 24 Feb 2010 09:55:10 +0000 (10:55 +0100)]
Use QtMobility's qmake support for linking

8 years agoChanges: ut_qtcontacts_add_sync: Really, filter on the name.
Murray Cumming [Thu, 25 Feb 2010 15:42:32 +0000 (16:42 +0100)]
Changes: ut_qtcontacts_add_sync: Really, filter on the name.

RevBy: TrustMe
Details:
* test/ut_qtcontacts_add_async.cpp: onTimeoutAddContact(): Actually use
  setValue() to set the name on which to filter.
  Remove the unused getExistingContact() overload that had the correct
  code before.
  This seems to work even if using the QContact constructor, so we no
  longer have a non-UI test case for a non-working fetch.

8 years agoChanges: ut_qtcontacts_fetch: Enable the working version of the code. Oops.
Murray Cumming [Thu, 25 Feb 2010 15:19:23 +0000 (16:19 +0100)]
Changes: ut_qtcontacts_fetch: Enable the working version of the code. Oops.

RevBy: TrustMe
Details:
* test/ut_qtcontacts_fetch/ut_qtcontacts_fetch.cpp: addContact():
  Comment out the (non-working) version of the code that use the QContact
  copy constructor, which I left enabled by mistake.

8 years agoChanges : Use ImAddress instead of IMContact
Siraj Razick [Thu, 25 Feb 2010 12:33:05 +0000 (18:03 +0530)]
Changes : Use ImAddress instead of IMContact
RevBy : TrustMe

8 years agoChanges: unit tests: Use QLatin1String for correctness and really filter.
Murray Cumming [Thu, 25 Feb 2010 12:00:50 +0000 (13:00 +0100)]
Changes: unit tests: Use QLatin1String for correctness and really filter.

RevBy: TrustMe
Details:
* tests/ut_qtcontacts_add_async/: Use QLatin1String with string literals,
  because that is generally correct, because QString can be globally told
  to interpret string literals as non-ASCII (which is annoying).
* tests/ut_qtcontacts_fetch/: Use QLatin1String here to.
  getExistingContact(): Only check if any_contact is false and actually
  set a value for the filter, as already done in ut_qtcontacts_ad_async.

8 years agoChanges: Add unit test to show that fetching works in general.
Murray Cumming [Thu, 25 Feb 2010 10:45:36 +0000 (11:45 +0100)]
Changes: Add unit test to show that fetching works in general.

RevBy: people-review
Details:
* tests/ut_qtcontacts_fetch/ut_qtcontacts_fetch.[h|cpp|pro]:
Add a test that saves, checks (via fetch), and removes a contact.
It checks that _any_ contact is fetched, not that the specific contact
is fetched, though that can be changed by changing one bool in doNextOperation.

Changing that bool makes this do the same as ut_qtcontacts_add_async(),
but this test case also experiments with a state enum instead of the
nasty callback functions. I have not decided which is best for future unit tests.

8 years agoChanges: Add relatively-simple test code to show adding and checking of a contact.
Murray Cumming [Tue, 23 Feb 2010 11:00:34 +0000 (12:00 +0100)]
Changes: Add relatively-simple test code to show adding and checking of a contact.

RevBy: people-review
Details:
* tests/ut_qtcontacts_add_async.[h|cpp|pro]: New test files.
  This uses the QContactManager API asynchronously, sometimes
  using QTimeout::singleShot() to achieve that.
  Commented out TODO lines in onTimeoutAddContact() show a problem
  when saving a copy of a contact.

8 years agoChanged: Include path to match the changes in Qt Mobility.
Johan Paul [Wed, 24 Feb 2010 07:45:13 +0000 (09:45 +0200)]
Changed: Include path to match the changes in Qt Mobility.

8 years agoReplace usage of (deprecated) QContactDetailDefinitionField
Chris Adams [Wed, 24 Feb 2010 06:18:17 +0000 (16:18 +1000)]
Replace usage of (deprecated) QContactDetailDefinitionField

The new API is QContactDetailFieldDefinition.
Reviewed by: Johan Paul

8 years agodo a basic merge.
Ian Monroe [Wed, 24 Feb 2010 05:17:12 +0000 (23:17 -0600)]
do a basic merge.

8 years agoremove expected failures, since these tests do pass
Ian Monroe [Thu, 18 Feb 2010 13:45:19 +0000 (07:45 -0600)]
remove expected failures, since these tests do pass

8 years agoHandle saving new contact with localId != 0.
Simo Kosunen [Thu, 18 Feb 2010 06:57:09 +0000 (08:57 +0200)]
Handle saving new contact with localId != 0.

8 years agoUpdate gitignore.
Simo Kosunen [Thu, 18 Feb 2010 06:56:33 +0000 (08:56 +0200)]
Update gitignore.

8 years agoTests related to 153481, 2 of the 3 are expected failures.
Ian Monroe [Tue, 16 Feb 2010 21:27:42 +0000 (15:27 -0600)]
Tests related to 153481, 2 of the 3 are expected failures.
QContactManager::contactIds with a QContactChangeLogFilter returns an
empty list.

8 years agoNew: saving birthday and unit tests for reading and filterring by birthday range
astojilj [Sun, 14 Feb 2010 19:00:05 +0000 (21:00 +0200)]
New: saving birthday and unit tests for reading and filterring by birthday range

8 years agoNew: contacts() and contactsIds methods, reporting filter errors
astojilj [Sun, 14 Feb 2010 15:38:17 +0000 (17:38 +0200)]
New: contacts() and contactsIds methods, reporting filter errors

Removed: deprecated contacts() methods
New: contacts() and contactIds() methods using async methids
Fixed: error reporting for filterring in QContactfetchRequest

8 years agoNew: Filterring contacts by birthday range
astojilj [Sun, 14 Feb 2010 08:48:53 +0000 (10:48 +0200)]
New: Filterring contacts by birthday range

8 years agoAdded: Filter contacts by "AccountPath" and unit tests
astojilj [Thu, 11 Feb 2010 12:36:24 +0000 (14:36 +0200)]
Added: Filter contacts by "AccountPath" and unit tests

8 years agoChanges: Fix parsing of capabilities from IMContact query
Johannes Hayry [Thu, 11 Feb 2010 06:59:52 +0000 (08:59 +0200)]
Changes: Fix parsing of capabilities from IMContact query

RevBy: TrustMe