umbrello 2.34.70-5524f40e1
Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology
configurable.h
Go to the documentation of this file.
1/*
2 SPDX-FileCopyrightText: 2003 Andrew Sutton <ansutton@kent.edu>
3 SPDX-License-Identifier: GPL-2.0-or-later
4 Bugs and comments to umbrello-devel@kde.org or https://bugs.kde.org
5*/
6
7#ifndef UMBRELLO_CONFIGURABLE_H
8#define UMBRELLO_CONFIGURABLE_H
9
10#include <QList>
11
12// forward declarations
13class KConfig;
14
23namespace Umbrello
24{
25// forward declarations
26class Plugin;
27
53{
54public:
55
58
63 virtual ~Configurable();
64
72 virtual bool configure() = 0;
73
74protected:
87 bool loadPlugins(KConfig *config, const QString &group, const QString &key);
88
96 bool unloadPlugins();
97
98private:
99 typedef QList<Plugin*> PluginList;
100
102};
103}
104
105#endif
Definition: configurable.h:53
Configurable()
Definition: configurable.cpp:24
bool unloadPlugins()
Definition: configurable.cpp:61
bool loadPlugins(KConfig *config, const QString &group, const QString &key)
Definition: configurable.cpp:35
virtual bool configure()=0
PluginList _plugins
List of loaded plugins.
Definition: configurable.h:101
virtual ~Configurable()
Definition: configurable.cpp:29
QList< Plugin * > PluginList
Definition: configurable.h:99
Definition: plugin.h:77
Definition: configurable.h:24