summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcolordialog.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqcolordialog.3qt')
-rw-r--r--doc/man/man3/tqcolordialog.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqcolordialog.3qt b/doc/man/man3/tqcolordialog.3qt
index 64b7f93bc..d96eebe32 100644
--- a/doc/man/man3/tqcolordialog.3qt
+++ b/doc/man/man3/tqcolordialog.3qt
@@ -14,7 +14,7 @@ QColorDialog \- Dialog widget for specifying colors
Inherits QDialog.
.PP
.SS "Static Public Members"
-<li class=fn>QColor \fBgetColor\fR ( const QColor & initial = white, QWidget * parent = 0, const char * name = 0 ) <li class=fn>QRgb \fBgetRgba\fR ( QRgb initial, bool * ok = 0, QWidget * parent = 0, const char * name = 0 ) <li class=fn>int \fBcustomCount\fR () <li class=fn>QRgb \fBcustomColor\fR ( int i ) <li class=fn>void \fBsetCustomColor\fR ( int i, QRgb c ) <li class=fn>void \fBsetStandardColor\fR ( int i, QRgb c )
+<li class=fn>TQColor \fBgetColor\fR ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>TQRgb \fBgetRgba\fR ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>int \fBcustomCount\fR () <li class=fn>TQRgb \fBcustomColor\fR ( int i ) <li class=fn>void \fBsetCustomColor\fR ( int i, TQRgb c ) <li class=fn>void \fBsetStandardColor\fR ( int i, TQRgb c )
.SH DESCRIPTION
The QColorDialog class provides a dialog widget for specifying colors.
.PP
@@ -34,25 +34,25 @@ The user can store customCount() different custom colors. The custom colors are
.PP
See also Dialog Classes and Graphics Classes.
.SH MEMBER FUNCTION DOCUMENTATION
-.SH "QRgb QColorDialog::customColor ( int i )\fC [static]\fR"
-Returns custom color number \fIi\fR as a QRgb.
+.SH "TQRgb QColorDialog::customColor ( int i )\fC [static]\fR"
+Returns custom color number \fIi\fR as a TQRgb.
.SH "int QColorDialog::customCount ()\fC [static]\fR"
Returns the number of custom colors supported by QColorDialog. All color dialogs share the same custom colors.
-.SH "QColor QColorDialog::getColor ( const QColor & initial = white, QWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
-Pops up a modal color dialog, lets the user choose a color, and returns that color. The color is initially set to \fIinitial\fR. The dialog is a child of \fIparent\fR and is called \fIname\fR. It returns an invalid (see QColor::isValid()) color if the user cancels the dialog. All colors allocated by the dialog will be deallocated before this function returns.
+.SH "TQColor QColorDialog::getColor ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
+Pops up a modal color dialog, lets the user choose a color, and returns that color. The color is initially set to \fIinitial\fR. The dialog is a child of \fIparent\fR and is called \fIname\fR. It returns an invalid (see TQColor::isValid()) color if the user cancels the dialog. All colors allocated by the dialog will be deallocated before this function returns.
.PP
Examples:
.)l chart/setdataform.cpp and scribble/scribble.cpp.
-.SH "QRgb QColorDialog::getRgba ( QRgb initial, bool * ok = 0, QWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
+.SH "TQRgb QColorDialog::getRgba ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
Pops up a modal color dialog to allow the user to choose a color and an alpha channel (transparency) value. The color+alpha is initially set to \fIinitial\fR. The dialog is a child of \fIparent\fR and called \fIname\fR.
.PP
If \fIok\fR is non-null, \fI*\fR\fIok\fR is set to TRUE if the user clicked OK, and to FALSE if the user clicked Cancel.
.PP
If the user clicks Cancel, the \fIinitial\fR value is returned.
-.SH "void QColorDialog::setCustomColor ( int i, QRgb c )\fC [static]\fR"
-Sets custom color number \fIi\fR to the QRgb value \fIc\fR.
-.SH "void QColorDialog::setStandardColor ( int i, QRgb c )\fC [static]\fR"
-Sets standard color number \fIi\fR to the QRgb value \fIc\fR.
+.SH "void QColorDialog::setCustomColor ( int i, TQRgb c )\fC [static]\fR"
+Sets custom color number \fIi\fR to the TQRgb value \fIc\fR.
+.SH "void QColorDialog::setStandardColor ( int i, TQRgb c )\fC [static]\fR"
+Sets standard color number \fIi\fR to the TQRgb value \fIc\fR.
.SH "SEE ALSO"
.BR http://doc.trolltech.com/ntqcolordialog.html