summaryrefslogtreecommitdiffstats
path: root/src/kernel/qsocketnotifier.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-12-08 15:17:51 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-12-14 17:51:59 +0900
commit3a477fb70884668d163f6631a73c8ab894928bcc (patch)
tree0ac0327df978cf22b7a1f495f0649591bb39ed2a /src/kernel/qsocketnotifier.cpp
parente4085a83c143eb366d0364596297b322476cc652 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 8r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7d612f7c91d55501276a385a30dbadb121e7bd9f)
Diffstat (limited to 'src/kernel/qsocketnotifier.cpp')
-rw-r--r--src/kernel/qsocketnotifier.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/qsocketnotifier.cpp b/src/kernel/qsocketnotifier.cpp
index b89a512ed..e1b645b61 100644
--- a/src/kernel/qsocketnotifier.cpp
+++ b/src/kernel/qsocketnotifier.cpp
@@ -154,7 +154,7 @@ TQSocketNotifier::TQSocketNotifier( int socket, Type type, TQObject *parent,
#endif
sockfd = socket;
sntype = type;
- snenabled = TRUE;
+ snenabled = true;
TQApplication::eventLoop()->registerSocketNotifier( this );
}
@@ -164,7 +164,7 @@ TQSocketNotifier::TQSocketNotifier( int socket, Type type, TQObject *parent,
TQSocketNotifier::~TQSocketNotifier()
{
- setEnabled( FALSE );
+ setEnabled( false );
}
@@ -208,14 +208,14 @@ TQSocketNotifier::~TQSocketNotifier()
/*!
\fn bool TQSocketNotifier::isEnabled() const
- Returns TRUE if the notifier is enabled; otherwise returns FALSE.
+ Returns true if the notifier is enabled; otherwise returns false.
\sa setEnabled()
*/
/*!
- Enables the notifier if \a enable is TRUE or disables it if \a
- enable is FALSE.
+ Enables the notifier if \a enable is true or disables it if \a
+ enable is false.
The notifier is enabled by default.
@@ -259,7 +259,7 @@ bool TQSocketNotifier::event( TQEvent *e )
TQObject::event( e ); // will activate filters
if ( e->type() == TQEvent::SockAct ) {
emit activated( sockfd );
- return TRUE;
+ return true;
}
- return FALSE;
+ return false;
}