summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqmimesourcefactory.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqmimesourcefactory.3qt')
-rw-r--r--doc/man/man3/tqmimesourcefactory.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqmimesourcefactory.3qt b/doc/man/man3/tqmimesourcefactory.3qt
index eb6b2a30e..1ca7c8d7c 100644
--- a/doc/man/man3/tqmimesourcefactory.3qt
+++ b/doc/man/man3/tqmimesourcefactory.3qt
@@ -78,7 +78,7 @@ A QMimeSourceFactory provides an abstract interface to a collection of informati
.PP
The base QMimeSourceFactory can be used in two ways: as an abstraction of a collection of files or as specifically stored data. For it to access files, call setFilePath() before accessing data. For stored data, call setData() for each item (there are also convenience functions, e.g. setText(), setImage() and setPixmap(), that simply call setData() with appropriate parameters).
.PP
-The rich text widgets, QTextEdit and QTextBrowser, use QMimeSourceFactory to resolve references such as images or links within rich text documents. They either access the default factory (see defaultFactory()) or their own (see QTextEdit::setMimeSourceFactory()). Other classes that are capable of displaying rich text (such as QLabel, QWhatsThis or QMessageBox) always use the default factory.
+The rich text widgets, TQTextEdit and TQTextBrowser, use QMimeSourceFactory to resolve references such as images or links within rich text documents. They either access the default factory (see defaultFactory()) or their own (see TQTextEdit::setMimeSourceFactory()). Other classes that are capable of displaying rich text (such as QLabel, QWhatsThis or QMessageBox) always use the default factory.
.PP
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 hard disk. Your program may, for example, define some image data as:
.PP
@@ -166,7 +166,7 @@ This is an overloaded member function, provided for convenience. It behaves esse
.PP
A convenience function. See data(const TQString& abs_name). The file name is given in \fIabs_or_rel_name\fR and the path is in \fIcontext\fR.
.SH "QMimeSourceFactory * QMimeSourceFactory::defaultFactory ()\fC [static]\fR"
-Returns the application-wide default mime source factory. This factory is used by rich text rendering classes such as QSimpleRichText, QWhatsThis and QMessageBox to resolve named references within rich text documents. It serves also as the initial factory for the more complex render widgets, QTextEdit and QTextBrowser.
+Returns the application-wide default mime source factory. This factory is used by rich text rendering classes such as QSimpleRichText, QWhatsThis and QMessageBox to resolve named references within rich text documents. It serves also as the initial factory for the more complex render widgets, TQTextEdit and TQTextBrowser.
.PP
See also setDefaultFactory().
.PP
@@ -203,7 +203,7 @@ Sets \fIpixmap\fR to be the data item associated with the absolute name \fIabs_n
.SH "void QMimeSourceFactory::setText ( const TQString & abs_name, const TQString & text )\fC [virtual]\fR"
Sets \fItext\fR to be the data item associated with the absolute name \fIabs_name\fR.
.PP
-Equivalent to setData(abs_name, new QTextDrag(text)).
+Equivalent to setData(abs_name, new TQTextDrag(text)).
.SH "QMimeSourceFactory * QMimeSourceFactory::takeDefaultFactory ()\fC [static]\fR"
Sets the defaultFactory() to 0 and returns the previous one.