diff options
Diffstat (limited to 'src/dialogs/qmessagebox.cpp')
-rw-r--r-- | src/dialogs/qmessagebox.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp index 97ba0e850..50244b9c7 100644 --- a/src/dialogs/qmessagebox.cpp +++ b/src/dialogs/qmessagebox.cpp @@ -58,7 +58,7 @@ #ifdef Q_WS_X11 -#include "private/tqtkdeintegration_x11_p.h" +#include "private/tqttdeintegration_x11_p.h" #endif extern bool tqt_use_native_dialogs; @@ -1121,8 +1121,8 @@ int TQMessageBox::information( TQWidget *parent, int button0, int button1, int button2 ) { #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::information( parent, caption, text, button0, button1, button2 ); + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::information( parent, caption, text, button0, button1, button2 ); #endif TQMessageBox *mb = new TQMessageBox( caption, text, Information, button0, button1, button2, @@ -1172,8 +1172,8 @@ int TQMessageBox::question( TQWidget *parent, int button0, int button1, int button2 ) { #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::question( parent, caption, text, button0, button1, button2 ); + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::question( parent, caption, text, button0, button1, button2 ); #endif TQMessageBox *mb = new TQMessageBox( caption, text, Question, button0, button1, button2, @@ -1224,8 +1224,8 @@ int TQMessageBox::warning( TQWidget *parent, int button0, int button1, int button2 ) { #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::warning( parent, caption, text, button0, button1, button2 ); + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::warning( parent, caption, text, button0, button1, button2 ); #endif TQMessageBox *mb = new TQMessageBox( caption, text, Warning, button0, button1, button2, @@ -1276,8 +1276,8 @@ int TQMessageBox::critical( TQWidget *parent, int button0, int button1, int button2 ) { #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::critical( parent, caption, text, button0, button1, button2 ); + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::critical( parent, caption, text, button0, button1, button2 ); #endif TQMessageBox *mb = new TQMessageBox( caption, text, Critical, button0, button1, button2, @@ -1427,8 +1427,8 @@ int TQMessageBox::information( TQWidget *parent, const TQString &caption, int escapeButtonNumber ) { #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::information( parent, caption, text, + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::information( parent, caption, text, button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber ); #endif return textBox( parent, Information, caption, text, @@ -1474,8 +1474,8 @@ int TQMessageBox::question( TQWidget *parent, const TQString &caption, int escapeButtonNumber ) { #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::question( parent, caption, text, + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::question( parent, caption, text, button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber ); #endif return textBox( parent, Question, caption, text, @@ -1523,8 +1523,8 @@ int TQMessageBox::warning( TQWidget *parent, const TQString &caption, int escapeButtonNumber ) { #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::warning( parent, caption, text, + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::warning( parent, caption, text, button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber ); #endif return textBox( parent, Warning, caption, text, @@ -1568,8 +1568,8 @@ int TQMessageBox::critical( TQWidget *parent, const TQString &caption, int escapeButtonNumber ) { #if defined(Q_WS_X11) - if ( tqt_use_native_dialogs && TQKDEIntegration::enabled()) - return TQKDEIntegration::critical( parent, caption, text, + if ( tqt_use_native_dialogs && TQTDEIntegration::enabled()) + return TQTDEIntegration::critical( parent, caption, text, button0Text, button1Text, button2Text, defaultButtonNumber, escapeButtonNumber ); #endif return textBox( parent, Critical, caption, text, |