aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-28 09:46:28 +0200
committerMontel Laurent <[email protected]>2017-06-28 09:46:28 +0200
commit8b24e4411452df4d4877eaef05e3a89e44c79d18 (patch)
tree05181fe927af115eca8e7bedef7e621088ebff53
parent4f8b3c733a8658d711cb72c27efb3b63bb172ba6 (diff)
Move in .h file
-rw-r--r--core/resultiterator.cpp19
-rw-r--r--core/resultiterator.h22
2 files changed, 20 insertions, 21 deletions
diff --git a/core/resultiterator.cpp b/core/resultiterator.cpp
index 8f432e5..1b6a690 100644
--- a/core/resultiterator.cpp
+++ b/core/resultiterator.cpp
@@ -26,25 +26,6 @@
using namespace Akonadi::Search;
-class Q_DECL_HIDDEN Akonadi::Search::ResultIteratorPrivate : public QSharedData
-{
-public:
- ResultIteratorPrivate()
- : queryId(0)
- , store(nullptr)
- {
- }
-
- ~ResultIteratorPrivate()
- {
- if (store) {
- store->close(queryId);
- }
- }
-
- int queryId;
- SearchStore *store;
-};
ResultIterator::ResultIterator(int id, SearchStore *store)
: d(new ResultIteratorPrivate)
diff --git a/core/resultiterator.h b/core/resultiterator.h
index 30eb913..820c907 100644
--- a/core/resultiterator.h
+++ b/core/resultiterator.h
@@ -32,10 +32,28 @@ namespace Akonadi
{
namespace Search
{
-
class SearchStore;
class Result;
-class ResultIteratorPrivate;
+
+class Q_DECL_HIDDEN ResultIteratorPrivate : public QSharedData
+{
+public:
+ ResultIteratorPrivate()
+ : queryId(0)
+ , store(nullptr)
+ {
+ }
+
+ ~ResultIteratorPrivate()
+ {
+ if (store) {
+ store->close(queryId);
+ }
+ }
+
+ int queryId;
+ SearchStore *store;
+};
class AKONADI_SEARCH_CORE_EXPORT ResultIterator
{