author | alwin <alwin> | 2003-12-13 02:35:48 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-13 02:35:48 (UTC) |
commit | f689ef512cfc0a56fead4839a6b2e24a6ee282e0 (patch) (unidiff) | |
tree | c06b5e75d237bba3c5569d24bfa138faef1c38b9 /noncore/net/mail/libmailwrapper/mailtypes.h | |
parent | c7749c503736091d0472e11b5bb0a8a82232bd61 (diff) | |
download | opie-f689ef512cfc0a56fead4839a6b2e24a6ee282e0.zip opie-f689ef512cfc0a56fead4839a6b2e24a6ee282e0.tar.gz opie-f689ef512cfc0a56fead4839a6b2e24a6ee282e0.tar.bz2 |
using QValueList<T> instead of QList<T> for body parts
(gives a better handling for const and non-const values and
so on)
Diffstat (limited to 'noncore/net/mail/libmailwrapper/mailtypes.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/mail/libmailwrapper/mailtypes.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/net/mail/libmailwrapper/mailtypes.h b/noncore/net/mail/libmailwrapper/mailtypes.h index 60db527..f308bc7 100644 --- a/noncore/net/mail/libmailwrapper/mailtypes.h +++ b/noncore/net/mail/libmailwrapper/mailtypes.h | |||
@@ -108,7 +108,7 @@ class RecBody | |||
108 | { | 108 | { |
109 | protected: | 109 | protected: |
110 | QString m_BodyText; | 110 | QString m_BodyText; |
111 | QList<RecPart> m_PartsList; | 111 | QValueList<RecPart> m_PartsList; |
112 | RecPart m_description; | 112 | RecPart m_description; |
113 | 113 | ||
114 | public: | 114 | public: |
@@ -120,8 +120,8 @@ public: | |||
120 | void setDescription(const RecPart&des); | 120 | void setDescription(const RecPart&des); |
121 | const RecPart& Description()const; | 121 | const RecPart& Description()const; |
122 | 122 | ||
123 | void setParts(const QList<RecPart>&parts); | 123 | void setParts(const QValueList<RecPart>&parts); |
124 | const QList<RecPart>& Parts()const; | 124 | const QValueList<RecPart>& Parts()const; |
125 | void addPart(const RecPart&part); | 125 | void addPart(const RecPart&part); |
126 | }; | 126 | }; |
127 | 127 | ||