diff options
Diffstat (limited to 'doc/man/man3/tqtextedit.3qt')
-rw-r--r-- | doc/man/man3/tqtextedit.3qt | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqtextedit.3qt b/doc/man/man3/tqtextedit.3qt index ac8c9c1cb..b4538f0da 100644 --- a/doc/man/man3/tqtextedit.3qt +++ b/doc/man/man3/tqtextedit.3qt @@ -93,7 +93,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .BI "TQStyleSheet * \fBstyleSheet\fR () const" .br .ti -1c -.BI "QMimeSourceFactory * \fBmimeSourceFactory\fR () const" +.BI "TQMimeSourceFactory * \fBmimeSourceFactory\fR () const" .br .ti -1c .BI "QBrush \fBpaper\fR () const" @@ -198,7 +198,7 @@ Inherited by QMultiLineEdit, TQTextBrowser, and TQTextView. .SS "Public Slots" .in +1c .ti -1c -.BI "virtual void \fBsetMimeSourceFactory\fR ( QMimeSourceFactory * factory )" +.BI "virtual void \fBsetMimeSourceFactory\fR ( TQMimeSourceFactory * factory )" .br .ti -1c .BI "virtual void \fBsetStyleSheet\fR ( TQStyleSheet * styleSheet )" @@ -551,7 +551,7 @@ The text edit documentation uses the following concepts: .TP \fIcurrent paragraph\fR -- the paragraph which contains the cursor. .PP -TQTextEdit can display images (using QMimeSourceFactory), lists and tables. If the text is too large to view within the text edit's viewport, scrollbars will appear. The text edit can load both plain text and HTML files (a subset of HTML 3.2 and 4). The rendering style and the set of valid tags are defined by a styleSheet(). Custom tags can be created and placed in a custom style sheet. Change the style sheet with setStyleSheet(); see TQStyleSheet for details. The images identified by image tags are displayed if they can be interpreted using the text edit's QMimeSourceFactory; see setMimeSourceFactory(). +TQTextEdit can display images (using TQMimeSourceFactory), lists and tables. If the text is too large to view within the text edit's viewport, scrollbars will appear. The text edit can load both plain text and HTML files (a subset of HTML 3.2 and 4). The rendering style and the set of valid tags are defined by a styleSheet(). Custom tags can be created and placed in a custom style sheet. Change the style sheet with setStyleSheet(); see TQStyleSheet for details. The images identified by image tags are displayed if they can be interpreted using the text edit's TQMimeSourceFactory; see setMimeSourceFactory(). .PP If you want a text browser with more navigation use TQTextBrowser. If you just need to display a small piece of rich text use QLabel or QSimpleRichText. .PP @@ -617,7 +617,7 @@ l - l. Keypresses Action UpArrow Move one line up DownArrow Move one line down L .PP The text edit may be able to provide some meta-information. For example, the documentTitle() function will return the text from within HTML \fC<title>\fR tags. .PP -The text displayed in a text edit has a \fIcontext\fR. The context is a path which the text edit's QMimeSourceFactory uses to resolve the locations of files and images. It is passed to the mimeSourceFactory() when quering data. (See TQTextEdit() and context().) +The text displayed in a text edit has a \fIcontext\fR. The context is a path which the text edit's TQMimeSourceFactory uses to resolve the locations of files and images. It is passed to the mimeSourceFactory() when quering data. (See TQTextEdit() and context().) .PP <h4> Using TQTextEdit in LogText Mode </h4> .PP @@ -774,9 +774,9 @@ See also wrapPolicy. .SH "TQTextEdit::TQTextEdit ( const TQString & text, const TQString & context = TQString::null, TQWidget * parent = 0, const char * name = 0 )" Constructs a TQTextEdit called \fIname\fR, with parent \fIparent\fR. The text edit will display the text \fItext\fR using context \fIcontext\fR. .PP -The \fIcontext\fR is a path which the text edit's QMimeSourceFactory uses to resolve the locations of files and images. It is passed to the mimeSourceFactory() when quering data. +The \fIcontext\fR is a path which the text edit's TQMimeSourceFactory uses to resolve the locations of files and images. It is passed to the mimeSourceFactory() when quering data. .PP -For example if the text contains an image tag, \fC<img src="image.png">\fR, and the context is "path/to/look/in", the QMimeSourceFactory will try to load the image from" path/to/look/in/image.png". If the tag was \fC<img src="/image.png">\fR, the context will not be used (because QMimeSourceFactory recognizes that we have used an absolute path) and will try to load "/image.png". The context is applied in exactly the same way to \fIhrefs\fR, for example, \fC<a href="target.html">Target</a>\fR, would resolve to" path/to/look/in/target.html". +For example if the text contains an image tag, \fC<img src="image.png">\fR, and the context is "path/to/look/in", the TQMimeSourceFactory will try to load the image from" path/to/look/in/image.png". If the tag was \fC<img src="/image.png">\fR, the context will not be used (because TQMimeSourceFactory recognizes that we have used an absolute path) and will try to load "/image.png". The context is applied in exactly the same way to \fIhrefs\fR, for example, \fC<a href="target.html">Target</a>\fR, would resolve to" path/to/look/in/target.html". .SH "TQTextEdit::TQTextEdit ( TQWidget * parent = 0, const char * name = 0 )" Constructs an empty TQTextEdit called \fIname\fR, with parent \fIparent\fR. .SH "int TQTextEdit::alignment () const" @@ -817,7 +817,7 @@ Returns the color of the current format. .PP See also setColor() and paper. .SH "TQString TQTextEdit::context () const" -Returns the context of the text edit. The context is a path which the text edit's QMimeSourceFactory uses to resolve the locations of files and images. +Returns the context of the text edit. The context is a path which the text edit's TQMimeSourceFactory uses to resolve the locations of files and images. .PP See also text. .PP @@ -1001,8 +1001,8 @@ Returns the number of lines in paragraph \fIpara\fR, or -1 if there is no paragr Returns TRUE if hypertext links will be underlined; otherwise returns FALSE. See the "linkUnderline" property for details. .SH "int TQTextEdit::maxLogLines ()\fC [slot]\fR" Returns the maximum number of lines TQTextEdit can hold in LogText mode. By default the number of lines is unlimited, which is signified by a value of -1. -.SH "QMimeSourceFactory * TQTextEdit::mimeSourceFactory () const" -Returns the QMimeSourceFactory which is being used by this text edit. +.SH "TQMimeSourceFactory * TQTextEdit::mimeSourceFactory () const" +Returns the TQMimeSourceFactory which is being used by this text edit. .PP See also setMimeSourceFactory(). .PP @@ -1126,8 +1126,8 @@ Sets whether hypertext links will be underlined. See the "linkUnderline" propert Sets the maximum number of lines a TQTextEdit can hold in LogText mode to \fIlimit\fR. If \fIlimit\fR is -1 (the default), this signifies an unlimited number of lines. .PP \fBWarning:\fR Never use formatting tags that span more than one line when the maximum log lines is set. When lines are removed from the top of the buffer it could result in an unbalanced tag pair, i.e. the left formatting tag is removed before the right one. -.SH "void TQTextEdit::setMimeSourceFactory ( QMimeSourceFactory * factory )\fC [virtual slot]\fR" -Sets the text edit's mimesource factory to \fIfactory\fR. See QMimeSourceFactory for further details. +.SH "void TQTextEdit::setMimeSourceFactory ( TQMimeSourceFactory * factory )\fC [virtual slot]\fR" +Sets the text edit's mimesource factory to \fIfactory\fR. See TQMimeSourceFactory for further details. .PP See also mimeSourceFactory(). .SH "void TQTextEdit::setModified ( bool m )\fC [virtual slot]\fR" @@ -1179,7 +1179,7 @@ Changes the text of the text edit to the string \fItext\fR and the context to \f .PP For rich text the rendering style and available tags are defined by a styleSheet(); see TQStyleSheet for details. .PP -The optional \fIcontext\fR is a path which the text edit's QMimeSourceFactory uses to resolve the locations of files and images. (See TQTextEdit::TQTextEdit().) It is passed to the text edit's QMimeSourceFactory when quering data. +The optional \fIcontext\fR is a path which the text edit's TQMimeSourceFactory uses to resolve the locations of files and images. (See TQTextEdit::TQTextEdit().) It is passed to the text edit's TQMimeSourceFactory when quering data. .PP Note that the undo/redo history is cleared by this function. .PP |