aboutsummaryrefslogtreecommitdiff
path: root/src/qmmpui/general.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmmpui/general.h')
-rw-r--r--src/qmmpui/general.h21
1 files changed, 4 insertions, 17 deletions
diff --git a/src/qmmpui/general.h b/src/qmmpui/general.h
index 6afd75517..502867957 100644
--- a/src/qmmpui/general.h
+++ b/src/qmmpui/general.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2008-2010 by Ilya Kotov *
+ * Copyright (C) 2008-2011 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -25,23 +25,13 @@
#include <QMap>
#include "generalfactory.h"
-/*! @brief The General class provides the basic functionality for the general plugin objects
+/*! @brief The General class provides simple access to general plugins
* @author Ilya Kotov <forkotov02@hotmail.ru>
*/
-class General : public QObject
+class General
{
- Q_OBJECT
public:
/*!
- * Object constructor,
- * @param parent Parent object
- */
- General(QObject *parent = 0);
- /*!
- * Destructor
- */
- ~General();
- /*!
* Prepares general plugins for usage.
* @param parent Parent object.
*/
@@ -72,14 +62,11 @@ public:
*/
static bool isEnabled(GeneralFactory* factory);
-
private:
- QMap <uint, QString> m_strValues;
- QMap <uint, uint> m_numValues;
static QList<GeneralFactory*> *m_factories;
static QStringList m_files;
static void checkFactories();
- static QMap <GeneralFactory*, General*> *m_generals;
+ static QMap <GeneralFactory*, QObject*> *m_generals;
static QObject *m_parent;
};