summaryrefslogtreecommitdiffstats
path: root/keduca
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-07 18:23:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-07 23:24:46 +0900
commitfd06779f93512aa68988b165260941e6d3f1ff0f (patch)
treebb06d03e494a97eae182a18562677e2e5b17bed5 /keduca
parentf1a4e21e9735931cfb58943bb1a3da4353e14302 (diff)
downloadtdeedu-r14.1.4.tar.gz
tdeedu-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 35149ce0bd6a7e9a315a395291ed4b59499b63cf)
Diffstat (limited to 'keduca')
-rw-r--r--keduca/keduca/keduca.cpp2
-rw-r--r--keduca/keduca/kquestion.cpp2
-rw-r--r--keduca/keducabuilder/kcontrolheader.cpp4
-rw-r--r--keduca/keducabuilder/keducabuilder.cpp2
-rw-r--r--keduca/keducabuilder/keducaeditorstartdialog.h2
5 files changed, 6 insertions, 6 deletions
diff --git a/keduca/keduca/keduca.cpp b/keduca/keduca/keduca.cpp
index 06d617a4..f087572d 100644
--- a/keduca/keduca/keduca.cpp
+++ b/keduca/keduca/keduca.cpp
@@ -92,7 +92,7 @@ void Keduca::slotFileOpenURL( const KURL &url )
bool Keduca::queryClose()
{
configWrite();
- return( TRUE );
+ return( true );
}
void Keduca::configRead()
diff --git a/keduca/keduca/kquestion.cpp b/keduca/keduca/kquestion.cpp
index 83b19467..aa5ff7f4 100644
--- a/keduca/keduca/kquestion.cpp
+++ b/keduca/keduca/kquestion.cpp
@@ -47,7 +47,7 @@ void KQuestion::initGUI()
TQVBox *picBox = new TQVBox( this );
_picture = new TQLabel( picBox, "PixmapLabel1" );
- _picture->setScaledContents( FALSE );
+ _picture->setScaledContents( false );
_picture->setPalette( TQPalette( TQt::white ) );
_countdownWidget = new KProgress( picBox );
diff --git a/keduca/keducabuilder/kcontrolheader.cpp b/keduca/keducabuilder/kcontrolheader.cpp
index 2f8bd341..cb05b9e9 100644
--- a/keduca/keducabuilder/kcontrolheader.cpp
+++ b/keduca/keducabuilder/kcontrolheader.cpp
@@ -103,7 +103,7 @@ void KControlHeader::init()
Layout12->setSpacing( 6 );
Layout12->setMargin( 0 );
- _headerType = new KComboBox( FALSE, GroupBox7, "_headerType" );
+ _headerType = new KComboBox( false, GroupBox7, "_headerType" );
Layout12->addWidget( _headerType );
TQLabel *TextLabel11 = new TQLabel( GroupBox7, "TextLabel11" );
@@ -111,7 +111,7 @@ void KControlHeader::init()
TextLabel11->setAlignment( int( TQLabel::AlignVCenter | TQLabel::AlignRight ) );
Layout12->addWidget( TextLabel11 );
- _headerLevel = new KComboBox( FALSE, GroupBox7, "_headerLevel" );
+ _headerLevel = new KComboBox( false, GroupBox7, "_headerLevel" );
Layout12->addWidget( _headerLevel );
Layout13->addLayout( Layout12, 2, 1 );
diff --git a/keduca/keducabuilder/keducabuilder.cpp b/keduca/keducabuilder/keducabuilder.cpp
index 361045d5..d7d1edf4 100644
--- a/keduca/keducabuilder/keducabuilder.cpp
+++ b/keduca/keducabuilder/keducabuilder.cpp
@@ -312,7 +312,7 @@ bool KEducaBuilder::queryClose ()
return false;
}
configWrite();
- return( TRUE );
+ return( true );
}
/** Add question */
diff --git a/keduca/keducabuilder/keducaeditorstartdialog.h b/keduca/keducabuilder/keducaeditorstartdialog.h
index 06d51a5c..cce39e44 100644
--- a/keduca/keducabuilder/keducaeditorstartdialog.h
+++ b/keduca/keducabuilder/keducaeditorstartdialog.h
@@ -36,7 +36,7 @@ public:
enum {Rejected=0, OpenDoc=1, OpenRecentDoc=2, Gallery=3, NewDoc=4}StartChoice;
/** Constructor.
*/
- KEducaEditorStartDialog(KEducaBuilder * parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ KEducaEditorStartDialog(KEducaBuilder * parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 );
/** Destructor.
*/
virtual ~KEducaEditorStartDialog();