diff options
author | RJ Ryan <rryan@mixxx.org> | 2016-01-24 22:57:41 -0800 |
---|---|---|
committer | RJ Ryan <rryan@mixxx.org> | 2016-01-24 22:57:41 -0800 |
commit | 83e58a40a109acda194078ad8e53d07de68799bd (patch) | |
tree | 1a42d622c056aee939aa618abfbcdd0969ed5a23 /src/library/export/trackexportwizard.h | |
parent | 479c9e15159299667f2f7d16d65a8565f656a376 (diff) |
Use UserSettings (typedef) instead of ConfigObject.
This will allow us to experiment with different implementations for
structured user preferences. It will also reduce repeated typing of
template arguments and better represent the purpose of the object.
Diffstat (limited to 'src/library/export/trackexportwizard.h')
-rw-r--r-- | src/library/export/trackexportwizard.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/export/trackexportwizard.h b/src/library/export/trackexportwizard.h index f5dc774935..f1cd2217ba 100644 --- a/src/library/export/trackexportwizard.h +++ b/src/library/export/trackexportwizard.h @@ -13,7 +13,7 @@ #include <QString> #include <QScopedPointer> -#include "configobject.h" +#include "preferences/usersettings.h" #include "library/export/trackexportdlg.h" #include "library/export/trackexportworker.h" #include "trackinfoobject.h" @@ -22,7 +22,7 @@ class TrackExportWizard : public QObject { Q_OBJECT public: - TrackExportWizard(QWidget *parent, ConfigObject<ConfigValue>* pConfig, + TrackExportWizard(QWidget *parent, UserSettingsPointer pConfig, QList<TrackPointer> tracks) : m_parent(parent), m_pConfig(pConfig), m_tracks(tracks) { } virtual ~TrackExportWizard() { } @@ -35,7 +35,7 @@ class TrackExportWizard : public QObject { bool selectDestinationDirectory(); QWidget* m_parent; - ConfigObject<ConfigValue>* m_pConfig; + UserSettingsPointer m_pConfig; QList<TrackPointer> m_tracks; QScopedPointer<TrackExportDlg> m_dialog; QScopedPointer<TrackExportWorker> m_worker; |