summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--libopie2/opieui/opluginconfig.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libopie2/opieui/opluginconfig.h b/libopie2/opieui/opluginconfig.h
index 0db1fcb..c4f7213 100644
--- a/libopie2/opieui/opluginconfig.h
+++ b/libopie2/opieui/opluginconfig.h
@@ -1,39 +1,41 @@
1/* 1/*
2 * LGPLv2 zecke@handhelds.org 2 * LGPLv2 zecke@handhelds.org
3 */ 3 */
4#ifndef ODP_OPIE_UI_OPLUGIN_CONFIG_H 4#ifndef ODP_OPIE_UI_OPLUGIN_CONFIG_H
5#define ODP_OPIE_UI_OPLUGIN_CONFIG_H 5#define ODP_OPIE_UI_OPLUGIN_CONFIG_H
6 6
7#include <qwidget.h> 7#include <qwidget.h>
8 8
9namespace Opie { 9namespace Opie {
10namespace Core { 10namespace Core {
11 class OPluginManager; 11 class OPluginManager;
12 class OGenericPluginLoader; 12 class OGenericPluginLoader;
13} 13}
14namespace Ui { 14namespace Ui {
15/** 15/**
16 * API IDEA - not usable this moment!
17 *
16 * With this widget you can configure one or many PluginLoaders either 18 * With this widget you can configure one or many PluginLoaders either
17 * through an already existing Opie::Core::OPluginManager or Opie::Core::OGenericPluginLoader 19 * through an already existing Opie::Core::OPluginManager or Opie::Core::OGenericPluginLoader
18 * The sorted state will be read from the Loader. 20 * The sorted state will be read from the Loader.
19 * 21 *
20 * As with Opie::Ui::OKeyConfigWidget you can have two options. To either apply your changes 22 * As with Opie::Ui::OKeyConfigWidget you can have two options. To either apply your changes
21 * directly through Opie::Core::OPluginManager or to use Queued where you manually need to 23 * directly through Opie::Core::OPluginManager or to use Queued where you manually need to
22 * call save. 24 * call save.
23 * 25 *
24 * Internally we operate on Opie::Core::OPluginManager. You can insert any numbers of loaders 26 * Internally we operate on Opie::Core::OPluginManager. You can insert any numbers of loaders
25 * or pluginmanagers. But you need to call load() after you've inserted new items. 27 * or pluginmanagers. But you need to call load() after you've inserted new items.
26 * 28 *
27 * @see Opie::Ui::OKeyConfigWidget 29 * @see Opie::Ui::OKeyConfigWidget
28 * @see Opie::Core::OPluginLoader 30 * @see Opie::Core::OPluginLoader
29 * @see Opie::Core::OPluginManager 31 * @see Opie::Core::OPluginManager
30 * 32 *
31 * @author zecke 33 * @author zecke
32 * @since Opie 1.1.5 34 * @since Opie 1.1.5
33 * 35 *
34 */ 36 */
35class OPluginConfigWidget : public QWidget { 37class OPluginConfigWidget : public QWidget {
36public: 38public:
37 enum ChangeMode { Queued, Immediate }; 39 enum ChangeMode { Queued, Immediate };
38 OPluginConfigWidget( QWidget* wid = 0, const char* name = 0, WFlags fl = 0); 40 OPluginConfigWidget( QWidget* wid = 0, const char* name = 0, WFlags fl = 0);
39 OPluginConfig( Opie::Core::OPluginManager* manager, QWidget* wid = 0, 41 OPluginConfig( Opie::Core::OPluginManager* manager, QWidget* wid = 0,