diff options
Diffstat (limited to 'knewsticker/common/configaccess.cpp')
-rw-r--r-- | knewsticker/common/configaccess.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |