radioapp/radiopresetstorage/inc/radiopresetstorage.h
changeset 32 189d20c34778
parent 28 075425b8d9a4
child 37 451b2e1545b2
--- a/radioapp/radiopresetstorage/inc/radiopresetstorage.h	Fri Jun 11 13:38:32 2010 +0300
+++ b/radioapp/radiopresetstorage/inc/radiopresetstorage.h	Wed Jun 23 18:12:57 2010 +0300
@@ -21,6 +21,7 @@
 // System includes
 #include <QtGlobal>
 #include <QList>
+#include <QScopedPointer>
 
 #include "radiopresetstorageexport.h"
 
@@ -30,7 +31,7 @@
 
 class STORAGE_DLL_EXPORT RadioPresetStorage
 {
-    Q_DECLARE_PRIVATE_D( d_ptr, RadioPresetStorage )
+    Q_DECLARE_PRIVATE_D( d_ptr.data(), RadioPresetStorage )
     Q_DISABLE_COPY( RadioPresetStorage )
 
 public:
@@ -52,7 +53,7 @@
     /**
      * Unmodifiable pointer to the private implementation
      */
-    RadioPresetStoragePrivate* const d_ptr;
+    const QScopedPointer<RadioPresetStoragePrivate> d_ptr;
 
 };