⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qnpstream.3qt

📁 Qt/Embedded是一个多平台的C++图形用户界面应用程序框架
💻 3QT
字号:
.TH QNPStream 3qt "3 September 2000" "Trolltech AS" \" -*- nroff -*-.\" Copyright 1992-2000 Trolltech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQNPStream \- A stream of data provided to a QNPInstance by the browser [Qt NSPlugin Extension].SH SYNOPSIS.br.PP\fC#include <qnp.h>\fR.PP.SS "Public Members".in +1c.ti -1c.BI "\fB~QNPStream\fR () ".br.ti -1c.BI "const char* \fBurl\fR () const".br.ti -1c.BI "uint \fBend\fR () const".br.ti -1c.BI "uint \fBlastModified\fR () const".br.ti -1c.BI "const char* \fBtype\fR () const".br.ti -1c.BI "bool \fBseekable\fR () const".br.ti -1c.BI "bool \fBokay\fR () const".br.ti -1c.BI "bool \fBcomplete\fR () const".br.ti -1c.BI "void \fBrequestRead\fR ( int " "offset" ", uint length ) ".br.ti -1c.BI "int \fBwrite\fR ( int " "len" ", void * buffer ) ".br.ti -1c.BI "QNPInstance* \fBinstance\fR () ".br.ti -1c.BI "\fBQNPStream\fR ( QNPInstance *, const char *, _NPStream *, bool ) ".br.ti -1c.BI "void \fBsetOkay\fR ( bool ) (internal)".br.ti -1c.BI "void \fBsetComplete\fR ( bool ) (internal)".br.in -1c.SH DESCRIPTIONThis class is defined in the \fBQt NSPlugin Extension\fR, which can be found in the \fCqt/extensions\fR directory. It is not included in the main Qt API..PPA stream of data provided to a QNPInstance by the browser..PPNote that this is neither a QTextStream or a QDataStream..PPSee also QNPInstance::write() and QNPInstance::newStreamCreated()..PPExamples:.(lqtimage/qtimage.cpp grapher/grapher.cpp.)l.SH MEMBER FUNCTION DOCUMENTATION.SH "QNPStream::QNPStream ( QNPInstance * in,const char * mt, _NPStream * st, bool se )"Creates a stream. Plugins should not call this, but rather QNPInstance::newStream() if a stream is required..SH "QNPStream::~QNPStream ()"Destroys the stream..SH "bool QNPStream::complete () const"Returns TRUE if the stream has received all the data from the source..SH "uint QNPStream::end () const"Returns the length of the stream (???)..SH "QNPInstance* QNPStream::instance ()"Returns the QNPInstance for which this stream was created..SH "uint QNPStream::lastModified () const"Returns the time when the source of the stream was last modified..SH "bool QNPStream::okay () const"Returns TRUE if no errors have occurred on the stream..SH "void QNPStream::requestRead ( int offset, uint length )"Requests the given section of the stream be sent to the QNPInstance::write() function of the instance() of this stream..SH "bool QNPStream::seekable () const"Returns TRUE if the stream is seekable..SH "const char* QNPStream::type () const"Returns the MIME type of the stream..SH "const char* QNPStream::url () const"Returns the URL from which the stream was created..SH "int QNPStream::write ( int len, void * buffer )"Writes data \fIto\fR the stream..SH "void QNPStream::setComplete ( bool y )"For internal use only..SH "void QNPStream::setOkay ( bool y )"For internal use only..SH "SEE ALSO".BR http://doc.trolltech.com/qnpstream.html.SH COPYRIGHTCopyright 1992-2000 Trolltech AS, http://www.trolltech.com/.  See thelicense file included in the distribution for a complete licensestatement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -