summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins/chm
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/plugins/chm')
-rw-r--r--parts/documentation/plugins/chm/docchmplugin.cpp4
-rw-r--r--parts/documentation/plugins/chm/docchmplugin.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/parts/documentation/plugins/chm/docchmplugin.cpp b/parts/documentation/plugins/chm/docchmplugin.cpp
index 5acecce3..753705bd 100644
--- a/parts/documentation/plugins/chm/docchmplugin.cpp
+++ b/parts/documentation/plugins/chm/docchmplugin.cpp
@@ -51,9 +51,9 @@ DocCHMPlugin::~DocCHMPlugin()
}
-DocumentationCatalogItem* DocCHMPlugin::createCatalog(TDEListView* contents, const TQString& title, const TQString& url)
+DocumentationCatalogItem* DocCHMPlugin::createCatalog(TDEListView* contents, TDEListViewItem *after, const TQString& title, const TQString& url)
{
- DocumentationCatalogItem *item = new DocumentationCatalogItem(this, contents, title);
+ DocumentationCatalogItem *item = new DocumentationCatalogItem(this, contents, after, title);
item->setURL(KURL(url));
return item;
diff --git a/parts/documentation/plugins/chm/docchmplugin.h b/parts/documentation/plugins/chm/docchmplugin.h
index 452e1c09..4d053333 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(TDEListView* contents, const TQString& title, const TQString& url);
+ virtual DocumentationCatalogItem* createCatalog(TDEListView* contents, TDEListViewItem *after, const TQString& title, const TQString& url);
virtual void createTOC(DocumentationCatalogItem* item);
virtual void createIndex(IndexBox* index, DocumentationCatalogItem* item);