diff options
Diffstat (limited to 'src/kernel/tqkeysequence.cpp')
| -rw-r--r-- | src/kernel/tqkeysequence.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/kernel/tqkeysequence.cpp b/src/kernel/tqkeysequence.cpp index 659057784..007bf83be 100644 --- a/src/kernel/tqkeysequence.cpp +++ b/src/kernel/tqkeysequence.cpp @@ -337,8 +337,8 @@ uint TQKeySequence::count() const /*! - Returns TRUE if the key sequence is empty; otherwise returns - FALSE. + Returns true if the key sequence is empty; otherwise returns + false. */ bool TQKeySequence::isEmpty() const { @@ -422,7 +422,7 @@ int TQKeySequence::decodeString( const TQString& str ) if ( sl.contains( (*it).name ) ) { ret |= (*it).qt_key; #ifndef TQT_NO_REGEXP - accel.remove( TQRegExp(TQRegExp::escape((*it).name), FALSE) ); + accel.remove( TQRegExp(TQRegExp::escape((*it).name), false) ); #else accel.remove( (*it).name ); #endif @@ -448,13 +448,13 @@ int TQKeySequence::decodeString( const TQString& str ) } else { // Check through translation table for the correct key name // ...or fall back on english table. - bool found = FALSE; + bool found = false; for ( int tran = 0; tran < 2; tran++ ) { for ( int i = 0; keyname[i].name; i++ ) { if ( tran ? accel == TQAccel::tr(keyname[i].name) : accel == keyname[i].name ) { ret |= keyname[i].key; - found = TRUE; + found = true; break; } } @@ -648,8 +648,8 @@ TQKeySequence &TQKeySequence::operator=( const TQKeySequence & keysequence ) /*! - Returns TRUE if \a keysequence is equal to this key - sequence; otherwise returns FALSE. + Returns true if \a keysequence is equal to this key + sequence; otherwise returns false. */ @@ -663,8 +663,8 @@ bool TQKeySequence::operator==( const TQKeySequence& keysequence ) const /*! - Returns TRUE if \a keysequence is not equal to this key sequence; - otherwise returns FALSE. + Returns true if \a keysequence is not equal to this key sequence; + otherwise returns false. */ bool TQKeySequence::operator!= ( const TQKeySequence& keysequence ) const { |
