summaryrefslogtreecommitdiffstats
path: root/parts/classview/classtreebase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/classview/classtreebase.cpp')
-rw-r--r--parts/classview/classtreebase.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/classview/classtreebase.cpp b/parts/classview/classtreebase.cpp
index 6aefc1fa..43604b42 100644
--- a/parts/classview/classtreebase.cpp
+++ b/parts/classview/classtreebase.cpp
@@ -31,14 +31,14 @@
#include "classviewpart.h"
#include "classtooldlg.h"
-KPopupMenu *ClassTreeItem::createPopup()
+TDEPopupMenu *ClassTreeItem::createPopup()
{
if (!m_item || m_item->itemType() == PIT_SCOPE)
return 0;
KDevLanguageSupport::Features features = classTree()->m_part->languageSupport()->features();
- KPopupMenu *popup = new KPopupMenu();
+ TDEPopupMenu *popup = new TDEPopupMenu();
if (features & KDevLanguageSupport::Declarations)
popup->insertItem( i18n("Go to Declaration"), classTree(), TQT_SLOT(slotGotoDeclaration()) );
if (m_item->itemType() == PIT_METHOD)
@@ -448,7 +448,7 @@ void ClassToolTip::maybeTip(const TQPoint &p)
ClassTreeBase::ClassTreeBase(ClassViewPart *part, TQWidget *parent, const char *name)
- : KListView(parent, name)
+ : TDEListView(parent, name)
{
setFocusPolicy(ClickFocus);
setRootIsDecorated(true);
@@ -572,7 +572,7 @@ void ClassTreeBase::slotContextMenuRequested(TQListViewItem *item, const TQPoint
{
contextItem = static_cast<ClassTreeItem*>(item);
- KPopupMenu *popup = createPopup();
+ TDEPopupMenu *popup = createPopup();
popup->exec(p);
delete popup;
}