summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kbalancechartdlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-28 12:43:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-02 09:11:52 +0900
commit8ea77e27d61983f4ca5fe73d627fc000712abe9d (patch)
treecafa43f82df7f4d74ca7af4af92219c52e253a49 /kmymoney2/dialogs/kbalancechartdlg.cpp
parenta88e14ff2d3e94667afef9f7534ac87e14d8ba21 (diff)
downloadkmymoney-8ea77e27d61983f4ca5fe73d627fc000712abe9d.tar.gz
kmymoney-8ea77e27d61983f4ca5fe73d627fc000712abe9d.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmymoney2/dialogs/kbalancechartdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kbalancechartdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/dialogs/kbalancechartdlg.cpp b/kmymoney2/dialogs/kbalancechartdlg.cpp
index 0798edb..29cded1 100644
--- a/kmymoney2/dialogs/kbalancechartdlg.cpp
+++ b/kmymoney2/dialogs/kbalancechartdlg.cpp
@@ -57,8 +57,8 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
{
#ifdef HAVE_KDCHART
setCaption(i18n("Balance of %1").arg(account.name()));
- setSizeGripEnabled( TRUE );
- setModal( TRUE );
+ setSizeGripEnabled( true );
+ setModal( true );
TQVBoxLayout* KBalanceChartDlgLayout = new TQVBoxLayout( this, 11, 6, "KBalanceChartDlgLayout");
@@ -189,7 +189,7 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
TQHBoxLayout* Layout1 = new TQHBoxLayout( KBalanceChartDlgLayout, 6, "Layout1");
#if 0
KPushButton* buttonHelp = new KPushButton( this, "buttonHelp" );
- buttonHelp->setAutoDefault( TRUE );
+ buttonHelp->setAutoDefault( true );
buttonHelp->setText(i18n("&Help"));
Layout1->addWidget( buttonHelp );
#endif
@@ -199,14 +199,14 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
#if 0
KPushButton* buttonOk = new KPushButton( this, "buttonOk" );
- buttonOk->setAutoDefault( TRUE );
- buttonOk->setDefault( TRUE );
+ buttonOk->setAutoDefault( true );
+ buttonOk->setDefault( true );
buttonOk->setText(i18n("&OK"));
Layout1->addWidget( buttonOk );
#endif
KPushButton* buttonClose = new KPushButton( this, "buttonClose" );
- buttonClose->setEnabled( TRUE );
- buttonClose->setAutoDefault( TRUE );
+ buttonClose->setEnabled( true );
+ buttonClose->setAutoDefault( true );
buttonClose->setGuiItem(KStdGuiItem::Close);
Layout1->addWidget( buttonClose );