summaryrefslogtreecommitdiff
authorzecke <zecke>2004-05-10 21:12:29 (UTC)
committer zecke <zecke>2004-05-10 21:12:29 (UTC)
commitd6759c4a53426e01c2bec7d00d703b76da992d78 (patch) (unidiff)
tree3370ea649fa3eedd6f607fa0f2b4864c8dca22ab
parent23a70b8db47ea571bf9a35f4ff8f5696a6c9c1d3 (diff)
downloadopie-d6759c4a53426e01c2bec7d00d703b76da992d78.zip
opie-d6759c4a53426e01c2bec7d00d703b76da992d78.tar.gz
opie-d6759c4a53426e01c2bec7d00d703b76da992d78.tar.bz2
Initial draft for the GUI configurator
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opieui/opluginconfig.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/libopie2/opieui/opluginconfig.h b/libopie2/opieui/opluginconfig.h
new file mode 100644
index 0000000..1ff4858
--- a/dev/null
+++ b/libopie2/opieui/opluginconfig.h
@@ -0,0 +1,38 @@
1/*
2 * LGPLv2 zecke@handhelds.org
3 */
4#ifndef ODP_OPIE_UI_OPLUGIN_CONFIG_H
5#define ODP_OPIE_UI_OPLUGIN_CONFIG_H
6
7#include <qwidget.h>
8
9namespace Opie {
10namespace Core {
11 class OPluginManager;
12 class OGenericPluginLoader;
13}
14namespace Ui {
15class OPluginConfig : public QWidget {
16public:
17 enum Mode { Queued, Immediate };
18 OPluginConfig( QWidget* wid, const char*, WFlags fl );
19 OPluginConfig( OGenericPluginManager* manager, QWidget* wid,
20 const char* name, WFlags fl );
21 OPluginConfig( OPluginLoader* loader, QWidget* wid, const char* name,
22 WFlags fl );
23
24 ~OPluginConfig();
25
26 void setMode( enum Mode );
27 Mode mode()const;
28
29 void insert( const OPluginManager* );
30 void insert( const OPluginLoader* , const QString& name );
31
32 void load();
33 void save();
34};
35}
36}
37
38#endif