diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-01-30 20:17:32 +0900 |
commit | 99e56ba8db70324cc5c7ab416a3b48171613bd59 (patch) | |
tree | 52fe52817fe45a81a7e03254b614b67587d83e37 /src/kernel/qapplication.cpp | |
parent | 630dcedfb398b350522742f0ab4d1255ac84da85 (diff) | |
download | tqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.tar.gz tqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/qapplication.cpp')
-rw-r--r-- | src/kernel/qapplication.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qapplication.cpp b/src/kernel/qapplication.cpp index 36c2ddea5..9b04e1d20 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -1421,7 +1421,7 @@ TQStyle& TQApplication::style() if ( is_app_running && !is_app_closing && (*app_pal != app_pal_copy) ) { TQEvent e( TQEvent::ApplicationPaletteChange ); TQWidgetIntDictIt it( *((TQWidgetIntDict*)TQWidget::mapper) ); - register TQWidget *w; + TQWidget *w; while ( (w=it.current()) ) { // for all widgets... ++it; sendEvent( w, &e ); @@ -1467,7 +1467,7 @@ void TQApplication::setStyle( TQStyle *style ) if (old) { if ( is_app_running && !is_app_closing ) { TQWidgetIntDictIt it( *((TQWidgetIntDict*)TQWidget::mapper) ); - register TQWidget *w; + TQWidget *w; while ( (w=it.current()) ) { // for all widgets... ++it; if ( !w->testWFlags(WType_Desktop) && // except desktop @@ -1494,7 +1494,7 @@ void TQApplication::setStyle( TQStyle *style ) if (old) { if ( is_app_running && !is_app_closing ) { TQWidgetIntDictIt it( *((TQWidgetIntDict*)TQWidget::mapper) ); - register TQWidget *w; + TQWidget *w; while ( (w=it.current()) ) { // for all widgets... ++it; if ( !w->testWFlags(WType_Desktop) ) { // except desktop @@ -2080,7 +2080,7 @@ void TQApplication::setPalette( const TQPalette &palette, bool informWidgets, if ( !oldpal || ( *oldpal != pal ) ) { TQEvent e( TQEvent::ApplicationPaletteChange ); TQWidgetIntDictIt it( *((TQWidgetIntDict*)TQWidget::mapper) ); - register TQWidget *w; + TQWidget *w; while ( (w=it.current()) ) { // for all widgets... ++it; if ( all || (!className && w->isTopLevel() ) || w->inherits(className) ) // matching class @@ -2170,7 +2170,7 @@ void TQApplication::setFont( const TQFont &font, bool informWidgets, if ( informWidgets && is_app_running && !is_app_closing ) { TQEvent e( TQEvent::ApplicationFontChange ); TQWidgetIntDictIt it( *((TQWidgetIntDict*)TQWidget::mapper) ); - register TQWidget *w; + TQWidget *w; while ( (w=it.current()) ) { // for all widgets... ++it; if ( all || (!className && w->isTopLevel() ) || w->inherits(className) ) // matching class @@ -2780,7 +2780,7 @@ bool TQApplication::internalNotify( TQObject *receiver, TQEvent * e) { if ( eventFilters ) { TQObjectListIt it( *eventFilters ); - register TQObject *obj; + TQObject *obj; while ( (obj=it.current()) != 0 ) { // send to all filters ++it; // until one returns TRUE if ( obj->eventFilter(receiver,e) ) |