From 0f92dd542b65bc910caaf190b7c623aa5158c86a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 14 Nov 2011 22:33:41 -0600 Subject: Fix native TQt3 accidental conversion to tquit --- examples/rot13/rot13.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/rot13/rot13.cpp') diff --git a/examples/rot13/rot13.cpp b/examples/rot13/rot13.cpp index 967c72de..e44d7b87 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(); } -- cgit v1.2.1