diff -r 075425b8d9a4 -r 189d20c34778 radioapp/radiopresetstorage/inc/radiopresetstorage.h --- 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 #include +#include #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 d_ptr; };