summaryrefslogtreecommitdiffstats
path: root/kmail/partNode.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /kmail/partNode.cpp
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/partNode.cpp')
-rw-r--r--kmail/partNode.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmail/partNode.cpp b/kmail/partNode.cpp
index 96bb32c59..de5e2d89e 100644
--- a/kmail/partNode.cpp
+++ b/kmail/partNode.cpp
@@ -2,7 +2,7 @@
partNode.cpp A node in a MIME tree.
This file is part of KMail, the KDE mail client.
- Copyright (c) 2002 Klar�lvdalens Datakonsult AB
+ Copyright (c) 2002 Klar�lvdalens Datakonsult AB
KMail is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
@@ -167,7 +167,7 @@ partNode::~partNode() {
#ifndef NDEBUG
void partNode::dump( int chars ) const {
- kdDebug(5006) << nodeId() << " " << TQString().fill( ' ', chars ) << "+ "
+ kdDebug(5006) << nodeId() << " " << TQString(TQString().fill( ' ', chars )) << "+ "
<< typeString() << '/' << subTypeString() << " embedded:" << mDisplayedEmbedded
<< " address:" << this << endl;
if ( mChild )
@@ -693,7 +693,7 @@ KMail::Interface::BodyPartMemento * partNode::internalBodyPartMemento( const TQC
{
assert( !reader() );
- const std::map<TQCString,KMail::Interface::BodyPartMemento*>::const_iterator it = mBodyPartMementoMap.tqfind( which.lower() );
+ const std::map<TQCString,KMail::Interface::BodyPartMemento*>::const_iterator it = mBodyPartMementoMap.find( which.lower() );
return it != mBodyPartMementoMap.end() ? it->second : 0 ;
}
@@ -746,7 +746,7 @@ void partNode::setDisplayedHidden( bool displayedHidden )
TQString partNode::asHREF( const TQString &place ) const
{
- return TQString( "attachment:%1?place=%2" ).arg( nodeId() ).arg( place );
+ return TQString( "attachment:%1?place=%2" ).tqarg( nodeId() ).tqarg( place );
}
partNode::AttachmentDisplayInfo partNode::attachmentDisplayInfo() const