summaryrefslogtreecommitdiffstats
path: root/kbabel
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel')
-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
-rw-r--r--kbabel/kbabel/mymultilineedit.h2
-rw-r--r--kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp4
10 files changed, 35 insertions, 35 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)
diff --git a/kbabel/kbabel/mymultilineedit.h b/kbabel/kbabel/mymultilineedit.h
index 1c27d264..2fac95af 100644
--- a/kbabel/kbabel/mymultilineedit.h
+++ b/kbabel/kbabel/mymultilineedit.h
@@ -155,7 +155,7 @@ protected:
bool _dontUpdate;
protected slots:
- virtual void insert ( const TQString & text, bool indent = FALSE, bool checkNewLine = TRUE, bool removeSelected = TRUE );
+ virtual void insert ( const TQString & text, bool indent = false, bool checkNewLine = true, bool removeSelected = true );
virtual void emitCursorPosition();
signals:
diff --git a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
index 7280bbbd..80be8f86 100644
--- a/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
+++ b/kbabel/kbabeldict/modules/dbsearchengine/KDBSearchEngine.cpp
@@ -91,8 +91,8 @@ SearchEngine (parent, name)
searching = false;
stopNow = false;
- norm = false; // Normalize white space = FALSE
- comm = true; // Remove Comments = TRUE
+ norm = false; // Normalize white space = false
+ comm = true; // Remove Comments = true
}