diff options
Diffstat (limited to 'libkcal/attachment.cpp')
-rw-r--r-- | libkcal/attachment.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/libkcal/attachment.cpp b/libkcal/attachment.cpp index 58a540062..fc319b735 100644 --- a/libkcal/attachment.cpp +++ b/libkcal/attachment.cpp @@ -32,22 +32,22 @@ Attachment::Attachment( const Attachment &attachment) mLabel = attachment.mLabel; } -Attachment::Attachment(const QString& uri, const QString& mime) +Attachment::Attachment(const TQString& uri, const TQString& mime) { mMimeType = mime; mData = uri; mBinary = false; mShowInline = false; - mLabel = QString::null; + mLabel = TQString::null; } -Attachment::Attachment(const char *base64, const QString& mime) +Attachment::Attachment(const char *base64, const TQString& mime) { mMimeType = mime; - mData = QString::fromUtf8(base64); + mData = TQString::fromUtf8(base64); mBinary = true; mShowInline = false; - mLabel = QString::null; + mLabel = TQString::null; } bool Attachment::isUri() const @@ -55,15 +55,15 @@ bool Attachment::isUri() const return !mBinary; } -QString Attachment::uri() const +TQString Attachment::uri() const { if (!mBinary) return mData; else - return QString::null; + return TQString::null; } -void Attachment::setUri(const QString& uri) +void Attachment::setUri(const TQString& uri) { mData = uri; mBinary = false; @@ -85,16 +85,16 @@ char *Attachment::data() const void Attachment::setData(const char *base64) { - mData = QString::fromUtf8(base64); + mData = TQString::fromUtf8(base64); mBinary = true; } -QString Attachment::mimeType() const +TQString Attachment::mimeType() const { return mMimeType; } -void Attachment::setMimeType(const QString& mime) +void Attachment::setMimeType(const TQString& mime) { mMimeType = mime; } @@ -109,12 +109,12 @@ void Attachment::setShowInline( bool showinline ) mShowInline = showinline; } -QString Attachment::label() const +TQString Attachment::label() const { return mLabel; } -void Attachment::setLabel( const QString& label ) +void Attachment::setLabel( const TQString& label ) { mLabel = label; } |