From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqdatasource.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/tqdatasource.html') diff --git a/doc/html/tqdatasource.html b/doc/html/tqdatasource.html index f31e7832f..a94e7ac51 100644 --- a/doc/html/tqdatasource.html +++ b/doc/html/tqdatasource.html @@ -60,14 +60,14 @@ it is currently able to provide.

Member Function Documentation

void TQDataSource::enableRewind ( bool on ) [virtual]

-If this function is called with on set to TRUE, and rewindable() -is TRUE, then the data source must take measures to allow the rewind() -function to subsequently operate as described. If rewindable() is FALSE, +If this function is called with on set to true, and rewindable() +is true, then the data source must take measures to allow the rewind() +function to subsequently operate as described. If rewindable() is false, the function should call TQDataSource::enableRewind(), which aborts with a tqFatal() error.

For example, a network connection may choose to use a disk cache of input only if rewinding is enabled before the first buffer-full of -data is discarded, returning FALSE in rewindable() if that first buffer +data is discarded, returning false in rewindable() if that first buffer is discarded.

Reimplemented in TQIODeviceSource. @@ -87,13 +87,13 @@ able to provide any more data (until after a rewind()), it

void TQDataSource::rewind () [virtual]

This function rewinds the data source. This may only be called if -enableRewind(TRUE) has been previously called. +enableRewind(true) has been previously called.

Reimplemented in TQIODeviceSource.

bool TQDataSource::rewindable () const [virtual]

-This function should return TRUE if the data source can be rewound. -

The default returns FALSE. +This function should return true if the data source can be rewound. +

The default returns false.

Reimplemented in TQIODeviceSource.

void TQDataSource::sendTo ( TQDataSink *, int count ) [pure virtual] -- cgit v1.2.3