summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/structtreeview.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:16:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:16:01 -0600
commit9771f17f8cc5252b12ec5f3edf47ff9bffdf997f (patch)
treeb9e389db87bdba126010d03fb5bccdc748d0e6fa /quanta/treeviews/structtreeview.cpp
parent9930e16dde86b7de9b792613d826f4f8648b9768 (diff)
downloadtdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.tar.gz
tdewebdev-9771f17f8cc5252b12ec5f3edf47ff9bffdf997f.zip
Rename a number of classes to enhance compatibility with KDE4
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)