diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:32 +0900 | 
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2021-02-02 00:33:10 +0100 | 
| commit | 7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e (patch) | |
| tree | 59a3ce045c4768ecdc5ea99da560934619fbb0a9 /src/kernel/qapplication.cpp | |
| parent | d8d67a842b11ba1b0c2ce83d7168670941499dbf (diff) | |
| download | qt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.tar.gz qt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.zip | |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
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 d87d2e5..f784c7e 100644 --- a/src/kernel/qapplication.cpp +++ b/src/kernel/qapplication.cpp @@ -1421,7 +1421,7 @@ QStyle& QApplication::style()      if ( is_app_running && !is_app_closing && (*app_pal != app_pal_copy) ) {  	QEvent e( QEvent::ApplicationPaletteChange );  	QWidgetIntDictIt it( *((QWidgetIntDict*)QWidget::mapper) ); -	register QWidget *w; +	QWidget *w;  	while ( (w=it.current()) ) {		// for all widgets...  	    ++it;  	    sendEvent( w, &e ); @@ -1467,7 +1467,7 @@ void QApplication::setStyle( QStyle *style )      if (old) {  	if ( is_app_running && !is_app_closing ) {  	    QWidgetIntDictIt it( *((QWidgetIntDict*)QWidget::mapper) ); -	    register QWidget *w; +	    QWidget *w;  	    while ( (w=it.current()) ) {		// for all widgets...  		++it;  		if ( !w->testWFlags(WType_Desktop) &&	// except desktop @@ -1494,7 +1494,7 @@ void QApplication::setStyle( QStyle *style )      if (old) {  	if ( is_app_running && !is_app_closing ) {  	    QWidgetIntDictIt it( *((QWidgetIntDict*)QWidget::mapper) ); -	    register QWidget *w; +	    QWidget *w;  	    while ( (w=it.current()) ) {		// for all widgets...  		++it;  		if ( !w->testWFlags(WType_Desktop) ) {	// except desktop @@ -2080,7 +2080,7 @@ void QApplication::setPalette( const QPalette &palette, bool informWidgets,  	if ( !oldpal || ( *oldpal != pal ) ) {  	    QEvent e( QEvent::ApplicationPaletteChange );  	    QWidgetIntDictIt it( *((QWidgetIntDict*)QWidget::mapper) ); -	    register QWidget *w; +	    QWidget *w;  	    while ( (w=it.current()) ) {		// for all widgets...  		++it;  		if ( all || (!className && w->isTopLevel() ) || w->inherits(className) ) // matching class @@ -2170,7 +2170,7 @@ void QApplication::setFont( const QFont &font, bool informWidgets,      if ( informWidgets && is_app_running && !is_app_closing ) {  	QEvent e( QEvent::ApplicationFontChange );  	QWidgetIntDictIt it( *((QWidgetIntDict*)QWidget::mapper) ); -	register QWidget *w; +	QWidget *w;  	while ( (w=it.current()) ) {		// for all widgets...  	    ++it;  	    if ( all || (!className && w->isTopLevel() ) || w->inherits(className) ) // matching class @@ -2780,7 +2780,7 @@ bool QApplication::internalNotify( QObject *receiver, QEvent * e)  {      if ( eventFilters ) {  	QObjectListIt it( *eventFilters ); -	register QObject *obj; +	QObject *obj;  	while ( (obj=it.current()) != 0 ) {	// send to all filters  	    ++it;				//   until one returns TRUE  	    if ( obj->eventFilter(receiver,e) ) | 
