MythPlugin Class Reference

#include <mythplugin.h>

List of all members.


Detailed Description

Definition at line 20 of file mythplugin.h.


Public Member Functions

 MythPlugin (const QString &)
virtual ~MythPlugin ()
int init (const char *libversion)
void run (void)
void config (void)
MythPluginType type (void)
void destroy (void)
bool isEnabled ()
void setEnabled (bool enable)
int getPosition ()
void setPosition (int pos)
int setupMenuPlugin (void)
void drawMenuPlugin (QPainter *painter, int x, int y, int w, int h)

Private Attributes

bool enabled
int position

Constructor & Destructor Documentation

MythPlugin::MythPlugin ( const QString &  libname  ) 

Definition at line 20 of file mythplugin.cpp.

MythPlugin::~MythPlugin (  )  [virtual]

Definition at line 27 of file mythplugin.cpp.


Member Function Documentation

int MythPlugin::init ( const char *  libversion  ) 

Definition at line 31 of file mythplugin.cpp.

void MythPlugin::run ( void   ) 

Definition at line 52 of file mythplugin.cpp.

void MythPlugin::config ( void   ) 

Definition at line 61 of file mythplugin.cpp.

MythPluginType MythPlugin::type ( void   ) 

Definition at line 73 of file mythplugin.cpp.

void MythPlugin::destroy ( void   ) 

Definition at line 84 of file mythplugin.cpp.

Referenced by MythPluginManager::DestroyAllPlugins().

bool MythPlugin::isEnabled (  )  [inline]

Definition at line 43 of file mythplugin.h.

void MythPlugin::setEnabled ( bool  enable  )  [inline]

Definition at line 44 of file mythplugin.h.

int MythPlugin::getPosition ( void   )  [inline]

Definition at line 46 of file mythplugin.h.

void MythPlugin::setPosition ( int  pos  )  [inline]

Definition at line 47 of file mythplugin.h.

int MythPlugin::setupMenuPlugin ( void   ) 

Definition at line 93 of file mythplugin.cpp.

void MythPlugin::drawMenuPlugin ( QPainter *  painter,
int  x,
int  y,
int  w,
int  h 
)

Definition at line 104 of file mythplugin.cpp.


Member Data Documentation

Definition at line 58 of file mythplugin.h.

Referenced by isEnabled(), MythPlugin(), and setEnabled().

int MythPlugin::position [private]

Definition at line 59 of file mythplugin.h.

Referenced by getPosition(), MythPlugin(), and setPosition().


The documentation for this class was generated from the following files:

Generated on Sat Dec 18 05:16:08 2010 for MythTV by  doxygen 1.5.5