summaryrefslogtreecommitdiffstats
path: root/src/canvasitemparts.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-29 16:35:31 +0900
committerMichele Calgaro <[email protected]>2023-12-29 16:35:31 +0900
commit671d0469ada4df2d833d41d065793a06f4d87a65 (patch)
tree08f73c8f83ba7b8bdad08cdec881878a332ab6bf /src/canvasitemparts.cpp
parent15796910975130bce11a662cbe259913d791942f (diff)
downloadktechlab-671d0469ada4df2d833d41d065793a06f4d87a65.tar.gz
ktechlab-671d0469ada4df2d833d41d065793a06f4d87a65.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/canvasitemparts.cpp')
-rw-r--r--src/canvasitemparts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/canvasitemparts.cpp b/src/canvasitemparts.cpp
index 0518890..c8eca6b 100644
--- a/src/canvasitemparts.cpp
+++ b/src/canvasitemparts.cpp
@@ -25,7 +25,7 @@ GuiPart::GuiPart( CNItem *parent, const TQRect & r, TQCanvas * canvas )
b_pointsAdded(false),
m_originalRect(r)
{
- connect( parent, TQT_SIGNAL(movedBy(double, double )), this, TQT_SLOT(slotMoveBy(double, double )) );
+ connect( parent, TQ_SIGNAL(movedBy(double, double )), this, TQ_SLOT(slotMoveBy(double, double )) );
setZ( parent->z() + 0.5 );
}
@@ -283,8 +283,8 @@ Button::Button( const TQString & id, CNItem * parent, bool isToggle, const TQRec
m_button = new ToolButton(0l);
m_button->setUsesTextLabel(false);
m_button->setToggleButton(b_isToggle);
- connect( m_button, TQT_SIGNAL(pressed()), this, TQT_SLOT(slotStateChanged()) );
- connect( m_button, TQT_SIGNAL(released()), this, TQT_SLOT(slotStateChanged()) );
+ connect( m_button, TQ_SIGNAL(pressed()), this, TQ_SLOT(slotStateChanged()) );
+ connect( m_button, TQ_SIGNAL(released()), this, TQ_SLOT(slotStateChanged()) );
posChanged();
}
@@ -443,7 +443,7 @@ Slider::Slider( const TQString & id, CNItem * parent, const TQRect & r, TQCanvas
m_slider->setPaletteForegroundColor(TQt::white);
m_slider->setEraseColor(TQt::white);
m_slider->setBackgroundMode( TQt::NoBackground );
- connect( m_slider, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotValueChanged(int)) );
+ connect( m_slider, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotValueChanged(int)) );
posChanged();
}