Opie::Ui::OPluginConfigWidget Class Reference
#include </home/clem/local/src/opie/libopie2/opieui/opluginconfig.h>
Collaboration diagram for Opie::Ui::OPluginConfigWidget:
[legend]List of all members.
|
Public Types |
| enum | ChangeMode { Queued,
Immediate
} |
Signals |
| void | pluginChanged (const Opie::Core::OPluginItem &item, bool old_state) |
| void | pluginEnabled (const Opie::Core::OPluginItem &item) |
| void | pluginDisabled (const Opie::Core::OPluginItem &item) |
| void | changed () |
Public Member Functions |
| | OPluginConfigWidget (QWidget *wid=0, const char *name=0, WFlags fl=0) |
| | OPluginConfig (Opie::Core::OPluginManager *manager, QWidget *wid=0, const char *name=0, WFlags fl=0) |
| | OPluginConfig (Opie::Core::OGenericPluginLoader *loader, QWidget *wid, const char *name, WFlags fl) |
| virtual | ~OPluginConfig () |
| void | setChangeMode (enum ChangeMode) |
| ChangeMode | mode () const |
| void | insert (const QString &, const Opie::Core::OPluginManager *) |
| void | insert (const QString &, const Opie::Core::OGenericPluginLoader *) |
| void | load () |
| void | save () |
Private Attributes |
| ChangeMode | m_mode |
QMap< Opie::Core::OPluginManager *,
bool > | m_items |
Detailed Description
API IDEA - not usable this moment!
With this widget you can configure one or many PluginLoaders either through an already existing Opie::Core::OPluginManager or Opie::Core::OGenericPluginLoader The sorted state will be read from the Loader.
As with Opie::Ui::OKeyConfigWidget you can have two options. To either apply your changes directly through Opie::Core::OPluginManager or to use Queued where you manually need to call save.
Internally we operate on Opie::Core::OPluginManager. You can insert any numbers of loaders or pluginmanagers. But you need to call load() after you've inserted new items.
- See also:
- Opie::Ui::OKeyConfigWidget
Opie::Core::OPluginLoader
Opie::Core::OPluginManager
- Author:
- zecke
- Since:
- Opie 1.1.5
Definition at line 37 of file opluginconfig.h.
Member Enumeration Documentation
Constructor & Destructor Documentation
| Opie::Ui::OPluginConfigWidget::OPluginConfigWidget |
( |
QWidget * |
wid = 0, |
|
|
const char * |
name = 0, |
|
|
WFlags |
fl = 0 |
|
) |
|
|
| virtual Opie::Ui::OPluginConfigWidget::~OPluginConfig |
( |
|
) |
[virtual] |
|
Member Function Documentation
| void Opie::Ui::OPluginConfigWidget::changed |
( |
|
) |
[signal] |
|
| void Opie::Ui::OPluginConfigWidget::load |
( |
|
) |
|
|
| ChangeMode Opie::Ui::OPluginConfigWidget::mode |
( |
|
) |
const |
|
| Opie::Ui::OPluginConfigWidget::OPluginConfig |
( |
Opie::Core::OPluginManager * |
manager, |
|
|
QWidget * |
wid = 0, |
|
|
const char * |
name = 0, |
|
|
WFlags |
fl = 0 |
|
) |
|
|
| void Opie::Ui::OPluginConfigWidget::pluginChanged |
( |
const Opie::Core::OPluginItem & |
item, |
|
|
bool |
old_state |
|
) |
[signal] |
|
|
|
A PluginItem was changed. This signal is only emitted if you're in the immediate ChangeMode. This is emitted on any change ( disable,enable,pos)
- Parameters:
-
| item | The OPluginItem that was changed. This is how it looks now |
| old_state | If it was enabled before |
|
|
|
emitted only if you're in Immediate when an Item was enabled
- Parameters:
-
| item | The Item was disabled |
|
|
|
emitted only if you're in Immediate when an Item was enabled
- Parameters:
-
| item | The Item that was enabled |
|
| void Opie::Ui::OPluginConfigWidget::save |
( |
|
) |
|
|
| void Opie::Ui::OPluginConfigWidget::setChangeMode |
( |
enum |
ChangeMode |
) |
|
|
Member Data Documentation
The documentation for this class was generated from the following file:
Generated on Sat Nov 5 18:02:00 2005 for OPIE by
1.4.2