diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-07-03 11:13:48 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-07-03 11:13:48 +0000 |
| commit | 26e900705f9c00b0775be0910fd0ae056328d550 (patch) | |
| tree | cba26f3c5d302db134fa0d5ba0b5174d610f60cb /src/qmmpui/general.h | |
| parent | d184b2acecd3a7437ca78a163411d50f6935e55f (diff) | |
| download | qmmp-26e900705f9c00b0775be0910fd0ae056328d550.tar.gz qmmp-26e900705f9c00b0775be0910fd0ae056328d550.tar.bz2 qmmp-26e900705f9c00b0775be0910fd0ae056328d550.zip | |
some api changes
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2261 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/qmmpui/general.h')
| -rw-r--r-- | src/qmmpui/general.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/qmmpui/general.h b/src/qmmpui/general.h index 96d69b72a..6afd75517 100644 --- a/src/qmmpui/general.h +++ b/src/qmmpui/general.h @@ -42,6 +42,11 @@ public: */ ~General(); /*! + * Prepares general plugins for usage. + * @param parent Parent object. + */ + static void create(QObject *parent); + /*! * Returns a list of the loaded general plugin factories. */ static QList<GeneralFactory*> *factories(); @@ -56,6 +61,12 @@ public: */ static void setEnabled(GeneralFactory* factory, bool enable = true); /*! + * Shows configuration dialog and updates settings automatically. + * @param factory General plugin factory. + * @param parentWidget Parent widget. + */ + static void showSettings(GeneralFactory* factory, QWidget* parentWidget); + /*! * Returns \b true if general plugin is enabled, otherwise returns \b false * @param factory General plugin factory. */ @@ -68,6 +79,8 @@ private: static QList<GeneralFactory*> *m_factories; static QStringList m_files; static void checkFactories(); + static QMap <GeneralFactory*, General*> *m_generals; + static QObject *m_parent; }; #endif |
