#include <general.h>
The General class provides simple access to general plugins.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ create()
static void create |
( |
QObject * |
parent | ) |
|
|
static |
Prepares general plugins for usage.
- Parameters
-
◆ enabledFactories()
Returns a list of the enabled general plugin factories.
◆ factories()
Returns a list of the general plugin factories.
◆ file()
Returns plugin file path.
- Parameters
-
◆ isEnabled()
Returns true if general plugin is enabled, otherwise returns false
- Parameters
-
◆ setEnabled()
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) |
◆ showSettings()
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:
- /usr/src/RPM/BUILD/qmmp-1.4.6/src/qmmpui/general.h