diff options
Diffstat (limited to 'konq-plugins/akregator/akregatorplugin.cpp')
-rw-r--r-- | konq-plugins/akregator/akregatorplugin.cpp | 10 |
1 files changed, 5 insertions, 5 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 { |