summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-05-13 09:38:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-05-15 20:09:38 +0900
commitca275a6386d2ea3b95129ce78695865a3523153b (patch)
tree928f442cdcd715bb0ece379b605cfb4a7ef1c035 /tdeio
parent3afb7eb4e984562dff3addf2c6399c19262497f0 (diff)
downloadtdelibs-ca275a63.tar.gz
tdelibs-ca275a63.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ad58630b34fc61754c763cf951004ef27e38d33d)
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/misc/uiserver.cpp6
-rw-r--r--tdeio/tdefile/images.h22
-rw-r--r--tdeio/tdeio/ktrader.h4
3 files changed, 16 insertions, 16 deletions
diff --git a/tdeio/misc/uiserver.cpp b/tdeio/misc/uiserver.cpp
index 05f11fd06..ff06bc751 100644
--- a/tdeio/misc/uiserver.cpp
+++ b/tdeio/misc/uiserver.cpp
@@ -596,7 +596,7 @@ UIServer::UIServer()
// setup toolbar
toolBar()->insertButton("edit-delete", TOOL_CANCEL,
TQ_SIGNAL(clicked()), this,
- TQ_SLOT(slotCancelCurrent()), FALSE, i18n("Cancel"));
+ TQ_SLOT(slotCancelCurrent()), false, i18n("Cancel"));
toolBar()->insertButton("configure", TOOL_CONFIGURE,
TQ_SIGNAL(clicked()), this,
TQ_SLOT(slotConfigure()), true, i18n("Settings..."));
@@ -1135,11 +1135,11 @@ void UIServer::slotSelection() {
for ( ; it.current(); ++it ) {
if ( it.current()->isSelected() ) {
- toolBar()->setItemEnabled( TOOL_CANCEL, TRUE);
+ toolBar()->setItemEnabled( TOOL_CANCEL, true);
return;
}
}
- toolBar()->setItemEnabled( TOOL_CANCEL, FALSE);
+ toolBar()->setItemEnabled( TOOL_CANCEL, false);
}
// This code is deprecated, slaves go to Observer::openPassDlg now,
diff --git a/tdeio/tdefile/images.h b/tdeio/tdefile/images.h
index 0e9298383..9d60f02bb 100644
--- a/tdeio/tdefile/images.h
+++ b/tdeio/tdefile/images.h
@@ -232,16 +232,16 @@ static struct EmbedImage {
bool alpha;
const char *name;
} embed_image_vec[] = {
- { 16, 16, 32, (const unsigned char*)group_grey_data, 0, 0, TRUE, "group-grey" },
- { 16, 16, 32, (const unsigned char*)group_data, 0, 0, TRUE, "group" },
- { 16, 16, 32, (const unsigned char*)mask_data, 0, 0, TRUE, "mask" },
- { 16, 16, 32, (const unsigned char*)others_grey_data, 0, 0, TRUE, "others-grey" },
- { 16, 16, 32, (const unsigned char*)others_data, 0, 0, TRUE, "others" },
- { 16, 16, 32, (const unsigned char*)user_green_data, 0, 0, TRUE, "user-green" },
- { 16, 16, 32, (const unsigned char*)user_grey_data, 0, 0, TRUE, "user-grey" },
- { 16, 16, 32, (const unsigned char*)user_data, 0, 0, TRUE, "user" },
- { 16, 16, 32, (const unsigned char*)yes_data, 0, 0, TRUE, "yes" },
- { 16, 16, 32, (const unsigned char*)yespartial_data, 0, 0, TRUE, "yespartial" },
+ { 16, 16, 32, (const unsigned char*)group_grey_data, 0, 0, true, "group-grey" },
+ { 16, 16, 32, (const unsigned char*)group_data, 0, 0, true, "group" },
+ { 16, 16, 32, (const unsigned char*)mask_data, 0, 0, true, "mask" },
+ { 16, 16, 32, (const unsigned char*)others_grey_data, 0, 0, true, "others-grey" },
+ { 16, 16, 32, (const unsigned char*)others_data, 0, 0, true, "others" },
+ { 16, 16, 32, (const unsigned char*)user_green_data, 0, 0, true, "user-green" },
+ { 16, 16, 32, (const unsigned char*)user_grey_data, 0, 0, true, "user-grey" },
+ { 16, 16, 32, (const unsigned char*)user_data, 0, 0, true, "user" },
+ { 16, 16, 32, (const unsigned char*)yes_data, 0, 0, true, "yes" },
+ { 16, 16, 32, (const unsigned char*)yespartial_data, 0, 0, true, "yespartial" },
{ 0, 0, 0, 0, 0, 0, 0, 0 }
};
@@ -260,7 +260,7 @@ static const TQImage& qembed_findImage( const TQString& name )
embed_image_vec[i].numColors,
TQImage::BigEndian );
if ( embed_image_vec[i].alpha )
- img->setAlphaBuffer( TRUE );
+ img->setAlphaBuffer( true );
dict.insert( name, img );
break;
}
diff --git a/tdeio/tdeio/ktrader.h b/tdeio/tdeio/ktrader.h
index bcbb2aaa9..8b42a55e8 100644
--- a/tdeio/tdeio/ktrader.h
+++ b/tdeio/tdeio/ktrader.h
@@ -187,7 +187,7 @@ protected:
*
* As elementary atoms of the constraint language, TDETrader supports
* booleans, integers, floats and strings. Boolean literals are
- * @a TRUE and @a FALSE . Integers can be positive or negative,
+ * @a true and @a false . Integers can be positive or negative,
* i.e. @a 42 and @a -10 are legal values. Floating point
* numbers are @a 3.141592535 or @a -999.999 . Scientific notation
* like @a 1.5e-2 is not supported. Character literals are delimited
@@ -254,7 +254,7 @@ protected:
* - <tt>()</tt>
*
* The tilde operator stands for a substring match. For example,
- * <tt>KParts ~ 'KParts/ReadOnlyPart'</tt> is TRUE. The membership
+ * <tt>KParts ~ 'KParts/ReadOnlyPart'</tt> is true. The membership
* operator <tt>in</tt> tests whether a value is in a list. A list is a
* string with semi-colon- or comma-separated entries, depending on the
* type. An example for the membership operator is