General Class Reference

The General class provides simple access to general plugins. More...

#include <general.h>

List of all members.

Static Public Member Functions

static void create (QObject *parent)
static QList< GeneralFactory * > * factories ()
static QString file (GeneralFactory *factory)
static void setEnabled (GeneralFactory *factory, bool enable=true)
static void showSettings (GeneralFactory *factory, QWidget *parentWidget)
static bool isEnabled (GeneralFactory *factory)


Detailed Description

The General class provides simple access to general plugins.

Author:
Ilya Kotov <forkotov02@hotmail.ru>

Member Function Documentation

static void create ( QObject *  parent  )  [static]

Prepares general plugins for usage.

Parameters:
parent Parent object.

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

Returns a list of the loaded general plugin factories.

static QString file ( GeneralFactory factory  )  [static]

Returns plugin file path.

Parameters:
factory General plugin factory.

static bool isEnabled ( GeneralFactory factory  )  [static]

Returns true if general plugin is enabled, otherwise returns false

Parameters:
factory General plugin factory.

static void 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)

static void showSettings ( GeneralFactory factory,
QWidget *  parentWidget 
) [static]

Shows configuration dialog and updates settings automatically.

Parameters:
factory General plugin factory.
parentWidget Parent widget.


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

Generated on Thu Nov 10 20:39:11 2011 for Qmmp by  doxygen 1.5.9