summaryrefslogtreecommitdiffstats
path: root/kbabel/datatools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 12:10:45 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 16:46:41 +0900
commit0821b7f9badc0bb1bf74d8b9040bce6f47997569 (patch)
treeb8f15cd99f25ad3a97d2eb83ba03d914e6567534 /kbabel/datatools
parent7fe83e6a30ffeb074d4e16a507d27439a733f4b3 (diff)
downloadtdesdk-r14.1.4.tar.gz
tdesdk-r14.1.4.zip
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb63dae0e786f0bcf421bdff1d0bef70ba587f8b)
Diffstat (limited to 'kbabel/datatools')
-rw-r--r--kbabel/datatools/accelerators/main.cpp8
-rw-r--r--kbabel/datatools/arguments/main.cpp8
-rw-r--r--kbabel/datatools/context/main.cpp8
-rw-r--r--kbabel/datatools/equations/main.cpp8
-rw-r--r--kbabel/datatools/pluralforms/main.cpp8
-rw-r--r--kbabel/datatools/punctuation/main.cpp8
-rw-r--r--kbabel/datatools/setfuzzy/main.cpp8
-rw-r--r--kbabel/datatools/xml/main.cpp8
8 files changed, 32 insertions, 32 deletions
diff --git a/kbabel/datatools/accelerators/main.cpp b/kbabel/datatools/accelerators/main.cpp
index 0c7cae3a..476bbdfd 100644
--- a/kbabel/datatools/accelerators/main.cpp
+++ b/kbabel/datatools/accelerators/main.cpp
@@ -64,20 +64,20 @@ bool AcceleratorTool::run( const TQString& command, void* data, const TQString&
{
kdDebug(KBABEL) << "Accelerator Tool does only accept the command 'validate'" << endl;
kdDebug(KBABEL) << " The commands " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Check wether we can accept the data
if ( datatype != "CatalogItem" )
{
kdDebug(KBABEL) << "Accelerator Tool only accepts datatype CatalogItem" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "application/x-kbabel-catalogitem" )
{
kdDebug(KBABEL) << "Accelerator Tool only accepts mimetype application/x-kbabel-catalogitem" << endl;
- return FALSE;
+ return false;
}
if( command == "validate" )
@@ -131,7 +131,7 @@ bool AcceleratorTool::run( const TQString& command, void* data, const TQString&
return !hasError;
}
- return FALSE;
+ return false;
}
#include "main.moc"
diff --git a/kbabel/datatools/arguments/main.cpp b/kbabel/datatools/arguments/main.cpp
index b6c3fa5a..66896fbc 100644
--- a/kbabel/datatools/arguments/main.cpp
+++ b/kbabel/datatools/arguments/main.cpp
@@ -63,20 +63,20 @@ bool ArgumentTool::run( const TQString& command, void* data, const TQString& dat
{
kdDebug(KBABEL) << "Argument Tool does only accept the command 'validate' and 'shortcut'" << endl;
kdDebug(KBABEL) << " The commands " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Check wether we can accept the data
if ( datatype != "CatalogItem" )
{
kdDebug(KBABEL) << "Argument Tool only accepts datatype CatalogItem" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "application/x-kbabel-catalogitem" )
{
kdDebug(KBABEL) << "Argument Tool only accepts mimetype application/x-kbabel-catalogitem" << endl;
- return FALSE;
+ return false;
}
if( command == "validate" )
@@ -271,7 +271,7 @@ bool ArgumentTool::run( const TQString& command, void* data, const TQString& dat
return !hasError;
}
- return FALSE;
+ return false;
}
#include "main.moc"
diff --git a/kbabel/datatools/context/main.cpp b/kbabel/datatools/context/main.cpp
index 0fb989d2..109b1084 100644
--- a/kbabel/datatools/context/main.cpp
+++ b/kbabel/datatools/context/main.cpp
@@ -64,20 +64,20 @@ bool ContextTool::run( const TQString& command, void* data, const TQString& data
{
kdDebug(KBABEL) << "Context Tool does only accept the command 'validate' and 'shortcut'" << endl;
kdDebug(KBABEL) << " The commands " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Check wether we can accept the data
if ( datatype != "CatalogItem" )
{
kdDebug(KBABEL) << "Context Tool only accepts datatype CatalogItem" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "application/x-kbabel-catalogitem" )
{
kdDebug(KBABEL) << "Context Tool only accepts mimetype application/x-kbabel-catalogitem" << endl;
- return FALSE;
+ return false;
}
if( command == "validate" )
@@ -109,7 +109,7 @@ bool ContextTool::run( const TQString& command, void* data, const TQString& data
return !hasError;
}
- return FALSE;
+ return false;
}
#include "main.moc"
diff --git a/kbabel/datatools/equations/main.cpp b/kbabel/datatools/equations/main.cpp
index c0dbbba2..895bbd2d 100644
--- a/kbabel/datatools/equations/main.cpp
+++ b/kbabel/datatools/equations/main.cpp
@@ -64,20 +64,20 @@ bool EquationsTool::run( const TQString& command, void* data, const TQString& da
{
kdDebug(KBABEL) << "Equations Tool does only accept the command 'validate' and 'shortcut'" << endl;
kdDebug(KBABEL) << " The commands " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Check wether we can accept the data
if ( datatype != "CatalogItem" )
{
kdDebug(KBABEL) << "Equations Tool only accepts datatype CatalogItem" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "application/x-kbabel-catalogitem" )
{
kdDebug(KBABEL) << "Equations Tool only accepts mimetype application/x-kbabel-catalogitem" << endl;
- return FALSE;
+ return false;
}
if( command == "validate" )
@@ -107,7 +107,7 @@ bool EquationsTool::run( const TQString& command, void* data, const TQString& da
return !hasError;
}
- return FALSE;
+ return false;
}
#include "main.moc"
diff --git a/kbabel/datatools/pluralforms/main.cpp b/kbabel/datatools/pluralforms/main.cpp
index 693a843b..65057631 100644
--- a/kbabel/datatools/pluralforms/main.cpp
+++ b/kbabel/datatools/pluralforms/main.cpp
@@ -65,20 +65,20 @@ bool PluralsTool::run( const TQString& command, void* data, const TQString& data
{
kdDebug(KBABEL) << "Plural Forms Tool does only accept the command 'validate' and 'shortcut'" << endl;
kdDebug(KBABEL) << " The commands " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Check wether we can accept the data
if ( datatype != "CatalogItem" )
{
kdDebug(KBABEL) << "Plural Forms Tool only accepts datatype CatalogItem" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "application/x-kbabel-catalogitem" )
{
kdDebug(KBABEL) << "Plural Forms Tool only accepts mimetype application/x-kbabel-catalogitem" << endl;
- return FALSE;
+ return false;
}
if( command == "validate" )
@@ -123,7 +123,7 @@ bool PluralsTool::run( const TQString& command, void* data, const TQString& data
return !hasError;
}
- return FALSE;
+ return false;
}
#include "main.moc"
diff --git a/kbabel/datatools/punctuation/main.cpp b/kbabel/datatools/punctuation/main.cpp
index 6d779518..7f86e0ce 100644
--- a/kbabel/datatools/punctuation/main.cpp
+++ b/kbabel/datatools/punctuation/main.cpp
@@ -64,20 +64,20 @@ bool PunctuationTool::run( const TQString& command, void* data, const TQString&
{
kdDebug(KBABEL) << "Punctuation Tool does only accept the command 'validate'" << endl;
kdDebug(KBABEL) << " The commands " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Check wether we can accept the data
if ( datatype != "CatalogItem" )
{
kdDebug(KBABEL) << "Punctuation Tool only accepts datatype CatalogItem" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "application/x-kbabel-catalogitem" )
{
kdDebug(KBABEL) << "Punctuation Tool only accepts mimetype application/x-kbabel-catalogitem" << endl;
- return FALSE;
+ return false;
}
if( command == "validate" )
@@ -151,7 +151,7 @@ bool PunctuationTool::run( const TQString& command, void* data, const TQString&
return !hasError;
}
- return FALSE;
+ return false;
}
#include "main.moc"
diff --git a/kbabel/datatools/setfuzzy/main.cpp b/kbabel/datatools/setfuzzy/main.cpp
index 7bc0ed16..8ff83492 100644
--- a/kbabel/datatools/setfuzzy/main.cpp
+++ b/kbabel/datatools/setfuzzy/main.cpp
@@ -60,20 +60,20 @@ bool SetFuzzyTool::run( const TQString& command, void* data, const TQString& dat
{
kdDebug(KBABEL) << "Fuzzy Toggling Tool does only accept the command 'allfuzzy'" << endl;
kdDebug(KBABEL) << " The commands " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Check wether we can accept the data
if ( datatype != "Catalog" )
{
kdDebug(KBABEL) << "Fuzzy Toggling Tool only accepts datatype Catalog" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "application/x-kbabel-catalog" )
{
kdDebug(KBABEL) << "Plural Forms Tool only accepts mimetype application/x-kbabel-catalog" << endl;
- return FALSE;
+ return false;
}
if( command == "allfuzzy" )
@@ -92,7 +92,7 @@ bool SetFuzzyTool::run( const TQString& command, void* data, const TQString& dat
catalog->applyEndCommand(0,Msgstr,0);
}
- return TRUE;
+ return true;
}
#include "main.moc"
diff --git a/kbabel/datatools/xml/main.cpp b/kbabel/datatools/xml/main.cpp
index 59342c0d..07b65c3b 100644
--- a/kbabel/datatools/xml/main.cpp
+++ b/kbabel/datatools/xml/main.cpp
@@ -66,20 +66,20 @@ bool XMLTool::run( const TQString& command, void* data, const TQString& datatype
{
kdDebug(KBABEL) << "XML Tool does only accept the command 'validate' and 'shortcut'" << endl;
kdDebug(KBABEL) << " The commands " << command << " is not accepted" << endl;
- return FALSE;
+ return false;
}
// Check wether we can accept the data
if ( datatype != "CatalogItem" )
{
kdDebug(KBABEL) << "XML Tool only accepts datatype CatalogItem" << endl;
- return FALSE;
+ return false;
}
if ( mimetype != "application/x-kbabel-catalogitem" )
{
kdDebug(KBABEL) << "XML Tool only accepts mimetype application/x-kbabel-catalogitem" << endl;
- return FALSE;
+ return false;
}
if( command == "validate" )
@@ -168,7 +168,7 @@ bool XMLTool::run( const TQString& command, void* data, const TQString& datatype
return !hasError;
}
- return FALSE;
+ return false;
}
bool XMLTool::isFullyCompliant( const TQString& text)