summaryrefslogtreecommitdiffstats
path: root/pytqlupdate3/fetchtr.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:24:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-04 13:40:15 +0900
commit6cbdd25dc4c6b0987636b37b2046b1b9464e3d60 (patch)
tree9d9cf23f242f2da29a51808d0ff40964bf787ccb /pytqlupdate3/fetchtr.cpp
parentf1918cc46e3124a613c6f724562b2e903f436f43 (diff)
downloadpytqt-6cbdd25dc4c6b0987636b37b2046b1b9464e3d60.tar.gz
pytqt-6cbdd25dc4c6b0987636b37b2046b1b9464e3d60.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'pytqlupdate3/fetchtr.cpp')
-rw-r--r--pytqlupdate3/fetchtr.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/pytqlupdate3/fetchtr.cpp b/pytqlupdate3/fetchtr.cpp
index 0127394..9c66a2f 100644
--- a/pytqlupdate3/fetchtr.cpp
+++ b/pytqlupdate3/fetchtr.cpp
@@ -332,9 +332,9 @@ static bool matchEncoding( bool *utf8 )
}
*utf8 = TQString( yyIdent ).endsWith( TQString("UTF8") );
yyTok = getToken();
- return TRUE;
+ return true;
} else {
- return FALSE;
+ return false;
}
}
@@ -347,7 +347,7 @@ static void parse( MetaTranslator *tor, const char *initialContext,
TQCString com;
TQCString functionContext = initialContext;
TQCString prefix;
- bool utf8 = FALSE;
+ bool utf8 = false;
yyTok = getToken();
while ( yyTok != Tok_Eof ) {
@@ -382,7 +382,7 @@ static void parse( MetaTranslator *tor, const char *initialContext,
}
break;
case Tok_translate:
- utf8 = FALSE;
+ utf8 = false;
yyTok = getToken();
if ( match(Tok_LeftParen) &&
matchString(&context) &&
@@ -420,7 +420,7 @@ static void parse( MetaTranslator *tor, const char *initialContext,
context = com.left( k );
com.remove( 0, k + 1 );
tor->insert( MetaTranslatorMessage(context, "", com,
- TQString::null, FALSE) );
+ TQString::null, false) );
}
}
yyTok = getToken();