From 9ad96df6cd1526de32bff2b4f98491dd8318f760 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 24 Nov 2015 23:00:45 +0100 Subject: 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. --- common/query.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/query.h') 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: QHash propertyFilter; //Properties to retrieve QSet requestedProperties; + QByteArray parentProperty; bool syncOnDemand; bool processAll; //If live query is false, this query will not continuously be updated -- cgit v1.2.3