From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/favoritefolderview.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kmail/favoritefolderview.cpp') diff --git a/kmail/favoritefolderview.cpp b/kmail/favoritefolderview.cpp index d70986876..7176cdebb 100644 --- a/kmail/favoritefolderview.cpp +++ b/kmail/favoritefolderview.cpp @@ -49,8 +49,8 @@ using namespace KMail; -FavoriteFolderViewItem::FavoriteFolderViewItem(FavoriteFolderView * parent, const TQString & name, KMFolder * folder) - : KMFolderTreeItem( parent, name, folder ), +FavoriteFolderViewItem::FavoriteFolderViewItem(FavoriteFolderView * tqparent, const TQString & name, KMFolder * folder) + : KMFolderTreeItem( tqparent, name, folder ), mOldName( folder->label() ) { // same stuff as in KMFolderTreeItem again, this time even with virtual methods working @@ -81,8 +81,8 @@ void FavoriteFolderViewItem::nameChanged() TQValueList FavoriteFolderView::mInstances; -FavoriteFolderView::FavoriteFolderView( KMMainWidget *mainWidget, TQWidget * parent) : - FolderTreeBase( mainWidget, parent ), +FavoriteFolderView::FavoriteFolderView( KMMainWidget *mainWidget, TQWidget * tqparent) : + FolderTreeBase( mainWidget, tqparent ), mContextMenuItem( 0 ), mReadingConfig( false ) { @@ -399,8 +399,8 @@ TQString FavoriteFolderView::prettyName(KMFolderTreeItem * fti) assert( fti->folder() ); TQString name = fti->folder()->label(); TQListViewItem *accountFti = fti; - while ( accountFti->parent() ) - accountFti = accountFti->parent(); + while ( accountFti->tqparent() ) + accountFti = accountFti->tqparent(); if ( fti->type() == KFolderTreeItem::Inbox ) { if ( fti->protocol() == KFolderTreeItem::Local || fti->protocol() == KFolderTreeItem::NONE ) { name = i18n( "Local Inbox" ); -- cgit v1.2.1