diff options
Diffstat (limited to 'doc/man/man3/tqradiobutton.3qt')
-rw-r--r-- | doc/man/man3/tqradiobutton.3qt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/man/man3/tqradiobutton.3qt b/doc/man/man3/tqradiobutton.3qt index 3bd8f0833..e7d50575d 100644 --- a/doc/man/man3/tqradiobutton.3qt +++ b/doc/man/man3/tqradiobutton.3qt @@ -1,5 +1,5 @@ '\" t -.TH QRadioButton 3qt "2 February 2007" "Trolltech AS" \" -*- nroff -*- +.TH TQRadioButton 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,19 +7,19 @@ .ad l .nh .SH NAME -QRadioButton \- Radio button with a text or pixmap label +TQRadioButton \- Radio button with a text or pixmap label .SH SYNOPSIS -\fC#include <ntqradiobutton.h>\fR +\fC#include <tqradiobutton.h>\fR .PP Inherits QButton. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQRadioButton\fR ( TQWidget * parent, const char * name = 0 )" +.BI "\fBTQRadioButton\fR ( TQWidget * parent, const char * name = 0 )" .br .ti -1c -.BI "\fBQRadioButton\fR ( const TQString & text, TQWidget * parent, const char * name = 0 )" +.BI "\fBTQRadioButton\fR ( const TQString & text, TQWidget * parent, const char * name = 0 )" .br .ti -1c .BI "bool \fBisChecked\fR () const" @@ -107,15 +107,15 @@ Inherits QButton. .br .in -1c .SH DESCRIPTION -The QRadioButton widget provides a radio button with a text or pixmap label. +The TQRadioButton widget provides a radio button with a text or pixmap label. .PP -QRadioButton and QCheckBox are both option buttons. That is, they can be switched on (checked) or off (unchecked). The classes differ in how the choices for the user are restricted. Check boxes define "many of many" choices, whereas radio buttons provide a" one of many" choice. In a group of radio buttons only one radio button at a time can be checked; if the user selects another button, the previously selected button is switched off. +TQRadioButton and TQCheckBox are both option buttons. That is, they can be switched on (checked) or off (unchecked). The classes differ in how the choices for the user are restricted. Check boxes define "many of many" choices, whereas radio buttons provide a" one of many" choice. In a group of radio buttons only one radio button at a time can be checked; if the user selects another button, the previously selected button is switched off. .PP The easiest way to implement a "one of many" choice is simply to put the radio buttons into QButtonGroup. .PP Whenever a button is switched on or off it emits the signal toggled(). Connect to this signal if you want to trigger an action each time the button changes state. Otherwise, use isChecked() to see if a particular button is selected. .PP -Just like QPushButton, a radio button can display text or a pixmap. The text can be set in the constructor or with setText(); the pixmap is set with setPixmap(). +Just like TQPushButton, a radio button can display text or a pixmap. The text can be set in the constructor or with setText(); the pixmap is set with setPixmap(). .PP .ce 1 .B "[Image Omitted]" @@ -124,13 +124,13 @@ Just like QPushButton, a radio button can display text or a pixmap. The text can .ce 1 .B "[Image Omitted]" .PP -See also QPushButton, TQToolButton, GUI Design Handbook: Radio Button, and Basic Widgets. +See also TQPushButton, TQToolButton, GUI Design Handbook: Radio Button, and Basic Widgets. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QRadioButton::QRadioButton ( TQWidget * parent, const char * name = 0 )" +.SH "TQRadioButton::TQRadioButton ( TQWidget * parent, const char * name = 0 )" Constructs a radio button with no text. .PP The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor. -.SH "QRadioButton::QRadioButton ( const TQString & text, TQWidget * parent, const char * name = 0 )" +.SH "TQRadioButton::TQRadioButton ( const TQString & text, TQWidget * parent, const char * name = 0 )" Constructs a radio button with the text \fItext\fR. .PP The \fIparent\fR and \fIname\fR arguments are sent on to the TQWidget constructor. @@ -155,7 +155,7 @@ Returns the group that this button belongs to. If the button is not a member of any QButtonGroup, this function returns 0. .PP See also QButtonGroup. -.SH "bool QRadioButton::isChecked () const" +.SH "bool TQRadioButton::isChecked () const" Returns TRUE if the radio button is checked; otherwise returns FALSE. See the "checked" property for details. .SH "bool QButton::isDown () const" Returns TRUE if the button is pressed; otherwise returns FALSE. See the "down" property for details. @@ -182,7 +182,7 @@ See also pressed(), clicked(), and toggled(). Sets the accelerator associated with the button. See the "accel" property for details. .SH "void QButton::setAutoRepeat ( bool )\fC [virtual]\fR" Sets whether autoRepeat is enabled. See the "autoRepeat" property for details. -.SH "void QRadioButton::setChecked ( bool check )\fC [virtual slot]\fR" +.SH "void TQRadioButton::setChecked ( bool check )\fC [virtual slot]\fR" Sets whether the radio button is checked to \fIcheck\fR. See the "checked" property for details. .SH "void QButton::setDown ( bool )\fC [virtual]\fR" Sets whether the button is pressed. See the "down" property for details. @@ -253,7 +253,7 @@ There is no default text. Set this property's value with setText() and get this property's value with text(). .SH "SEE ALSO" -.BR http://doc.trolltech.com/ntqradiobutton.html +.BR http://doc.trolltech.com/tqradiobutton.html .BR http://www.trolltech.com/faq/tech.html .SH COPYRIGHT Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the |