From d6759c4a53426e01c2bec7d00d703b76da992d78 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 10 May 2004 21:12:29 +0000 Subject: Initial draft for the GUI configurator --- (limited to 'libopie2/opieui') 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 @@ +/* + * LGPLv2 zecke@handhelds.org + */ +#ifndef ODP_OPIE_UI_OPLUGIN_CONFIG_H +#define ODP_OPIE_UI_OPLUGIN_CONFIG_H + +#include + +namespace Opie { +namespace Core { + class OPluginManager; + class OGenericPluginLoader; +} +namespace Ui { +class OPluginConfig : public QWidget { +public: + enum Mode { Queued, Immediate }; + OPluginConfig( QWidget* wid, const char*, WFlags fl ); + OPluginConfig( OGenericPluginManager* manager, QWidget* wid, + const char* name, WFlags fl ); + OPluginConfig( OPluginLoader* loader, QWidget* wid, const char* name, + WFlags fl ); + + ~OPluginConfig(); + + void setMode( enum Mode ); + Mode mode()const; + + void insert( const OPluginManager* ); + void insert( const OPluginLoader* , const QString& name ); + + void load(); + void save(); +}; +} +} + +#endif -- cgit v0.9.0.2