summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qmessagebox.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2012-02-28 22:31:39 -0600
committerTimothy Pearson <[email protected]>2012-02-28 22:31:39 -0600
commit41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch)
tree6d4d5407c000add30aa78630e009c0e5d633e440 /src/dialogs/qmessagebox.cpp
parent1740cd279522c060e738bbbffacab83355d2b794 (diff)
downloadtqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz
tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip
Automated conversion from qt3
Diffstat (limited to 'src/dialogs/qmessagebox.cpp')
-rw-r--r--src/dialogs/qmessagebox.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp
index 96aabc066..b27ce1a82 100644
--- a/src/dialogs/qmessagebox.cpp
+++ b/src/dialogs/qmessagebox.cpp
@@ -61,7 +61,7 @@
#include "private/qtkdeintegration_x11_p.h"
#endif
-extern bool qt_use_native_dialogs;
+extern bool tqt_use_native_dialogs;
// Internal class - don't touch
@@ -614,7 +614,7 @@ void TQMessageBox::init( int button0, int button1, int button2 )
if ( (button2 && !button1) || (button1 && !button0) ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQMessageBox: Inconsistent button parameters" );
+ tqWarning( "TQMessageBox: Inconsistent button parameters" );
#endif
button0 = button1 = button2 = 0;
}
@@ -634,7 +634,7 @@ void TQMessageBox::init( int button0, int button1, int button2 )
if ( (b & Default) ) {
if ( mbd->defButton >= 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQMessageBox: There can be at most one "
+ tqWarning( "TQMessageBox: There can be at most one "
"default button" );
#endif
} else {
@@ -644,7 +644,7 @@ void TQMessageBox::init( int button0, int button1, int button2 )
if ( (b & Escape) ) {
if ( mbd->escButton >= 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQMessageBox: There can be at most one "
+ tqWarning( "TQMessageBox: There can be at most one "
"escape button" );
#endif
} else {
@@ -657,13 +657,13 @@ void TQMessageBox::init( int button0, int button1, int button2 )
b = Ok;
} else if ( b < 0 || b > LastButton ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQMessageBox: Invalid button specifier" );
+ tqWarning( "TQMessageBox: Invalid button specifier" );
#endif
b = Ok;
} else {
if ( i > 0 && mbd->button[i-1] == 0 ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "TQMessageBox: Inconsistent button parameters; "
+ tqWarning( "TQMessageBox: Inconsistent button parameters; "
"button %d defined but not button %d",
i+1, i );
#endif
@@ -1121,7 +1121,7 @@ int TQMessageBox::information( TQWidget *parent,
int button0, int button1, int button2 )
{
#if defined(Q_WS_X11)
- if ( qt_use_native_dialogs && TQKDEIntegration::enabled())
+ if ( tqt_use_native_dialogs && TQKDEIntegration::enabled())
return TQKDEIntegration::information( parent, caption, text, button0, button1, button2 );
#endif
TQMessageBox *mb = new TQMessageBox( caption, text, Information,
@@ -1172,7 +1172,7 @@ int TQMessageBox::question( TQWidget *parent,
int button0, int button1, int button2 )
{
#if defined(Q_WS_X11)
- if ( qt_use_native_dialogs && TQKDEIntegration::enabled())
+ if ( tqt_use_native_dialogs && TQKDEIntegration::enabled())
return TQKDEIntegration::question( parent, caption, text, button0, button1, button2 );
#endif
TQMessageBox *mb = new TQMessageBox( caption, text, Question,
@@ -1224,7 +1224,7 @@ int TQMessageBox::warning( TQWidget *parent,
int button0, int button1, int button2 )
{
#if defined(Q_WS_X11)
- if ( qt_use_native_dialogs && TQKDEIntegration::enabled())
+ if ( tqt_use_native_dialogs && TQKDEIntegration::enabled())
return TQKDEIntegration::warning( parent, caption, text, button0, button1, button2 );
#endif
TQMessageBox *mb = new TQMessageBox( caption, text, Warning,
@@ -1276,7 +1276,7 @@ int TQMessageBox::critical( TQWidget *parent,
int button0, int button1, int button2 )
{
#if defined(Q_WS_X11)
- if ( qt_use_native_dialogs && TQKDEIntegration::enabled())
+ if ( tqt_use_native_dialogs && TQKDEIntegration::enabled())
return TQKDEIntegration::critical( parent, caption, text, button0, button1, button2 );
#endif
TQMessageBox *mb = new TQMessageBox( caption, text, Critical,
@@ -1427,7 +1427,7 @@ int TQMessageBox::information( TQWidget *parent, const TQString &caption,
int escapeButtonNumber )
{
#if defined(Q_WS_X11)
- if ( qt_use_native_dialogs && TQKDEIntegration::enabled())
+ if ( tqt_use_native_dialogs && TQKDEIntegration::enabled())
return TQKDEIntegration::information( parent, caption, text,
button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber );
#endif
@@ -1474,7 +1474,7 @@ int TQMessageBox::question( TQWidget *parent, const TQString &caption,
int escapeButtonNumber )
{
#if defined(Q_WS_X11)
- if ( qt_use_native_dialogs && TQKDEIntegration::enabled())
+ if ( tqt_use_native_dialogs && TQKDEIntegration::enabled())
return TQKDEIntegration::question( parent, caption, text,
button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber );
#endif
@@ -1523,7 +1523,7 @@ int TQMessageBox::warning( TQWidget *parent, const TQString &caption,
int escapeButtonNumber )
{
#if defined(Q_WS_X11)
- if ( qt_use_native_dialogs && TQKDEIntegration::enabled())
+ if ( tqt_use_native_dialogs && TQKDEIntegration::enabled())
return TQKDEIntegration::warning( parent, caption, text,
button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber );
#endif
@@ -1568,7 +1568,7 @@ int TQMessageBox::critical( TQWidget *parent, const TQString &caption,
int escapeButtonNumber )
{
#if defined(Q_WS_X11)
- if ( qt_use_native_dialogs && TQKDEIntegration::enabled())
+ if ( tqt_use_native_dialogs && TQKDEIntegration::enabled())
return TQKDEIntegration::critical( parent, caption, text,
button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber );
#endif