diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-25 18:08:57 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-27 10:26:17 +0900 |
| commit | 7f36db4704fe1e47683ecc8e07654b4762edd725 (patch) | |
| tree | efd584e0370eaaf5540ecbd6e588f4012a212900 /kcontrol/samba/kcmsambastatistics.cpp | |
| parent | ecaede25a924ea84ed48a164299a9d96a7976b1f (diff) | |
| download | tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.tar.gz tdebase-7f36db4704fe1e47683ecc8e07654b4762edd725.zip | |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0a439ac80bdf6ffb9cac104ad3098a321ee0403c)
Diffstat (limited to 'kcontrol/samba/kcmsambastatistics.cpp')
| -rw-r--r-- | kcontrol/samba/kcmsambastatistics.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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) { |
