General Class Reference

The General class provides the basic functionality for the general plugin objects. More...

#include <general.h>

Inheritance diagram for General:

CommandLineManager

List of all members.

Public Slots

void exit ()
void toggleVisibility ()

Signals

void exitCalled ()
void toggleVisibilityCalled ()

Public Member Functions

 General (QObject *parent=0)
 ~General ()

Static Public Member Functions

static QList< GeneralFactory * > * factories ()
static QStringList files ()
static void setEnabled (GeneralFactory *factory, bool enable=true)
static bool isEnabled (GeneralFactory *factory)


Detailed Description

The General class provides the basic functionality for the general plugin objects.

Author:
Ilya Kotov <forkotov02@hotmail.ru>

Constructor & Destructor Documentation

General::General ( QObject *  parent = 0  ) 

Object constructor,

Parameters:
parent Parent object

General::~General (  ) 

Destructor


Member Function Documentation

void General::exit (  )  [slot]

Tells the player to exit.

void General::exitCalled (  )  [signal]

Emitted when exit() slot is called.

static QList<GeneralFactory*>* General::factories (  )  [static]

Returns a list of the loaded general plugin factories.

static QStringList General::files (  )  [static]

Returns a list of the loaded general plugin files.

static bool General::isEnabled ( GeneralFactory factory  )  [static]

Returns true if general plugin is enabled, otherwise returns false

Parameters:
factory General plugin factory.

static void General::setEnabled ( GeneralFactory factory,
bool  enable = true 
) [static]

Sets whether the general plugin is enabled.

Parameters:
factory General plugin factory.
enable Plugin enable state (true - enable, false - disable)

void General::toggleVisibility (  )  [slot]

Toggles player window visibility.

void General::toggleVisibilityCalled (  )  [signal]

Emitted when toggleVisibility() slot is called.


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

Generated on Sat Mar 27 19:43:00 2010 for Qmmp by  doxygen 1.5.9