summaryrefslogtreecommitdiffstats
path: root/examples/action
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/action
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/action')
-rw-r--r--examples/action/application.cpp2
-rw-r--r--examples/action/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/action/application.cpp b/examples/action/application.cpp
index 23a3a8755..9cea0a45e 100644
--- a/examples/action/application.cpp
+++ b/examples/action/application.cpp
@@ -93,7 +93,7 @@ ApplicationWindow::ApplicationWindow()
SLOT( close() ) );
fileQuitAction = new TQAction( "Quit", "&Quit", CTRL+Key_Q, this,
- "tquit" );
+ "quit" );
connect( fileQuitAction, SIGNAL( activated() ) , qApp,
SLOT( closeAllWindows() ) );
diff --git a/examples/action/main.cpp b/examples/action/main.cpp
index 215211630..3c632611d 100644
--- a/examples/action/main.cpp
+++ b/examples/action/main.cpp
@@ -15,6 +15,6 @@ int main( int argc, char ** argv ) {
ApplicationWindow * mw = new ApplicationWindow();
mw->setCaption( "Document 1" );
mw->show();
- a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(tquit()) );
+ a.connect( &a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()) );
return a.exec();
}