summaryrefslogtreecommitdiffstats
path: root/doc/html/qmimesourcefactory.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qmimesourcefactory.html')
-rw-r--r--doc/html/qmimesourcefactory.html44
1 files changed, 22 insertions, 22 deletions
diff --git a/doc/html/qmimesourcefactory.html b/doc/html/qmimesourcefactory.html
index c0ee5b8a6..6706511e4 100644
--- a/doc/html/qmimesourcefactory.html
+++ b/doc/html/qmimesourcefactory.html
@@ -33,7 +33,7 @@ body { background: #ffffff; color: black; }
<p>The TQMimeSourceFactory class is an extensible provider of mime-typed data.
<a href="#details">More...</a>
-<p><tt>#include &lt;<a href="qmime-h.html">qmime.h</a>&gt;</tt>
+<p><tt>#include &lt;<a href="qmime-h.html">ntqmime.h</a>&gt;</tt>
<p><a href="qmimesourcefactory-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -77,13 +77,13 @@ data. For stored data, call <a href="#setData">setData</a>() for each item (ther
also convenience functions, e.g. <a href="#setText">setText</a>(), <a href="#setImage">setImage</a>() and
<a href="#setPixmap">setPixmap</a>(), that simply call setData() with appropriate
parameters).
-<p> The rich text widgets, <a href="qtextedit.html">TQTextEdit</a> and <a href="qtextbrowser.html">TQTextBrowser</a>, use
+<p> The rich text widgets, <a href="ntqtextedit.html">TQTextEdit</a> and <a href="ntqtextbrowser.html">TQTextBrowser</a>, use
TQMimeSourceFactory to resolve references such as images or links
within rich text documents. They either access the default factory
(see <a href="#defaultFactory">defaultFactory</a>()) or their own (see
-<a href="qtextedit.html#setMimeSourceFactory">TQTextEdit::setMimeSourceFactory</a>()). Other classes that are
-capable of displaying rich text (such as <a href="qlabel.html">TQLabel</a>, <a href="qwhatsthis.html">TQWhatsThis</a> or
-<a href="qmessagebox.html">TQMessageBox</a>) always use the default factory.
+<a href="ntqtextedit.html#setMimeSourceFactory">TQTextEdit::setMimeSourceFactory</a>()). Other classes that are
+capable of displaying rich text (such as <a href="ntqlabel.html">TQLabel</a>, <a href="ntqwhatsthis.html">TQWhatsThis</a> or
+<a href="ntqmessagebox.html">TQMessageBox</a>) always use the default factory.
<p> A factory can also be used as a container to store data associated
with a name. This technique is useful whenever rich text contains
images that are stored in the program itself, not loaded from the
@@ -97,7 +97,7 @@ as:
</pre>
<p> To be able to use this image within some rich text, for example
-inside a TQLabel, you must create a <a href="qimage.html">TQImage</a> from the raw data and
+inside a TQLabel, you must create a <a href="ntqimage.html">TQImage</a> from the raw data and
insert it into the factory with a unique name:
<pre>
TQMimeSourceFactory::<a href="#defaultFactory">defaultFactory</a>()-&gt;setImage( "myimage", TQImage(myimage_data) );
@@ -105,7 +105,7 @@ insert it into the factory with a unique name:
<p> Now you can create a rich text TQLabel with
<p> <pre>
- <a href="qlabel.html">TQLabel</a>* label = new <a href="qlabel.html">TQLabel</a>(
+ <a href="ntqlabel.html">TQLabel</a>* label = new <a href="ntqlabel.html">TQLabel</a>(
"Rich text with embedded image:&lt;img source=\"myimage\"&gt;"
"Isn't that &lt;em&gt;cute&lt;/em&gt;?" );
</pre>
@@ -136,12 +136,12 @@ mimesource factories. If the <a href="#defaultFactory">defaultFactory</a>() can'
until the data can be resolved.
<p> <p>See also <a href="#removeFactory">removeFactory</a>().
-<h3 class=fn>void <a name="addFilePath"></a>TQMimeSourceFactory::addFilePath ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;p )
+<h3 class=fn>void <a name="addFilePath"></a>TQMimeSourceFactory::addFilePath ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;p )
</h3>
Adds another search path, <em>p</em> to the existing search paths.
<p> <p>See also <a href="#setFilePath">setFilePath</a>().
-<h3 class=fn>const&nbsp;<a href="qmimesource.html">TQMimeSource</a>&nbsp;* <a name="data"></a>TQMimeSourceFactory::data ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name ) const<tt> [virtual]</tt>
+<h3 class=fn>const&nbsp;<a href="qmimesource.html">TQMimeSource</a>&nbsp;* <a name="data"></a>TQMimeSourceFactory::data ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name ) const<tt> [virtual]</tt>
</h3>
Returns a reference to the data associated with <em>abs_name</em>. The
return value remains valid only until the next <a href="#data">data</a>() or <a href="#setData">setData</a>()
@@ -183,28 +183,28 @@ more specialized mime-type detection. The same applies if you want
to use the mime source factory to access URL referenced data over
a network.
-<h3 class=fn>const&nbsp;<a href="qmimesource.html">TQMimeSource</a>&nbsp;* <a name="data-2"></a>TQMimeSourceFactory::data ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_or_rel_name, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;context ) const
+<h3 class=fn>const&nbsp;<a href="qmimesource.html">TQMimeSource</a>&nbsp;* <a name="data-2"></a>TQMimeSourceFactory::data ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_or_rel_name, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;context ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> A convenience function. See <a href="#data">data</a>(const <a href="qstring.html">TQString</a>& abs_name). The
+<p> A convenience function. See <a href="#data">data</a>(const <a href="ntqstring.html">TQString</a>& abs_name). The
file name is given in <em>abs_or_rel_name</em> and the path is in <em>context</em>.
<h3 class=fn><a href="qmimesourcefactory.html">TQMimeSourceFactory</a>&nbsp;* <a name="defaultFactory"></a>TQMimeSourceFactory::defaultFactory ()<tt> [static]</tt>
</h3>
Returns the application-wide default mime source factory. This
factory is used by rich text rendering classes such as
-<a href="qsimplerichtext.html">TQSimpleRichText</a>, <a href="qwhatsthis.html">TQWhatsThis</a> and <a href="qmessagebox.html">TQMessageBox</a> to resolve named
+<a href="ntqsimplerichtext.html">TQSimpleRichText</a>, <a href="ntqwhatsthis.html">TQWhatsThis</a> and <a href="ntqmessagebox.html">TQMessageBox</a> to resolve named
references within rich text documents. It serves also as the
-initial factory for the more complex render widgets, <a href="qtextedit.html">TQTextEdit</a> and
-<a href="qtextbrowser.html">TQTextBrowser</a>.
+initial factory for the more complex render widgets, <a href="ntqtextedit.html">TQTextEdit</a> and
+<a href="ntqtextbrowser.html">TQTextBrowser</a>.
<p> <p>See also <a href="#setDefaultFactory">setDefaultFactory</a>().
<p>Examples: <a href="qaction-application-example.html#x1140">action/application.cpp</a> and <a href="simple-application-example.html#x1558">application/application.cpp</a>.
-<h3 class=fn><a href="qstringlist.html">TQStringList</a> <a name="filePath"></a>TQMimeSourceFactory::filePath () const<tt> [virtual]</tt>
+<h3 class=fn><a href="ntqstringlist.html">TQStringList</a> <a name="filePath"></a>TQMimeSourceFactory::filePath () const<tt> [virtual]</tt>
</h3>
Returns the currently set search paths.
-<h3 class=fn><a href="qstring.html">TQString</a> <a name="makeAbsolute"></a>TQMimeSourceFactory::makeAbsolute ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_or_rel_name, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;context ) const<tt> [virtual]</tt>
+<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="makeAbsolute"></a>TQMimeSourceFactory::makeAbsolute ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_or_rel_name, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;context ) const<tt> [virtual]</tt>
</h3>
Converts the absolute or relative data item name <em>abs_or_rel_name</em> to an absolute name, interpreted within the
context (path) of the data item named <em>context</em> (this must be an
@@ -216,7 +216,7 @@ Removes the mimesource factory <em>f</em> from the list of available
mimesource factories.
<p> <p>See also <a href="#addFactory">addFactory</a>().
-<h3 class=fn>void <a name="setData"></a>TQMimeSourceFactory::setData ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name, <a href="qmimesource.html">TQMimeSource</a>&nbsp;*&nbsp;data )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setData"></a>TQMimeSourceFactory::setData ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name, <a href="qmimesource.html">TQMimeSource</a>&nbsp;*&nbsp;data )<tt> [virtual]</tt>
</h3>
Sets <em>data</em> to be the data item associated with
the absolute name <em>abs_name</em>. Note that the ownership of <em>data</em> is
@@ -231,30 +231,30 @@ source provider. The ownership of the factory is transferred to
TQt.
<p> <p>See also <a href="#defaultFactory">defaultFactory</a>().
-<h3 class=fn>void <a name="setExtensionType"></a>TQMimeSourceFactory::setExtensionType ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;ext, const&nbsp;char&nbsp;*&nbsp;mimetype )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setExtensionType"></a>TQMimeSourceFactory::setExtensionType ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;ext, const&nbsp;char&nbsp;*&nbsp;mimetype )<tt> [virtual]</tt>
</h3>
Sets the mime-type to be associated with the file name extension,
<em>ext</em> to <em>mimetype</em>. This determines the mime-type for files
found via the paths set by <a href="#setFilePath">setFilePath</a>().
-<h3 class=fn>void <a name="setFilePath"></a>TQMimeSourceFactory::setFilePath ( const&nbsp;<a href="qstringlist.html">TQStringList</a>&nbsp;&amp;&nbsp;path )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setFilePath"></a>TQMimeSourceFactory::setFilePath ( const&nbsp;<a href="ntqstringlist.html">TQStringList</a>&nbsp;&amp;&nbsp;path )<tt> [virtual]</tt>
</h3>
Sets the list of directories that will be searched when named data
is requested to the those given in the string list <em>path</em>.
<p> <p>See also <a href="#filePath">filePath</a>().
-<h3 class=fn>void <a name="setImage"></a>TQMimeSourceFactory::setImage ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name, const&nbsp;<a href="qimage.html">TQImage</a>&nbsp;&amp;&nbsp;image )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setImage"></a>TQMimeSourceFactory::setImage ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name, const&nbsp;<a href="ntqimage.html">TQImage</a>&nbsp;&amp;&nbsp;image )<tt> [virtual]</tt>
</h3>
Sets <em>image</em> to be the data item associated with the absolute
name <em>abs_name</em>.
<p> Equivalent to <a href="#setData">setData</a>(abs_name, new <a href="qimagedrag.html">TQImageDrag</a>(image)).
-<h3 class=fn>void <a name="setPixmap"></a>TQMimeSourceFactory::setPixmap ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name, const&nbsp;<a href="qpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setPixmap"></a>TQMimeSourceFactory::setPixmap ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name, const&nbsp;<a href="ntqpixmap.html">TQPixmap</a>&nbsp;&amp;&nbsp;pixmap )<tt> [virtual]</tt>
</h3>
Sets <em>pixmap</em> to be the data item associated with the absolute
name <em>abs_name</em>.
-<h3 class=fn>void <a name="setText"></a>TQMimeSourceFactory::setText ( const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name, const&nbsp;<a href="qstring.html">TQString</a>&nbsp;&amp;&nbsp;text )<tt> [virtual]</tt>
+<h3 class=fn>void <a name="setText"></a>TQMimeSourceFactory::setText ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;abs_name, const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;text )<tt> [virtual]</tt>
</h3>
Sets <em>text</em> to be the data item associated with the absolute name
<em>abs_name</em>.