umbrello 2.39.2 Umbrello UML Modeller is a Unified Modelling Language (UML) diagram program based on KDE Technology

- Main Page
- Related Pages
- Topics
- Namespaces
- Classes
- Files

- File List
- File Members

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
13 class KConfig;
14
23 namespace Umbrello
24{
25// forward declarations
26 class Plugin;
27
52 class Configurable
53{
54 public:
55
57 Configurable();
58
63 virtual ~Configurable();
64
72 virtual bool configure() = 0;
73
74 protected:
87 bool loadPlugins(KConfig *config, const QString &group, const QString &key);
88
96 bool unloadPlugins();
97
98 private:
99 typedef QList<Plugin*> PluginList;
100
101 PluginList _plugins;
102};
103}
104
105#endif
Umbrello::Configurable
Definition configurable.h:53
Umbrello::Configurable::Configurable
Configurable()
Definition configurable.cpp:24
Umbrello::Configurable::unloadPlugins
bool unloadPlugins()
Definition configurable.cpp:61
Umbrello::Configurable::loadPlugins
bool loadPlugins(KConfig *config, const QString &group, const QString &key)
Definition configurable.cpp:35
Umbrello::Configurable::configure
virtual bool configure()=0
Umbrello::Configurable::_plugins
PluginList _plugins
List of loaded plugins.
Definition configurable.h:101
Umbrello::Configurable::~Configurable
virtual ~Configurable()
Definition configurable.cpp:29
Umbrello::Configurable::PluginList
QList< Plugin * > PluginList
Definition configurable.h:99
Umbrello::Plugin
Definition plugin.h:77
Umbrello
Definition configurable.h:24