summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqstylesheet.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-06-08 15:05:55 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-06-12 19:18:55 +0900
commit7bc57326e69b9c3f0eaeda63e4a49b67ba611426 (patch)
tree015fd18fdc62bce380935d546b677aa965b090c6 /doc/man/man3/tqstylesheet.3qt
parentccbc1c3572fd0e26480c1432fff55d2909545538 (diff)
downloadtqt3-7bc57326e69b9c3f0eaeda63e4a49b67ba611426.tar.gz
tqt3-7bc57326e69b9c3f0eaeda63e4a49b67ba611426.zip
Rename style nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqstylesheet.3qt')
-rw-r--r--doc/man/man3/tqstylesheet.3qt58
1 files changed, 29 insertions, 29 deletions
diff --git a/doc/man/man3/tqstylesheet.3qt b/doc/man/man3/tqstylesheet.3qt
index 994e8dddb..77c7dc4e2 100644
--- a/doc/man/man3/tqstylesheet.3qt
+++ b/doc/man/man3/tqstylesheet.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QStyleSheet 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQStyleSheet 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
.\" Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
.\" license file included in the distribution for a complete license
.\" statement.
@@ -7,25 +7,25 @@
.ad l
.nh
.SH NAME
-QStyleSheet \- Collection of styles for rich text rendering and a generator of tags
+TQStyleSheet \- Collection of styles for rich text rendering and a generator of tags
.SH SYNOPSIS
-\fC#include <ntqstylesheet.h>\fR
+\fC#include <tqstylesheet.h>\fR
.PP
Inherits TQObject.
.PP
.SS "Public Members"
.in +1c
.ti -1c
-.BI "\fBQStyleSheet\fR ( TQObject * parent = 0, const char * name = 0 )"
+.BI "\fBTQStyleSheet\fR ( TQObject * parent = 0, const char * name = 0 )"
.br
.ti -1c
-.BI "virtual \fB~QStyleSheet\fR ()"
+.BI "virtual \fB~TQStyleSheet\fR ()"
.br
.ti -1c
-.BI "QStyleSheetItem * \fBitem\fR ( const TQString & name )"
+.BI "TQStyleSheetItem * \fBitem\fR ( const TQString & name )"
.br
.ti -1c
-.BI "const QStyleSheetItem * \fBitem\fR ( const TQString & name ) const"
+.BI "const TQStyleSheetItem * \fBitem\fR ( const TQString & name ) const"
.br
.ti -1c
.BI "virtual TQTextCustomItem * \fBtag\fR ( const TQString & name, const TQMap<TQString, TQString> & attr, const TQString & context, const QMimeSourceFactory & factory, bool emptyTag, TQTextDocument * doc ) const"
@@ -40,27 +40,27 @@ Inherits TQObject.
.SS "Static Public Members"
.in +1c
.ti -1c
-.BI "QStyleSheet * \fBdefaultSheet\fR ()"
+.BI "TQStyleSheet * \fBdefaultSheet\fR ()"
.br
.ti -1c
-.BI "void \fBsetDefaultSheet\fR ( QStyleSheet * sheet )"
+.BI "void \fBsetDefaultSheet\fR ( TQStyleSheet * sheet )"
.br
.ti -1c
.BI "TQString \fBescape\fR ( const TQString & plain )"
.br
.ti -1c
-.BI "TQString \fBconvertFromPlainText\fR ( const TQString & plain, QStyleSheetItem::WhiteSpaceMode mode = QStyleSheetItem::WhiteSpacePre )"
+.BI "TQString \fBconvertFromPlainText\fR ( const TQString & plain, TQStyleSheetItem::WhiteSpaceMode mode = TQStyleSheetItem::WhiteSpacePre )"
.br
.ti -1c
.BI "bool \fBmightBeRichText\fR ( const TQString & text )"
.br
.in -1c
.SH DESCRIPTION
-The QStyleSheet class is a collection of styles for rich text rendering and a generator of tags.
+The TQStyleSheet class is a collection of styles for rich text rendering and a generator of tags.
.PP
-By creating QStyleSheetItem objects for a style sheet you build a definition of a set of tags. This definition will be used by the internal rich text rendering system to parse and display text documents to which the style sheet applies. Rich text is normally visualized in a TQTextEdit or a TQTextBrowser. However, QLabel, QWhatsThis and QMessageBox also support it, and other classes are likely to follow. With QSimpleRichText it is possible to use the rich text renderer for custom widgets as well.
+By creating TQStyleSheetItem objects for a style sheet you build a definition of a set of tags. This definition will be used by the internal rich text rendering system to parse and display text documents to which the style sheet applies. Rich text is normally visualized in a TQTextEdit or a TQTextBrowser. However, QLabel, QWhatsThis and QMessageBox also support it, and other classes are likely to follow. With QSimpleRichText it is possible to use the rich text renderer for custom widgets as well.
.PP
-The default QStyleSheet object has the following style bindings, sorted by structuring bindings, anchors, character style bindings (i.e. inline styles), special elements such as horizontal lines or images, and other tags. In addition, rich text supports simple HTML tables.
+The default TQStyleSheet object has the following style bindings, sorted by structuring bindings, anchors, character style bindings (i.e. inline styles), special elements such as horizontal lines or images, and other tags. In addition, rich text supports simple HTML tables.
.PP
The structuring tags are <center>.nf
.TS
@@ -136,58 +136,58 @@ A table row. This is only valid within a A table header cell. Similar to A table
.PP
See also Graphics Classes, Help System, and Text Related Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QStyleSheet::QStyleSheet ( TQObject * parent = 0, const char * name = 0 )"
+.SH "TQStyleSheet::TQStyleSheet ( TQObject * parent = 0, const char * name = 0 )"
Creates a style sheet called \fIname\fR, with parent \fIparent\fR. Like any TQObject it will be deleted when its parent is destroyed (if the child still exists).
.PP
By default the style sheet has the tag definitions defined above.
-.SH "QStyleSheet::~QStyleSheet ()\fC [virtual]\fR"
+.SH "TQStyleSheet::~TQStyleSheet ()\fC [virtual]\fR"
Destroys the style sheet. All styles inserted into the style sheet will be deleted.
-.SH "TQString QStyleSheet::convertFromPlainText ( const TQString & plain, QStyleSheetItem::WhiteSpaceMode mode = QStyleSheetItem::WhiteSpacePre )\fC [static]\fR"
+.SH "TQString TQStyleSheet::convertFromPlainText ( const TQString & plain, TQStyleSheetItem::WhiteSpaceMode mode = TQStyleSheetItem::WhiteSpacePre )\fC [static]\fR"
Auxiliary function. Converts the plain text string \fIplain\fR to a rich text formatted paragraph while preserving most of its look.
.PP
-\fImode\fR defines the whitespace mode. Possible values are QStyleSheetItem::WhiteSpacePre (no wrapping, all whitespaces preserved) and QStyleSheetItem::WhiteSpaceNormal (wrapping, simplified whitespaces).
+\fImode\fR defines the whitespace mode. Possible values are TQStyleSheetItem::WhiteSpacePre (no wrapping, all whitespaces preserved) and TQStyleSheetItem::WhiteSpaceNormal (wrapping, simplified whitespaces).
.PP
See also escape().
.PP
Examples:
.)l action/application.cpp, application/application.cpp, and mdi/application.cpp.
-.SH "QStyleSheet * QStyleSheet::defaultSheet ()\fC [static]\fR"
+.SH "TQStyleSheet * TQStyleSheet::defaultSheet ()\fC [static]\fR"
Returns the application-wide default style sheet. This style sheet is used by rich text rendering classes such as QSimpleRichText, QWhatsThis and QMessageBox to define the rendering style and available tags within rich text documents. It also serves as the initial style sheet for the more complex render widgets, TQTextEdit and TQTextBrowser.
.PP
See also setDefaultSheet().
-.SH "void QStyleSheet::error ( const TQString & msg ) const\fC [virtual]\fR"
+.SH "void TQStyleSheet::error ( const TQString & msg ) const\fC [virtual]\fR"
This virtual function is called when an error occurs when processing rich text. Reimplement it if you need to catch error messages.
.PP
Errors might occur if some rich text strings contain tags that are not understood by the stylesheet, if some tags are nested incorrectly, or if tags are not closed properly.
.PP
\fImsg\fR is the error message.
-.SH "TQString QStyleSheet::escape ( const TQString & plain )\fC [static]\fR"
+.SH "TQString TQStyleSheet::escape ( const TQString & plain )\fC [static]\fR"
Auxiliary function. Converts the plain text string \fIplain\fR to a rich text formatted string with any HTML meta-characters escaped.
.PP
See also convertFromPlainText().
-.SH "QStyleSheetItem * QStyleSheet::item ( const TQString & name )"
+.SH "TQStyleSheetItem * TQStyleSheet::item ( const TQString & name )"
Returns the style called \fIname\fR or 0 if there is no such style.
-.SH "const QStyleSheetItem * QStyleSheet::item ( const TQString & name ) const"
+.SH "const TQStyleSheetItem * TQStyleSheet::item ( const TQString & name ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns the style called \fIname\fR or 0 if there is no such style (const version)
-.SH "bool QStyleSheet::mightBeRichText ( const TQString & text )\fC [static]\fR"
+.SH "bool TQStyleSheet::mightBeRichText ( const TQString & text )\fC [static]\fR"
Returns TRUE if the string \fItext\fR is likely to be rich text; otherwise returns FALSE.
.PP
This function uses a fast and therefore simple heuristic. It mainly checks whether there is something that looks like a tag before the first line break. Although the result may be correct for common cases, there is no guarantee.
-.SH "void QStyleSheet::scaleFont ( QFont & font, int logicalSize ) const\fC [virtual]\fR"
+.SH "void TQStyleSheet::scaleFont ( QFont & font, int logicalSize ) const\fC [virtual]\fR"
Scales the font \fIfont\fR to the appropriate physical point size corresponding to the logical font size \fIlogicalSize\fR.
.PP
When calling this function, \fIfont\fR has a point size corresponding to the logical font size 3.
.PP
Logical font sizes range from 1 to 7, with 1 being the smallest.
.PP
-See also QStyleSheetItem::logicalFontSize(), QStyleSheetItem::logicalFontSizeStep(), and QFont::setPointSize().
-.SH "void QStyleSheet::setDefaultSheet ( QStyleSheet * sheet )\fC [static]\fR"
-Sets the application-wide default style sheet to \fIsheet\fR, deleting any style sheet previously set. The ownership is transferred to QStyleSheet.
+See also TQStyleSheetItem::logicalFontSize(), TQStyleSheetItem::logicalFontSizeStep(), and QFont::setPointSize().
+.SH "void TQStyleSheet::setDefaultSheet ( TQStyleSheet * sheet )\fC [static]\fR"
+Sets the application-wide default style sheet to \fIsheet\fR, deleting any style sheet previously set. The ownership is transferred to TQStyleSheet.
.PP
See also defaultSheet().
-.SH "TQTextCustomItem * QStyleSheet::tag ( const TQString & name, const TQMap<TQString, TQString> & attr, const TQString & context, const QMimeSourceFactory & factory, bool emptyTag, TQTextDocument * doc ) const\fC [virtual]\fR"
+.SH "TQTextCustomItem * TQStyleSheet::tag ( const TQString & name, const TQMap<TQString, TQString> & attr, const TQString & context, const QMimeSourceFactory & factory, bool emptyTag, TQTextDocument * doc ) const\fC [virtual]\fR"
\fBThis function is under development and is subject to change.\fR
.PP
Generates an internal object for the tag called \fIname\fR, given the attributes \fIattr\fR, and using additional information provided by the mime source factory \fIfactory\fR.
@@ -199,7 +199,7 @@ Generates an internal object for the tag called \fIname\fR, given the attributes
This function should not be used in application code.
.SH "SEE ALSO"
-.BR http://doc.trolltech.com/ntqstylesheet.html
+.BR http://doc.trolltech.com/tqstylesheet.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the