Messagelib

followupreminder.cpp
1 /*
2  SPDX-FileCopyrightText: 2020 Daniel Vr├ítil <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #include "followupreminder.h"
8 #include "followupreminderinterface.h"
9 
10 #include <Akonadi/ServerManager>
11 
12 using namespace MessageComposer;
13 
14 bool FollowUpReminder::isAvailableAndEnabled()
15 {
17  org::freedesktop::Akonadi::FollowUpReminderAgent iface{
18  ServerManager::agentServiceName(ServerManager::Agent, QStringLiteral("akonadi_followupreminder_agent")),
19  QStringLiteral("/FollowUpReminder"),
21 
22  return iface.isValid() && iface.enabledAgent();
23 }
QDBusConnection sessionBus()
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sun Dec 5 2021 23:04:53 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.