summaryrefslogtreecommitdiffstats
path: root/kmail/partNode.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-09 02:23:29 +0000
commitdfb7562b7e607f0ae077a6a436966203029df56d (patch)
treed58abf870c3754458d44a192a0b9e186f506c4ed /kmail/partNode.cpp
parentfc5197ec86abe5dc0fa4b48979684845b52357f2 (diff)
downloadtdepim-dfb7562b7e607f0ae077a6a436966203029df56d.tar.gz
tdepim-dfb7562b7e607f0ae077a6a436966203029df56d.zip
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/partNode.cpp')
-rw-r--r--kmail/partNode.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/kmail/partNode.cpp b/kmail/partNode.cpp
index de5e2d89e..352698252 100644
--- a/kmail/partNode.cpp
+++ b/kmail/partNode.cpp
@@ -236,8 +236,8 @@ TQCString partNode::subTypeString() const {
const partNode* partNode::topLevelParent() const {
const partNode *ret = this;
- while ( ret->tqparentNode() )
- ret = ret->tqparentNode();
+ while ( ret->parentNode() )
+ ret = ret->parentNode();
return ret;
}
@@ -358,9 +358,9 @@ KMMsgSignatureState partNode::overallSignatureState() const
TQCString partNode::path() const
{
- if ( !tqparentNode() )
+ if ( !parentNode() )
return ':';
- const partNode * p = tqparentNode();
+ const partNode * p = parentNode();
// count number of siblings with the same type as us:
int nth = 0;
@@ -463,7 +463,7 @@ partNode* partNode::findTypeNot( int type, int subType, bool deep, bool wide )
return 0;
}
-void partNode::fillMimePartTree( KMMimePartTreeItem* tqparentItem,
+void partNode::fillMimePartTree( KMMimePartTreeItem* parentItem,
KMMimePartTree* mimePartTree,
TQString labelDescr,
TQString labelCntType,
@@ -471,10 +471,10 @@ void partNode::fillMimePartTree( KMMimePartTreeItem* tqparentItem,
KIO::filesize_t size,
bool revertOrder )
{
- if( tqparentItem || mimePartTree ) {
+ if( parentItem || mimePartTree ) {
if( mNext )
- mNext->fillMimePartTree( tqparentItem, mimePartTree,
+ mNext->fillMimePartTree( parentItem, mimePartTree,
TQString(), TQString(), TQString(), 0,
revertOrder );
@@ -518,8 +518,8 @@ void partNode::fillMimePartTree( KMMimePartTreeItem* tqparentItem,
// remove linebreak+whitespace from folded Content-Description
cntDesc.tqreplace( TQRegExp("\\n\\s*"), " " );
- if( tqparentItem )
- mMimePartTreeItem = new KMMimePartTreeItem( tqparentItem,
+ if( parentItem )
+ mMimePartTreeItem = new KMMimePartTreeItem( parentItem,
this,
cntDesc,
cntType,
@@ -595,7 +595,7 @@ partNode * partNode::next( bool allowChildren ) const {
return c;
if ( partNode * s = nextSibling() )
return s;
- for ( partNode * p = tqparentNode() ; p ; p = p->tqparentNode() )
+ for ( partNode * p = parentNode() ; p ; p = p->parentNode() )
if ( partNode * s = p->nextSibling() )
return s;
return 0;
@@ -607,7 +607,7 @@ bool partNode::isFirstTextPart() const {
const partNode * root = this;
// go up until we reach the root node of a message (of the actual message or
// of an attached message)
- while ( const partNode * p = root->tqparentNode() ) {
+ while ( const partNode * p = root->parentNode() ) {
if ( p->type() == DwMime::kTypeMessage )
break;
else
@@ -652,11 +652,11 @@ bool partNode::isInEncapsulatedMessage() const
const partNode * const topLevel = topLevelParent();
const partNode *cur = this;
while ( cur && cur != topLevel ) {
- const bool tqparentIsMessage = cur->tqparentNode() &&
- cur->tqparentNode()->msgPart().typeStr().lower() == "message";
- if ( tqparentIsMessage && cur->tqparentNode() != topLevel )
+ const bool parentIsMessage = cur->parentNode() &&
+ cur->parentNode()->msgPart().typeStr().lower() == "message";
+ if ( parentIsMessage && cur->parentNode() != topLevel )
return true;
- cur = cur->tqparentNode();
+ cur = cur->parentNode();
}
return false;
}
@@ -768,8 +768,8 @@ partNode::AttachmentDisplayInfo partNode::attachmentDisplayInfo() const
typeBlacklisted = typeBlacklisted || this == topLevelParent();
bool firstTextChildOfEncapsulatedMsg = msgPart().typeStr().lower() == "text" &&
msgPart().subtypeStr().lower() == "plain" &&
- tqparentNode() &&
- tqparentNode()->msgPart().typeStr().lower() == "message";
+ parentNode() &&
+ parentNode()->msgPart().typeStr().lower() == "message";
typeBlacklisted = typeBlacklisted || firstTextChildOfEncapsulatedMsg;
info.displayInHeader = !info.label.isEmpty() && !info.icon.isEmpty() && !typeBlacklisted;
return info;