summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/qnpinstance.3qt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 22:04:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 22:04:08 -0600
commite02e31c8b9d854cd62cbe9799228f6e08e882773 (patch)
tree53303c981d0b20e03c5a2fc8e959fa74adcb90d1 /doc/man/man3/qnpinstance.3qt
parent143f194af098d44bf0dd1ebb29e59f30ce48d523 (diff)
downloadtqt3-e02e31c8b9d854cd62cbe9799228f6e08e882773.tar.gz
tqt3-e02e31c8b9d854cd62cbe9799228f6e08e882773.zip
Sync with latest script
Diffstat (limited to 'doc/man/man3/qnpinstance.3qt')
-rw-r--r--doc/man/man3/qnpinstance.3qt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/qnpinstance.3qt b/doc/man/man3/qnpinstance.3qt
index 6721e938f..3b77dfe83 100644
--- a/doc/man/man3/qnpinstance.3qt
+++ b/doc/man/man3/qnpinstance.3qt
@@ -109,7 +109,7 @@ The QNPInstance class provides a QObject that is a web browser plugin.
.PP
Deriving from QNPInstance creates an object that represents a single \fC<EMBED>\fR tag in an HTML document.
.PP
-The QNPInstance is responsible for creating an appropriate QNPWidget window if retquired (not all plugins have windows), and for interacting with the input/output facilities intrinsic to plugins.
+The QNPInstance is responsible for creating an appropriate QNPWidget window if required (not all plugins have windows), and for interacting with the input/output facilities intrinsic to plugins.
.PP
Note that there is \fIabsolutely no guarantee\fR regarding the order in which functions are called. Sometimes the browser will call newWindow() first, at other times, newStreamCreated() will be called first (assuming the \fC<EMBED>\fR tag has a SRC parameter).
.PP
@@ -180,7 +180,7 @@ Returns the value of the \fIi\fR-th argument.
.SH "void * QNPInstance::getJavaPeer () const"
Returns the Java object associated with the plugin instance, an object of the plugin's Java class, or 0 if the plug-in does not have a Java class, Java is disabled, or an error occurred.
.PP
-The return value is actually a \fCjref\fR we use \fCvoid*\fR so as to avoid burdening plugins which do not retquire Java.
+The return value is actually a \fCjref\fR we use \fCvoid*\fR so as to avoid burdening plugins which do not require Java.
.PP
See also QNPlugin::getJavaClass() and QNPlugin::getJavaEnv().
.SH "void QNPInstance::getURL ( const char * url, const char * window = 0 )"
@@ -198,13 +198,13 @@ This function is \fInot tested\fR.
.PP
Requests the creation of a new data stream \fIfrom\fR the plugin. The MIME type and window are passed in \fImimetype\fR and \fIwindow\fR. \fIas_file\fR holds the AsFileOnly flag. It is an interface to the NPN_NewStream function of the Netscape Plugin API.
.SH "bool QNPInstance::newStreamCreated ( QNPStream *, StreamMode & smode )\fC [virtual]\fR"
-This function is called when a new stream has been created. The instance should return TRUE if it accepts the processing of the stream. If the instance retquires the stream as a file, it should set \fIsmode\fR to AsFileOnly, in which case the data will be delivered some time later to the streamAsFile() function. Otherwise, the data will be delivered in chunks to the write() function, which must consume at least as much data as returned by the most recent call to writeReady().
+This function is called when a new stream has been created. The instance should return TRUE if it accepts the processing of the stream. If the instance requires the stream as a file, it should set \fIsmode\fR to AsFileOnly, in which case the data will be delivered some time later to the streamAsFile() function. Otherwise, the data will be delivered in chunks to the write() function, which must consume at least as much data as returned by the most recent call to writeReady().
.PP
Note that the AsFileOnly method is not supported by Netscape 2.0 and MSIE 3.0.
.PP
The default implementation accepts any stream.
.SH "QNPWidget * QNPInstance::newWindow ()\fC [virtual]\fR"
-Called at most once, at some time after the QNPInstance is created. If the plugin retquires a window, this function should return a derived class of QNPWidget that provides the retquired interface.
+Called at most once, at some time after the QNPInstance is created. If the plugin requires a window, this function should return a derived class of QNPWidget that provides the required interface.
.PP
Example: grapher/grapher.cpp.
.SH "void QNPInstance::notifyURL ( const char * url, Reason r, void * notifyData )\fC [virtual]\fR"