Pimcommon

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

KDE's Doxygen guidelines are available online.