MythPlugin Class Reference

#include <mythplugin.h>

List of all members.

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

Detailed Description

Definition at line 22 of file mythplugin.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Fri Feb 10 06:42:11 2012 for MythTV by  doxygen 1.6.3