Pimcommon

customtoolsplugin.cpp
1/*
2 SPDX-FileCopyrightText: 2015-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "customtoolsplugin.h"
8
9using namespace PimCommon;
10
11class PimCommon::CustomToolsPluginPrivate
12{
13public:
14 bool enabled = false;
15};
16
17CustomToolsPlugin::CustomToolsPlugin(QObject *parent)
18 : QObject(parent)
19 , d(new PimCommon::CustomToolsPluginPrivate)
20{
21}
22
23CustomToolsPlugin::~CustomToolsPlugin() = default;
24
25bool CustomToolsPlugin::hasConfigureDialog() const
26{
27 return false;
28}
29
30void CustomToolsPlugin::showConfigureDialog(QWidget *parent)
31{
32 Q_UNUSED(parent)
33}
34
35QString CustomToolsPlugin::description() const
36{
37 return {};
38}
39
40void CustomToolsPlugin::setIsEnabled(bool enabled)
41{
42 d->enabled = enabled;
43}
44
45bool CustomToolsPlugin::isEnabled() const
46{
47 return d->enabled;
48}
49
50#include "moc_customtoolsplugin.cpp"
folderdialogacltab.h
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:39:22 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.