diff base/Preferences.h @ 156:059b0322009c

* Replace all uses of ConfigFile with QSettings
author Chris Cannam
date Thu, 03 Aug 2006 16:04:00 +0000
parents 82f529a08cf3
children da3701a3953e
line wrap: on
line diff
--- a/base/Preferences.h	Thu Aug 03 15:40:11 2006 +0000
+++ b/base/Preferences.h	Thu Aug 03 16:04:00 2006 +0000
@@ -20,14 +20,12 @@
 
 #include "Window.h"
 
-class ConfigFile;
-
 class Preferences : public PropertyContainer
 {
     Q_OBJECT
 
 public:
-    static Preferences *getInstance() { return m_instance; }
+    static Preferences *getInstance();
 
     virtual PropertyList getProperties() const;
     virtual QString getPropertyLabel(const PropertyName &) const;
@@ -41,8 +39,6 @@
     float getTuningFrequency() const { return m_tuningFrequency; }
     WindowType getWindowType() const { return m_windowType; }
 
-    ConfigFile *getConfigFile() { return m_configFile; }
-
     //!!! harmonise with PaneStack
     enum PropertyBoxLayout {
         VerticallyStacked,
@@ -68,7 +64,6 @@
     float m_tuningFrequency;
     PropertyBoxLayout m_propertyBoxLayout;
     WindowType m_windowType;
-    ConfigFile *m_configFile;
 };
 
 #endif