diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-04 12:36:03 +0900 |
commit | c0332621bc998c9786f4841e86a62b7711fe4abf (patch) | |
tree | 38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /karbon/tools/vstartool.cpp | |
parent | 6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff) | |
download | koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'karbon/tools/vstartool.cpp')
-rw-r--r-- | karbon/tools/vstartool.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/karbon/tools/vstartool.cpp b/karbon/tools/vstartool.cpp index 7b503ff6..caf30efd 100644 --- a/karbon/tools/vstartool.cpp +++ b/karbon/tools/vstartool.cpp @@ -44,12 +44,12 @@ VStarOptionsWidget::VStarOptionsWidget( KarbonPart *part, TQWidget* parent, cons m_type->insertItem( i18n( "Framed Star" ), VStar::framed_star); m_type->insertItem( i18n( "Star" ), VStar::star ); m_type->insertItem( i18n( "Gear" ), VStar::gear ); - connect( m_type, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( typeChanged( int ) ) ); + connect( m_type, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( typeChanged( int ) ) ); // add width/height-input: m_outerRLabel = new TQLabel( i18n( "Outer radius:" ), group ); m_outerR = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 50.0, KoUnit::U_MM ); - connect( m_outerR, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( setOuterRadius( double ) ) ); + connect( m_outerR, TQ_SIGNAL( valueChanged( double ) ), this, TQ_SLOT( setOuterRadius( double ) ) ); m_innerRLabel = new TQLabel( i18n( "Inner radius:" ), group ); m_innerR = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 25.0, KoUnit::U_MM ); @@ -59,7 +59,7 @@ VStarOptionsWidget::VStarOptionsWidget( KarbonPart *part, TQWidget* parent, cons new TQLabel( i18n( "Edges:" ), group ); m_edges = new KIntSpinBox( group ); m_edges->setMinValue( 3 ); - connect( m_edges, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( setEdges( int ) ) ); + connect( m_edges, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( setEdges( int ) ) ); new TQLabel( i18n( "Inner angle:" ), group ); m_innerAngle = new KIntSpinBox( group ); @@ -239,7 +239,7 @@ VStarTool::setup( TDEActionCollection *collection ) { TDEShortcut shortcut( TQt::Key_Plus ); shortcut.append(TDEShortcut( TQt::Key_F9 ) ); - m_action = new TDERadioAction( i18n( "Star Tool" ), "14_star", shortcut, this, TQT_SLOT( activate() ), collection, name() ); + m_action = new TDERadioAction( i18n( "Star Tool" ), "14_star", shortcut, this, TQ_SLOT( activate() ), collection, name() ); m_action->setToolTip( i18n( "Draw a star" ) ); m_action->setExclusiveGroup( "shapes" ); //m_ownAction = true; |