diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /examples/hello | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'examples/hello')
-rw-r--r-- | examples/hello/hello.cpp | 2 | ||||
-rw-r--r-- | examples/hello/main.cpp | 2 |
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 ); |