summaryrefslogtreecommitdiffstats
path: root/parts/documentation/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'parts/documentation/plugins')
-rw-r--r--parts/documentation/plugins/chm/docchmplugin.cpp2
-rw-r--r--parts/documentation/plugins/doxygen/docdoxygenplugin.cpp4
-rw-r--r--parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/parts/documentation/plugins/chm/docchmplugin.cpp b/parts/documentation/plugins/chm/docchmplugin.cpp
index 21b07207..09b81d72 100644
--- a/parts/documentation/plugins/chm/docchmplugin.cpp
+++ b/parts/documentation/plugins/chm/docchmplugin.cpp
@@ -138,7 +138,7 @@ static KListViewItem* chainEnd(KListViewItem *parent) {
}
static TQString decodeHTML(const TQString& s) {
- TQRegExp rx(TQString::tqfromLatin1("&#(\\d+);| "));
+ TQRegExp rx(TQString::fromLatin1("&#(\\d+);| "));
TQString out = s;
int pos = rx.search(out);
while(pos > -1) {
diff --git a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
index 09c7310b..a0df440a 100644
--- a/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
+++ b/parts/documentation/plugins/doxygen/docdoxygenplugin.cpp
@@ -450,7 +450,7 @@ void DocDoxygenPlugin::createIndexFromTag(TQDomDocument &dom, IndexBox *index,
TQString filename = childEl.namedItem("filename").firstChild().toText().data();
IndexItemProto *indexItem = new IndexItemProto(this, item, index, classname,
- i18n("%1 Class Reference").tqarg(classname));
+ i18n("%1 Class Reference").arg(classname));
indexItem->addURL(KURL(prefix + filename));
createIndexFromTag(dom, index, item, childEl, prefix + filename);
@@ -467,7 +467,7 @@ void DocDoxygenPlugin::createIndexFromTag(TQDomDocument &dom, IndexBox *index,
if (classname != membername)
{
- IndexItemProto *indexItem = new IndexItemProto(this, item, index, membername,i18n("%1::%2%3 Member Reference").tqarg(classname).tqarg(membername).tqarg(arglist));
+ IndexItemProto *indexItem = new IndexItemProto(this, item, index, membername,i18n("%1::%2%3 Member Reference").arg(classname).arg(membername).arg(arglist));
indexItem->addURL(KURL(prefix + "#" + anchor));
}
}
diff --git a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
index 6513eb90..6abf51fa 100644
--- a/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
+++ b/parts/documentation/plugins/kdevtoc/dockdevtocplugin.cpp
@@ -214,7 +214,7 @@ void DocKDevTOCPlugin::addTocSect(DocumentationItem *parent, TQDomElement childE
{
while (!childEl.isNull())
{
- if (childEl.tagName() == TQString("tocsect%1").tqarg(level))
+ if (childEl.tagName() == TQString("tocsect%1").arg(level))
{
TQString name = childEl.attribute("name");
TQString url = childEl.attribute("url");