summaryrefslogtreecommitdiffstats
path: root/kmail/kmfoldertree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmfoldertree.cpp')
-rw-r--r--kmail/kmfoldertree.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/kmfoldertree.cpp b/kmail/kmfoldertree.cpp
index 9a7cd4771..9d18e4c02 100644
--- a/kmail/kmfoldertree.cpp
+++ b/kmail/kmfoldertree.cpp
@@ -403,7 +403,7 @@ KMFolderTree::KMFolderTree( KMMainWidget *mainWidget, TQWidget *parent,
// popup to switch columns
header()->setClickEnabled(true);
header()->installEventFilter(this);
- mPopup = new KPopupMenu(this);
+ mPopup = new TDEPopupMenu(this);
mPopup->insertTitle(i18n("View Columns"));
mPopup->setCheckable(true);
mUnreadPop = mPopup->insertItem(i18n("Unread Column"), this, TQT_SLOT(slotToggleUnreadColumn()));
@@ -1050,7 +1050,7 @@ void KMFolderTree::resizeEvent(TQResizeEvent* e)
TDEConfigGroupSaver saver(conf, "Geometry");
conf->writeEntry(name(), size().width());
- KListView::resizeEvent(e);
+ TDEListView::resizeEvent(e);
}
//-----------------------------------------------------------------------------
@@ -1073,7 +1073,7 @@ void KMFolderTree::slotContextMenuRequested( TQListViewItem *lvi,
if (!fti )
return;
- KPopupMenu *folderMenu = new KPopupMenu;
+ TDEPopupMenu *folderMenu = new TDEPopupMenu;
bool multiFolder = selectedFolders().count() > 1;
if (fti->folder()) folderMenu->insertTitle(fti->folder()->label());
@@ -1211,7 +1211,7 @@ void KMFolderTree::slotContextMenuRequested( TQListViewItem *lvi,
void KMFolderTree::contentsMousePressEvent(TQMouseEvent * e)
{
// KFolderTree messes around with the selection mode
- KListView::contentsMousePressEvent( e );
+ TDEListView::contentsMousePressEvent( e );
}
// If middle button and folder holds mailing-list, create a message to that list
@@ -1695,7 +1695,7 @@ void KMFolderTree::toggleColumn(int column, bool openFolders)
addUnreadColumn( i18n("Unread"), 70 );
reload();
}
- // toggle KPopupMenu
+ // toggle TDEPopupMenu
mPopup->setItemChecked( mUnreadPop, isUnreadActive() );
} else if (column == total) {
@@ -1719,7 +1719,7 @@ void KMFolderTree::toggleColumn(int column, bool openFolders)
addSizeColumn( i18n("Size"), 70 );
reload( openFolders );
}
- // toggle KPopupMenu
+ // toggle TDEPopupMenu
mPopup->setItemChecked( mSizePop, isSizeActive() );
} else kdDebug(5006) << "unknown column:" << column << endl;
@@ -2128,9 +2128,9 @@ void KMFolderTree::pasteFolder()
void KMFolderTree::updateCopyActions()
{
- KAction *copy = mMainWidget->action("copy_folder");
- KAction *cut = mMainWidget->action("cut_folder");
- KAction *paste = mMainWidget->action("paste_folder");
+ TDEAction *copy = mMainWidget->action("copy_folder");
+ TDEAction *cut = mMainWidget->action("cut_folder");
+ TDEAction *paste = mMainWidget->action("paste_folder");
KMFolderTreeItem *item = static_cast<KMFolderTreeItem*>( currentItem() );
if ( !item || !item->folder() ) {