summaryrefslogtreecommitdiffstats
path: root/kmail/favoritefolderview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kmail/favoritefolderview.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/favoritefolderview.cpp')
-rw-r--r--kmail/favoritefolderview.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/favoritefolderview.cpp b/kmail/favoritefolderview.cpp
index 5d8e3d13a..d70986876 100644
--- a/kmail/favoritefolderview.cpp
+++ b/kmail/favoritefolderview.cpp
@@ -58,7 +58,7 @@ FavoriteFolderViewItem::FavoriteFolderViewItem(FavoriteFolderView * parent, cons
connect( folder, TQT_SIGNAL(nameChanged()), TQT_SLOT(nameChanged()) );
connect( folder, TQT_SIGNAL(iconsChanged()), TQT_SLOT(slotIconsChanged()) );
- connect( folder, TQT_SIGNAL(msgAdded(KMFolder*,Q_UINT32)), TQT_SLOT(updateCount()) );
+ connect( folder, TQT_SIGNAL(msgAdded(KMFolder*,TQ_UINT32)), TQT_SLOT(updateCount()) );
connect( folder, TQT_SIGNAL(numUnreadMsgsChanged(KMFolder*)), TQT_SLOT(updateCount()) );
connect( folder, TQT_SIGNAL(msgRemoved(KMFolder*)), TQT_SLOT(updateCount()) );
connect( folder, TQT_SIGNAL(folderSizeChanged( KMFolder* )), TQT_SLOT(updateCount()) );
@@ -74,7 +74,7 @@ FavoriteFolderViewItem::FavoriteFolderViewItem(FavoriteFolderView * parent, cons
void FavoriteFolderViewItem::nameChanged()
{
TQString txt = text( 0 );
- txt.replace( mOldName, folder()->label() );
+ txt.tqreplace( mOldName, folder()->label() );
setText( 0, txt );
mOldName = folder()->label();
}
@@ -253,7 +253,7 @@ void FavoriteFolderView::itemClicked(TQListViewItem * item)
if ( !item ) return;
if ( !item->isSelected() )
item->setSelected( true );
- item->repaint();
+ item->tqrepaint();
handleGroupwareFolder( static_cast<KMFolderTreeItem*>( item ) );
}
@@ -267,11 +267,11 @@ void FavoriteFolderView::folderTreeSelectionChanged(KMFolder * folder)
fti->setSelected( true );
setCurrentItem( fti );
ensureItemVisible( fti );
- fti->repaint();
+ fti->tqrepaint();
found = true;
} else if ( fti->folder() != folder && fti->isSelected() ) {
fti->setSelected( false );
- fti->repaint();
+ fti->tqrepaint();
}
}
blockSignals( false );
@@ -309,7 +309,7 @@ void FavoriteFolderView::dropped(TQDropEvent * e, TQListViewItem * after)
KMFolderTreeItem *fti = static_cast<KMFolderTreeItem*>( it.current() );
if ( !fti->folder() )
continue;
- if( !mFolderToItem.contains( fti->folder() ) )
+ if( !mFolderToItem.tqcontains( fti->folder() ) )
afterItem = addFolder( fti->folder(), prettyName( fti ), afterItem );
}
e->accept();
@@ -369,7 +369,7 @@ void FavoriteFolderView::initializeFavorites()
assert( ft );
for ( TQListViewItemIterator it( ft ); it.current(); ++it ) {
KMFolderTreeItem *fti = static_cast<KMFolderTreeItem*>( it.current() );
- if ( fti->type() == KFolderTreeItem::Inbox && fti->folder() && !seenInboxes.contains( fti->folder()->id() ) ) {
+ if ( fti->type() == KFolderTreeItem::Inbox && fti->folder() && !seenInboxes.tqcontains( fti->folder()->id() ) ) {
seenInboxes.append( fti->folder()->id() );
if ( fti->folder() == kmkernel->inboxFolder() && hideLocalInbox() )
continue;
@@ -457,7 +457,7 @@ void FavoriteFolderView::addFolder()
KMFolder *folder = dlg.folder();
if ( !folder )
return;
- if ( mFolderToItem.contains( folder ) )
+ if ( mFolderToItem.tqcontains( folder ) )
return;
KMFolderTreeItem *fti = findFolderTreeItem( folder );
@@ -468,7 +468,7 @@ void KMail::FavoriteFolderView::addFolder(KMFolderTreeItem * fti)
{
if ( !fti || !fti->folder() )
return;
- if ( !mFolderToItem.contains( fti->folder() ) )
+ if ( !mFolderToItem.tqcontains( fti->folder() ) )
addFolder( fti->folder(), prettyName( fti ) );
}
@@ -524,7 +524,7 @@ void FavoriteFolderView::refresh()
KMFolderTreeItem* fti = static_cast<KMFolderTreeItem*>(it.current());
if (!fti || !fti->folder())
continue;
- fti->repaint();
+ fti->tqrepaint();
}
update();
}