summaryrefslogtreecommitdiffstats
path: root/src/kernel/qapplication.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/qapplication.cpp')
-rw-r--r--src/kernel/qapplication.cpp12
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) )