#include <mythplugin.h>
Public Member Functions | |
| MythPlugin (const QString &, const QString &) | |
| virtual | ~MythPlugin () |
| int | init (const char *libversion) |
| int | run (void) |
| int | config (void) |
| MythPluginType | type (void) |
| void | destroy (void) |
| bool | isEnabled () |
| void | setEnabled (bool enable) |
| int | getPosition () |
| void | setPosition (int pos) |
| QString | getName (void) |
| int | setupMenuPlugin (void) |
| void | drawMenuPlugin (QPainter *painter, int x, int y, int w, int h) |
Private Attributes | |
| bool | enabled |
| int | position |
| QString | m_plugName |
Definition at line 22 of file mythplugin.h.
| MythPlugin::MythPlugin | ( | const QString & | libname, | |
| const QString & | plugname | |||
| ) |
Definition at line 22 of file mythplugin.cpp.
| MythPlugin::~MythPlugin | ( | ) | [virtual] |
Definition at line 29 of file mythplugin.cpp.
| int MythPlugin::init | ( | const char * | libversion | ) |
Definition at line 36 of file mythplugin.cpp.
| int MythPlugin::run | ( | void | ) |
Definition at line 58 of file mythplugin.cpp.
| int MythPlugin::config | ( | void | ) |
Definition at line 71 of file mythplugin.cpp.
| MythPluginType MythPlugin::type | ( | void | ) |
Definition at line 88 of file mythplugin.cpp.
| void MythPlugin::destroy | ( | void | ) |
Definition at line 99 of file mythplugin.cpp.
| bool MythPlugin::isEnabled | ( | ) | [inline] |
Definition at line 45 of file mythplugin.h.
| void MythPlugin::setEnabled | ( | bool | enable | ) | [inline] |
Definition at line 46 of file mythplugin.h.
| int MythPlugin::getPosition | ( | ) | [inline] |
Definition at line 48 of file mythplugin.h.
| void MythPlugin::setPosition | ( | int | pos | ) | [inline] |
Definition at line 49 of file mythplugin.h.
| QString MythPlugin::getName | ( | void | ) | [inline] |
Definition at line 51 of file mythplugin.h.
| int MythPlugin::setupMenuPlugin | ( | void | ) |
Definition at line 108 of file mythplugin.cpp.
| void MythPlugin::drawMenuPlugin | ( | QPainter * | painter, | |
| int | x, | |||
| int | y, | |||
| int | w, | |||
| int | h | |||
| ) |
Definition at line 119 of file mythplugin.cpp.
bool MythPlugin::enabled [private] |
Definition at line 62 of file mythplugin.h.
Referenced by isEnabled(), MythPlugin(), and setEnabled().
int MythPlugin::position [private] |
Definition at line 63 of file mythplugin.h.
Referenced by getPosition(), MythPlugin(), and setPosition().
QString MythPlugin::m_plugName [private] |
Definition at line 64 of file mythplugin.h.
Referenced by getName().
1.6.3