Added getter and setter for multi-part type in MimeMultiPart class.
This commit is contained in:
parent
c4e94b885e
commit
9bd83ace6f
@ -22,7 +22,6 @@ SOURCES += \
|
||||
src/smtpclient.cpp \
|
||||
src/quotedprintable.cpp \
|
||||
src/mimemultipart.cpp \
|
||||
test.cpp \
|
||||
src/mimecontentformatter.cpp
|
||||
|
||||
HEADERS += \
|
||||
|
@ -68,3 +68,11 @@ void MimeMultiPart::prepare() {
|
||||
|
||||
MimePart::prepare();
|
||||
}
|
||||
|
||||
void MimeMultiPart::setMimeType(const MultiPartType type) {
|
||||
this->type = type;
|
||||
}
|
||||
|
||||
MimeMultiPart::MultiPartType MimeMultiPart::getMimeType() const {
|
||||
return type;
|
||||
}
|
||||
|
@ -48,6 +48,9 @@ public:
|
||||
|
||||
/* [2] Getters and Setters */
|
||||
|
||||
void setMimeType(const MultiPartType type);
|
||||
MultiPartType getMimeType() const;
|
||||
|
||||
const QList<MimePart*> & getParts() const;
|
||||
|
||||
/* [2] --- */
|
||||
|
Loading…
Reference in New Issue
Block a user