174 bool setVersionFromProperty( |
174 bool setVersionFromProperty( |
175 QVersitDocument& document, |
175 QVersitDocument& document, |
176 const QVersitProperty& property) const; |
176 const QVersitProperty& property) const; |
177 |
177 |
178 bool unencode( |
178 bool unencode( |
179 QVariant& value, |
179 QByteArray& value, |
180 VersitCursor& cursor, |
180 VersitCursor& cursor, |
181 QVersitProperty& property, |
181 QVersitProperty& property, |
182 QTextCodec* codec, |
|
183 LineReader& lineReader) const; |
182 LineReader& lineReader) const; |
184 |
183 |
185 QString decodeCharset( |
184 QString decodeCharset( |
186 const QByteArray& value, |
185 const QByteArray& value, |
187 QVersitProperty& property, |
186 QVersitProperty& property, |
188 QTextCodec* defaultCodec, |
187 QTextCodec* defaultCodec, |
189 QTextCodec** codec) const; |
188 QTextCodec** codec) const; |
190 |
189 |
191 void decodeQuotedPrintable(QString& text) const; |
190 void decodeQuotedPrintable(QByteArray& text) const; |
192 |
191 |
193 |
192 |
194 /* These functions operate on a cursor describing a single line */ |
193 /* These functions operate on a cursor describing a single line */ |
195 QPair<QStringList,QString> extractPropertyGroupsAndName(VersitCursor& line, QTextCodec* codec) |
194 QPair<QStringList,QString> extractPropertyGroupsAndName(VersitCursor& line, QTextCodec* codec) |
196 const; |
195 const; |