equal
deleted
inserted
replaced
18 #ifndef RADIOHISTORYMODEL_H |
18 #ifndef RADIOHISTORYMODEL_H |
19 #define RADIOHISTORYMODEL_H |
19 #define RADIOHISTORYMODEL_H |
20 |
20 |
21 // System includes |
21 // System includes |
22 #include <QAbstractListModel> |
22 #include <QAbstractListModel> |
|
23 #include <QScopedPointer> |
23 |
24 |
24 // User includes |
25 // User includes |
25 #include "radiouiengineexport.h" |
26 #include "radiouiengineexport.h" |
26 #include "radiohistoryitem.h" |
27 #include "radiohistoryitem.h" |
27 |
28 |
33 class RadioHistoryItem; |
34 class RadioHistoryItem; |
34 |
35 |
35 class UI_ENGINE_DLL_EXPORT RadioHistoryModel : public QAbstractListModel |
36 class UI_ENGINE_DLL_EXPORT RadioHistoryModel : public QAbstractListModel |
36 { |
37 { |
37 Q_OBJECT |
38 Q_OBJECT |
38 Q_DECLARE_PRIVATE_D( d_ptr, RadioHistoryModel ) |
39 Q_DECLARE_PRIVATE_D( d_ptr.data(), RadioHistoryModel ) |
39 Q_DISABLE_COPY( RadioHistoryModel ) |
40 Q_DISABLE_COPY( RadioHistoryModel ) |
40 |
41 |
41 friend class RadioUiEngine; |
42 friend class RadioUiEngine; |
42 friend class RadioUiEnginePrivate; |
43 friend class RadioUiEnginePrivate; |
43 friend class RadioStationModelPrivate; |
44 friend class RadioStationModelPrivate; |
100 private: // data |
101 private: // data |
101 |
102 |
102 /** |
103 /** |
103 * Unmodifiable pointer to the private implementation |
104 * Unmodifiable pointer to the private implementation |
104 */ |
105 */ |
105 RadioHistoryModelPrivate* const d_ptr; |
106 const QScopedPointer<RadioHistoryModelPrivate> d_ptr; |
106 |
107 |
107 }; |
108 }; |
108 |
109 |
109 #endif // RADIOHISTORYMODEL_H |
110 #endif // RADIOHISTORYMODEL_H |