diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-12 01:36:19 +0000 |
commit | 99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch) | |
tree | eff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/stringmatcher.cpp | |
parent | 1c104292188541106338d4940b0f04beeb4301a0 (diff) | |
download | tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip |
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
Diffstat (limited to 'cervisia/stringmatcher.cpp')
-rw-r--r-- | cervisia/stringmatcher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |