diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-13 09:38:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-15 18:46:42 +0900 |
commit | ad58630b34fc61754c763cf951004ef27e38d33d (patch) | |
tree | 168cf1d101c4583c84d02c116cd305763118277b /tdeio/misc/uiserver.cpp | |
parent | bedc43ef09d9569fb7643849e8f24dd46c379eba (diff) | |
download | tdelibs-ad58630b34fc61754c763cf951004ef27e38d33d.tar.gz tdelibs-ad58630b34fc61754c763cf951004ef27e38d33d.zip |
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeio/misc/uiserver.cpp')
-rw-r--r-- | tdeio/misc/uiserver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeio/misc/uiserver.cpp b/tdeio/misc/uiserver.cpp index 7a6241299..59d436c35 100644 --- a/tdeio/misc/uiserver.cpp +++ b/tdeio/misc/uiserver.cpp @@ -596,7 +596,7 @@ UIServer::UIServer() // setup toolbar toolBar()->insertButton("edit-delete", TOOL_CANCEL, TQ_SIGNAL(clicked()), this, - TQ_SLOT(slotCancelCurrent()), FALSE, i18n("Cancel")); + TQ_SLOT(slotCancelCurrent()), false, i18n("Cancel")); toolBar()->insertButton("configure", TOOL_CONFIGURE, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotConfigure()), true, i18n("Settings...")); @@ -1135,11 +1135,11 @@ void UIServer::slotSelection() { for ( ; it.current(); ++it ) { if ( it.current()->isSelected() ) { - toolBar()->setItemEnabled( TOOL_CANCEL, TRUE); + toolBar()->setItemEnabled( TOOL_CANCEL, true); return; } } - toolBar()->setItemEnabled( TOOL_CANCEL, FALSE); + toolBar()->setItemEnabled( TOOL_CANCEL, false); } // This code is deprecated, slaves go to Observer::openPassDlg now, |