summaryrefslogtreecommitdiffstats
path: root/parts/classview/classtreebase.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:15:35 -0600
commitf78eb03afb8c9a380985d26286afc40b4c89b292 (patch)
tree3c087e2f119e645c902958c3bc3c802abf078ad0 /parts/classview/classtreebase.cpp
parentda1941ccadffe5ae70ee111c53f0ec2b3d990869 (diff)
downloadtdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.tar.gz
tdevelop-f78eb03afb8c9a380985d26286afc40b4c89b292.zip
Rename a number of classes to enhance compatibility with KDE4
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;
}