Vidalia  0.3.1
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | Private Slots | List of all members
PluginWrapper Class Reference

#include <PluginWrapper.h>

Inheritance diagram for PluginWrapper:

Public Slots

void start ()
 
void stop ()
 
VidaliaTabbuildGUI ()
 

Signals

void pluginTab (VidaliaTab *)
 

Public Member Functions

 PluginWrapper (const QString &info_path, PluginEngine *engine, QObject *parent=0)
 
 ~PluginWrapper ()
 
bool hasGUI ()
 
bool isPersistent ()
 
QString name () const
 
QString date () const
 
QString author () const
 
QString nspace () const
 
QStringList files () const
 
QAction * menuAction ()
 

Protected Member Functions

void processInfo (const QString &path)
 
bool checkExceptions ()
 

Protected Attributes

PluginEngine_engine
 
QString _name
 
QString _date
 
QString _author
 
bool _persistent
 
bool _gui
 
QStringList _files
 
QString _nspace
 
QAction * _action
 

Private Slots

void emitPluginTab ()
 

Detailed Description

Definition at line 25 of file PluginWrapper.h.

Constructor & Destructor Documentation

§ PluginWrapper()

PluginWrapper::PluginWrapper ( const QString &  info_path,
PluginEngine engine,
QObject *  parent = 0 
)

§ ~PluginWrapper()

PluginWrapper::~PluginWrapper ( )

Definition at line 55 of file PluginWrapper.cpp.

Member Function Documentation

§ author()

QString PluginWrapper::author ( ) const

Definition at line 201 of file PluginWrapper.cpp.

References _author.

§ buildGUI

VidaliaTab * PluginWrapper::buildGUI ( )
slot

Definition at line 135 of file PluginWrapper.cpp.

References _engine, checkExceptions(), hasGUI(), name(), nspace(), and DebugDialog::outputDebug().

Referenced by emitPluginTab().

§ checkExceptions()

bool PluginWrapper::checkExceptions ( )
protected

Definition at line 154 of file PluginWrapper.cpp.

References _engine, DebugDialog::exceptDebug(), and vInfo.

Referenced by buildGUI(), PluginWrapper(), start(), and stop().

§ date()

QString PluginWrapper::date ( ) const

Definition at line 195 of file PluginWrapper.cpp.

References _date.

§ emitPluginTab

void PluginWrapper::emitPluginTab ( )
privateslot

Definition at line 236 of file PluginWrapper.cpp.

References buildGUI(), DebugDialog::exceptDebug(), name(), and pluginTab().

Referenced by menuAction().

§ files()

QStringList PluginWrapper::files ( ) const

Definition at line 213 of file PluginWrapper.cpp.

References _files.

§ hasGUI()

bool PluginWrapper::hasGUI ( )

Definition at line 175 of file PluginWrapper.cpp.

References _gui.

Referenced by buildGUI(), and menuAction().

§ isPersistent()

bool PluginWrapper::isPersistent ( )

Definition at line 181 of file PluginWrapper.cpp.

References _persistent.

Referenced by menuAction(), and PluginEngine::tryLoadPlugin().

§ menuAction()

QAction * PluginWrapper::menuAction ( )

Definition at line 219 of file PluginWrapper.cpp.

References _action, _name, connect(), emitPluginTab(), hasGUI(), isPersistent(), and start().

Referenced by PluginEngine::getAllActions().

§ name()

QString PluginWrapper::name ( ) const

Definition at line 187 of file PluginWrapper.cpp.

References _name.

Referenced by buildGUI(), emitPluginTab(), PluginWrapper(), processInfo(), start(), and stop().

§ nspace()

QString PluginWrapper::nspace ( ) const

Definition at line 207 of file PluginWrapper.cpp.

References _nspace.

Referenced by buildGUI(), start(), and stop().

§ pluginTab

void PluginWrapper::pluginTab ( VidaliaTab )
signal

Referenced by emitPluginTab().

§ processInfo()

void PluginWrapper::processInfo ( const QString &  path)
protected

§ start

void PluginWrapper::start ( )
slot

§ stop

void PluginWrapper::stop ( )
slot

Member Data Documentation

§ _action

QAction* PluginWrapper::_action
protected

Definition at line 64 of file PluginWrapper.h.

Referenced by menuAction(), and PluginWrapper().

§ _author

QString PluginWrapper::_author
protected

Definition at line 59 of file PluginWrapper.h.

Referenced by author(), and processInfo().

§ _date

QString PluginWrapper::_date
protected

Definition at line 59 of file PluginWrapper.h.

Referenced by date(), and processInfo().

§ _engine

PluginEngine* PluginWrapper::_engine
protected

Definition at line 58 of file PluginWrapper.h.

Referenced by buildGUI(), checkExceptions(), PluginWrapper(), start(), and stop().

§ _files

QStringList PluginWrapper::_files
protected

Definition at line 61 of file PluginWrapper.h.

Referenced by files(), PluginWrapper(), and processInfo().

§ _gui

bool PluginWrapper::_gui
protected

Definition at line 60 of file PluginWrapper.h.

Referenced by hasGUI(), PluginWrapper(), and processInfo().

§ _name

QString PluginWrapper::_name
protected

Definition at line 59 of file PluginWrapper.h.

Referenced by menuAction(), name(), and processInfo().

§ _nspace

QString PluginWrapper::_nspace
protected

Definition at line 62 of file PluginWrapper.h.

Referenced by nspace(), and processInfo().

§ _persistent

bool PluginWrapper::_persistent
protected

Definition at line 60 of file PluginWrapper.h.

Referenced by isPersistent(), PluginWrapper(), and processInfo().


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