radioapp/radioenginewrapper/inc/radiosettings.h
changeset 32 189d20c34778
parent 28 075425b8d9a4
child 37 451b2e1545b2
equal deleted inserted replaced
28:075425b8d9a4 32:189d20c34778
    18 #ifndef RADIOSETTINGS_H_
    18 #ifndef RADIOSETTINGS_H_
    19 #define RADIOSETTINGS_H_
    19 #define RADIOSETTINGS_H_
    20 
    20 
    21 // System includes
    21 // System includes
    22 #include <QtGlobal>
    22 #include <QtGlobal>
       
    23 #include <QScopedPointer>
    23 
    24 
    24 // User includes
    25 // User includes
    25 #include "radiosettingsif.h"
    26 #include "radiosettingsif.h"
    26 
    27 
    27 // Forward declarations
    28 // Forward declarations
    28 class RadioSettingsPrivate;
    29 class RadioSettingsPrivate;
    29 
    30 
    30 // Class declaration
    31 // Class declaration
    31 class RadioSettings : public RadioSettingsIf
    32 class RadioSettings : public RadioSettingsIf
    32     {
    33     {
    33     Q_DECLARE_PRIVATE_D( d_ptr, RadioSettings )
    34     Q_DECLARE_PRIVATE_D( d_ptr.data(), RadioSettings )
    34     Q_DISABLE_COPY( RadioSettings )
    35     Q_DISABLE_COPY( RadioSettings )
    35 
    36 
    36     friend class RadioEngineWrapperPrivate;
    37     friend class RadioEngineWrapperPrivate;
    37 
    38 
    38 public:
    39 public:
    54 private: // data
    55 private: // data
    55 
    56 
    56     /**
    57     /**
    57      * Unmodifiable pointer to the private implementation
    58      * Unmodifiable pointer to the private implementation
    58      */
    59      */
    59     RadioSettingsPrivate* const d_ptr;
    60     const QScopedPointer<RadioSettingsPrivate> d_ptr;
    60 
    61 
    61     };
    62     };
    62 
    63 
    63 #endif // RADIOSETTINGS_H_
    64 #endif // RADIOSETTINGS_H_