summaryrefslogtreecommitdiffstats
path: root/konq-plugins/rellinks/plugin_rellinks.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit627b091fad9df13695f249588e8a58f524eda0fa (patch)
tree98ff502a8743af48d8b88996e9a494fec4110586 /konq-plugins/rellinks/plugin_rellinks.cpp
parentf6e9c8d694be3d1df338b385125e13db41af0b1f (diff)
downloadtdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.tar.gz
tdeaddons-627b091fad9df13695f249588e8a58f524eda0fa.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konq-plugins/rellinks/plugin_rellinks.cpp')
-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";