diff options
Diffstat (limited to 'doc/man/man3/tqmessagebox.3qt')
-rw-r--r-- | doc/man/man3/tqmessagebox.3qt | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/man/man3/tqmessagebox.3qt b/doc/man/man3/tqmessagebox.3qt index 62acce77a..0349f029d 100644 --- a/doc/man/man3/tqmessagebox.3qt +++ b/doc/man/man3/tqmessagebox.3qt @@ -40,10 +40,10 @@ Inherits QDialog. .BI "void \fBsetIcon\fR ( Icon )" .br .ti -1c -.BI "const QPixmap * \fBiconPixmap\fR () const" +.BI "const TQPixmap * \fBiconPixmap\fR () const" .br .ti -1c -.BI "void \fBsetIconPixmap\fR ( const QPixmap & )" +.BI "void \fBsetIconPixmap\fR ( const TQPixmap & )" .br .ti -1c .BI "TQString \fBbuttonText\fR ( int button ) const" @@ -100,10 +100,10 @@ Inherits QDialog. .BI "bool query ( const TQString & caption, const TQString & text, const TQString & yesButtonText = TQString::null, const TQString & noButtonText = TQString::null, TQWidget * parent = 0, const char * = 0 ) \fI(obsolete)\fR" .br .ti -1c -.BI "QPixmap standardIcon ( Icon icon, GUIStyle style ) \fI(obsolete)\fR" +.BI "TQPixmap standardIcon ( Icon icon, GUIStyle style ) \fI(obsolete)\fR" .br .ti -1c -.BI "QPixmap \fBstandardIcon\fR ( Icon icon )" +.BI "TQPixmap \fBstandardIcon\fR ( Icon icon )" .br .in -1c .SS "Properties" @@ -112,7 +112,7 @@ Inherits QDialog. .BI "Icon \fBicon\fR - the message box's icon" .br .ti -1c -.BI "QPixmap \fBiconPixmap\fR - the current icon" +.BI "TQPixmap \fBiconPixmap\fR - the current icon" .br .ti -1c .BI "TQString \fBtext\fR - the message box text to be displayed" @@ -408,7 +408,7 @@ Default - makes pressing Enter equivalent to clicking this button. Normally used .TP Escape - makes pressing Escape equivalent to clicking this button. Normally used with Abort, Cancel or similar. .PP -The text(), icon() and iconPixmap() functions provide access to the current text and pixmap of the message box. The setText(), setIcon() and setIconPixmap() let you change it. The difference between setIcon() and setIconPixmap() is that the former accepts a QMessageBox::Icon and can be used to set standard icons, whereas the latter accepts a QPixmap and can be used to set custom icons. +The text(), icon() and iconPixmap() functions provide access to the current text and pixmap of the message box. The setText(), setIcon() and setIconPixmap() let you change it. The difference between setIcon() and setIconPixmap() is that the former accepts a QMessageBox::Icon and can be used to set standard icons, whereas the latter accepts a TQPixmap and can be used to set custom icons. .PP setButtonText() and buttonText() provide access to the buttons. .PP @@ -604,7 +604,7 @@ If \fIparent\fR is 0, the message box becomes an application-global modal dialog See also information(), question(), and warning(). .SH "Icon QMessageBox::icon () const" Returns the message box's icon. See the "icon" property for details. -.SH "const QPixmap * QMessageBox::iconPixmap () const" +.SH "const TQPixmap * QMessageBox::iconPixmap () const" Returns the current icon. See the "iconPixmap" property for details. .SH "int QMessageBox::information ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1 = 0, int button2 = 0 )\fC [static]\fR" Opens an information message box with the caption \fIcaption\fR and the text \fItext\fR. The dialog may have up to three buttons. Each of the buttons, \fIbutton0\fR, \fIbutton1\fR and \fIbutton2\fR may be set to one of the following values: @@ -717,15 +717,15 @@ Sets the text of the message box button \fIbutton\fR to \fItext\fR. Setting the See also buttonText(). .SH "void QMessageBox::setIcon ( Icon )" Sets the message box's icon. See the "icon" property for details. -.SH "void QMessageBox::setIconPixmap ( const QPixmap & )" +.SH "void QMessageBox::setIconPixmap ( const TQPixmap & )" Sets the current icon. See the "iconPixmap" property for details. .SH "void QMessageBox::setText ( const TQString & )" Sets the message box text to be displayed. See the "text" property for details. .SH "void QMessageBox::setTextFormat ( TextFormat )" Sets the format of the text displayed by the message box. See the "textFormat" property for details. -.SH "QPixmap QMessageBox::standardIcon ( Icon icon )\fC [static]\fR" +.SH "TQPixmap QMessageBox::standardIcon ( Icon icon )\fC [static]\fR" Returns the pixmap used for a standard icon. This allows the pixmaps to be used in more complex message boxes. \fIicon\fR specifies the required icon, e.g. QMessageBox::Question, QMessageBox::Information, QMessageBox::Warning or QMessageBox::Critical. -.SH "QPixmap QMessageBox::standardIcon ( Icon icon, GUIStyle style )\fC [static]\fR" +.SH "TQPixmap QMessageBox::standardIcon ( Icon icon, GUIStyle style )\fC [static]\fR" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Returns the pixmap used for a standard icon. This allows the pixmaps to be used in more complex message boxes. \fIicon\fR specifies the required icon, e.g. QMessageBox::Information, QMessageBox::Warning or QMessageBox::Critical. @@ -803,7 +803,7 @@ The actual pixmap used for displaying the icon depends on the current GUI style. See also iconPixmap. .PP Set this property's value with setIcon() and get this property's value with icon(). -.SH "QPixmap iconPixmap" +.SH "TQPixmap iconPixmap" This property holds the current icon. .PP The icon currently used by the message box. Note that it's often hard to draw one pixmap that looks appropriate in both Motif and Windows GUI styles; you may want to draw two pixmaps. |