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:24:24 +0900 |
commit | 0a439ac80bdf6ffb9cac104ad3098a321ee0403c (patch) | |
tree | 737edb6e89138f645d20bab7378e1ba90df09863 /kcontrol/samba/kcmsambalog.cpp | |
parent | 0ba4723b7fad260e7bfe1848d0d16329779b090f (diff) | |
download | tdebase-0a439ac80bdf6ffb9cac104ad3098a321ee0403c.tar.gz tdebase-0a439ac80bdf6ffb9cac104ad3098a321ee0403c.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/samba/kcmsambalog.cpp')
-rw-r--r-- | kcontrol/samba/kcmsambalog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/samba/kcmsambalog.cpp b/kcontrol/samba/kcmsambalog.cpp index a2a03fed3..fdb21bb1e 100644 --- a/kcontrol/samba/kcmsambalog.cpp +++ b/kcontrol/samba/kcmsambalog.cpp @@ -90,7 +90,7 @@ LogView::LogView(TQWidget *parent,TDEConfig *config, const char *name) logFileName.setURL("/var/log/samba.log"); - viewHistory.setAllColumnsShowFocus(TRUE); + viewHistory.setAllColumnsShowFocus(true); viewHistory.setFocusPolicy(TQWidget::ClickFocus); viewHistory.setShowSortIndicator(true); @@ -108,10 +108,10 @@ LogView::LogView(TQWidget *parent,TDEConfig *config, const char *name) " If the list is empty, try clicking the \"Update\" button. The samba" " log file will be read and the list refreshed.") ); - showConnOpen.setChecked(TRUE); - showConnClose.setChecked(TRUE); - showFileOpen.setChecked(FALSE); - showFileClose.setChecked(FALSE); + showConnOpen.setChecked(true); + showConnClose.setChecked(true); + showFileOpen.setChecked(false); + showFileClose.setChecked(false); connect(&updateButton,TQ_SIGNAL(clicked()),this,TQ_SLOT(updateList())); emit contentsChanged(&viewHistory,0,0); @@ -132,10 +132,10 @@ void LogView::loadSettings() configFile->setGroup(LOGGROUPNAME); logFileName.setURL(configFile->readPathEntry( "SambaLogFile", "/var/log/samba.log")); - showConnOpen.setChecked(configFile->readBoolEntry( "ShowConnectionOpen", TRUE)); - showConnClose.setChecked(configFile->readBoolEntry( "ShowConnectionClose", FALSE)); - showFileOpen.setChecked(configFile->readBoolEntry( "ShowFileOpen", TRUE)); - showFileClose.setChecked(configFile->readBoolEntry( "ShowFileClose", FALSE)); + showConnOpen.setChecked(configFile->readBoolEntry( "ShowConnectionOpen", true)); + showConnClose.setChecked(configFile->readBoolEntry( "ShowConnectionClose", false)); + showFileOpen.setChecked(configFile->readBoolEntry( "ShowFileOpen", true)); + showFileClose.setChecked(configFile->readBoolEntry( "ShowFileClose", false)); } void LogView::saveSettings() |