From 7f36db4704fe1e47683ecc8e07654b4762edd725 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 25 May 2025 18:08:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit 0a439ac80bdf6ffb9cac104ad3098a321ee0403c) --- kcontrol/samba/kcmsambastatistics.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kcontrol/samba/kcmsambastatistics.cpp') diff --git a/kcontrol/samba/kcmsambastatistics.cpp b/kcontrol/samba/kcmsambastatistics.cpp index faeb54702..650c43a05 100644 --- a/kcontrol/samba/kcmsambastatistics.cpp +++ b/kcontrol/samba/kcmsambastatistics.cpp @@ -59,7 +59,7 @@ StatisticsView::StatisticsView(TQWidget *parent,TDEConfig *config, const char *n expandedInfoCb = new TQCheckBox( i18n( "Show expanded service info" ), this ); expandedUserCb = new TQCheckBox( i18n( "Show expanded host info" ), this ); - viewStatistics->setAllColumnsShowFocus(TRUE); + viewStatistics->setAllColumnsShowFocus(true); viewStatistics->setFocusPolicy(TQWidget::ClickFocus); viewStatistics->setShowSortIndicator(true); @@ -73,8 +73,8 @@ StatisticsView::StatisticsView(TQWidget *parent,TDEConfig *config, const char *n eventCb->insertItem(i18n("Connection")); eventCb->insertItem(i18n("File Access")); - expandedInfoCb->setChecked(FALSE); - expandedUserCb->setChecked(FALSE); + expandedInfoCb->setChecked(false); + expandedUserCb->setChecked(false); clearStatistics(); serviceLe->setText("*"); hostLe->setText("*"); @@ -142,8 +142,8 @@ void StatisticsView::calculate() if ((expandedInfoCb->isChecked()) || (expandedUserCb->isChecked())) { SambaLog sLog; - TQRegExp rService(serviceLe->text(),FALSE,TRUE); - TQRegExp rHost(hostLe->text(),FALSE,TRUE); + TQRegExp rService(serviceLe->text(),false,true); + TQRegExp rHost(hostLe->text(),false,true); TQString item2, item3; TQListViewItem* item=dataList->firstChild(); while (item!=0) @@ -194,8 +194,8 @@ void StatisticsView::calculate() { calcCount++; int count(0); - TQRegExp rService(serviceLe->text(),FALSE,TRUE); - TQRegExp rHost(hostLe->text(),FALSE,TRUE); + TQRegExp rService(serviceLe->text(),false,true); + TQRegExp rHost(hostLe->text(),false,true); TQListViewItem* item=dataList->firstChild(); while (item!=0) { -- cgit v1.2.3