File indexing completed on 2024-12-22 05:01:00

0001 /*   -*- mode: C++; c-file-style: "gnu" -*-
0002  *   kmail: KDE mail client
0003  *   SPDX-FileCopyrightText: 2000 Espen Sand <espen@kde.org>
0004  *   SPDX-FileCopyrightText: 2001-2003 Marc Mutz <mutz@kde.org>
0005  *   Contains code segments and ideas from earlier kmail dialog code.
0006  *   SPDX-FileCopyrightText: 2010 Volker Krause <vkrause@kde.org>
0007  *
0008  *   SPDX-License-Identifier: GPL-2.0-or-later
0009  *
0010  */
0011 
0012 #pragma once
0013 
0014 #include <KCModule>
0015 #include <KPluginMetaData>
0016 #include <QObject>
0017 class ConfigModule : public KCModule
0018 {
0019 public:
0020     explicit ConfigModule(QObject *parent, const KPluginMetaData &data)
0021         : KCModule(parent, data)
0022     {
0023     }
0024 
0025     ~ConfigModule() override = default;
0026 
0027     void defaults() override
0028     {
0029     }
0030 
0031     /** Should return the help anchor for this page or tab */
0032     virtual QString helpAnchor() const = 0;
0033 };