summaryrefslogtreecommitdiffstats
path: root/kmail/kmmessage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-15 01:44:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-15 01:44:26 +0000
commit2d0cd394291d27533313adaf3dfdcd2eb92f61da (patch)
treef54a0d39f384783af4982dc9b153d1ab563261e3 /kmail/kmmessage.cpp
parent1c93fca14d9ce37499bcfdf994c660186a0b6f17 (diff)
downloadtdepim-2d0cd394291d27533313adaf3dfdcd2eb92f61da.tar.gz
tdepim-2d0cd394291d27533313adaf3dfdcd2eb92f61da.zip
Fix Qt3 compilation of kdepim
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227976 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmmessage.cpp')
-rw-r--r--kmail/kmmessage.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/kmmessage.cpp b/kmail/kmmessage.cpp
index 04af3d65b..e44d253bb 100644
--- a/kmail/kmmessage.cpp
+++ b/kmail/kmmessage.cpp
@@ -2367,11 +2367,11 @@ void KMMessage::setHeaderField( const TQCString& aName, const TQString& bValue,
kdDebug(5006) << "aValue: \"" << aValue << "\"" << endl;
#endif
}
- str = TQString(aName);
+ str = aName.data();
if (str[str.length()-1] != ':') str += ": ";
else str += ' ';
if ( !aValue.isEmpty() )
- str += TQString(aValue);
+ str += aValue.data();
if (str[str.length()-1] != '\n') str += '\n';
field = new DwField(str, mMsg);
@@ -3261,8 +3261,8 @@ DwBodyPart* KMMessage::createDWBodyPart(const KMMessagePart* aPart)
iM = parAV.tqfind('=');
if( -1 < iM )
{
- parA = TQString(parAV.left( iM ));
- parV = TQString(parAV.right( parAV.length() - iM - 1 ));
+ parA = parAV.left( iM ).data();
+ parV = parAV.right( parAV.length() - iM - 1 ).data();
if( ('"' == parV.at(0)) && ('"' == parV.at(parV.length()-1)) )
{
parV.erase( 0, 1);
@@ -3271,7 +3271,7 @@ DwBodyPart* KMMessage::createDWBodyPart(const KMMessagePart* aPart)
}
else
{
- parA = TQString(parAV);
+ parA = parAV.data();
parV = "";
}
DwParameter *param;