19 |
19 |
20 #ifndef SMFMUSICRATING_P_H_ |
20 #ifndef SMFMUSICRATING_P_H_ |
21 #define SMFMUSICRATING_P_H_ |
21 #define SMFMUSICRATING_P_H_ |
22 |
22 |
23 #include <QSharedData> |
23 #include <QSharedData> |
|
24 #include <smfmusicrating.h> |
24 |
25 |
25 class SmfMusicRatingPrivate : public QSharedData |
26 class SmfMusicRatingPrivate : public QSharedData |
26 { |
27 { |
27 public: |
28 public: |
28 /** |
29 /** |
29 * Constructor |
30 * Constructor |
30 */ |
31 */ |
31 SmfMusicRatingPrivate( ) { |
32 SmfMusicRatingPrivate( ) ; |
32 m_rating = 0; |
|
33 } |
|
34 |
|
35 /** |
33 /** |
36 * Copy Consturctor |
34 * Copy Consturctor |
37 * @param aOther The reference object to be copy constructed |
35 * @param aOther The reference object to be copy constructed |
38 */ |
36 */ |
39 SmfMusicRatingPrivate( const SmfMusicRatingPrivate &aOther ) : |
37 SmfMusicRatingPrivate( const SmfMusicRatingPrivate &aOther ); |
40 QSharedData ( aOther ), |
|
41 m_rating ( aOther.m_rating ), |
|
42 m_max ( aOther.m_max ), |
|
43 m_min ( aOther.m_min ) { } |
|
44 |
|
45 /** |
38 /** |
46 * Destructor |
39 * Destructor |
47 */ |
40 */ |
48 ~SmfMusicRatingPrivate( ); |
41 ~SmfMusicRatingPrivate( ); |
49 |
42 |
50 int m_rating; // rating |
43 qint32 m_rating; // rating |
51 int m_max; // max rating |
44 qint32 m_max; // max rating |
52 int m_min; // min rating |
45 qint32 m_min; // min rating |
53 |
46 |
54 }; |
47 }; |
55 |
48 |
56 #endif /* SMFMUSICRATING_P_H_ */ |
49 #endif /* SMFMUSICRATING_P_H_ */ |