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 23:58:41 +0900
commitce9614515fa863c4a66870f5288e417eceaf9106 (patch)
tree46822e581173d96db101d0c8521fa1730cd09602 /src/widgets/qbuttongroup.cpp
parentcd2dc5026e152d6cf57895fe4f41cabdf2bb3eca (diff)
downloadtqt3-ce9614515fa863c4a66870f5288e417eceaf9106.tar.gz
tqt3-ce9614515fa863c4a66870f5288e417eceaf9106.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 99e56ba8db70324cc5c7ab416a3b48171613bd59)
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 595bd883b..d8acf3295 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;