summaryrefslogtreecommitdiffstats
path: root/libkcal/attachment.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkcal/attachment.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/attachment.cpp')
-rw-r--r--libkcal/attachment.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/libkcal/attachment.cpp b/libkcal/attachment.cpp
index 58a54006..fc319b73 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;
}