~kalikiana/u1db-qt/query.documents

Viewing all changes in revision 61.

  • Committer: Tarmac
  • Author(s): kevin.wright at canonical, Kevin Wright
  • Date: 2013-04-08 09:05:01 UTC
  • mfrom: (60.1.3 index-query-april-5-ii)
  • Revision ID: tarmac-20130408090501-0g5nldw38i11nyph
Created initial index functionality. Modified source for both Index and Query. Within the Index source, QVariantMaps are generated (based on the index expressions), using appropriate data, and put into a QList, which is used by Query::data as its return value. Some known issues: currently will match on any index expression criteria (rather than on all criteria), and will not recognize new databases / documents (but has no problems with existing ones).

Also, fixed index.h and query.h by adding back in some important ifdef Q_DOC conditions that were overwritten. Additionally added back in one qdoc 'inmodule' markup line that was accidently erased in query.cpp.

Approved by Christian Dywan, Ubuntu Phone Apps Jenkins Bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: