diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-10-21 19:13:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-10-21 19:13:42 +0900 |
commit | 8f70b1fe6562378faefb612f4006545cdcf703ab (patch) | |
tree | 19256e4ff96aa6dfb9d73313ba91c87cb332cca1 /parts/documentation/plugins/kdevtoc | |
parent | 847b6192a9eee538a6d62a0cbbbfffd5270744ac (diff) | |
download | tdevelop-8f70b1fe6562378faefb612f4006545cdcf703ab.tar.gz tdevelop-8f70b1fe6562378faefb612f4006545cdcf703ab.zip |
Sort documentation list in increasing alphabetical order.
Fixed KDE 2 handbook xml tags. This relates to bug 1859.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/documentation/plugins/kdevtoc')
-rw-r--r-- | parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp | 8 | ||||
-rw-r--r-- | parts/documentation/plugins/kdevtoc/dockdevtocplugin.h | 2 |
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); |