summaryrefslogtreecommitdiffstats
path: root/src/dialogs/qmessagebox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/qmessagebox.cpp')
-rw-r--r--src/dialogs/qmessagebox.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp
index fc902b5a..ce6c505b 100644
--- a/src/dialogs/qmessagebox.cpp
+++ b/src/dialogs/qmessagebox.cpp
@@ -67,7 +67,7 @@ extern bool qt_use_native_dialogs;
class TQMessageBoxLabel : public TQLabel
{
- Q_OBJECT
+ TQ_OBJECT
public:
TQMessageBoxLabel( TQWidget* parent ) : TQLabel( parent, "messageBoxText")
{
@@ -605,12 +605,12 @@ void TQMessageBox::init( int button0, int button1, int button2 )
"<p>TQt is a Trolltech product. "
"See <tt>http://www.trolltech.com/qt/</tt> "
"for more information.</p>"
- ).arg( QT_VERSION_STR );
+ ).arg( TQT_VERSION_STR );
#endif
}
label = new TQMessageBoxLabel( this );
- Q_CHECK_PTR( label );
+ TQ_CHECK_PTR( label );
if ( (button2 && !button1) || (button1 && !button0) ) {
#if defined(QT_CHECK_RANGE)
@@ -619,7 +619,7 @@ void TQMessageBox::init( int button0, int button1, int button2 )
button0 = button1 = button2 = 0;
}
mbd = new TQMessageBoxData(this);
- Q_CHECK_PTR( mbd );
+ TQ_CHECK_PTR( mbd );
mbd->icon = NoIcon;
mbd->iconLabel.setPixmap( TQPixmap() );
mbd->numButtons = 0;
@@ -1128,7 +1128,7 @@ int TQMessageBox::information( TQWidget *parent,
button0, button1, button2,
parent, "qt_msgbox_information", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
return mb->exec();
}
@@ -1179,7 +1179,7 @@ int TQMessageBox::question( TQWidget *parent,
button0, button1, button2,
parent, "qt_msgbox_information", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
return mb->exec();
}
@@ -1231,7 +1231,7 @@ int TQMessageBox::warning( TQWidget *parent,
button0, button1, button2,
parent, "qt_msgbox_warning", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
return mb->exec();
}
@@ -1283,7 +1283,7 @@ int TQMessageBox::critical( TQWidget *parent,
button0, button1, button2,
parent, "qt_msgbox_critical", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
return mb->exec();
}
@@ -1314,7 +1314,7 @@ void TQMessageBox::about( TQWidget *parent, const TQString &caption,
Ok + Default, 0, 0,
parent, "qt_msgbox_simple_about_box", TRUE,
WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
#ifndef QT_NO_WIDGET_TOPEXTRA
const TQPixmap *pm = parent ? parent->icon() : 0;
if ( pm && !pm->isNull() )
@@ -1371,7 +1371,7 @@ static int textBox( TQWidget *parent, TQMessageBox::Icon severity,
b[0], b[1], b[2],
parent, "qt_msgbox_information", TRUE,
TQt::WDestructiveClose);
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
if ( button0Text.isEmpty() )
mb->setButtonText( 1, TQMessageBox::tr(mb_texts[TQMessageBox::Ok]) );
else
@@ -1594,7 +1594,7 @@ int TQMessageBox::critical( TQWidget *parent, const TQString &caption,
void TQMessageBox::aboutTQt( TQWidget *parent, const TQString &caption )
{
TQMessageBox *mb = new TQMessageBox( parent, "qt_msgbox_about_qt" );
- Q_CHECK_PTR( mb );
+ TQ_CHECK_PTR( mb );
mb->setWFlags( WDestructiveClose );
#ifndef QT_NO_WIDGET_TOPEXTRA