diff options
author | Michele Calgaro <[email protected]> | 2024-07-15 19:08:22 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-07-18 09:31:41 +0900 |
commit | a30f5359f03c3017fa19a6770fab32d25d22cb87 (patch) | |
tree | cb365dd7a1c3666e3f972c6cad04be7b8e846cba /doc/man/man3/tqfontdialog.3qt | |
parent | 25ad1267da6916e738a126ff5a9b41cd686adfc6 (diff) | |
download | tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.tar.gz tqt3-a30f5359f03c3017fa19a6770fab32d25d22cb87.zip |
Rename graphics class nt* related files to equivalent tq* (part 1)
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/man/man3/tqfontdialog.3qt')
-rw-r--r-- | doc/man/man3/tqfontdialog.3qt | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/man/man3/tqfontdialog.3qt b/doc/man/man3/tqfontdialog.3qt index b3feeae7c..6f3fe18bf 100644 --- a/doc/man/man3/tqfontdialog.3qt +++ b/doc/man/man3/tqfontdialog.3qt @@ -1,5 +1,5 @@ '\" t -.TH QFontDialog 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQFontDialog 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 -QFontDialog \- Dialog widget for selecting a font +TQFontDialog \- Dialog widget for selecting a font .SH SYNOPSIS -\fC#include <ntqfontdialog.h>\fR +\fC#include <tqfontdialog.h>\fR .PP Inherits QDialog. .PP .SS "Static Public Members" -<li class=fn>QFont \fBgetFont\fR ( bool * ok, const QFont & initial, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>QFont \fBgetFont\fR ( bool * ok, TQWidget * parent = 0, const char * name = 0 ) +<li class=fn>TQFont \fBgetFont\fR ( bool * ok, const TQFont & initial, TQWidget * parent = 0, const char * name = 0 ) <li class=fn>TQFont \fBgetFont\fR ( bool * ok, TQWidget * parent = 0, const char * name = 0 ) .SH DESCRIPTION -The QFontDialog class provides a dialog widget for selecting a font. +The TQFontDialog class provides a dialog widget for selecting a font. .PP The usual way to use this class is to call one of the static convenience functions, e.g. getFont(). .PP @@ -27,9 +27,9 @@ Examples: .br bool ok; .br - QFont font = QFontDialog::getFont( + TQFont font = TQFontDialog::getFont( .br - &ok, QFont( "Helvetica [Cronyx]", 10 ), this ); + &ok, TQFont( "Helvetica [Cronyx]", 10 ), this ); .br if ( ok ) { .br @@ -49,25 +49,25 @@ The dialog can also be used to set a widget's font directly: .PP .nf .br - myWidget.setFont( QFontDialog::getFont( 0, myWidget.font() ) ); + myWidget.setFont( TQFontDialog::getFont( 0, myWidget.font() ) ); .br .fi If the user clicks OK the font they chose will be used for myWidget, and if they click Cancel the original font is used. .PP -See also QFont, QFontInfo, QFontMetrics, and Dialog Classes. +See also TQFont, TQFontInfo, TQFontMetrics, and Dialog Classes. .PP .ce 1 .B "[Image Omitted]" .PP .SH MEMBER FUNCTION DOCUMENTATION -.SH "QFont QFontDialog::getFont ( bool * ok, const QFont & initial, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "TQFont TQFontDialog::getFont ( bool * ok, const TQFont & initial, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" Executes a modal font dialog and returns a font. .PP If the user clicks OK, the selected font is returned. If the user clicks Cancel, the \fIinitial\fR font is returned. .PP The dialog is called \fIname\fR, with the parent \fIparent\fR. \fIinitial\fR is the initially selected font. If the \fIok\fR parameter is not-null, \fI*\fR\fIok\fR is set to TRUE if the user clicked OK, and set to FALSE if the user clicked Cancel. .PP -This static function is less flexible than the full QFontDialog object, but is convenient and easy to use. +This static function is less flexible than the full TQFontDialog object, but is convenient and easy to use. .PP Examples: .)l @@ -76,7 +76,7 @@ Examples: .br bool ok; .br - QFont font = QFontDialog::getFont( &ok, QFont( "Times", 12 ), this ); + TQFont font = TQFontDialog::getFont( &ok, TQFont( "Times", 12 ), this ); .br if ( ok ) { .br @@ -96,14 +96,14 @@ The dialog can also be used to set a widget's font directly: .PP .nf .br - myWidget.setFont( QFontDialog::getFont( 0, myWidget.font() ) ); + myWidget.setFont( TQFontDialog::getFont( 0, myWidget.font() ) ); .br .fi In this example, if the user clicks OK the font they chose will be used, and if they click Cancel the original font is used. .PP Examples: .)l chart/chartform.cpp, chart/optionsform.cpp, qfd/fontdisplayer.cpp, qwerty/qwerty.cpp, and xform/xform.cpp. -.SH "QFont QFontDialog::getFont ( bool * ok, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" +.SH "TQFont TQFontDialog::getFont ( bool * ok, TQWidget * parent = 0, const char * name = 0 )\fC [static]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP Executes a modal font dialog and returns a font. @@ -112,7 +112,7 @@ If the user clicks OK, the selected font is returned. If the user clicks Cancel, .PP The dialog is called \fIname\fR, with parent \fIparent\fR. If the \fIok\fR parameter is not-null, \fI*\fR\fIok\fR is set to TRUE if the user clicked OK, and FALSE if the user clicked Cancel. .PP -This static function is less functional than the full QFontDialog object, but is convenient and easy to use. +This static function is less functional than the full TQFontDialog object, but is convenient and easy to use. .PP Example: .PP @@ -120,7 +120,7 @@ Example: .br bool ok; .br - QFont font = QFontDialog::getFont( &ok, this ); + TQFont font = TQFontDialog::getFont( &ok, this ); .br if ( ok ) { .br @@ -138,7 +138,7 @@ Example: .PP .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqfontdialog.html +.BR http://doc.trolltech.com/tqfontdialog.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |