22class ItemRetrievalManager;
23class SearchTaskManager;
31class CollectionStatistics;
32class PreprocessorManager;
36class AkonadiServer :
public QObject
41 explicit AkonadiServer();
42 ~AkonadiServer()
override;
47 CacheCleaner *cacheCleaner();
52 IntervalCheck &intervalChecker();
54 ResourceManager &resourceManager();
56 CollectionStatistics &collectionStatistics();
58 PreprocessorManager &preprocessorManager();
60 SearchTaskManager &agentSearchManager();
62 SearchManager &searchManager();
64 ItemRetrievalManager &itemRetrievalManager();
71 [[nodiscard]]
QString serverPath()
const;
87 virtual void newCmdConnection(quintptr socketDescriptor);
91 void connectionDisconnected();
94 [[nodiscard]]
bool startDatabaseProcess();
95 [[nodiscard]]
bool createDatabase();
96 void stopDatabaseProcess();
98 [[nodiscard]]
bool setupDatabase();
101 std::unique_ptr<QDBusServiceWatcher> mControlWatcher;
103 std::unique_ptr<AkLocalServer> mCmdServer;
104 std::unique_ptr<AkLocalServer> mNtfServer;
106 std::unique_ptr<ResourceManager> mResourceManager;
107 std::unique_ptr<DebugInterface> mDebugInterface;
108 std::unique_ptr<CollectionStatistics> mCollectionStats;
109 std::unique_ptr<PreprocessorManager> mPreprocessorManager;
110 std::unique_ptr<NotificationManager> mNotificationManager;
111 std::unique_ptr<CacheCleaner> mCacheCleaner;
112 std::unique_ptr<IntervalCheck> mIntervalCheck;
113 std::unique_ptr<StorageJanitor> mStorageJanitor;
114 std::unique_ptr<ItemRetrievalManager> mItemRetrieval;
115 std::unique_ptr<SearchTaskManager> mAgentSearchManager;
116 std::unique_ptr<SearchManager> mSearchManager;
117 std::unique_ptr<Tracer> mTracer;
119 std::vector<std::unique_ptr<Connection>> mConnections;
120 bool mAlreadyShutdown =
false;
Helper integration between Akonadi and Qt.