summaryrefslogtreecommitdiffstats
path: root/karbon/tools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /karbon/tools
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-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')
-rw-r--r--karbon/tools/vellipsetool.cpp4
-rw-r--r--karbon/tools/vgradienttool.cpp10
-rw-r--r--karbon/tools/vpatterntool.cpp14
-rw-r--r--karbon/tools/vpenciltool.cpp4
-rw-r--r--karbon/tools/vpolygontool.cpp2
-rw-r--r--karbon/tools/vpolylinetool.cpp6
-rw-r--r--karbon/tools/vrectangletool.cpp2
-rw-r--r--karbon/tools/vrotatetool.cpp2
-rw-r--r--karbon/tools/vroundrecttool.cpp2
-rw-r--r--karbon/tools/vselectnodestool.cpp2
-rw-r--r--karbon/tools/vselecttool.cpp6
-rw-r--r--karbon/tools/vsheartool.cpp2
-rw-r--r--karbon/tools/vsinustool.cpp2
-rw-r--r--karbon/tools/vspiraltool.cpp2
-rw-r--r--karbon/tools/vstartool.cpp8
-rw-r--r--karbon/tools/vtexttool.cpp36
16 files changed, 52 insertions, 52 deletions
diff --git a/karbon/tools/vellipsetool.cpp b/karbon/tools/vellipsetool.cpp
index a22e28b7..624c6d91 100644
--- a/karbon/tools/vellipsetool.cpp
+++ b/karbon/tools/vellipsetool.cpp
@@ -44,7 +44,7 @@ VEllipseOptionsWidget::VEllipseOptionsWidget( KarbonPart *part, TQWidget *parent
m_type->insertItem( i18n( "Section" ), VEllipse::section );
m_type->insertItem( i18n( "Pie" ), VEllipse::cut );
m_type->insertItem( i18n( "Arc" ), VEllipse::arc );
- 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_widthLabel = new TQLabel( i18n( "object width", "Width:" ), group );
@@ -268,7 +268,7 @@ VEllipseTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Ellipse Tool" ), "14_ellipse", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Ellipse Tool" ), "14_ellipse", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Ellipse" ) );
m_action->setExclusiveGroup( "shapes" );
//m_ownAction = true;
diff --git a/karbon/tools/vgradienttool.cpp b/karbon/tools/vgradienttool.cpp
index e7d2db3c..eeebd7ae 100644
--- a/karbon/tools/vgradienttool.cpp
+++ b/karbon/tools/vgradienttool.cpp
@@ -75,8 +75,8 @@ VGradientTool::activate()
VStrokeFillPreview* preview = view()->strokeFillPreview();
if( preview )
{
- connect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) );
- connect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) );
+ connect( preview, TQ_SIGNAL( fillSelected() ), this, TQ_SLOT( targetChanged() ) );
+ connect( preview, TQ_SIGNAL( strokeSelected() ), this, TQ_SLOT( targetChanged() ) );
}
view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
@@ -94,8 +94,8 @@ VGradientTool::deactivate()
VStrokeFillPreview* preview = view()->strokeFillPreview();
if( preview )
{
- disconnect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) );
- disconnect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) );
+ disconnect( preview, TQ_SIGNAL( fillSelected() ), this, TQ_SLOT( targetChanged() ) );
+ disconnect( preview, TQ_SIGNAL( strokeSelected() ), this, TQ_SLOT( targetChanged() ) );
}
view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
@@ -476,7 +476,7 @@ VGradientTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Gradient Tool" ), "14_gradient", TQt::Key_G, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Gradient Tool" ), "14_gradient", TQt::Key_G, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Gradient" ) );
m_action->setExclusiveGroup( "misc" );
//m_ownAction = true;
diff --git a/karbon/tools/vpatterntool.cpp b/karbon/tools/vpatterntool.cpp
index 8c42d5e0..d6d0e2fd 100644
--- a/karbon/tools/vpatterntool.cpp
+++ b/karbon/tools/vpatterntool.cpp
@@ -67,8 +67,8 @@ VPatternWidget::VPatternWidget( TQPtrList<KoIconItem>* patterns, VTool*, TQWidge
//setFrameStyle( Box | Sunken );
layout->setMargin( 3 );
- connect( m_buttonGroup, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( slotButtonClicked( int ) ) );
- connect( m_patternChooser, TQT_SIGNAL( selected( KoIconItem* ) ), this, TQT_SLOT( patternSelected( KoIconItem* ) ) );
+ connect( m_buttonGroup, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( slotButtonClicked( int ) ) );
+ connect( m_patternChooser, TQ_SIGNAL( selected( KoIconItem* ) ), this, TQ_SLOT( patternSelected( KoIconItem* ) ) );
KoIconItem* item;
for( item = patterns->first(); item; item = patterns->next() )
@@ -150,8 +150,8 @@ VPatternTool::activate()
VStrokeFillPreview* preview = view()->strokeFillPreview();
if( preview )
{
- connect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) );
- connect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) );
+ connect( preview, TQ_SIGNAL( fillSelected() ), this, TQ_SLOT( targetChanged() ) );
+ connect( preview, TQ_SIGNAL( strokeSelected() ), this, TQ_SLOT( targetChanged() ) );
}
view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
@@ -169,8 +169,8 @@ VPatternTool::deactivate()
VStrokeFillPreview* preview = view()->strokeFillPreview();
if( preview )
{
- disconnect( preview, TQT_SIGNAL( fillSelected() ), this, TQT_SLOT( targetChanged() ) );
- disconnect( preview, TQT_SIGNAL( strokeSelected() ), this, TQT_SLOT( targetChanged() ) );
+ disconnect( preview, TQ_SIGNAL( fillSelected() ), this, TQ_SLOT( targetChanged() ) );
+ disconnect( preview, TQ_SIGNAL( strokeSelected() ), this, TQ_SLOT( targetChanged() ) );
}
view()->repaintAll( view()->part()->document().selection()->boundingBox() );
}
@@ -459,7 +459,7 @@ VPatternTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Pattern Tool" ), "14_pattern", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Pattern Tool" ), "14_pattern", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Pattern" ) );
m_action->setExclusiveGroup( "misc" );
//m_ownAction = true;
diff --git a/karbon/tools/vpenciltool.cpp b/karbon/tools/vpenciltool.cpp
index ea9da2f3..f8faebe3 100644
--- a/karbon/tools/vpenciltool.cpp
+++ b/karbon/tools/vpenciltool.cpp
@@ -93,7 +93,7 @@ VPencilOptionsWidget::VPencilOptionsWidget( KarbonView*view, TQWidget* parent, c
group3->setInsideMargin( 4 );
group3->setInsideSpacing( 2 );
- connect( m_combo, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( selectMode() ) );
+ connect( m_combo, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( selectMode() ) );
//Set the default settings
m_mode = VPencilTool::CURVE;
@@ -402,7 +402,7 @@ VPencilTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Pencil Tool" ), "14_pencil", TQt::SHIFT+TQt::Key_P, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Pencil Tool" ), "14_pencil", TQt::SHIFT+TQt::Key_P, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Pencil" ) );
m_action->setExclusiveGroup( "freehand" );
//m_ownAction = true;
diff --git a/karbon/tools/vpolygontool.cpp b/karbon/tools/vpolygontool.cpp
index 20263c53..f6e3ed65 100644
--- a/karbon/tools/vpolygontool.cpp
+++ b/karbon/tools/vpolygontool.cpp
@@ -156,7 +156,7 @@ VPolygonTool::setup( TDEActionCollection *collection )
{
TDEShortcut shortcut( TQt::Key_Plus );
shortcut.append(TDEShortcut( TQt::Key_F9 ) );
- m_action = new TDERadioAction( i18n( "Polygon Tool" ), "14_polygon", shortcut, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Polygon Tool" ), "14_polygon", shortcut, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Polygon" ) );
m_action->setExclusiveGroup( "shapes" );
//m_ownAction = true;
diff --git a/karbon/tools/vpolylinetool.cpp b/karbon/tools/vpolylinetool.cpp
index 38ac9d25..8e533416 100644
--- a/karbon/tools/vpolylinetool.cpp
+++ b/karbon/tools/vpolylinetool.cpp
@@ -76,7 +76,7 @@ VPolylineTool::activate()
m_bezierPoints.clear();
m_close = false;
- connect( view()->part()->commandHistory(), TQT_SIGNAL(commandExecuted()), this, TQT_SLOT(commandExecuted()) );
+ connect( view()->part()->commandHistory(), TQ_SIGNAL(commandExecuted()), this, TQ_SLOT(commandExecuted()) );
}
void
@@ -145,7 +145,7 @@ VPolylineTool::deactivate()
createObject();
- disconnect( view()->part()->commandHistory(), TQT_SIGNAL(commandExecuted()), this, TQT_SLOT(commandExecuted()) );
+ disconnect( view()->part()->commandHistory(), TQ_SIGNAL(commandExecuted()), this, TQ_SLOT(commandExecuted()) );
}
void
@@ -488,7 +488,7 @@ VPolylineTool::setup( TDEActionCollection *collection )
{
TDEShortcut shortcut( TQt::Key_Plus );
shortcut.append( TDEShortcut( TQt::Key_F9 ) );
- m_action = new TDERadioAction( i18n( "Polyline Tool" ), "14_polyline", shortcut, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Polyline Tool" ), "14_polyline", shortcut, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Polyline" ) );
m_action->setExclusiveGroup( "freehand" );
//m_ownAction = true;
diff --git a/karbon/tools/vrectangletool.cpp b/karbon/tools/vrectangletool.cpp
index 819883cf..1196636c 100644
--- a/karbon/tools/vrectangletool.cpp
+++ b/karbon/tools/vrectangletool.cpp
@@ -134,7 +134,7 @@ VRectangleTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Rectangle Tool" ), "14_rectangle", TQt::Key_Plus+TQt::Key_F9, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Rectangle Tool" ), "14_rectangle", TQt::Key_Plus+TQt::Key_F9, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Rectangle" ) );
m_action->setExclusiveGroup( "shapes" );
//m_ownAction = true;
diff --git a/karbon/tools/vrotatetool.cpp b/karbon/tools/vrotatetool.cpp
index 4230cac7..0a01a451 100644
--- a/karbon/tools/vrotatetool.cpp
+++ b/karbon/tools/vrotatetool.cpp
@@ -166,7 +166,7 @@ VRotateTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Rotate Tool" ), "14_rotate", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Rotate Tool" ), "14_rotate", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Rotate" ) );
m_action->setExclusiveGroup( "manipulation" );
//m_ownAction = true;
diff --git a/karbon/tools/vroundrecttool.cpp b/karbon/tools/vroundrecttool.cpp
index 79d721f6..85668bb2 100644
--- a/karbon/tools/vroundrecttool.cpp
+++ b/karbon/tools/vroundrecttool.cpp
@@ -170,7 +170,7 @@ VRoundRectTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Round Rectangle Tool" ), "14_roundrect", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Round Rectangle Tool" ), "14_roundrect", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Round Rectangle" ) );
m_action->setExclusiveGroup( "shapes" );
//m_ownAction = true;
diff --git a/karbon/tools/vselectnodestool.cpp b/karbon/tools/vselectnodestool.cpp
index 2a3c38bb..fb2b46aa 100644
--- a/karbon/tools/vselectnodestool.cpp
+++ b/karbon/tools/vselectnodestool.cpp
@@ -428,7 +428,7 @@ VSelectNodesTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Select Nodes Tool" ), "14_selectnodes", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Select Nodes Tool" ), "14_selectnodes", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Select Nodes" ) );
m_action->setExclusiveGroup( "select" );
//m_ownAction = true;
diff --git a/karbon/tools/vselecttool.cpp b/karbon/tools/vselecttool.cpp
index dae170b0..d6ea9938 100644
--- a/karbon/tools/vselecttool.cpp
+++ b/karbon/tools/vselecttool.cpp
@@ -52,7 +52,7 @@ VSelectOptionsWidget::VSelectOptionsWidget( KarbonPart *part )
group->setRadioButtonExclusive( true );
group->setButton( part->document().selectionMode() );
- connect( group, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( modeChange( int ) ) );
+ connect( group, TQ_SIGNAL( clicked( int ) ), this, TQ_SLOT( modeChange( int ) ) );
group->setInsideMargin( 4 );
group->setInsideSpacing( 2 );
@@ -74,7 +74,7 @@ VSelectTool::VSelectTool( KarbonView *view )
m_objects.setAutoDelete( true );
m_optionsWidget = new VSelectOptionsWidget( view->part() );
registerTool( this );
- connect( view, TQT_SIGNAL( selectionChange() ), this, TQT_SLOT( updateStatusBar() ) );
+ connect( view, TQ_SIGNAL( selectionChange() ), this, TQ_SLOT( updateStatusBar() ) );
}
VSelectTool::~VSelectTool()
@@ -603,7 +603,7 @@ VSelectTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Select Tool" ), "14_select", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Select Tool" ), "14_select", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Select" ) );
m_action->setExclusiveGroup( "select" );
//m_ownAction = true;
diff --git a/karbon/tools/vsheartool.cpp b/karbon/tools/vsheartool.cpp
index 4bc80810..7209ae8d 100644
--- a/karbon/tools/vsheartool.cpp
+++ b/karbon/tools/vsheartool.cpp
@@ -210,7 +210,7 @@ VShearTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Shear Tool" ), "14_shear", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Shear Tool" ), "14_shear", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Shear" ) );
m_action->setExclusiveGroup( "manipulation" );
//m_ownAction = true;
diff --git a/karbon/tools/vsinustool.cpp b/karbon/tools/vsinustool.cpp
index 3bfdfedc..26327b31 100644
--- a/karbon/tools/vsinustool.cpp
+++ b/karbon/tools/vsinustool.cpp
@@ -153,7 +153,7 @@ VSinusTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Sinus Tool" ), "14_sinus", TQt::SHIFT+TQt::Key_S, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Sinus Tool" ), "14_sinus", TQt::SHIFT+TQt::Key_S, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Sinus" ) );
m_action->setExclusiveGroup( "shapes" );
//m_ownAction = true;
diff --git a/karbon/tools/vspiraltool.cpp b/karbon/tools/vspiraltool.cpp
index 90b3b470..5dc321e0 100644
--- a/karbon/tools/vspiraltool.cpp
+++ b/karbon/tools/vspiraltool.cpp
@@ -204,7 +204,7 @@ VSpiralTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Spiral Tool" ), "14_spiral", TQt::SHIFT+TQt::Key_H, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Spiral Tool" ), "14_spiral", TQt::SHIFT+TQt::Key_H, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Spiral" ) );
m_action->setExclusiveGroup( "shapes" );
//m_ownAction = true;
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;
diff --git a/karbon/tools/vtexttool.cpp b/karbon/tools/vtexttool.cpp
index e64a4cf9..bfee6410 100644
--- a/karbon/tools/vtexttool.cpp
+++ b/karbon/tools/vtexttool.cpp
@@ -74,7 +74,7 @@ ShadowPreview::ShadowPreview( ShadowWidget* parent )
setBackgroundMode( TQt::NoBackground );
setMinimumSize( 60, 60 );
- connect( this, TQT_SIGNAL( changed( int, int, bool ) ), m_parent, TQT_SLOT( setShadowValues( int, int, bool ) ) );
+ connect( this, TQ_SIGNAL( changed( int, int, bool ) ), m_parent, TQ_SLOT( setShadowValues( int, int, bool ) ) );
}
ShadowPreview::~ShadowPreview()
@@ -227,10 +227,10 @@ ShadowWidget::ShadowWidget( TQWidget* parent, const char* name, int angle, int d
m_distance->setValue( distance );
m_translucent->setChecked( translucent );
- connect( m_angle, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( updatePreview( int ) ) );
- connect( m_distance, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( updatePreview( int ) ) );
- connect( m_useShadow, TQT_SIGNAL( clicked() ), this, TQT_SLOT( updatePreview() ) );
- connect( m_translucent, TQT_SIGNAL( clicked() ), this, TQT_SLOT( updatePreview() ) );
+ connect( m_angle, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( updatePreview( int ) ) );
+ connect( m_distance, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( updatePreview( int ) ) );
+ connect( m_useShadow, TQ_SIGNAL( clicked() ), this, TQ_SLOT( updatePreview() ) );
+ connect( m_translucent, TQ_SIGNAL( clicked() ), this, TQ_SLOT( updatePreview() ) );
updatePreview();
}
@@ -397,18 +397,18 @@ VTextOptionsWidget::VTextOptionsWidget( VTextTool* tool, TQWidget *parent )
m_textOffset->setRange( 0.0, 100.0, 1.0, true );
- connect( m_fontCombo, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( valueChanged( int ) ) );
- connect( m_boldCheck, TQT_SIGNAL( stateChanged( int ) ), this, TQT_SLOT( valueChanged( int ) ) );
- connect( m_italicCheck, TQT_SIGNAL( stateChanged( int ) ), this, TQT_SLOT( valueChanged( int ) ) );
- connect( m_fontSize, TQT_SIGNAL( valueChanged( int ) ), this, TQT_SLOT( valueChanged( int ) ) );
- connect( m_textPosition, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( valueChanged( int ) ) );
- connect( m_textAlignment, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( valueChanged( int ) ) );
- connect( m_textOffset, TQT_SIGNAL( valueChanged( double ) ), this, TQT_SLOT( valueChanged( double ) ) );
- connect( m_textEditor, TQT_SIGNAL( returnPressed() ), this, TQT_SLOT( accept() ) );
- connect( m_textEditor, TQT_SIGNAL( textChanged( const TQString& ) ), this, TQT_SLOT( textChanged( const TQString& ) ) );
- connect( m_editBasePath, TQT_SIGNAL( clicked() ), this, TQT_SLOT( editBasePath() ) );
- connect( m_convertToShapes, TQT_SIGNAL( clicked() ), this, TQT_SLOT( convertToShapes() ) );
- connect( this, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( cancel() ) );
+ connect( m_fontCombo, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( valueChanged( int ) ) );
+ connect( m_boldCheck, TQ_SIGNAL( stateChanged( int ) ), this, TQ_SLOT( valueChanged( int ) ) );
+ connect( m_italicCheck, TQ_SIGNAL( stateChanged( int ) ), this, TQ_SLOT( valueChanged( int ) ) );
+ connect( m_fontSize, TQ_SIGNAL( valueChanged( int ) ), this, TQ_SLOT( valueChanged( int ) ) );
+ connect( m_textPosition, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( valueChanged( int ) ) );
+ connect( m_textAlignment, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( valueChanged( int ) ) );
+ connect( m_textOffset, TQ_SIGNAL( valueChanged( double ) ), this, TQ_SLOT( valueChanged( double ) ) );
+ connect( m_textEditor, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( accept() ) );
+ connect( m_textEditor, TQ_SIGNAL( textChanged( const TQString& ) ), this, TQ_SLOT( textChanged( const TQString& ) ) );
+ connect( m_editBasePath, TQ_SIGNAL( clicked() ), this, TQ_SLOT( editBasePath() ) );
+ connect( m_convertToShapes, TQ_SIGNAL( clicked() ), this, TQ_SLOT( convertToShapes() ) );
+ connect( this, TQ_SIGNAL( cancelClicked() ), this, TQ_SLOT( cancel() ) );
setMainWidget( base );
setFixedSize( baseSize() );
@@ -1148,7 +1148,7 @@ VTextTool::setup( TDEActionCollection *collection )
if( m_action == 0 )
{
- m_action = new TDERadioAction( i18n( "Text Tool" ), "14_text", TQt::SHIFT+TQt::Key_T, this, TQT_SLOT( activate() ), collection, name() );
+ m_action = new TDERadioAction( i18n( "Text Tool" ), "14_text", TQt::SHIFT+TQt::Key_T, this, TQ_SLOT( activate() ), collection, name() );
m_action->setToolTip( i18n( "Text Tool" ) );
m_action->setExclusiveGroup( "misc" );
//m_ownAction = true;