diff options
Diffstat (limited to 'doc/man/man3/tqpalette.3qt')
-rw-r--r-- | doc/man/man3/tqpalette.3qt | 80 |
1 files changed, 40 insertions, 40 deletions
diff --git a/doc/man/man3/tqpalette.3qt b/doc/man/man3/tqpalette.3qt index 5bdb2951b..23ddbcdaf 100644 --- a/doc/man/man3/tqpalette.3qt +++ b/doc/man/man3/tqpalette.3qt @@ -23,7 +23,7 @@ QPalette \- Color groups for each widget state .BI "\fBQPalette\fR ( const TQColor & button, const TQColor & background )" .br .ti -1c -.BI "\fBQPalette\fR ( const QColorGroup & active, const QColorGroup & disabled, const QColorGroup & inactive )" +.BI "\fBQPalette\fR ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive )" .br .ti -1c .BI "\fBQPalette\fR ( const QPalette & p )" @@ -38,43 +38,43 @@ QPalette \- Color groups for each widget state .BI "enum \fBColorGroup\fR { Disabled, Active, Inactive, NColorGroups }" .br .ti -1c -.BI "const TQColor & \fBcolor\fR ( ColorGroup gr, QColorGroup::ColorRole r ) const" +.BI "const TQColor & \fBcolor\fR ( ColorGroup gr, TQColorGroup::ColorRole r ) const" .br .ti -1c -.BI "const QBrush & \fBbrush\fR ( ColorGroup gr, QColorGroup::ColorRole r ) const" +.BI "const TQBrush & \fBbrush\fR ( ColorGroup gr, TQColorGroup::ColorRole r ) const" .br .ti -1c -.BI "void \fBsetColor\fR ( ColorGroup gr, QColorGroup::ColorRole r, const TQColor & c )" +.BI "void \fBsetColor\fR ( ColorGroup gr, TQColorGroup::ColorRole r, const TQColor & c )" .br .ti -1c -.BI "void \fBsetBrush\fR ( ColorGroup gr, QColorGroup::ColorRole r, const QBrush & b )" +.BI "void \fBsetBrush\fR ( ColorGroup gr, TQColorGroup::ColorRole r, const TQBrush & b )" .br .ti -1c -.BI "void \fBsetColor\fR ( QColorGroup::ColorRole r, const TQColor & c )" +.BI "void \fBsetColor\fR ( TQColorGroup::ColorRole r, const TQColor & c )" .br .ti -1c -.BI "void \fBsetBrush\fR ( QColorGroup::ColorRole r, const QBrush & b )" +.BI "void \fBsetBrush\fR ( TQColorGroup::ColorRole r, const TQBrush & b )" .br .ti -1c .BI "QPalette \fBcopy\fR () const" .br .ti -1c -.BI "const QColorGroup & \fBactive\fR () const" +.BI "const TQColorGroup & \fBactive\fR () const" .br .ti -1c -.BI "const QColorGroup & \fBdisabled\fR () const" +.BI "const TQColorGroup & \fBdisabled\fR () const" .br .ti -1c -.BI "const QColorGroup & \fBinactive\fR () const" +.BI "const TQColorGroup & \fBinactive\fR () const" .br .ti -1c -.BI "void \fBsetActive\fR ( const QColorGroup & g )" +.BI "void \fBsetActive\fR ( const TQColorGroup & g )" .br .ti -1c -.BI "void \fBsetDisabled\fR ( const QColorGroup & g )" +.BI "void \fBsetDisabled\fR ( const TQColorGroup & g )" .br .ti -1c -.BI "void \fBsetInactive\fR ( const QColorGroup & g )" +.BI "void \fBsetInactive\fR ( const TQColorGroup & g )" .br .ti -1c .BI "bool \fBoperator==\fR ( const QPalette & p ) const" @@ -123,7 +123,7 @@ Colors and brushes can be set for particular roles in any of a palette's color g .PP You can copy a palette using the copy constructor and test to see if two palettes are \fIidentical\fR using isCopyOf(). .PP -See also QApplication::setPalette(), TQWidget::palette, QColorGroup, TQColor, Widget Appearance and Style, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +See also QApplication::setPalette(), TQWidget::palette, TQColorGroup, TQColor, Widget Appearance and Style, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. .SS "Member Type Documentation" .SH "QPalette::ColorGroup" .TP @@ -143,46 +143,46 @@ Constructs a palette that consists of color groups with only black colors. Constructs a palette from the \fIbutton\fR color. The other colors are automatically calculated, based on this color. Background will be the button color as well. .SH "QPalette::QPalette ( const TQColor & button, const TQColor & background )" Constructs a palette from a \fIbutton\fR color and a \fIbackground\fR. The other colors are automatically calculated, based on these colors. -.SH "QPalette::QPalette ( const QColorGroup & active, const QColorGroup & disabled, const QColorGroup & inactive )" -Constructs a palette that consists of the three color groups \fIactive\fR, \fIdisabled\fR and \fIinactive\fR. See the Detailed Description for definitions of the color groups and QColorGroup::ColorRole for definitions of each color role in the three groups. +.SH "QPalette::QPalette ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive )" +Constructs a palette that consists of the three color groups \fIactive\fR, \fIdisabled\fR and \fIinactive\fR. See the Detailed Description for definitions of the color groups and TQColorGroup::ColorRole for definitions of each color role in the three groups. .PP -See also QColorGroup and QColorGroup::ColorRole. +See also TQColorGroup and TQColorGroup::ColorRole. .SH "QPalette::QPalette ( const QPalette & p )" Constructs a copy of \fIp\fR. .PP This constructor is fast (it uses copy-on-write). .SH "QPalette::~QPalette ()" Destroys the palette. -.SH "const QColorGroup & QPalette::active () const" +.SH "const TQColorGroup & QPalette::active () const" Returns the active color group of this palette. .PP -See also QColorGroup, setActive(), inactive(), and disabled(). +See also TQColorGroup, setActive(), inactive(), and disabled(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const QBrush & QPalette::brush ( ColorGroup gr, QColorGroup::ColorRole r ) const" +.SH "const TQBrush & QPalette::brush ( ColorGroup gr, TQColorGroup::ColorRole r ) const" Returns the brush in color group \fIgr\fR, used for color role \fIr\fR. .PP -See also color(), setBrush(), and QColorGroup::ColorRole. -.SH "const TQColor & QPalette::color ( ColorGroup gr, QColorGroup::ColorRole r ) const" +See also color(), setBrush(), and TQColorGroup::ColorRole. +.SH "const TQColor & QPalette::color ( ColorGroup gr, TQColorGroup::ColorRole r ) const" Returns the color in color group \fIgr\fR, used for color role \fIr\fR. .PP -See also brush(), setColor(), and QColorGroup::ColorRole. +See also brush(), setColor(), and TQColorGroup::ColorRole. .SH "QPalette QPalette::copy () const" Returns a deep copy of this palette. .PP \fBWarning:\fR This is slower than the copy constructor and assignment operator and offers no benefits. -.SH "const QColorGroup & QPalette::disabled () const" +.SH "const TQColorGroup & QPalette::disabled () const" Returns the disabled color group of this palette. .PP -See also QColorGroup, setDisabled(), active(), and inactive(). +See also TQColorGroup, setDisabled(), active(), and inactive(). .PP Examples: .)l themes/metal.cpp and themes/wood.cpp. -.SH "const QColorGroup & QPalette::inactive () const" +.SH "const TQColorGroup & QPalette::inactive () const" Returns the inactive color group of this palette. .PP -See also QColorGroup, setInactive(), active(), and disabled(). +See also TQColorGroup, setInactive(), active(), and disabled(). .SH "bool QPalette::isCopyOf ( const QPalette & p )" 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 @@ -203,40 +203,40 @@ Returns a number that uniquely identifies this QPalette object. The serial numbe Note that QPalette uses copy-on-write, and the serial number changes during the lazy copy operation (detach()), not during a shallow copy (copy constructor or assignment). .PP See also QPixmap, QPixmapCache, and TQCache. -.SH "void QPalette::setActive ( const QColorGroup & g )" +.SH "void QPalette::setActive ( const TQColorGroup & g )" Sets the Active color group to \fIg\fR. .PP -See also active(), setDisabled(), setInactive(), and QColorGroup. -.SH "void QPalette::setBrush ( ColorGroup gr, QColorGroup::ColorRole r, const QBrush & b )" +See also active(), setDisabled(), setInactive(), and TQColorGroup. +.SH "void QPalette::setBrush ( ColorGroup gr, TQColorGroup::ColorRole r, const TQBrush & b )" Sets the brush in color group \fIgr\fR, used for color role \fIr\fR, to \fIb\fR. .PP -See also brush(), setColor(), and QColorGroup::ColorRole. -.SH "void QPalette::setBrush ( QColorGroup::ColorRole r, const QBrush & b )" +See also brush(), setColor(), and TQColorGroup::ColorRole. +.SH "void QPalette::setBrush ( TQColorGroup::ColorRole r, const TQBrush & b )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the brush in for color role \fIr\fR in all three color groups to \fIb\fR. .PP -See also brush(), setColor(), QColorGroup::ColorRole, active(), inactive(), and disabled(). -.SH "void QPalette::setColor ( ColorGroup gr, QColorGroup::ColorRole r, const TQColor & c )" +See also brush(), setColor(), TQColorGroup::ColorRole, active(), inactive(), and disabled(). +.SH "void QPalette::setColor ( ColorGroup gr, TQColorGroup::ColorRole r, const TQColor & c )" Sets the brush in color group \fIgr\fR, used for color role \fIr\fR, to the solid color \fIc\fR. .PP -See also setBrush(), color(), and QColorGroup::ColorRole. +See also setBrush(), color(), and TQColorGroup::ColorRole. .PP Example: themes/themes.cpp. -.SH "void QPalette::setColor ( QColorGroup::ColorRole r, const TQColor & c )" +.SH "void QPalette::setColor ( TQColorGroup::ColorRole r, const TQColor & c )" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Sets the brush color used for color role \fIr\fR to color \fIc\fR in all three color groups. .PP -See also color(), setBrush(), and QColorGroup::ColorRole. -.SH "void QPalette::setDisabled ( const QColorGroup & g )" +See also color(), setBrush(), and TQColorGroup::ColorRole. +.SH "void QPalette::setDisabled ( const TQColorGroup & g )" Sets the Disabled color group to \fIg\fR. .PP See also disabled(), setActive(), and setInactive(). -.SH "void QPalette::setInactive ( const QColorGroup & g )" +.SH "void QPalette::setInactive ( const TQColorGroup & g )" Sets the Inactive color group to \fIg\fR. .PP -See also active(), setDisabled(), setActive(), and QColorGroup. +See also active(), setDisabled(), setActive(), and TQColorGroup. .SH RELATED FUNCTION DOCUMENTATION .SH "TQDataStream & operator<< ( TQDataStream & s, const QPalette & p )" Writes the palette, \fIp\fR to the stream \fIs\fR and returns a reference to the stream. |