[Kde-pim] Checking collections when Akonadi server starts

David Jarvie djarvie at kde.org
Tue Jan 3 00:12:50 GMT 2012


I'm having problems starting and using the Akonadi server when it isn't
running before KAlarm is started. I've added a call to
Akonadi::ServerManager::start() and connected to the
ServerManager::started() signal. When this signal is received, it checks
whether any kalarm* AgentInstance's are running so that it can create
default resources if none already exist. The trouble is, when the
started() signal is received, the Akonadi resources haven't been started,
so there are no AgentInstances (of any type). Is there a way to either:

a) determine when the AgentInstances have been initialised, or

b) determine in some other way, independent of the state of server
initialisation, which resources are already configured.

-- 
David Jarvie.
KDE developer.
KAlarm author -- http://www.astrojar.org.uk/kalarm

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list