diff options
Diffstat (limited to 'parts/documentation/docutils.cpp')
-rw-r--r-- | parts/documentation/docutils.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/parts/documentation/docutils.cpp b/parts/documentation/docutils.cpp index f0a00e4e..79fa9915 100644 --- a/parts/documentation/docutils.cpp +++ b/parts/documentation/docutils.cpp @@ -32,21 +32,21 @@ #include "kdevdocumentationplugin.h" #include "documentation_part.h" -QString DocUtils::noEnvURL(const QString &url) +TQString DocUtils::noEnvURL(const TQString &url) { return KURLCompletion::replacedPath(url, true, true); } KURL DocUtils::noEnvURL(const KURL &url) { - QString replaced = KURLCompletion::replacedPath(url.url(), true, true); + TQString replaced = KURLCompletion::replacedPath(url.url(), true, true); KURL kurl(replaced); kurl.setQuery(url.query()); kurl.setRef(url.ref()); return kurl; } -QString DocUtils::envURL(KURLRequester *req) +TQString DocUtils::envURL(KURLRequester *req) { if (req->lineEdit()) return req->lineEdit()->text(); @@ -57,12 +57,12 @@ QString DocUtils::envURL(KURLRequester *req) } void DocUtils::docItemPopup(DocumentationPart *part, DocumentationItem *docItem, - const QPoint &pos, bool showBookmark, bool showSearch, int titleCol) + const TQPoint &pos, bool showBookmark, bool showSearch, int titleCol) { docItemPopup(part, docItem->text(titleCol), docItem->url(), pos, showBookmark, showSearch); } -void DocUtils::docItemPopup(DocumentationPart *part, IndexItem *docItem, const QPoint &pos, +void DocUtils::docItemPopup(DocumentationPart *part, IndexItem *docItem, const TQPoint &pos, bool showBookmark, bool showSearch) { //FIXME: index item can have more than one url, what to do? @@ -72,8 +72,8 @@ void DocUtils::docItemPopup(DocumentationPart *part, IndexItem *docItem, const Q docItemPopup(part, docItem->text(), url, pos, showBookmark, showSearch); } -void DocUtils::docItemPopup(DocumentationPart *part, const QString &title, const KURL &url, - const QPoint &pos, bool showBookmark, bool showSearch) +void DocUtils::docItemPopup(DocumentationPart *part, const TQString &title, const KURL &url, + const TQPoint &pos, bool showBookmark, bool showSearch) { KPopupMenu menu; menu.insertTitle(i18n("Documentation")); @@ -87,7 +87,7 @@ void DocUtils::docItemPopup(DocumentationPart *part, const QString &title, const if (showSearch) { menu.insertSeparator(); - menu.insertItem(QString("%1: %2").arg(i18n("Search")).arg(KStringHandler::csqueeze(title,20)), 4); + menu.insertItem(TQString("%1: %2").arg(i18n("Search")).arg(KStringHandler::csqueeze(title,20)), 4); } switch (menu.exec(pos)) |