summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqcolordialog.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-15 19:08:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-18 09:31:41 +0900
commita30f5359f03c3017fa19a6770fab32d25d22cb87 (patch)
treecb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/man/man3/tqcolordialog.3qt
parent25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff)
downloadtqt-a30f5359.tar.gz
tqt-a30f5359.zip
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqcolordialog.3qt')
-rw-r--r--doc/man/man3/tqcolordialog.3qt24
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/man/man3/tqcolordialog.3qt b/doc/man/man3/tqcolordialog.3qt
index d96eebe32..967c8cda4 100644
--- a/doc/man/man3/tqcolordialog.3qt
+++ b/doc/man/man3/tqcolordialog.3qt
@@ -1,5 +1,5 @@
'\" t
-.TH QColorDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*-
+.TH TQColorDialog 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,16 +7,16 @@
.ad l
.nh
.SH NAME
-QColorDialog \- Dialog widget for specifying colors
+TQColorDialog \- Dialog widget for specifying colors
.SH SYNOPSIS
-\fC#include <ntqcolordialog.h>\fR
+\fC#include <tqcolordialog.h>\fR
.PP
Inherits QDialog.
.PP
.SS "Static Public Members"
<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.
+The TQColorDialog class provides a dialog widget for specifying colors.
.PP
The color dialog's function is to allow users to choose colors. For example, you might use this in a drawing program to allow the user to set the brush color.
.PP
@@ -34,28 +34,28 @@ 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 "TQRgb QColorDialog::customColor ( int i )\fC [static]\fR"
+.SH "TQRgb TQColorDialog::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 "TQColor QColorDialog::getColor ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
+.SH "int TQColorDialog::customCount ()\fC [static]\fR"
+Returns the number of custom colors supported by TQColorDialog. All color dialogs share the same custom colors.
+.SH "TQColor TQColorDialog::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 "TQRgb QColorDialog::getRgba ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR"
+.SH "TQRgb TQColorDialog::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, TQRgb c )\fC [static]\fR"
+.SH "void TQColorDialog::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"
+.SH "void TQColorDialog::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
+.BR http://doc.trolltech.com/tqcolordialog.html
.BR http://www.trolltech.com/faq/tech.html
.SH COPYRIGHT
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the