Messagelib

followupreminder.cpp
1/*
2 SPDX-FileCopyrightText: 2020 Daniel Vrátil <dvratil@kde.org>
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
12using namespace MessageComposer;
13
14bool 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}
Simple interface that both EncryptJob and SignEncryptJob implement so the composer can extract some e...
QDBusConnection sessionBus()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:12:43 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.