summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins/kdevtoc
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/plugins/kdevtoc')
-rw-r--r--parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp8
-rw-r--r--parts/documentation/plugins/kdevtoc/dockdevtocplugin.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
index fa17549b..10fe853d 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
+++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
@@ -43,8 +43,8 @@ class TOCDocumentationCatalogItem: public DocumentationCatalogItem
{
public:
TOCDocumentationCatalogItem(const TQString &tocFile, DocumentationPlugin* plugin,
- TDEListView *parent, const TQString &name)
- :DocumentationCatalogItem(plugin, parent, name), m_tocFile(tocFile)
+ TDEListView *parent, TDEListViewItem *after, const TQString &name)
+ :DocumentationCatalogItem(plugin, parent, after, name), m_tocFile(tocFile)
{
}
TOCDocumentationCatalogItem(const TQString &tocFile, DocumentationPlugin* plugin,
@@ -80,9 +80,9 @@ TQString DocKDevTOCPlugin::pluginName() const
return i18n("TDevelopTOC Documentation Collection");
}
-DocumentationCatalogItem* DocKDevTOCPlugin::createCatalog(TDEListView* contents, const TQString& title, const TQString& url)
+DocumentationCatalogItem* DocKDevTOCPlugin::createCatalog(TDEListView* contents, TDEListViewItem *after, const TQString& title, const TQString& url)
{
- return new TOCDocumentationCatalogItem(url, this, contents, title);
+ return new TOCDocumentationCatalogItem(url, this, contents, after, title);
}
TQPair<KFile::Mode, TQString> DocKDevTOCPlugin::catalogLocatorProps()
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h
index 7205cc4c..b6b5c037 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h
+++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.h
@@ -35,7 +35,7 @@ public:
virtual TQString pluginName() const;
virtual TQString catalogTitle(const TQString& url);
- 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 setCatalogURL(DocumentationCatalogItem* item);