equal
deleted
inserted
replaced
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_ |