From 671d0469ada4df2d833d41d065793a06f4d87a65 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 29 Dec 2023 16:35:31 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/canvasitemparts.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/canvasitemparts.cpp') 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(); } -- cgit v1.2.1