Pimcommon

configurepluginswidget.h
1/*
2 SPDX-FileCopyrightText: 2016-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "pimcommon_export.h"
10#include <QWidget>
11class QSplitter;
12class QTextEdit;
13class KMessageWidget;
14namespace PimCommon
15{
16class ConfigurePluginsListWidget;
17/**
18 * @brief The ConfigurePluginsWidget class
19 * @author Laurent Montel <montel@kde.org>
20 */
21class PIMCOMMON_EXPORT ConfigurePluginsWidget : public QWidget
22{
23 Q_OBJECT
24public:
25 explicit ConfigurePluginsWidget(QWidget *parent = nullptr);
26 explicit ConfigurePluginsWidget(ConfigurePluginsListWidget *configurePluginListWidget, QWidget *parent = nullptr);
27 ~ConfigurePluginsWidget() override;
28
29 void save();
30 void defaults();
31 void doLoadFromGlobalSettings();
32 void doResetToDefaultsOther();
33
34Q_SIGNALS:
35 void changed();
36
37private:
38 PIMCOMMON_NO_EXPORT void initialize();
39 PIMCOMMON_NO_EXPORT void readConfig();
40 PIMCOMMON_NO_EXPORT void writeConfig();
41 PIMCOMMON_NO_EXPORT void slotConfigChanged();
42 PIMCOMMON_NO_EXPORT void initLayout(ConfigurePluginsListWidget *configurePluginListWidget = nullptr);
43
44 QSplitter *mSplitter = nullptr;
45 ConfigurePluginsListWidget *mConfigureListWidget = nullptr;
46 QTextEdit *mDescription = nullptr;
47 KMessageWidget *mMessageWidget = nullptr;
48};
49}
The ConfigurePluginsListWidget class.
The ConfigurePluginsWidget class.
folderdialogacltab.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:14:35 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.