summaryrefslogtreecommitdiffstats
path: root/quanta/treeviews/doctreeview.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/doctreeview.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/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)