diff options
Diffstat (limited to 'src/dialogs/qmessagebox.cpp')
-rw-r--r-- | src/dialogs/qmessagebox.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/dialogs/qmessagebox.cpp b/src/dialogs/qmessagebox.cpp index 23e1d5cde..97ba0e850 100644 --- a/src/dialogs/qmessagebox.cpp +++ b/src/dialogs/qmessagebox.cpp @@ -40,7 +40,7 @@ #include "ntqmessagebox.h" -#ifndef QT_NO_MESSAGEBOX +#ifndef TQT_NO_MESSAGEBOX #include "ntqaccel.h" #include "ntqlabel.h" @@ -566,7 +566,7 @@ TQMessageBox::TQMessageBox( const TQString& caption, : TQDialog( parent, name, modal, f | WStyle_Customize | WStyle_DialogBorder | WStyle_Title | WStyle_SysMenu ) { init( button0, button1, button2 ); -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA setCaption( caption ); #endif setText( text ); @@ -1022,7 +1022,7 @@ void TQMessageBox::keyPressEvent( TQKeyEvent *e ) return; } } -#ifndef QT_NO_ACCEL +#ifndef TQT_NO_ACCEL if ( !( e->state() & AltButton ) ) { TQObjectList *list = queryList( "TQPushButton" ); TQObjectListIt it( *list ); @@ -1315,7 +1315,7 @@ void TQMessageBox::about( TQWidget *parent, const TQString &caption, parent, "qt_msgbox_simple_about_box", TRUE, WDestructiveClose); TQ_CHECK_PTR( mb ); -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA const TQPixmap *pm = parent ? parent->icon() : 0; if ( pm && !pm->isNull() ) mb->setIconPixmap( *pm ); @@ -1381,7 +1381,7 @@ static int textBox( TQWidget *parent, TQMessageBox::Icon severity, if ( b[2] ) mb->setButtonText( 3, button2Text ); -#ifndef QT_NO_CURSOR +#ifndef TQT_NO_CURSOR mb->setCursor( TQt::arrowCursor ); #endif return mb->exec() - 1; @@ -1597,14 +1597,14 @@ void TQMessageBox::aboutTQt( TQWidget *parent, const TQString &caption ) TQ_CHECK_PTR( mb ); mb->setWFlags( WDestructiveClose ); -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA TQString c = caption; if ( c.isNull() ) c = tr( "About TQt" ); mb->setCaption( c ); #endif mb->setText( *translatedTextAboutTQt ); -#ifndef QT_NO_IMAGEIO +#ifndef TQT_NO_IMAGEIO TQPixmap pm; TQImage logo( (const char **)qtlogo_xpm); if ( tqGray(mb->palette().active().text().rgb()) > @@ -1641,7 +1641,7 @@ void TQMessageBox::aboutTQt( TQWidget *parent, const TQString &caption ) void TQMessageBox::setIcon( const TQPixmap &pix ) { //reimplemented to avoid compiler warning. -#ifndef QT_NO_WIDGET_TOPEXTRA +#ifndef TQT_NO_WIDGET_TOPEXTRA TQDialog::setIcon( pix ); #endif } |