summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/structtreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/structtreeview.cpp')
-rw-r--r--quanta/treeviews/structtreeview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/treeviews/structtreeview.cpp b/quanta/treeviews/structtreeview.cpp
index 4fa7afa9..ccf3caef 100644
--- a/quanta/treeviews/structtreeview.cpp
+++ b/quanta/treeviews/structtreeview.cpp
@@ -58,7 +58,7 @@
extern GroupElementMapList globalGroupMap;
StructTreeView::StructTreeView(TQWidget *parent, const char *name )
- : KListView(parent,name), m_marker(0), m_draggedItem(0)/*, m_thisWidget(0)*/
+ : TDEListView(parent,name), m_marker(0), m_draggedItem(0)/*, m_thisWidget(0)*/
{
for (int i = 0; i < 15; i++)
groupOpened.append(false);
@@ -85,7 +85,7 @@ StructTreeView::StructTreeView(TQWidget *parent, const char *name )
setFocusPolicy(TQ_ClickFocus);
- dtdMenu = new KPopupMenu(this);
+ dtdMenu = new TDEPopupMenu(this);
dtdMenu->insertItem(i18n("All Present DTEP"));
dtdMenu->insertSeparator();
@@ -100,11 +100,11 @@ StructTreeView::StructTreeView(TQWidget *parent, const char *name )
connect(this, TQT_SIGNAL(dropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)),
TQT_SLOT(slotDropped(TQDropEvent*, TQListViewItem*, TQListViewItem*)));
- emptyAreaMenu = new KPopupMenu(this);
+ emptyAreaMenu = new TDEPopupMenu(this);
emptyAreaMenu->insertItem(i18n("Show Groups For"), dtdMenu);
emptyAreaMenu->insertItem(SmallIcon("reload"), i18n("&Reparse"), this, TQT_SLOT(slotReparseMenuItem()));
- popupMenu = new KPopupMenu(this);
+ popupMenu = new TDEPopupMenu(this);
popupMenu -> insertItem( i18n("Show Groups For"), dtdMenu);
popupMenu -> insertSeparator();
@@ -828,7 +828,7 @@ void StructTreeView::slotDropped(TQDropEvent* e, TQListViewItem* parent, TQListV
if(!TQTextDrag::canDecode(e))
return;
- KPopupMenu *menu = new KPopupMenu( this );
+ TDEPopupMenu *menu = new TDEPopupMenu( this );
menu->insertItem( i18n("&Move Here"), DRAG_MOVE, 0 );
menu->insertItem( SmallIcon("editcopy"), i18n("&Copy Here"), DRAG_COPY, 1 );
menu->insertSeparator();
@@ -872,7 +872,7 @@ void StructTreeView::contentsMousePressEvent(TQMouseEvent* e)
m_draggedItem = itemAt(p);
m_marker = m_draggedItem;
}
- KListView::contentsMousePressEvent(e);
+ TDEListView::contentsMousePressEvent(e);
}
void StructTreeView::copySelectedItems(TQListViewItem* parent, TQListViewItem* after)