From 99a2774ca6f1cab334de5d43fe36fc44ae889a4c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 12 Jun 2011 01:36:19 +0000 Subject: TQt4 convert kdesdk This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- cervisia/stringmatcher.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cervisia/stringmatcher.cpp') diff --git a/cervisia/stringmatcher.cpp b/cervisia/stringmatcher.cpp index 6e70a6e0..189ee925 100644 --- a/cervisia/stringmatcher.cpp +++ b/cervisia/stringmatcher.cpp @@ -43,7 +43,7 @@ namespace bool StringMatcher::match(const TQString& text) const { - if (m_exactPatterns.find(text) != m_exactPatterns.end()) + if (m_exactPatterns.tqfind(text) != m_exactPatterns.end()) { return true; } @@ -133,7 +133,7 @@ unsigned int countMetaCharacters(const TQString& text) { unsigned int count(0); - const TQChar* pos(text.unicode()); + const TQChar* pos(text.tqunicode()); const TQChar* posEnd(pos + text.length()); while (pos < posEnd) { -- cgit v1.2.3