From d796c9dd933ab96ec83b9a634feedd5d32e1ba3f Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 8 Nov 2011 12:31:36 -0600 Subject: Test conversion to TQt3 from Qt3 8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 --- doc/html/qdatasink.html | 93 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 doc/html/qdatasink.html (limited to 'doc/html/qdatasink.html') diff --git a/doc/html/qdatasink.html b/doc/html/qdatasink.html new file mode 100644 index 000000000..3ff7aefdb --- /dev/null +++ b/doc/html/qdatasink.html @@ -0,0 +1,93 @@ + + + + + +TQDataSink Class + + + + + + + +
+ +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

TQDataSink Class Reference
[obsolete]

+ +

The TQDataSink class is an asynchronous consumer of data. +More... +

#include <qasyncio.h> +

Inherits TQAsyncIO. +

List of all member functions. +

Public Members

+ +

Detailed Description

+ + +This class is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

The TQDataSink class is an asynchronous consumer of data. +

A data sink is an object which receives data from some source in an +asynchronous manner. This means that at some time not determined by +the data sink, blocks of data are given to it from processing. The +data sink is able to limit the maximum size of such blocks which it +is currently able to process. +

See also TQAsyncIO, TQDataSource, and TQDataPump. + +


Member Function Documentation

+

void TQDataSink::eof () [pure virtual] +

+ +

This function will be called when no more data is available for +processing. + +

void TQDataSink::maybeReady () +

+This should be called whenever readyToReceive() might have become non-zero. +It is merely calls TQAsyncIO::ready() if readyToReceive() is non-zero. + +

int TQDataSink::readyToReceive () [pure virtual] +

+ +

The data sink should return a value indicating how much data it is ready +to consume. This may be 0. + +

void TQDataSink::receive ( const uchar *, int count ) [pure virtual] +

+ +

This function is called to provide data for the data sink. The count +will be no more than the amount indicated by the most recent call to +readyToReceive(). The sink must use all the provided data. + + +


+This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


+ +
Copyright © 2007 +TrolltechTrademarks +
TQt 3.3.8
+
+ -- cgit v1.2.1