diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-18 17:22:13 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-18 17:22:13 +0900 |
commit | fb6884ead2891c09ee54fca2d753fb8d34359e28 (patch) | |
tree | 64113a31b6adecba129f83ee44f365e303d086bc /doc/man/man3/tqpalette.3qt | |
parent | 2e817b4bc176ec571d5378e0f1bd85fe95364c6f (diff) | |
download | tqt3-fb6884ead2891c09ee54fca2d753fb8d34359e28.tar.gz tqt3-fb6884ead2891c09ee54fca2d753fb8d34359e28.zip |
Drop compatibility code for TQPalette
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqpalette.3qt')
-rw-r--r-- | doc/man/man3/tqpalette.3qt | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/doc/man/man3/tqpalette.3qt b/doc/man/man3/tqpalette.3qt index ca9d18e0e..c60689795 100644 --- a/doc/man/man3/tqpalette.3qt +++ b/doc/man/man3/tqpalette.3qt @@ -35,7 +35,7 @@ QPalette \- Color groups for each widget state .BI "QPalette & \fBoperator=\fR ( const QPalette & p )" .br .ti -1c -.BI "enum \fBColorGroup\fR { Disabled, Active, Inactive, NColorGroups, Normal = Active }" +.BI "enum \fBColorGroup\fR { Disabled, Active, Inactive, NColorGroups }" .br .ti -1c .BI "const QColor & \fBcolor\fR ( ColorGroup gr, QColorGroup::ColorRole r ) const" @@ -68,9 +68,6 @@ QPalette \- Color groups for each widget state .BI "const QColorGroup & \fBinactive\fR () const" .br .ti -1c -.BI "const QColorGroup & normal () const \fI(obsolete)\fR" -.br -.ti -1c .BI "void \fBsetActive\fR ( const QColorGroup & g )" .br .ti -1c @@ -80,9 +77,6 @@ QPalette \- Color groups for each widget state .BI "void \fBsetInactive\fR ( const QColorGroup & g )" .br .ti -1c -.BI "void setNormal ( const QColorGroup & cg ) \fI(obsolete)\fR" -.br -.ti -1c .BI "bool \fBoperator==\fR ( const QPalette & p ) const" .br .ti -1c @@ -123,7 +117,7 @@ Both active and inactive windows can contain disabled widgets. (Disabled widgets .PP In Motif style, active() and inactive() look the same. In Windows 2000 style and Macintosh Platinum style, the two styles look slightly different. .PP -There are setActive(), setInactive(), and setDisabled() functions to modify the palette. (Qt also supports a normal() group; this is an obsolete alias for active(), supported for backwards compatibility.) +There are setActive(), setInactive(), and setDisabled() functions to modify the palette. .PP Colors and brushes can be set for particular roles in any of a palette's color groups with setColor() and setBrush(). .PP @@ -140,8 +134,6 @@ See also QApplication::setPalette(), QWidget::palette, QColorGroup, QColor, Widg \fCQPalette::Inactive\fR .TP \fCQPalette::NColorGroups\fR -.TP -\fCQPalette::Normal\fR - synonym for Active .SH MEMBER FUNCTION DOCUMENTATION .SH "QPalette::QPalette ()" Constructs a palette that consists of color groups with only black colors. @@ -195,12 +187,6 @@ See also QColorGroup, setInactive(), active(), and disabled(). Returns TRUE if this palette and \fIp\fR are copies of each other, i.e. one of them was created as a copy of the other and neither was subsequently modified; otherwise returns FALSE. This is much stricter than equality. .PP See also operator=() and operator==(). -.SH "const QColorGroup & QPalette::normal () const" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Returns the active color group. Use active() instead. -.PP -See also setActive() and active(). .SH "bool QPalette::operator!= ( const QPalette & p ) const" Returns TRUE (slowly) if this palette is different from \fIp\fR; otherwise returns FALSE (usually quickly). .SH "QPalette & QPalette::operator= ( const QPalette & p )" @@ -251,12 +237,6 @@ See also disabled(), setActive(), and setInactive(). Sets the Inactive color group to \fIg\fR. .PP See also active(), setDisabled(), setActive(), and QColorGroup. -.SH "void QPalette::setNormal ( const QColorGroup & cg )" -\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. -.PP -Sets the active color group to \fIcg\fR. Use setActive() instead. -.PP -See also setActive() and active(). .SH RELATED FUNCTION DOCUMENTATION .SH "QDataStream & operator<< ( QDataStream & s, const QPalette & p )" Writes the palette, \fIp\fR to the stream \fIs\fR and returns a reference to the stream. |