summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins/chm/docchmplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/plugins/chm/docchmplugin.cpp')
-rw-r--r--parts/documentation/plugins/chm/docchmplugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/parts/documentation/plugins/chm/docchmplugin.cpp b/parts/documentation/plugins/chm/docchmplugin.cpp
index e17ec86b..be624209 100644
--- a/parts/documentation/plugins/chm/docchmplugin.cpp
+++ b/parts/documentation/plugins/chm/docchmplugin.cpp
@@ -51,7 +51,7 @@ DocCHMPlugin::~DocCHMPlugin()
}
-DocumentationCatalogItem* DocCHMPlugin::createCatalog(KListView* contents, const TQString& title, const TQString& url)
+DocumentationCatalogItem* DocCHMPlugin::createCatalog(TDEListView* contents, const TQString& title, const TQString& url)
{
DocumentationCatalogItem *item = new DocumentationCatalogItem(this, contents, title);
item->setURL(KURL(url));
@@ -127,12 +127,12 @@ void DocCHMPlugin::createIndex(IndexBox* // index
}
-static KListViewItem* chainEnd(KListViewItem *parent) {
+static TDEListViewItem* chainEnd(TDEListViewItem *parent) {
if(parent == 0) return 0;
- KListViewItem* ret = dynamic_cast<KListViewItem*>(parent->firstChild());
+ TDEListViewItem* ret = dynamic_cast<TDEListViewItem*>(parent->firstChild());
if(ret == 0) return 0;
while(ret->nextSibling() != 0) {
- ret = dynamic_cast<KListViewItem*>(ret->nextSibling());
+ ret = dynamic_cast<TDEListViewItem*>(ret->nextSibling());
}
return ret;
}