summaryrefslogtreecommitdiffstats
path: root/examples/hello
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/hello
parentd796c9dd933ab96ec83b9a634feedd5d32e1ba3f (diff)
downloadtqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.tar.gz
tqt3-0f92dd542b65bc910caaf190b7c623aa5158c86a.zip
Fix native TQt3 accidental conversion to tquit
Diffstat (limited to 'examples/hello')
-rw-r--r--examples/hello/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello/main.cpp b/examples/hello/main.cpp
index 45e9e58e7..d8e401b3b 100644
--- a/examples/hello/main.cpp
+++ b/examples/hello/main.cpp
@@ -31,7 +31,7 @@ int main( int argc, char **argv )
#ifndef QT_NO_WIDGET_TOPEXTRA // for TQt/Embedded minimal build
h.setCaption( "TQt says hello" );
#endif
- TQObject::connect( &h, SIGNAL(clicked()), &a, SLOT(tquit()) );
+ TQObject::connect( &h, SIGNAL(clicked()), &a, SLOT(quit()) );
h.setFont( TQFont("times",32,TQFont::Bold) ); // default font
h.setBackgroundColor( TQt::white ); // default bg color
a.setMainWidget( &h );