summaryrefslogtreecommitdiffstats
path: root/knode/kncollectionview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/kncollectionview.cpp')
-rw-r--r--knode/kncollectionview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/knode/kncollectionview.cpp b/knode/kncollectionview.cpp
index 1026e642d..7b73cc7ba 100644
--- a/knode/kncollectionview.cpp
+++ b/knode/kncollectionview.cpp
@@ -32,8 +32,8 @@
#include "kncollectionview.h"
#include "kncollectionviewitem.h"
-KNCollectionView::KNCollectionView(TQWidget *tqparent, const char* name) :
- KFolderTree(tqparent, name),
+KNCollectionView::KNCollectionView(TQWidget *parent, const char* name) :
+ KFolderTree(parent, name),
mActiveItem( 0 ),
mPopup( 0 )
{
@@ -221,13 +221,13 @@ void KNCollectionView::addFolder(KNFolder *f)
{
KNCollectionViewItem *it;
- if (!f->tqparent()) {
+ if (!f->parent()) {
// root folder
it = new KNCollectionViewItem(this, KFolderTreeItem::Local);
} else {
- // make sure the tqparent folder has already been added
- if (!f->tqparent()->listItem())
- addFolder( static_cast<KNFolder*>(f->tqparent()) );
+ // make sure the parent folder has already been added
+ if (!f->parent()->listItem())
+ addFolder( static_cast<KNFolder*>(f->parent()) );
// handle special folders
KFolderTreeItem::Type type = KFolderTreeItem::Other;
switch ( f->id() ) {
@@ -238,7 +238,7 @@ void KNCollectionView::addFolder(KNFolder *f)
case 3:
type = KFolderTreeItem::SentMail; break;
}
- it = new KNCollectionViewItem( f->tqparent()->listItem(), KFolderTreeItem::Local, type );
+ it = new KNCollectionViewItem( f->parent()->listItem(), KFolderTreeItem::Local, type );
}
f->setListItem( it );
updateFolder( f );