From dfb7562b7e607f0ae077a6a436966203029df56d Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- indexlib/match.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'indexlib/match.cpp') diff --git a/indexlib/match.cpp b/indexlib/match.cpp index 3a56c28d8..ce2c5cff5 100644 --- a/indexlib/match.cpp +++ b/indexlib/match.cpp @@ -47,17 +47,17 @@ namespace { } indexlib::Match::Match( std::string str, unsigned flags ): - tqmasks_( 256 ), + masks_( 256 ), caseinsensitive_( flags & caseinsensitive ), pattern_rest_( str, kMin( str.size(), sizeof( unsigned ) * 8 - 1 ) ) { hot_bit_ = kMin( str.size(), sizeof( unsigned ) * 8 - 1 ); for ( unsigned i = 0; i != hot_bit_; ++i ) { if ( caseinsensitive_ ) { - setbit( tqmasks_[ ( unsigned char )std::toupper( str[ i ] ) ], i ); - setbit( tqmasks_[ ( unsigned char )std::tolower( str[ i ] ) ], i ); + setbit( masks_[ ( unsigned char )std::toupper( str[ i ] ) ], i ); + setbit( masks_[ ( unsigned char )std::tolower( str[ i ] ) ], i ); } else { - setbit( tqmasks_[ ( unsigned char )str[ i ] ], i ); + setbit( masks_[ ( unsigned char )str[ i ] ], i ); } } } @@ -69,7 +69,7 @@ bool indexlib::Match::process( const char* string ) const { unsigned state = 0; while ( *string ) { state |= 1; - state &= tqmasks_[ ( unsigned char )*string ]; + state &= masks_[ ( unsigned char )*string ]; state <<= 1; ++string; if ( getbit( state, hot_bit_ ) && ( pattern_rest_ == std::string( string, pattern_rest_.size() ) ) ) return true; -- cgit v1.2.1