ksim
KSim::Plugin Class Reference
#include <pluginglobal.h>
Detailed Description
A class that holds various information about a plugin.
Definition at line 43 of file pluginglobal.h.
Public Member Functions | |
| Plugin () | |
| Plugin (KSim::PluginObject *plugin, const KDesktopFile &file) | |
| Plugin (const Plugin &rhs) | |
| ~Plugin () | |
| Plugin & | operator= (const Plugin &rhs) |
| bool | operator== (const Plugin &rhs) const |
| bool | operator!= (const Plugin &rhs) const |
| void | setEnabled (bool enabled) |
| bool | isEnabled () const |
| bool | isDifferent () const |
| bool | isNull () const |
| const QString & | name () const |
| QPixmap | icon () const |
| Q3CString | libName () const |
| const QString & | fileName () const |
| KSim::PluginObject * | plugin () const |
| KSim::PluginView * | view () const |
| KSim::PluginPage * | configPage () const |
Static Public Attributes | |
| static KSim::Plugin | null |
Constructor & Destructor Documentation
| KSim::Plugin::Plugin | ( | ) |
| KSim::Plugin::Plugin | ( | KSim::PluginObject * | plugin, | |
| const KDesktopFile & | file | |||
| ) |
| KSim::Plugin::Plugin | ( | const Plugin & | rhs | ) |
| KSim::Plugin::~Plugin | ( | ) |
Member Function Documentation
| KSim::Plugin & KSim::Plugin::operator= | ( | const Plugin & | rhs | ) |
Assigns rhs to this Plugin and returns a reference to this Plugin.
Definition at line 104 of file pluginglobal.cpp.
| bool KSim::Plugin::operator== | ( | const Plugin & | rhs | ) | const |
- Returns:
- true if the plugin is equal to rhs; otherwise returns false
- See also:
- operator!=
Definition at line 127 of file pluginglobal.cpp.
| bool KSim::Plugin::operator!= | ( | const Plugin & | rhs | ) | const |
- Returns:
- true if the plugin is different to rhs; otherwise returns false
- See also:
- operator==
Definition at line 132 of file pluginglobal.cpp.
| void KSim::Plugin::setEnabled | ( | bool | enabled | ) |
| bool KSim::Plugin::isEnabled | ( | ) | const |
returns true if this plugin is enabled, else it returns false
Definition at line 146 of file pluginglobal.cpp.
| bool KSim::Plugin::isDifferent | ( | ) | const |
returns true if the last enabled state is different to the current enabled state, else it returns false
Definition at line 151 of file pluginglobal.cpp.
| bool KSim::Plugin::isNull | ( | ) | const |
| const QString & KSim::Plugin::name | ( | ) | const |
- Returns:
- the name of the plugin, NOT the library name
- See also:
- libName
Definition at line 161 of file pluginglobal.cpp.
| QPixmap KSim::Plugin::icon | ( | ) | const |
| Q3CString KSim::Plugin::libName | ( | ) | const |
| const QString & KSim::Plugin::fileName | ( | ) | const |
| KSim::PluginObject * KSim::Plugin::plugin | ( | ) | const |
| KSim::PluginView * KSim::Plugin::view | ( | ) | const |
| KSim::PluginPage * KSim::Plugin::configPage | ( | ) | const |
Member Data Documentation
KSim::Plugin KSim::Plugin::null [static] |
a null plugin, provided for convenience.
currently only used in KSim::PluginLoader
Definition at line 127 of file pluginglobal.h.
The documentation for this class was generated from the following files:
KDE 4.0 API Reference