From c843d9d7e3d7631b30fe3fc8cf166ea341262a17 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 28 Mar 2025 19:54:40 +0900 Subject: Replace TRUE/FALSE with boolean values true/false Signed-off-by: Michele Calgaro (cherry picked from commit 54ee84e58edeaf67efb666d8f7d4242a11e89fc6) --- src/ui_netparamsedit.h | 2 +- src/ui_netparamswizard.h | 2 +- src/watools.cpp | 2 +- src/wlassistant.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src') diff --git a/src/ui_netparamsedit.h b/src/ui_netparamsedit.h index 972b627..a64ac33 100644 --- a/src/ui_netparamsedit.h +++ b/src/ui_netparamsedit.h @@ -31,7 +31,7 @@ class ui_NetParamsEdit : public netProperties public: - ui_NetParamsEdit(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ui_NetParamsEdit(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~ui_NetParamsEdit(); /*$PUBLIC_FUNCTIONS$*/ //void setWepEnabled( bool w ); diff --git a/src/ui_netparamswizard.h b/src/ui_netparamswizard.h index 239e0fc..1e343b6 100644 --- a/src/ui_netparamswizard.h +++ b/src/ui_netparamswizard.h @@ -33,7 +33,7 @@ class ui_NetParamsWizard : public NetParamsWizard public: - ui_NetParamsWizard(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + ui_NetParamsWizard(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~ui_NetParamsWizard(); /*$PUBLIC_FUNCTIONS$*/ void setWepEnabled( bool w ); diff --git a/src/watools.cpp b/src/watools.cpp index 252c791..9ae5a20 100644 --- a/src/watools.cpp +++ b/src/watools.cpp @@ -97,7 +97,7 @@ int WATools::rxpackets( const char* _ifname ) ///returns number of packets recei ////////////////////// ///// WIRELESS EXTENSIONS CALLS -bool WATools::isWireless( const char* _ifname ) /// returns TRUE if the specified interface supports Wireless Extensions +bool WATools::isWireless( const char* _ifname ) /// returns true if the specified interface supports Wireless Extensions { static iwreq req; memset( &req, 0, sizeof(req) ); diff --git a/src/wlassistant.h b/src/wlassistant.h index 0bb3497..7e25ca8 100644 --- a/src/wlassistant.h +++ b/src/wlassistant.h @@ -42,7 +42,7 @@ class WirelessAssistant : public mainWindow public: /*$PUBLIC_FUNCTIONS$*/ - WirelessAssistant(TQWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); + WirelessAssistant(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags fl = 0 ); ~WirelessAssistant(); static TQString getVal(const TQString & str, const TQString & rxs); -- cgit v1.2.3