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-13 20:22:52 +0900 |
| commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
| tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /karbon/tools/vstartool.cpp | |
| parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
| download | koffice-e1b37ac1.tar.gz koffice-e1b37ac1.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
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 7b503ff69..caf30efd8 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; |
