summaryrefslogtreecommitdiffstats
path: root/examples/hello
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hello')
-rw-r--r--examples/hello/hello.cpp2
-rw-r--r--examples/hello/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/hello/hello.cpp b/examples/hello/hello.cpp
index a1782cf05..a1f5f9edb 100644
--- a/examples/hello/hello.cpp
+++ b/examples/hello/hello.cpp
@@ -22,7 +22,7 @@ Hello::Hello( const char *text, TQWidget *parent, const char *name )
: TQWidget(parent,name), t(text), b(0)
{
TQTimer *timer = new TQTimer(this);
- connect( timer, SIGNAL(timeout()), SLOT(animate()) );
+ connect( timer, TQ_SIGNAL(timeout()), TQ_SLOT(animate()) );
timer->start( 40 );
resize( 260, 130 );
diff --git a/examples/hello/main.cpp b/examples/hello/main.cpp
index 95fd3773b..22608f099 100644
--- a/examples/hello/main.cpp
+++ b/examples/hello/main.cpp
@@ -31,7 +31,7 @@ int main( int argc, char **argv )
#ifndef TQT_NO_WIDGET_TOPEXTRA // for TQt/Embedded minimal build
h.setCaption( "TQt says hello" );
#endif
- TQObject::connect( &h, SIGNAL(clicked()), &a, SLOT(quit()) );
+ TQObject::connect( &h, TQ_SIGNAL(clicked()), &a, TQ_SLOT(quit()) );
h.setFont( TQFont("times",32,TQFont::Bold) ); // default font
h.setBackgroundColor( TQt::white ); // default bg color
a.setMainWidget( &h );