summaryrefslogtreecommitdiffstats
path: root/src/kernel/tqsocketnotifier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/tqsocketnotifier.cpp')
-rw-r--r--src/kernel/tqsocketnotifier.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/tqsocketnotifier.cpp b/src/kernel/tqsocketnotifier.cpp
index 3a3d32a07..e16a35a41 100644
--- a/src/kernel/tqsocketnotifier.cpp
+++ b/src/kernel/tqsocketnotifier.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;
}