summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp')
-rw-r--r--parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
index 6fc8a78e..6513eb90 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
+++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
@@ -101,7 +101,7 @@ TQString DocKDevTOCPlugin::catalogTitle(const TQString& url)
return TQString();
TQDomDocument doc;
- if (!doc.setContent(&f) || (doc.doctype().name() != "kdeveloptoc"))
+ if (!doc.setContent(&f) || (doc.doctype().name() != "tdeveloptoc"))
return TQString();
f.close();
@@ -147,9 +147,9 @@ void DocKDevTOCPlugin::createIndex(IndexBox* index, DocumentationCatalogItem* it
return;
}
TQDomDocument doc;
- if (!doc.setContent(&f) || doc.doctype().name() != "kdeveloptoc")
+ if (!doc.setContent(&f) || doc.doctype().name() != "tdeveloptoc")
{
- kdDebug(9002) << "Not a valid kdeveloptoc file: " << tocItem->tocFile() << endl;
+ kdDebug(9002) << "Not a valid tdeveloptoc file: " << tocItem->tocFile() << endl;
return;
}
f.close();
@@ -192,9 +192,9 @@ void DocKDevTOCPlugin::createTOC(DocumentationCatalogItem* item)
return;
}
TQDomDocument doc;
- if (!doc.setContent(&f) || doc.doctype().name() != "kdeveloptoc")
+ if (!doc.setContent(&f) || doc.doctype().name() != "tdeveloptoc")
{
- kdDebug(9002) << "Not a valid kdeveloptoc file: " << tocItem->tocFile() << endl;
+ kdDebug(9002) << "Not a valid tdeveloptoc file: " << tocItem->tocFile() << endl;
return;
}
f.close();
@@ -244,9 +244,9 @@ void DocKDevTOCPlugin::setCatalogURL(DocumentationCatalogItem* item)
return;
}
TQDomDocument doc;
- if (!doc.setContent(&f) || doc.doctype().name() != "kdeveloptoc")
+ if (!doc.setContent(&f) || doc.doctype().name() != "tdeveloptoc")
{
- kdDebug(9002) << "Not a valid kdeveloptoc file: " << tocItem->tocFile() << endl;
+ kdDebug(9002) << "Not a valid tdeveloptoc file: " << tocItem->tocFile() << endl;
return;
}
f.close();