diff options
Diffstat (limited to 'src/kernel/qapplication.cpp')
-rw-r--r-- | src/kernel/qapplication.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 6eb69ff45..c15f19ab4 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -481,7 +481,7 @@ Q_EXPORT void qAddPostRoutine( TQtCleanUpFunction p) { if ( !postRList ) { postRList = new TQVFuncList; - Q_CHECK_PTR( postRList ); + TQ_CHECK_PTR( postRList ); } postRList->prepend( p ); } @@ -1878,7 +1878,7 @@ void TQApplication::setPalette( const TQPalette &palette, bool informWidgets, if ( !className ) { if ( !app_pal ) { app_pal = new TQPalette( pal ); - Q_CHECK_PTR( app_pal ); + TQ_CHECK_PTR( app_pal ); } else { *app_pal = pal; } @@ -1889,7 +1889,7 @@ void TQApplication::setPalette( const TQPalette &palette, bool informWidgets, } else { if ( !app_palettes ) { app_palettes = new TQAsciiDict<TQPalette>; - Q_CHECK_PTR( app_palettes ); + TQ_CHECK_PTR( app_palettes ); app_palettes->setAutoDelete( TRUE ); } oldpal = app_palettes->find( className ); @@ -1934,7 +1934,7 @@ TQFont TQApplication::font( const TQWidget *w ) } if ( !app_font ) { app_font = new TQFont( "Helvetica" ); - Q_CHECK_PTR( app_font ); + TQ_CHECK_PTR( app_font ); } return *app_font; } @@ -1964,7 +1964,7 @@ void TQApplication::setFont( const TQFont &font, bool informWidgets, qt_app_has_font = TRUE; if ( !app_font ) { app_font = new TQFont( font ); - Q_CHECK_PTR( app_font ); + TQ_CHECK_PTR( app_font ); } else { *app_font = font; } @@ -1979,11 +1979,11 @@ void TQApplication::setFont( const TQFont &font, bool informWidgets, } else { if (!app_fonts){ app_fonts = new TQAsciiDict<TQFont>; - Q_CHECK_PTR( app_fonts ); + TQ_CHECK_PTR( app_fonts ); app_fonts->setAutoDelete( TRUE ); } TQFont* fnt = new TQFont(font); - Q_CHECK_PTR( fnt ); + TQ_CHECK_PTR( fnt ); app_fonts->insert(className, fnt); } if ( informWidgets && is_app_running && !is_app_closing ) { @@ -3110,7 +3110,7 @@ void TQApplication::postEvent( TQObject *receiver, TQEvent *event ) if ( !globalPostedEvents ) { // create list globalPostedEvents = new TQPostEventList; - Q_CHECK_PTR( globalPostedEvents ); + TQ_CHECK_PTR( globalPostedEvents ); globalPostedEvents->setAutoDelete( TRUE ); qapp_cleanup_events.set( &globalPostedEvents ); } @@ -3757,7 +3757,7 @@ TQDesktopWidget *TQApplication::desktop() if ( !qt_desktopWidget || // not created yet !qt_desktopWidget->isDesktop() ) { // reparented away qt_desktopWidget = new TQDesktopWidget(); - Q_CHECK_PTR( qt_desktopWidget ); + TQ_CHECK_PTR( qt_desktopWidget ); } return qt_desktopWidget; } @@ -3770,7 +3770,7 @@ TQClipboard *TQApplication::clipboard() { if ( qt_clipboard == 0 ) { qt_clipboard = new TQClipboard; - Q_CHECK_PTR( qt_clipboard ); + TQ_CHECK_PTR( qt_clipboard ); } return qt_clipboard; } |