From 937b2991d8e78166eea904c80ad04d34607017a4 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knewsticker/common/configaccess.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'knewsticker/common') diff --git a/knewsticker/common/configaccess.cpp b/knewsticker/common/configaccess.cpp index 40e304fb..5fc86dcc 100644 --- a/knewsticker/common/configaccess.cpp +++ b/knewsticker/common/configaccess.cpp @@ -379,9 +379,9 @@ bool ArticleFilter::matches(Article::Ptr a) const bool matches; if (condition() == i18n("contain")) - matches = a->headline().tqcontains(expression()); + matches = a->headline().contains(expression()); else if (condition() == i18n("do not contain")) - matches = !a->headline().tqcontains(expression()); + matches = !a->headline().contains(expression()); else if (condition() == i18n("equal")) matches = (a->headline() == expression()); else if (condition() == i18n("do not equal")) @@ -594,7 +594,7 @@ NewsSourceBase *ConfigAccess::newsSource(const TQString &newsSource) nsd = NewsSourceDefault[i]; if (nsd.enabled) nsd.enabled = (nsd.language == TQString::tqfromLatin1("C") || - KGlobal::locale()->languageList().tqcontains(nsd.language)); + KGlobal::locale()->languageList().contains(nsd.language)); break; } -- cgit v1.2.1