summaryrefslogtreecommitdiffstats
path: root/common/query.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-11-24 23:00:45 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-11-24 23:00:45 +0100
commit9ad96df6cd1526de32bff2b4f98491dd8318f760 (patch)
treee1b3da017f97a266efc3b081d59e502eb1f62bde /common/query.h
parent110817a23463c71eacbc986af3ae509462758a3c (diff)
downloadsink-9ad96df6cd1526de32bff2b4f98491dd8318f760.tar.gz
sink-9ad96df6cd1526de32bff2b4f98491dd8318f760.zip
Use Query::parentProperty to express tree queries
That way we don't have to hardcode the parent property, and we can use the property to express non-tree queries as well.
Diffstat (limited to 'common/query.h')
-rw-r--r--common/query.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/query.h b/common/query.h
index 0cad9fb..5313fa9 100644
--- a/common/query.h
+++ b/common/query.h
@@ -53,6 +53,7 @@ public:
53 QHash<QByteArray, QVariant> propertyFilter; 53 QHash<QByteArray, QVariant> propertyFilter;
54 //Properties to retrieve 54 //Properties to retrieve
55 QSet<QByteArray> requestedProperties; 55 QSet<QByteArray> requestedProperties;
56 QByteArray parentProperty;
56 bool syncOnDemand; 57 bool syncOnDemand;
57 bool processAll; 58 bool processAll;
58 //If live query is false, this query will not continuously be updated 59 //If live query is false, this query will not continuously be updated