diff options
Diffstat (limited to 'parts/documentation/plugins/chm')
| -rw-r--r-- | parts/documentation/plugins/chm/docchmplugin.cpp | 8 | ||||
| -rw-r--r-- | parts/documentation/plugins/chm/docchmplugin.h | 2 |
2 files changed, 5 insertions, 5 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; } diff --git a/parts/documentation/plugins/chm/docchmplugin.h b/parts/documentation/plugins/chm/docchmplugin.h index 7caf3b58..452e1c09 100644 --- a/parts/documentation/plugins/chm/docchmplugin.h +++ b/parts/documentation/plugins/chm/docchmplugin.h @@ -35,7 +35,7 @@ public: virtual void setCatalogURL(DocumentationCatalogItem* item); virtual TQString catalogTitle(const TQString& url); virtual TQPair<KFile::Mode, TQString> catalogLocatorProps(); - virtual DocumentationCatalogItem* createCatalog(KListView* contents, const TQString& title, const TQString& url); + virtual DocumentationCatalogItem* createCatalog(TDEListView* contents, const TQString& title, const TQString& url); virtual void createTOC(DocumentationCatalogItem* item); virtual void createIndex(IndexBox* index, DocumentationCatalogItem* item); |
