summaryrefslogtreecommitdiffstats
path: root/examples/scribble
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /examples/scribble
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt3-ecca365daf06c711cf30f93f4c773dabf5642790.tar.gz
tqt3-ecca365daf06c711cf30f93f4c773dabf5642790.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
Diffstat (limited to 'examples/scribble')
-rw-r--r--examples/scribble/scribble.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/scribble/scribble.cpp b/examples/scribble/scribble.cpp
index f031044b1..3f80d8881 100644
--- a/examples/scribble/scribble.cpp
+++ b/examples/scribble/scribble.cpp
@@ -123,24 +123,24 @@ Scribble::Scribble( TQWidget *parent, const char *name )
TQToolBar *tools = new TQToolBar( this );
- bSave = new TQToolButton( TQPixmap(), "Save", "Save as PNG image", this, SLOT( slotSave() ), tools );
+ bSave = new TQToolButton( TQPixmap(), "Save", "Save as PNG image", this, TQ_SLOT( slotSave() ), tools );
bSave->setText( "Save as..." );
tools->addSeparator();
- bPColor = new TQToolButton( TQPixmap(), "Choose Pen Color", "Choose Pen Color", this, SLOT( slotColor() ), tools );
+ bPColor = new TQToolButton( TQPixmap(), "Choose Pen Color", "Choose Pen Color", this, TQ_SLOT( slotColor() ), tools );
bPColor->setText( "Choose Pen Color..." );
tools->addSeparator();
bPWidth = new TQSpinBox( 1, 20, 1, tools );
TQToolTip::add( bPWidth, "Choose Pen Width" );
- connect( bPWidth, SIGNAL( valueChanged( int ) ), this, SLOT( slotWidth( int ) ) );
+ connect( bPWidth, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( slotWidth( int ) ) );
bPWidth->setValue( 3 );
tools->addSeparator();
- bClear = new TQToolButton( TQPixmap(), "Clear Screen", "Clear Screen", this, SLOT( slotClear() ), tools );
+ bClear = new TQToolButton( TQPixmap(), "Clear Screen", "Clear Screen", this, TQ_SLOT( slotClear() ), tools );
bClear->setText( "Clear Screen" );
}