summaryrefslogtreecommitdiffstats
path: root/common/resultprovider.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/resultprovider.h')
-rw-r--r--common/resultprovider.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/common/resultprovider.h b/common/resultprovider.h
index e41950d..87d650f 100644
--- a/common/resultprovider.h
+++ b/common/resultprovider.h
@@ -81,28 +81,28 @@ public:
81 } 81 }
82 82
83 // Called from worker thread 83 // Called from worker thread
84 void add(const T &value) 84 void add(const T &value) Q_DECL_OVERRIDE
85 { 85 {
86 if (auto strongRef = mResultEmitter.toStrongRef()) { 86 if (auto strongRef = mResultEmitter.toStrongRef()) {
87 strongRef->add(value); 87 strongRef->add(value);
88 } 88 }
89 } 89 }
90 90
91 void modify(const T &value) 91 void modify(const T &value) Q_DECL_OVERRIDE
92 { 92 {
93 if (auto strongRef = mResultEmitter.toStrongRef()) { 93 if (auto strongRef = mResultEmitter.toStrongRef()) {
94 strongRef->modify(value); 94 strongRef->modify(value);
95 } 95 }
96 } 96 }
97 97
98 void remove(const T &value) 98 void remove(const T &value) Q_DECL_OVERRIDE
99 { 99 {
100 if (auto strongRef = mResultEmitter.toStrongRef()) { 100 if (auto strongRef = mResultEmitter.toStrongRef()) {
101 strongRef->remove(value); 101 strongRef->remove(value);
102 } 102 }
103 } 103 }
104 104
105 void initialResultSetComplete(bool replayedAll) 105 void initialResultSetComplete(bool replayedAll) Q_DECL_OVERRIDE
106 { 106 {
107 if (auto strongRef = mResultEmitter.toStrongRef()) { 107 if (auto strongRef = mResultEmitter.toStrongRef()) {
108 strongRef->initialResultSetComplete(replayedAll); 108 strongRef->initialResultSetComplete(replayedAll);
@@ -110,14 +110,14 @@ public:
110 } 110 }
111 111
112 // Called from worker thread 112 // Called from worker thread
113 void complete() 113 void complete() Q_DECL_OVERRIDE
114 { 114 {
115 if (auto strongRef = mResultEmitter.toStrongRef()) { 115 if (auto strongRef = mResultEmitter.toStrongRef()) {
116 strongRef->complete(); 116 strongRef->complete();
117 } 117 }
118 } 118 }
119 119
120 void clear() 120 void clear() Q_DECL_OVERRIDE
121 { 121 {
122 if (auto strongRef = mResultEmitter.toStrongRef()) { 122 if (auto strongRef = mResultEmitter.toStrongRef()) {
123 strongRef->clear(); 123 strongRef->clear();
@@ -155,7 +155,7 @@ public:
155 return mResultEmitter.toStrongRef().isNull(); 155 return mResultEmitter.toStrongRef().isNull();
156 } 156 }
157 157
158 void setFetcher(const std::function<void()> &fetcher) 158 void setFetcher(const std::function<void()> &fetcher) Q_DECL_OVERRIDE
159 { 159 {
160 mFetcher = fetcher; 160 mFetcher = fetcher;
161 } 161 }