Implement changelog filter.
authorMathias Hasselmann <mathias@openismus.com>
Wed, 28 Apr 2010 11:59:54 +0000 (13:59 +0200)
committerMathias Hasselmann <mathias@openismus.com>
Wed, 28 Apr 2010 12:02:33 +0000 (14:02 +0200)
commitce29c2d9a0d4bf5e83a3e028db91f45ca3131a79
treebc1f887a216802e7216b77d4bdfee0932e0d9b02
parentd3edc4e19017d7fa119d2924878d5a93ef491ef9
Implement changelog filter.

* src/dao/querybuilder.cpp:
* src/dao/querybuilder.h: tagLabel(), bindFilter():
  Add the filter function and also add a function of conveniently reusing
  the tag label property.

* tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.cpp:
* tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.h:
* tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.pro:
* tests/ut_qtcontacts_trackerplugin_querybuilder/data/305-testChangeLogFilter.rq:
  Add unit tests for the changelog filter.
src/dao/querybuilder.cpp
src/dao/querybuilder.h
tests/ut_qtcontacts_trackerplugin_querybuilder/data/305-testChangeLogFilter.rq [new file with mode: 0644]
tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.cpp
tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.h
tests/ut_qtcontacts_trackerplugin_querybuilder/ut_qtcontacts_trackerplugin_querybuilder.pro