summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/doctreeview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/treeviews/doctreeview.cpp')
-rw-r--r--quanta/treeviews/doctreeview.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/quanta/treeviews/doctreeview.cpp b/quanta/treeviews/doctreeview.cpp
index 684072a5..a9859858 100644
--- a/quanta/treeviews/doctreeview.cpp
+++ b/quanta/treeviews/doctreeview.cpp
@@ -36,7 +36,7 @@
#include "docitem.h"
DocTreeView::DocTreeView(TQWidget *parent, const char *name )
- : KListView(parent,name)
+ : TDEListView(parent,name)
{
contextHelpDict = new TQDict<TQString>( 101, false );
@@ -51,7 +51,7 @@ DocTreeView::DocTreeView(TQWidget *parent, const char *name )
addColumn("");
setFullWidth(true);
- projectDocFolder = new KListViewItem(this, i18n("Project Documentation"));
+ projectDocFolder = new TDEListViewItem(this, i18n("Project Documentation"));
projectDocFolder->setOpen(true);
slotRefreshTree();
setFocusPolicy(TQ_ClickFocus);
@@ -60,11 +60,11 @@ DocTreeView::DocTreeView(TQWidget *parent, const char *name )
connect(this, TQT_SIGNAL(returnPressed(TQListViewItem *)), TQT_SLOT(clickItem(TQListViewItem *)));
connect(this, TQT_SIGNAL(doubleClicked(TQListViewItem *)), TQT_SLOT(slotDoubleClicked(TQListViewItem *)));
- m_contextMenu = new KPopupMenu(this);
+ m_contextMenu = new TDEPopupMenu(this);
m_menuReload = m_contextMenu->insertItem(i18n("&Reload"), this, TQT_SLOT(slotReloadProjectDocs()));
m_contextMenu->insertItem(SmallIcon("network"), i18n("&Download Documentation..."), this, TQT_SIGNAL(downloadDoc()));
- connect(this, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)),
- this, TQT_SLOT(slotMenu(KListView*, TQListViewItem*, const TQPoint&)));
+ connect(this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)),
+ this, TQT_SLOT(slotMenu(TDEListView*, TQListViewItem*, const TQPoint&)));
}
@@ -161,7 +161,7 @@ void DocTreeView::slotAddProjectDoc(const KURL& url)
new DocItem(projectDocFolder, path, url.url());
}
-void DocTreeView::slotMenu(KListView *, TQListViewItem *item, const TQPoint &point)
+void DocTreeView::slotMenu(TDEListView *, TQListViewItem *item, const TQPoint &point)
{
m_contextMenu->setItemVisible(m_menuReload, false);
if (item)