summaryrefslogtreecommitdiffstats
path: root/examples/hello
diff options
context:
space:
mode:
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 );