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/autodj/autodjfeature.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/autodj/autodjfeature.h')
-rw-r--r-- | src/library/autodj/autodjfeature.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/library/autodj/autodjfeature.h b/src/library/autodj/autodjfeature.h index 48d4d0a6e6..5b3c137cf8 100644 --- a/src/library/autodj/autodjfeature.h +++ b/src/library/autodj/autodjfeature.h @@ -17,7 +17,7 @@ #include <QSignalMapper> #include "library/libraryfeature.h" -#include "configobject.h" +#include "preferences/usersettings.h" #include "library/treeitemmodel.h" #ifdef __AUTODJCRATES__ @@ -34,7 +34,7 @@ class AutoDJFeature : public LibraryFeature { Q_OBJECT public: AutoDJFeature(Library* pLibrary, - ConfigObject<ConfigValue>* pConfig, + UserSettingsPointer pConfig, PlayerManagerInterface* pPlayerManager, TrackCollection* pTrackCollection); virtual ~AutoDJFeature(); @@ -59,7 +59,7 @@ class AutoDJFeature : public LibraryFeature { #endif // __AUTODJCRATES__ private: - ConfigObject<ConfigValue>* m_pConfig; + UserSettingsPointer m_pConfig; Library* m_pLibrary; TrackCollection* m_pTrackCollection; CrateDAO& m_crateDao; |