summaryrefslogtreecommitdiffstats
path: root/examples/rot13
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-14 22:33:41 -0600
commit0f92dd542b65bc910caaf190b7c623aa5158c86a (patch)
tree120ab7e08fa0ffc354ef58d100f79a33c92aa6e6 /examples/rot13
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/rot13')
-rw-r--r--examples/rot13/rot13.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/rot13/rot13.cpp b/examples/rot13/rot13.cpp
index 967c72de7..e44d7b87b 100644
--- a/examples/rot13/rot13.cpp
+++ b/examples/rot13/rot13.cpp
@@ -21,14 +21,14 @@ Rot13::Rot13()
connect( left, SIGNAL(textChanged()), this, SLOT(changeRight()) );
connect( right, SIGNAL(textChanged()), this, SLOT(changeLeft()) );
- TQPushButton * tquit = new TQPushButton( "&Quit", this );
- tquit->setFocusPolicy( NoFocus );
- connect( tquit, SIGNAL(clicked()), qApp, SLOT(tquit()) );
+ TQPushButton * quit = new TQPushButton( "&Quit", this );
+ quit->setFocusPolicy( NoFocus );
+ connect( quit, SIGNAL(clicked()), qApp, SLOT(quit()) );
TQGridLayout * l = new TQGridLayout( this, 2, 2, 5 );
l->addWidget( left, 0, 0 );
l->addWidget( right, 0, 1 );
- l->addWidget( tquit, 1, 1, AlignRight );
+ l->addWidget( quit, 1, 1, AlignRight );
left->setFocus();
}