Homepage > Man Pages > Category > Subroutines
Homepage > Man Pages > Name > Q

qnpstream

man page of qnpstream

qnpstream: Stream of data provided to a QNPInstance by the browser

NAME
QNPStream - Stream of data provided to a QNPInstance by the browser
SYNOPSIS
This class is part of the Qt Netscape Extension. #include <qnp.h> Public Members ~QNPStream () const char * url () const uint end () const uint lastModified () const const char * type () const bool seekable () const bool okay () const bool complete () const void requestRead ( int offset, uint length ) int write ( int len, void * buffer ) QNPInstance * instance () QNPStream ( QNPInstance * in, const char * mt, _NPStream * st, bool se )

DESCRIPTION

This class is defined in the Qt Netscape Extension, which can be found in the qt/extensions directory. It is not included in the main Qt API. The QNPStream class provides a stream of data provided to a QNPInstance by the browser. Note that this is neither a QTextStream nor a QDataStream. See also QNPInstance::write() and QNPInstance::newStreamCreated().

MEMBER FUNCTION DOCUMENTATION

QNPSTREAM::QNPSTREAM ( QNPINSTANCE * IN, CONST CHAR * MT, _NPSTREAM * ST, BOOL

se ) Creates a stream. Plugins should not call this; they should call QNPInstance::newStream() if they need a stream. Takes a QNPInstance in, MIME type mt, a pointer to an _NPStream st and a seekable flag se.

QNPSTREAM::~QNPSTREAM ()

Destroys the stream.
BOOL QNPSTREAM::COMPLETE () CONST
Returns TRUE if the stream has received all the data from the source; otherwise returns FALSE.
UINT QNPSTREAM::END () CONST
Returns the length of the stream in bytes. The function might return 0 for streams of unknown length.

QNPINSTANCE * QNPSTREAM::INSTANCE ()

Returns the QNPInstance for which this stream was created.

UINT QNPSTREAM::LASTMODIFIED () CONST

Returns the time when the source of the stream was last modified.

BOOL QNPSTREAM::OKAY () CONST

Returns TRUE if no errors have occurred on the stream; otherwise returns FALSE.

VOID QNPSTREAM::REQUESTREAD ( INT OFFSET, UINT LENGTH )

Requests the section of the stream, of length bytes from offset, be sent to the QNPInstance::write() function of the instance() of this stream.
BOOL QNPSTREAM::SEEKABLE () CONST
Returns TRUE if the stream is seekable; otherwise returns FALSE.
CONST CHAR * QNPSTREAM::TYPE () CONST
Returns the MIME type of the stream.

CONST CHAR * QNPSTREAM::URL () CONST

Returns the URL from which the stream was created.

INT QNPSTREAM::WRITE ( INT LEN, VOID * BUFFER )

Writes len bytes from buffer to the stream.

SEE ALSO

//doc.trolltech.com/qnpstream.html //www.trolltech.com/faq/tech.html

COPYRIGHT

Copyright 1992-2007 Trolltech ASA, //www.trolltech.com. See the license file included in the distribution for a complete license statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in //doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. If you find errors in this manual page, please report them to qt- bugs@trolltech.com. Please include the name of the manual page (qnpstream.3qt) and the Qt version (3.3.8). QNPSTREAM(3)
 
 
 

Copyright © 2011–2018 by topics-of-interest.com . All rights reserved. Hosted by all-inkl.
Contact · Imprint · Privacy

Page generated in 36.18ms.

brieftaubenversteigerung.com | www.daelim-forum.com | get-ip.de