#include </home/clem/local/src/opie/libopie2/opiecore/opluginloader.h>
Collaboration diagram for Opie::Core::OPluginItem:

Public Types | |
| typedef QValueList< OPluginItem > | List |
Public Member Functions | |
| OPluginItem () | |
| Creates an Empty OPluginItem. | |
| OPluginItem (const QString &name, const QString &path, bool enabled=true, int pos=-1) | |
| Create an OPluginItem. | |
| ~OPluginItem () | |
| simple d'tor | |
| bool | isEmpty () const |
| Test if this Item is Empty and does not represent a loadable plugin Test if a OPluginItem is empty. A OPluginItem is empty if name and path are empty ,pos equals -1 and the item is disabled. | |
| bool | operator== (const OPluginItem &) const |
| test equality operator to test equalness of two OPluginItem | |
| bool | operator!= (const OPluginItem &) const |
| test non equality operator to test non-equalness of two OPluginItem | |
| QString | name () const |
| returns the name of the plugin return the name of this Plugin | |
| QString | path () const |
| return the path of the plugin | |
| bool | isEnabled () const |
| Return if this item is enabled. | |
| int | position () const |
| return the position of a plugin. return the position of the item -1 is the default value and means normally that the whole items are unsorted. Higher numbers belong to an upper position. With plugins with the postions 20,19,5,3 the item with pos 20 would be the first in the list returned by the OGenericPluginLoader | |
| void | setName (const QString &) |
| set the name of a plugin Set the name of the Plugin Item | |
| void | setPath (const QString &) |
| set the path of a plugin Set the path of Plugin Item. The path must be absolute. | |
| void | setEnabled (bool) |
| enable or disable the to load attribute Set the Enabled attribute. Such changes won't be saved. If you want to save it use a OPluginManager to configure your plugins manually or Opie::Ui::OPluginConfig for a graphical frontend. | |
| void | setPosition (int) |
| Set the position. Set the position. | |
Private Attributes | |
| QString | m_name |
| QString | m_path |
| bool | m_enabled: 1 |
| int | m_pos |
| Private * | d |
Definition at line 29 of file opluginloader.h.
|
|
Definition at line 31 of file opluginloader.h. |
|
|
Creates an Empty OPluginItem. create an empty pluginitem. Position is set to -1 and the other things are used with the default ctors Definition at line 110 of file opluginloader.cpp. |
|
||||||||||||||||||||
|
Create an OPluginItem.
Definition at line 128 of file opluginloader.cpp. |
|
|
simple d'tor
Definition at line 135 of file opluginloader.cpp. |
|
|
Test if this Item is Empty and does not represent a loadable plugin Test if a OPluginItem is empty. A OPluginItem is empty if name and path are empty ,pos equals -1 and the item is disabled.
Definition at line 146 of file opluginloader.cpp. References QString::isEmpty(), m_enabled, m_name, m_path, and m_pos. |
|
|
Return if this item is enabled.
Definition at line 193 of file opluginloader.cpp. References m_enabled. Referenced by Opie::Core::OPluginManager::save(). |
|
|
returns the name of the plugin return the name of this Plugin
Definition at line 179 of file opluginloader.cpp. References m_name. Referenced by Opie::Core::OGenericPluginLoader::load(), Opie::Core::OPluginManager::replace(), and Opie::Core::OPluginManager::save(). |
|
|
test non equality operator to test non-equalness of two OPluginItem
Definition at line 171 of file opluginloader.cpp. |
|
|
test equality operator to test equalness of two OPluginItem
Definition at line 159 of file opluginloader.cpp. |
|
|
return the path of the plugin
Definition at line 186 of file opluginloader.cpp. References m_path. Referenced by Opie::Core::OGenericPluginLoader::load(), Opie::Core::OPluginManager::replace(), and Opie::Core::OPluginManager::save(). |
|
|
return the position of a plugin. return the position of the item -1 is the default value and means normally that the whole items are unsorted. Higher numbers belong to an upper position. With plugins with the postions 20,19,5,3 the item with pos 20 would be the first in the list returned by the OGenericPluginLoader
Definition at line 207 of file opluginloader.cpp. References m_pos. Referenced by Opie::Core::operator<(), Opie::Core::operator<=(), Opie::Core::operator>(), and Opie::Core::OPluginManager::save(). |
|
|
enable or disable the to load attribute Set the Enabled attribute. Such changes won't be saved. If you want to save it use a OPluginManager to configure your plugins manually or Opie::Ui::OPluginConfig for a graphical frontend.
Definition at line 237 of file opluginloader.cpp. References m_enabled. Referenced by Opie::Core::OGenericPluginLoader::plugins(), and Opie::Core::OPluginManager::setEnabled(). |
|
|
set the name of a plugin Set the name of the Plugin Item
Definition at line 216 of file opluginloader.cpp. References m_name. |
|
|
set the path of a plugin Set the path of Plugin Item. The path must be absolute.
Definition at line 225 of file opluginloader.cpp. References m_path. |
|
|
Set the position. Set the position.
Definition at line 248 of file opluginloader.cpp. References m_pos. Referenced by Opie::Core::OGenericPluginLoader::plugins(). |
|
|
Definition at line 57 of file opluginloader.h. |
|
|
Definition at line 55 of file opluginloader.h. Referenced by isEmpty(), isEnabled(), operator==(), and setEnabled(). |
|
|
Definition at line 53 of file opluginloader.h. Referenced by isEmpty(), name(), operator==(), and setName(). |
|
|
Definition at line 54 of file opluginloader.h. Referenced by isEmpty(), operator==(), path(), and setPath(). |
|
|
Definition at line 56 of file opluginloader.h. Referenced by isEmpty(), operator==(), position(), and setPosition(). |
1.4.2