diff options
Diffstat (limited to 'examples/tablet')
-rw-r--r-- | examples/tablet/scribble.cpp | 16 | ||||
-rw-r--r-- | examples/tablet/tabletstats.cpp | 16 |
2 files changed, 16 insertions, 16 deletions
diff --git a/examples/tablet/scribble.cpp b/examples/tablet/scribble.cpp index adf247a76..457425073 100644 --- a/examples/tablet/scribble.cpp +++ b/examples/tablet/scribble.cpp @@ -37,24 +37,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" ); } @@ -79,15 +79,15 @@ Scribble::Scribble( TQWidget *parent, const char *name ) 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 TQPushButton( "Clear Screen", tools ); - TQObject::connect( bSave, SIGNAL( clicked() ), this, SLOT( slotSave() ) ); - TQObject::connect( bPColor, SIGNAL( clicked() ), this, SLOT( slotColor() ) ); - TQObject::connect( bClear, SIGNAL( clicked() ), this, SLOT( slotClear() ) ); + TQObject::connect( bSave, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotSave() ) ); + TQObject::connect( bPColor, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotColor() ) ); + TQObject::connect( bClear, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClear() ) ); } diff --git a/examples/tablet/tabletstats.cpp b/examples/tablet/tabletstats.cpp index 1f72181d7..07bf2d447 100644 --- a/examples/tablet/tabletstats.cpp +++ b/examples/tablet/tabletstats.cpp @@ -159,14 +159,14 @@ TabletStats::TabletStats( TQWidget *parent, const char *name ) lblXTilt->setMinimumSize( lblXTilt->sizeHint() ); lblYTilt->setMinimumSize( lblYTilt->sizeHint() ); - TQObject::connect( statCan, SIGNAL(signalNewTilt(int, int)), - orient, SLOT(newOrient(int, int)) ); - TQObject::connect( statCan, SIGNAL(signalNewTilt(int, int)), - this, SLOT(slotTiltChanged(int, int)) ); - TQObject::connect( statCan, SIGNAL(signalNewDev(int)), - this, SLOT(slotDevChanged(int)) ); - TQObject::connect( statCan, SIGNAL(signalNewLoc(int,int)), - this, SLOT( slotLocationChanged(int,int)) ); + TQObject::connect( statCan, TQ_SIGNAL(signalNewTilt(int, int)), + orient, TQ_SLOT(newOrient(int, int)) ); + TQObject::connect( statCan, TQ_SIGNAL(signalNewTilt(int, int)), + this, TQ_SLOT(slotTiltChanged(int, int)) ); + TQObject::connect( statCan, TQ_SIGNAL(signalNewDev(int)), + this, TQ_SLOT(slotDevChanged(int)) ); + TQObject::connect( statCan, TQ_SIGNAL(signalNewLoc(int,int)), + this, TQ_SLOT( slotLocationChanged(int,int)) ); } TabletStats::~TabletStats() |