equal
deleted
inserted
replaced
53 // We mean it. |
53 // We mean it. |
54 // |
54 // |
55 |
55 |
56 #include "qversitdocument.h" |
56 #include "qversitdocument.h" |
57 #include "qmobilityglobal.h" |
57 #include "qmobilityglobal.h" |
|
58 #include "qversitproperty.h" |
58 |
59 |
59 #include <QSharedData> |
60 #include <QSharedData> |
60 #include <QString> |
61 #include <QString> |
61 #include <QStringList> |
62 #include <QStringList> |
62 #include <QMultiHash> |
63 #include <QMultiHash> |
66 QTM_BEGIN_NAMESPACE |
67 QTM_BEGIN_NAMESPACE |
67 |
68 |
68 class QVersitPropertyPrivate : public QSharedData |
69 class QVersitPropertyPrivate : public QSharedData |
69 { |
70 { |
70 public: |
71 public: |
71 QVersitPropertyPrivate() : QSharedData() |
72 QVersitPropertyPrivate() : QSharedData(), mValueType(QVersitProperty::PlainType) |
72 { |
73 { |
73 } |
74 } |
74 |
75 |
75 QVersitPropertyPrivate(const QVersitPropertyPrivate& other) |
76 QVersitPropertyPrivate(const QVersitPropertyPrivate& other) |
76 : QSharedData(other), |
77 : QSharedData(other), |
77 mGroups(other.mGroups), |
78 mGroups(other.mGroups), |
78 mName(other.mName), |
79 mName(other.mName), |
79 mParameters(other.mParameters), |
80 mParameters(other.mParameters), |
80 mValue(other.mValue) |
81 mValue(other.mValue), |
|
82 mValueType(other.mValueType) |
81 { |
83 { |
82 } |
84 } |
83 |
85 |
84 ~QVersitPropertyPrivate() {} |
86 ~QVersitPropertyPrivate() {} |
85 |
87 |
86 QStringList mGroups; |
88 QStringList mGroups; |
87 QString mName; |
89 QString mName; |
88 QMultiHash<QString,QString> mParameters; |
90 QMultiHash<QString,QString> mParameters; |
89 QVariant mValue; |
91 QVariant mValue; |
|
92 QVersitProperty::ValueType mValueType; |
90 }; |
93 }; |
91 |
94 |
92 QTM_END_NAMESPACE |
95 QTM_END_NAMESPACE |
93 |
96 |
94 #endif // QVERSITPROPERTY_P_H |
97 #endif // QVERSITPROPERTY_P_H |