equal
deleted
inserted
replaced
20 #ifndef SMFSUBTITLE_P_H_ |
20 #ifndef SMFSUBTITLE_P_H_ |
21 #define SMFSUBTITLE_P_H_ |
21 #define SMFSUBTITLE_P_H_ |
22 |
22 |
23 #include <QDateTime> |
23 #include <QDateTime> |
24 #include <QSharedData> |
24 #include <QSharedData> |
|
25 #include <QUrl> |
25 |
26 |
26 class SmfSubtitlePrivate : public QSharedData |
27 class SmfSubtitlePrivate : public QSharedData |
27 { |
28 { |
28 public: |
29 public: |
29 /** |
30 /** |
32 SmfSubtitlePrivate( ) { |
33 SmfSubtitlePrivate( ) { |
33 m_language.clear(); |
34 m_language.clear(); |
34 m_frameRate = 0; |
35 m_frameRate = 0; |
35 m_duration = 0; |
36 m_duration = 0; |
36 m_subtitleId.clear(); |
37 m_subtitleId.clear(); |
|
38 m_subtitleUrl.clear(); |
37 } |
39 } |
38 |
40 |
39 /** |
41 /** |
40 * Copy Consturctor |
42 * Copy Consturctor |
41 * @param aOther The reference object to be copy constructed |
43 * @param aOther The reference object to be copy constructed |
45 m_subtitle ( aOther.m_subtitle ), |
47 m_subtitle ( aOther.m_subtitle ), |
46 m_language ( aOther.m_language ), |
48 m_language ( aOther.m_language ), |
47 m_frameRate ( aOther.m_frameRate ), |
49 m_frameRate ( aOther.m_frameRate ), |
48 m_duration ( aOther.m_duration ), |
50 m_duration ( aOther.m_duration ), |
49 m_releaseYr ( aOther.m_releaseYr ), |
51 m_releaseYr ( aOther.m_releaseYr ), |
50 m_subtitleId ( aOther.m_subtitleId ) { } |
52 m_subtitleId ( aOther.m_subtitleId ), |
|
53 m_subtitleUrl (aOther.m_subtitleUrl){ } |
51 |
54 |
52 /** |
55 /** |
53 * Destructor |
56 * Destructor |
54 */ |
57 */ |
55 ~SmfSubtitlePrivate( ) |
58 ~SmfSubtitlePrivate( ) |
60 QString m_language; // language |
63 QString m_language; // language |
61 double m_frameRate; // frame rate |
64 double m_frameRate; // frame rate |
62 double m_duration; // duration |
65 double m_duration; // duration |
63 QDateTime m_releaseYr; // release year |
66 QDateTime m_releaseYr; // release year |
64 QString m_subtitleId; // subtitle id |
67 QString m_subtitleId; // subtitle id |
|
68 QUrl m_subtitleUrl; // subtitle Url |
65 |
69 |
66 }; |
70 }; |
67 |
71 |
68 #endif /* SMFSUBTITLE_P_H_ */ |
72 #endif /* SMFSUBTITLE_P_H_ */ |