From e6077c30d14e9d662e8843c554db86c0d366d0b6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 6 Jun 2024 13:44:12 +0900 Subject: Rename str nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/ntqmessagebox.html | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) (limited to 'doc/html/ntqmessagebox.html') diff --git a/doc/html/ntqmessagebox.html b/doc/html/ntqmessagebox.html index 43a64c6cd..063937933 100644 --- a/doc/html/ntqmessagebox.html +++ b/doc/html/ntqmessagebox.html @@ -128,7 +128,7 @@ well without it: "Do you want to overwrite it?") .arg( filename ), tr("&Yes"), tr("&No"), - TQString::null, 0, 1 ) ) + TQString::null, 0, 1 ) ) return false; @@ -209,7 +209,7 @@ hard-coded button texts:

The critical() function should be reserved for critical errors. In -this example errorDetails is a TQString or const char*, and TQString +this example errorDetails is a TQString or const char*, and TQString is used to concatenate several strings:

     TQMessageBox::critical( 0, "Application name here",
@@ -323,7 +323,7 @@ becomes modal relative to parent.
 

The parent and name arguments are passed to the TQDialog constructor. -

TQMessageBox::TQMessageBox ( const TQString & caption, const TQString & text, Icon icon, int button0, int button1, int button2, TQWidget * parent = 0, const char * name = 0, bool modal = TRUE, WFlags f = WStyle_DialogBorder ) +

TQMessageBox::TQMessageBox ( const TQString & caption, const TQString & text, Icon icon, int button0, int button1, int button2, TQWidget * parent = 0, const char * name = 0, bool modal = TRUE, WFlags f = WStyle_DialogBorder )

Constructs a message box with a caption, a text, an icon, and up to three buttons. @@ -383,7 +383,7 @@ the TQDialog constructor. Destroys the message box. -

void TQMessageBox::about ( TQWidget * parent, const TQString & caption, const TQString & text ) [static] +

void TQMessageBox::about ( TQWidget * parent, const TQString & caption, const TQString & text ) [static]

Displays a simple about box with caption caption and text text. The about box's parent is parent.

about() looks for a suitable icon in four locations: @@ -397,7 +397,7 @@ Displays a simple about box with caption caption and text text

See also TQWidget::icon and TQApplication::mainWidget().

Examples: action/application.cpp, application/application.cpp, chart/chartform.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, menu/menu.cpp, and themes/themes.cpp. -

void TQMessageBox::aboutTQt ( TQWidget * parent, const TQString & caption = TQString::null ) [static] +

void TQMessageBox::aboutTQt ( TQWidget * parent, const TQString & caption = TQString::null ) [static]

Displays a simple message box about TQt, with caption caption and centered over parent (if parent is not 0). The message @@ -416,13 +416,13 @@ Adjusts the size of the message box to fit the contents just before resized before showing it.

Reimplemented from TQWidget. -

TQString TQMessageBox::buttonText ( int button ) const +

TQString TQMessageBox::buttonText ( int button ) const

Returns the text of the message box button button, or -TQString::null if the message box does not contain the button. +TQString::null if the message box does not contain the button.

See also setButtonText(). -

int TQMessageBox::critical ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1, int button2 = 0 ) [static] +

int TQMessageBox::critical ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1, int button2 = 0 ) [static]

Opens a critical message box with the caption caption and the text text. The dialog may have up to three buttons. Each of the @@ -452,7 +452,7 @@ becomes modal relative to parent.

See also information(), question(), and warning().

Examples: network/archivesearch/archivedialog.ui.h, network/ftpclient/ftpmainwindow.ui.h, process/process.cpp, and xml/outliner/outlinetree.cpp. -

int TQMessageBox::critical ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 ) [static] +

int TQMessageBox::critical ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 ) [static]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Displays a critical error message box with a caption, a text, and @@ -479,7 +479,7 @@ See the "icon" property for details.

const TQPixmap * TQMessageBox::iconPixmap () const

Returns the current icon. See the "iconPixmap" property for details. -

int TQMessageBox::information ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1 = 0, int button2 = 0 ) [static] +

int TQMessageBox::information ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1 = 0, int button2 = 0 ) [static]

Opens an information message box with the caption caption and the text text. The dialog may have up to three buttons. Each of @@ -509,7 +509,7 @@ becomes modal relative to parent.

See also question(), warning(), and critical().

Examples: action/application.cpp, application/application.cpp, dirview/dirview.cpp, fileiconview/qfileiconview.cpp, picture/picture.cpp, qwerty/qwerty.cpp, and simple/main.cpp. -

int TQMessageBox::information ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 ) [static] +

int TQMessageBox::information ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 ) [static]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Displays an information message box with caption caption, text @@ -533,21 +533,21 @@ button is pressed then -1 will be returned. It is suggested that you specify an Escape button to prevent this from happening.

See also question(), warning(), and critical(). -

int TQMessageBox::message ( const TQString & caption, const TQString & text, const TQString & buttonText = TQString::null, TQWidget * parent = 0, const char * = 0 ) [static] +

int TQMessageBox::message ( const TQString & caption, const TQString & text, const TQString & buttonText = TQString::null, TQWidget * parent = 0, const char * = 0 ) [static]

This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

Opens a modal message box directly using the specified parameters.

Please use information(), warning(), question(), or critical() instead.

Example: grapher/grapher.cpp. -

bool TQMessageBox::query ( const TQString & caption, const TQString & text, const TQString & yesButtonText = TQString::null, const TQString & noButtonText = TQString::null, TQWidget * parent = 0, const char * = 0 ) [static] +

bool TQMessageBox::query ( const TQString & caption, const TQString & text, const TQString & yesButtonText = TQString::null, const TQString & noButtonText = TQString::null, TQWidget * parent = 0, const char * = 0 ) [static]

This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

Queries the user using a modal message box with two buttons. Note that caption is not always shown, it depends on the window manager.

Please use information(), question(), warning(), or critical() instead. -

int TQMessageBox::question ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1 = 0, int button2 = 0 ) [static] +

int TQMessageBox::question ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1 = 0, int button2 = 0 ) [static]

Opens a question message box with the caption caption and the text text. The dialog may have up to three buttons. Each of the @@ -576,7 +576,7 @@ modal dialog box. If parent is a widget, the message box becomes modal relative to parent.

See also information(), warning(), and critical(). -

int TQMessageBox::question ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 ) [static] +

int TQMessageBox::question ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 ) [static]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Displays a question message box with caption caption, text text and one, two or three buttons. Returns the index of the @@ -599,7 +599,7 @@ button is pressed then -1 will be returned. It is suggested that you specify an Escape button to prevent this from happening.

See also information(), warning(), and critical(). -

void TQMessageBox::setButtonText ( int button, const TQString & text ) +

void TQMessageBox::setButtonText ( int button, const TQString & text )

Sets the text of the message box button button to text. Setting the text of a button that is not in the message box is @@ -612,7 +612,7 @@ See the "icon" property for details.

void TQMessageBox::setIconPixmap ( const TQPixmap & )

Sets the current icon. See the "iconPixmap" property for details. -

void TQMessageBox::setText ( const TQString & ) +

void TQMessageBox::setText ( const TQString & )

Sets the message box text to be displayed. See the "text" property for details.

void TQMessageBox::setTextFormat ( TextFormat ) @@ -635,13 +635,13 @@ allows the pixmaps to be used in more complex message boxes. TQMessageBox::Warning or TQMessageBox::Critical.

style is unused. -

TQString TQMessageBox::text () const +

TQString TQMessageBox::text () const

Returns the message box text to be displayed. See the "text" property for details.

TextFormat TQMessageBox::textFormat () const

Returns the format of the text displayed by the message box. See the "textFormat" property for details. -

int TQMessageBox::warning ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1, int button2 = 0 ) [static] +

int TQMessageBox::warning ( TQWidget * parent, const TQString & caption, const TQString & text, int button0, int button1, int button2 = 0 ) [static]

Opens a warning message box with the caption caption and the text text. The dialog may have up to three buttons. Each of the @@ -671,7 +671,7 @@ becomes modal relative to parent.

See also information(), question(), and critical().

Examples: chart/chartform.cpp, i18n/main.cpp, network/mail/smtp.cpp, qwerty/qwerty.cpp, showimg/showimg.cpp, and sound/sound.cpp. -

int TQMessageBox::warning ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 ) [static] +

int TQMessageBox::warning ( TQWidget * parent, const TQString & caption, const TQString & text, const TQString & button0Text = TQString::null, const TQString & button1Text = TQString::null, const TQString & button2Text = TQString::null, int defaultButtonNumber = 0, int escapeButtonNumber = -1 ) [static]

This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

Displays a warning message box with a caption, a text, and 1, 2 or @@ -722,12 +722,12 @@ Windows GUI styles; you may want to draw two pixmaps.

See also icon.

Set this property's value with setIconPixmap() and get this property's value with iconPixmap(). -

TQString text

+

TQString text

This property holds the message box text to be displayed.

The text will be interpreted either as a plain text or as rich text, depending on the text format setting (TQMessageBox::textFormat). The default setting is AutoText, i.e. the message box will try to auto-detect the format of the text. -

The default value of this property is TQString::null. +

The default value of this property is TQString::null.

See also textFormat.

Set this property's value with setText() and get this property's value with text(). -- cgit v1.2.1