Commit 8b24e441 authored by Laurent Montel's avatar Laurent Montel 😁

Move in .h file

parent 4f8b3c73
......@@ -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)
......
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment