summaryrefslogtreecommitdiffstats
path: root/korganizer
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-27 16:55:48 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-29 22:58:05 +0900
commita88d4d648a4ae2d7d7abd23916b49b41c1a867f3 (patch)
tree73aacc657e135ab179010d102fdbd7a0a9edc40d /korganizer
parent409b67ac0559a06dc58da81fc90f0ba959d6068c (diff)
downloadtdepim-a88d4d64.tar.gz
tdepim-a88d4d64.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8f878546e0a859e78dfc2c6ff7f08507347a76ea)
Diffstat (limited to 'korganizer')
-rw-r--r--korganizer/koeditorattachments.cpp4
-rw-r--r--korganizer/printing/calprintpluginbase.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koeditorattachments.cpp b/korganizer/koeditorattachments.cpp
index 669fd636..6bf22137 100644
--- a/korganizer/koeditorattachments.cpp
+++ b/korganizer/koeditorattachments.cpp
@@ -562,7 +562,7 @@ void KOEditorAttachments::handlePasteOrDrop( TQMimeSource* source )
TQMap<TQString,TQString> metadata;
if ( KURLDrag::decode( source, urls, metadata ) ) {
probablyWeHaveUris = true;
- labels = TQStringList::split( ':', metadata["labels"], FALSE );
+ labels = TQStringList::split( ':', metadata["labels"], false );
for ( TQStringList::Iterator it = labels.begin(); it != labels.end(); ++it ) {
*it = KURL::decode_string( (*it).latin1() );
}
@@ -571,7 +571,7 @@ void KOEditorAttachments::handlePasteOrDrop( TQMimeSource* source )
} else if ( TQTextDrag::canDecode( source ) ) {
TQString text;
TQTextDrag::decode( source, text );
- TQStringList lst = TQStringList::split( '\n', text, FALSE );
+ TQStringList lst = TQStringList::split( '\n', text, false );
for ( TQStringList::ConstIterator it = lst.constBegin(); it != lst.constEnd(); ++it ) {
urls.append( *it );
labels.append( TQString() );
diff --git a/korganizer/printing/calprintpluginbase.cpp b/korganizer/printing/calprintpluginbase.cpp
index c094ad84..4aff9a46 100644
--- a/korganizer/printing/calprintpluginbase.cpp
+++ b/korganizer/printing/calprintpluginbase.cpp
@@ -1742,7 +1742,7 @@ void CalPrintPluginBase::drawSplitHeaderRight( TQPainter &p, const TQDate &fd,
p.drawLine(300, lineSpacing * 1, width, lineSpacing * 1);
p.setPen( oldPen );
- p.setFont(TQFont("Times", 20, TQFont::Bold, TRUE));
+ p.setFont(TQFont("Times", 20, TQFont::Bold, true));
int newlineSpacing = p.fontMetrics().lineSpacing();
title += TQString::number(fd.year());
p.drawText( 0, lineSpacing * 1 + 4, width, newlineSpacing,