summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/configure.h
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2008-01-25 00:12:25 +0000
committerDominik Wenger <domonoky@googlemail.com>2008-01-25 00:12:25 +0000
commit3a54c9b58d05e29343eef2044cf3d3cbce47ca50 (patch)
tree66c0ba1f872af0af3e3c02ec8580ba697353cbf8 /rbutil/rbutilqt/configure.h
parenta665d99d3a1e37c3fa7e1a5f79f9dbb82dd3686d (diff)
downloadrockbox-3a54c9b58d05e29343eef2044cf3d3cbce47ca50.tar.gz
rockbox-3a54c9b58d05e29343eef2044cf3d3cbce47ca50.tar.bz2
rockbox-3a54c9b58d05e29343eef2044cf3d3cbce47ca50.zip
rbtutil: introduce a RbSettings class help code reuse, and minimises duplicated code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16159 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/configure.h')
-rw-r--r--rbutil/rbutilqt/configure.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/configure.h b/rbutil/rbutilqt/configure.h
index bb4afb6c86..55f2838537 100644
--- a/rbutil/rbutilqt/configure.h
+++ b/rbutil/rbutilqt/configure.h
@@ -22,6 +22,7 @@
#include "ui_configurefrm.h"
#include "browsedirtree.h"
+#include "rbsettings.h"
#include <QtGui>
class Config : public QDialog
@@ -29,7 +30,7 @@ class Config : public QDialog
Q_OBJECT
public:
Config(QWidget *parent = 0,int index=0);
- void setSettings(QSettings* user,QSettings* device);
+ void setSettings(RbSettings* sett);
signals:
void settingsUpdated(void);
@@ -43,8 +44,8 @@ class Config : public QDialog
void setDevices();
Ui::ConfigForm ui;
- QSettings *userSettings;
- QSettings *devices;
+ RbSettings* settings;
+
QStringList findLanguageFiles(void);
QString languageName(const QString&);
QMap<QString, QString> lang;