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/fonts/simple-qfont-demo | |
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/fonts/simple-qfont-demo')
-rw-r--r-- | examples/fonts/simple-qfont-demo/viewer.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/examples/fonts/simple-qfont-demo/viewer.cpp b/examples/fonts/simple-qfont-demo/viewer.cpp index 990449ad4..2e60808c5 100644 --- a/examples/fonts/simple-qfont-demo/viewer.cpp +++ b/examples/fonts/simple-qfont-demo/viewer.cpp @@ -28,20 +28,20 @@ Viewer::Viewer() defaultButton = new TQPushButton( "Default", this, "pushbutton1" ); defaultButton->setFont( TQFont( "times" ) ); - connect( defaultButton, SIGNAL( clicked() ), - this, SLOT( setDefault() ) ); + connect( defaultButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( setDefault() ) ); sansSerifButton = new TQPushButton( "Sans Serif", this, "pushbutton2" ); sansSerifButton->setFont( TQFont( "Helvetica", 12 ) ); - connect( sansSerifButton, SIGNAL( clicked() ), - this, SLOT( setSansSerif() ) ); + connect( sansSerifButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( setSansSerif() ) ); italicsButton = new TQPushButton( "Italics", this, "pushbutton3" ); italicsButton->setFont( TQFont( "lucida", 12, TQFont::Bold, TRUE ) ); - connect( italicsButton, SIGNAL( clicked() ), - this, SLOT( setItalics() ) ); + connect( italicsButton, TQ_SIGNAL( clicked() ), + this, TQ_SLOT( setItalics() ) ); layout(); } |