summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/createvoicewindow.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/createvoicewindow.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/createvoicewindow.h')
-rw-r--r--rbutil/rbutilqt/createvoicewindow.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/rbutil/rbutilqt/createvoicewindow.h b/rbutil/rbutilqt/createvoicewindow.h
index cd99b389a2..d9fefc6750 100644
--- a/rbutil/rbutilqt/createvoicewindow.h
+++ b/rbutil/rbutilqt/createvoicewindow.h
@@ -22,18 +22,17 @@
#include <QtGui>
-#include <QSettings>
-
#include "ui_createvoicefrm.h"
#include "progressloggergui.h"
#include "voicefile.h"
+#include "rbsettings.h"
class CreateVoiceWindow : public QDialog
{
Q_OBJECT
public:
CreateVoiceWindow(QWidget *parent = 0);
- void setSettings(QSettings* user,QSettings* device);
+ void setSettings(RbSettings* sett);
void setProxy(QUrl proxy){m_proxy = proxy;}
signals:
@@ -47,8 +46,7 @@ class CreateVoiceWindow : public QDialog
VoiceFileCreator* voicecreator;
Ui::CreateVoiceFrm ui;
ProgressLoggerGui* logger;
- QSettings *devices;
- QSettings *userSettings;
+ RbSettings* settings;
QUrl m_proxy;
};