summaryrefslogtreecommitdiff
path: root/OptionEngine.h
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-03-21 11:01:59 +0100
commite297dbd8052ef4e66f069e2dd1865ae7fa8af28e (patch)
tree342fea0a2f6f33b8b62dad2d1729f8209da1a1ba /OptionEngine.h
parent8f9f382e1c97cab2e72e97495650c73ac4b97314 (diff)
Imported Upstream version 0.3.1.0
Diffstat (limited to 'OptionEngine.h')
-rw-r--r--OptionEngine.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/OptionEngine.h b/OptionEngine.h
index 9605535..0b13848 100644
--- a/OptionEngine.h
+++ b/OptionEngine.h
@@ -21,6 +21,7 @@
#include <QAbstractButton>
#include <QTimer>
#include <QWidget>
+#include <QHash>
#include "interface/OptionInterface.h"
@@ -60,20 +61,13 @@ class OptionEngine : public QObject, public Singleton<OptionEngine>
/// \brief OptionEngineGroupKey then: Group -> Key
struct OptionEngineGroupKey
{
- QString variableName;
QVariant defaultValue;
QVariant currentValue;
bool emptyList;
};
- /// \brief OptionEngineGroup then: Group
- struct OptionEngineGroup
- {
- QString groupName;
- QList<OptionEngineGroupKey> KeysList;
- };
/// \brief store the option group list
- QList<OptionEngineGroup> GroupKeysList;
+ QHash<QString,QHash<QString,OptionEngineGroupKey> > GroupKeysList;
QStringList unmanagedTabName;
/// \brief Enumeration of backend
enum Backend