From 625190d311adfcf3f0436cfece82249a92489348 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 28 Dec 2017 12:05:34 +0100 Subject: No parent query --- common/modelresult.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common/modelresult.h') diff --git a/common/modelresult.h b/common/modelresult.h index cc263cf..a4def81 100644 --- a/common/modelresult.h +++ b/common/modelresult.h @@ -65,7 +65,7 @@ public: bool canFetchMore(const QModelIndex &parent) const; void fetchMore(const QModelIndex &parent); - void setFetcher(const std::function &fetcher); + void setFetcher(const std::function &fetcher); private: void add(const Ptr &value); @@ -75,7 +75,7 @@ private: qint64 parentId(const Ptr &value); QModelIndex createIndexFromId(const qint64 &id) const; - void fetchEntities(const QModelIndex &parent); + void fetchEntities(); Sink::Log::Context mLogCtx; // TODO we should be able to directly use T as index, with an appropriate hash function, and thus have a QMap and QList @@ -88,7 +88,7 @@ private: QMap mEntityStatus; QList mPropertyColumns; Sink::Query mQuery; - std::function loadEntities; + std::function loadEntities; typename Sink::ResultEmitter::Ptr mEmitter; async::ThreadBoundary threadBoundary; QScopedPointer mNotifier; -- cgit v1.2.3