Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ
îðèãèíàëüíîãî äîêóìåíòà
: http://rtm-cs.sinp.msu.ru/manual/qt/qdatasink.html
Äàòà èçìåíåíèÿ: Sun Jul 12 02:58:58 1998 Äàòà èíäåêñèðîâàíèÿ: Mon Oct 1 20:16:28 2012 Êîäèðîâêà: |
A QDataSink is an asynchronous consumer of data. More...
#include <qasyncio.h>
Inherits QAsyncIO.
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: QAsyncIO, QDataSource and QDataPump.
[virtual]
This function will be called when no more data is available for processing.
This should be called whenever readyToReceive() might have become non-zero. It is merely calls QAsyncIO::ready() if readyToReceive() is non-zero.
[virtual]
The data sink should return a value indicating how much data it is ready to consume. This may be 0.
[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.
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit, copyright © 1995-98 Troll Tech, all rights reserved.
It was generated from the following files:
Copyright © 1998 Troll Tech | Trademarks | Qt version 1.40
|