summaryrefslogtreecommitdiffstats
path: root/konq-plugins/rellinks
diff options
context:
space:
mode:
Diffstat (limited to 'konq-plugins/rellinks')
-rw-r--r--konq-plugins/rellinks/plugin_rellinks.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/rellinks/plugin_rellinks.cpp b/konq-plugins/rellinks/plugin_rellinks.cpp
index e77e1e3..d3576d7 100644
--- a/konq-plugins/rellinks/plugin_rellinks.cpp
+++ b/konq-plugins/rellinks/plugin_rellinks.cpp
@@ -91,7 +91,7 @@ RelLinksPlugin::RelLinksPlugin(TQObject *tqparent, const char *name, const TQStr
kaction_map["last"]->setWhatsThis( i18n("<p>This link references the end of a sequence of documents.</p>") );
// ------------ special items --------------------------
- kaction_map["search"] = new KAction( i18n("&Search"), "filetqfind", KShortcut("Ctrl+Alt+S"), this, TQT_SLOT(goSearch()), actionCollection(), "rellinks_search" );
+ kaction_map["search"] = new KAction( i18n("&Search"), "filefind", KShortcut("Ctrl+Alt+S"), this, TQT_SLOT(goSearch()), actionCollection(), "rellinks_search" );
kaction_map["search"]->setWhatsThis( i18n("<p>This link references the search.</p>") );
// ------------ Document structure links ---------------
@@ -310,7 +310,7 @@ void RelLinksPlugin::updateToolbar() {
// escape ampersand before settings as action title, otherwise the menu entry will interpret it as an
// accelerator
- title.tqreplace('&', "&&");
+ title.replace('&', "&&");
// -- Menus activation --
@@ -561,7 +561,7 @@ void RelLinksPlugin::disableAll() {
TQString RelLinksPlugin::getLinkType(const TQString &lrel) {
// Relations to ignore...
- if (lrel.tqcontains("stylesheet")
+ if (lrel.contains("stylesheet")
|| lrel == "script"
|| lrel == "icon"
|| lrel == "shortcut icon"
@@ -583,7 +583,7 @@ TQString RelLinksPlugin::getLinkType(const TQString &lrel) {
return "last";
if (lrel == "toc")
return "contents";
- if (lrel == "tqfind")
+ if (lrel == "find")
return "search";
if (lrel == "alternative stylesheet")
return "alternate stylesheet";