summaryrefslogtreecommitdiffstats
path: root/src/widgets/qbuttongroup.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-01-30 20:17:32 +0900
committerMichele Calgaro <[email protected]>2020-01-30 20:17:32 +0900
commit99e56ba8db70324cc5c7ab416a3b48171613bd59 (patch)
tree52fe52817fe45a81a7e03254b614b67587d83e37 /src/widgets/qbuttongroup.cpp
parent630dcedfb398b350522742f0ab4d1255ac84da85 (diff)
downloadtqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.tar.gz
tqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/widgets/qbuttongroup.cpp')
-rw-r--r--src/widgets/qbuttongroup.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/qbuttongroup.cpp b/src/widgets/qbuttongroup.cpp
index 9ffb5f197..ec4298675 100644
--- a/src/widgets/qbuttongroup.cpp
+++ b/src/widgets/qbuttongroup.cpp
@@ -371,7 +371,7 @@ void TQButtonGroup::buttonPressed()
// introduce a TQButtonListIt if calling anything
int id = -1;
TQButton *bt = (TQButton *)sender(); // object that sent the signal
- for ( register TQButtonItem *i=buttons->first(); i; i=buttons->next() )
+ for ( TQButtonItem *i=buttons->first(); i; i=buttons->next() )
if ( bt == i->button ) { // button was clicked
id = i->id;
break;
@@ -391,7 +391,7 @@ void TQButtonGroup::buttonReleased()
// introduce a TQButtonListIt if calling anything
int id = -1;
TQButton *bt = (TQButton *)sender(); // object that sent the signal
- for ( register TQButtonItem *i=buttons->first(); i; i=buttons->next() )
+ for ( TQButtonItem *i=buttons->first(); i; i=buttons->next() )
if ( bt == i->button ) { // button was clicked
id = i->id;
break;
@@ -414,7 +414,7 @@ void TQButtonGroup::buttonClicked()
#if defined(QT_CHECK_NULL)
Q_ASSERT( bt );
#endif
- for ( register TQButtonItem *i=buttons->first(); i; i=buttons->next() ) {
+ for ( TQButtonItem *i=buttons->first(); i; i=buttons->next() ) {
if ( bt == i->button ) { // button was clicked
id = i->id;
break;