diff options
Diffstat (limited to 'knode/kncollectionview.cpp')
-rw-r--r-- | knode/kncollectionview.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/knode/kncollectionview.cpp b/knode/kncollectionview.cpp index 40cce7741..ef97c653e 100644 --- a/knode/kncollectionview.cpp +++ b/knode/kncollectionview.cpp @@ -32,8 +32,8 @@ #include "kncollectionview.h" #include "kncollectionviewitem.h" -KNCollectionView::KNCollectionView(TQWidget *parent, const char* name) : - KFolderTree(parent, name), +KNCollectionView::KNCollectionView(TQWidget *tqparent, const char* name) : + KFolderTree(tqparent, name), mActiveItem( 0 ), mPopup( 0 ) { @@ -221,13 +221,13 @@ void KNCollectionView::addFolder(KNFolder *f) { KNCollectionViewItem *it; - if (!f->parent()) { + if (!f->tqparent()) { // root folder it = new KNCollectionViewItem(this, KFolderTreeItem::Local); } else { - // make sure the parent folder has already been added - if (!f->parent()->listItem()) - addFolder( static_cast<KNFolder*>(f->parent()) ); + // make sure the tqparent folder has already been added + if (!f->tqparent()->listItem()) + addFolder( static_cast<KNFolder*>(f->tqparent()) ); // 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->parent()->listItem(), KFolderTreeItem::Local, type ); + it = new KNCollectionViewItem( f->tqparent()->listItem(), KFolderTreeItem::Local, type ); } f->setListItem( it ); updateFolder( f ); |