summaryrefslogtreecommitdiffstats
path: root/src/library/analysisfeature.h
diff options
context:
space:
mode:
authorRJ Ryan <rryan@mixxx.org>2016-01-24 22:57:41 -0800
committerRJ Ryan <rryan@mixxx.org>2016-01-24 22:57:41 -0800
commit83e58a40a109acda194078ad8e53d07de68799bd (patch)
tree1a42d622c056aee939aa618abfbcdd0969ed5a23 /src/library/analysisfeature.h
parent479c9e15159299667f2f7d16d65a8565f656a376 (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/analysisfeature.h')
-rw-r--r--src/library/analysisfeature.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/analysisfeature.h b/src/library/analysisfeature.h
index ac5e75b7c2..fa8974bd8f 100644
--- a/src/library/analysisfeature.h
+++ b/src/library/analysisfeature.h
@@ -13,7 +13,7 @@
#include <QList>
#include "library/libraryfeature.h"
-#include "configobject.h"
+#include "preferences/usersettings.h"
#include "treeitemmodel.h"
#include "library/dlganalysis.h"
@@ -24,7 +24,7 @@ class AnalysisFeature : public LibraryFeature {
Q_OBJECT
public:
AnalysisFeature(QObject* parent,
- ConfigObject<ConfigValue>* pConfig,
+ UserSettingsPointer pConfig,
TrackCollection* pTrackCollection);
virtual ~AnalysisFeature();
@@ -62,7 +62,7 @@ class AnalysisFeature : public LibraryFeature {
// tracks in the job
void setTitleProgress(int trackNum, int totalNum);
- ConfigObject<ConfigValue>* m_pConfig;
+ UserSettingsPointer m_pConfig;
TrackCollection* m_pTrackCollection;
AnalyzerQueue* m_pAnalyzerQueue;
// Used to temporarily enable BPM detection in the prefs before we analyse