summaryrefslogtreecommitdiffstats
path: root/kmail/kmmimeparttree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmmimeparttree.cpp')
-rw-r--r--kmail/kmmimeparttree.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmmimeparttree.cpp b/kmail/kmmimeparttree.cpp
index 730ad54d5..cd05ee38c 100644
--- a/kmail/kmmimeparttree.cpp
+++ b/kmail/kmmimeparttree.cpp
@@ -55,9 +55,9 @@
KMMimePartTree::KMMimePartTree( KMReaderWin* readerWin,
- TQWidget* tqparent,
+ TQWidget* parent,
const char* name )
- : KListView( tqparent, name ),
+ : KListView( parent, name ),
mReaderWin( readerWin ), mSizeColumn(0)
{
setStyleDependantFrameWidth();
@@ -245,8 +245,8 @@ void KMMimePartTree::correctSize( TQListViewItem * item )
}
if ( totalSize > static_cast<KMMimePartTreeItem*>(item)->origSize() )
item->setText( mSizeColumn, KIO::convertSize(totalSize) );
- if ( item->tqparent() )
- correctSize( item->tqparent() );
+ if ( item->parent() )
+ correctSize( item->parent() );
}
void KMMimePartTree::slotDelete()
@@ -313,13 +313,13 @@ void KMMimePartTree::slotCopy()
}
//=============================================================================
-KMMimePartTreeItem::KMMimePartTreeItem( KMMimePartTree * tqparent,
+KMMimePartTreeItem::KMMimePartTreeItem( KMMimePartTree * parent,
partNode* node,
const TQString & description,
const TQString & mimetype,
const TQString & encoding,
KIO::filesize_t size )
- : TQListViewItem( tqparent, description,
+ : TQListViewItem( parent, description,
TQString(), // set by setIconAndTextForType()
encoding,
KIO::convertSize( size ) ),
@@ -328,18 +328,18 @@ KMMimePartTreeItem::KMMimePartTreeItem( KMMimePartTree * tqparent,
if( node )
node->setMimePartTreeItem( this );
setIconAndTextForType( mimetype );
- if ( tqparent )
- tqparent->correctSize(this);
+ if ( parent )
+ parent->correctSize(this);
}
-KMMimePartTreeItem::KMMimePartTreeItem( KMMimePartTreeItem * tqparent,
+KMMimePartTreeItem::KMMimePartTreeItem( KMMimePartTreeItem * parent,
partNode* node,
const TQString & description,
const TQString & mimetype,
const TQString & encoding,
KIO::filesize_t size,
bool revertOrder )
- : TQListViewItem( tqparent, description,
+ : TQListViewItem( parent, description,
TQString(), // set by setIconAndTextForType()
encoding,
KIO::convertSize( size ) ),