diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 627b091fad9df13695f249588e8a58f524eda0fa (patch) | |
tree | 98ff502a8743af48d8b88996e9a494fec4110586 /konq-plugins/akregator | |
parent | f6e9c8d694be3d1df338b385125e13db41af0b1f (diff) | |
download | tdeaddons-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/akregator')
-rw-r--r-- | konq-plugins/akregator/akregatorplugin.cpp | 10 | ||||
-rw-r--r-- | konq-plugins/akregator/konqfeedicon.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/konq-plugins/akregator/akregatorplugin.cpp b/konq-plugins/akregator/akregatorplugin.cpp index 4402cd4..684bc20 100644 --- a/konq-plugins/akregator/akregatorplugin.cpp +++ b/konq-plugins/akregator/akregatorplugin.cpp @@ -103,16 +103,16 @@ AkregatorMenu::~AkregatorMenu() bool AkregatorMenu::isFeedUrl(const TQString &url) { - if (url.tqcontains(".htm", false) != 0) return false; - if (url.tqcontains("rss", false) != 0) return true; - if (url.tqcontains("rdf", false) != 0) return true; - if (url.tqcontains("xml", false) != 0) return true; + if (url.contains(".htm", false) != 0) return false; + if (url.contains("rss", false) != 0) return true; + if (url.contains("rdf", false) != 0) return true; + if (url.contains("xml", false) != 0) return true; return false; } bool AkregatorMenu::isFeedUrl(const KFileItem * item) { - if ( m_feedMimeTypes.tqcontains( item->mimetype() ) ) + if ( m_feedMimeTypes.contains( item->mimetype() ) ) return true; else { diff --git a/konq-plugins/akregator/konqfeedicon.cpp b/konq-plugins/akregator/konqfeedicon.cpp index a1b993e..f8cedbd 100644 --- a/konq-plugins/akregator/konqfeedicon.cpp +++ b/konq-plugins/akregator/konqfeedicon.cpp @@ -110,7 +110,7 @@ bool KonqFeedIcon::feedFound() for (unsigned int j = 0; j < node.attributes().length(); j++) { doc += node.attributes().item(j).nodeName().string() + "=\""; - doc += TQStyleSheet::escape(node.attributes().item(j).nodeValue().string()).tqreplace("\"", """); + doc += TQStyleSheet::escape(node.attributes().item(j).nodeValue().string()).replace("\"", """); doc += "\" "; } doc += "/>"; |