summaryrefslogtreecommitdiffstats
path: root/karbon/tools
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 11:54:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-16 23:37:57 +0900
commitef06f14f2475bd08d3ea2ceec54a7b2238f3554e (patch)
tree03df826633e4ba084d133ca977c4fc37c74f21ac /karbon/tools
parent895081803a715ee89f4a90cfbf63d558ef2b2ebc (diff)
downloadkoffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.tar.gz
koffice-ef06f14f2475bd08d3ea2ceec54a7b2238f3554e.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'karbon/tools')
-rw-r--r--karbon/tools/vellipsetool.cpp2
-rw-r--r--karbon/tools/vpenciltool.cpp6
-rw-r--r--karbon/tools/vpolygontool.cpp2
-rw-r--r--karbon/tools/vrectangletool.cpp2
-rw-r--r--karbon/tools/vroundrecttool.cpp2
-rw-r--r--karbon/tools/vselecttool.cpp2
-rw-r--r--karbon/tools/vsinustool.cpp2
-rw-r--r--karbon/tools/vspiraltool.cpp4
-rw-r--r--karbon/tools/vstartool.cpp2
9 files changed, 12 insertions, 12 deletions
diff --git a/karbon/tools/vellipsetool.cpp b/karbon/tools/vellipsetool.cpp
index 170a51dd..a22e28b7 100644
--- a/karbon/tools/vellipsetool.cpp
+++ b/karbon/tools/vellipsetool.cpp
@@ -37,7 +37,7 @@
VEllipseOptionsWidget::VEllipseOptionsWidget( KarbonPart *part, TQWidget *parent, const char *name )
: KDialogBase( parent, name, true, i18n( "Insert Ellipse" ), Ok | Cancel ), m_part( part )
{
- TQGroupBox *group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
+ TQGroupBox *group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), this );
new TQLabel( i18n( "Type:" ), group );
m_type = new KComboBox( false, group );
m_type->insertItem( i18n( "Full" ), VEllipse::full );
diff --git a/karbon/tools/vpenciltool.cpp b/karbon/tools/vpenciltool.cpp
index 1239923e..ea9da2f3 100644
--- a/karbon/tools/vpenciltool.cpp
+++ b/karbon/tools/vpenciltool.cpp
@@ -64,14 +64,14 @@ VPencilOptionsWidget::VPencilOptionsWidget( KarbonView*view, TQWidget* parent, c
m_widgetStack = new TQWidgetStack( vbox );
- TQGroupBox *group1 = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), m_widgetStack );
+ TQGroupBox *group1 = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), m_widgetStack );
m_widgetStack->addWidget( group1, 1 );
m_optimizeRaw = new TQCheckBox( i18n( "Optimize" ), group1 );
group1->setInsideMargin( 4 );
group1->setInsideSpacing( 2 );
- TQGroupBox *group2 = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), m_widgetStack );
+ TQGroupBox *group2 = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), m_widgetStack );
m_widgetStack->addWidget( group2, 2 );
TQVBox *vbox2 = new TQVBox( group2 );
@@ -83,7 +83,7 @@ VPencilOptionsWidget::VPencilOptionsWidget( KarbonView*view, TQWidget* parent, c
group2->setInsideMargin( 4 );
group2->setInsideSpacing( 2 );
- TQGroupBox *group3 = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), m_widgetStack );
+ TQGroupBox *group3 = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), m_widgetStack );
m_widgetStack->addWidget( group3, 3 );
m_combineAngle = new KDoubleNumInput( 0.0, 360.0, 0.10, 0.50, 3, group3 );
diff --git a/karbon/tools/vpolygontool.cpp b/karbon/tools/vpolygontool.cpp
index de475691..20263c53 100644
--- a/karbon/tools/vpolygontool.cpp
+++ b/karbon/tools/vpolygontool.cpp
@@ -33,7 +33,7 @@
VPolygonTool::VPolygonOptionsWidget::VPolygonOptionsWidget( KarbonView *view, TQWidget* parent, const char* name )
: KDialogBase( parent, name, true, i18n( "Insert Polygon" ), Ok | Cancel ), m_view(view)
{
- TQGroupBox *group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
+ TQGroupBox *group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), this );
new TQLabel( i18n( "Radius:" ), group );
m_radius = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 50.0, KoUnit::U_MM );
diff --git a/karbon/tools/vrectangletool.cpp b/karbon/tools/vrectangletool.cpp
index 4572cc23..819883cf 100644
--- a/karbon/tools/vrectangletool.cpp
+++ b/karbon/tools/vrectangletool.cpp
@@ -33,7 +33,7 @@
VRectangleTool::VRectangleOptionsWidget::VRectangleOptionsWidget( KarbonPart *part, TQWidget* parent, const char* name )
: KDialogBase( parent, name, true, i18n( "Insert Rectangle" ), Ok | Cancel ), m_part( part )
{
- TQGroupBox *group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
+ TQGroupBox *group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), this );
// add width/height-input:
m_widthLabel = new TQLabel( i18n( "object width", "Width:" ), group );
m_width = new KoUnitDoubleSpinBox( group, 0.0, 1000.0, 0.5, 100.0, KoUnit::U_MM );
diff --git a/karbon/tools/vroundrecttool.cpp b/karbon/tools/vroundrecttool.cpp
index 02f694c6..79d721f6 100644
--- a/karbon/tools/vroundrecttool.cpp
+++ b/karbon/tools/vroundrecttool.cpp
@@ -34,7 +34,7 @@
VRoundRectTool::VRoundRectOptionsWidget::VRoundRectOptionsWidget( KarbonPart *part, TQWidget* parent, const char* name )
: KDialogBase( parent, name, true, i18n( "Insert Round Rect" ), Ok | Cancel ), m_part( part )
{
- TQGroupBox *group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
+ TQGroupBox *group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), this );
new TQLabel( i18n( "object width", "Width:" ), group );
KoUnit::Unit unit = KoUnit::U_CM;
diff --git a/karbon/tools/vselecttool.cpp b/karbon/tools/vselecttool.cpp
index b2c28d66..dae170b0 100644
--- a/karbon/tools/vselecttool.cpp
+++ b/karbon/tools/vselecttool.cpp
@@ -43,7 +43,7 @@
VSelectOptionsWidget::VSelectOptionsWidget( KarbonPart *part )
: KDialogBase( 0L, "", true, i18n( "Selection" ), Ok | Cancel ), m_part( part )
{
- TQButtonGroup *group = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Selection Mode" ), this );
+ TQButtonGroup *group = new TQButtonGroup( 1, TQt::Horizontal, i18n( "Selection Mode" ), this );
new TQRadioButton( i18n( "Select in current layer" ), group );
new TQRadioButton( i18n( "Select in visible layers" ), group );
diff --git a/karbon/tools/vsinustool.cpp b/karbon/tools/vsinustool.cpp
index 12dbe128..3bfdfedc 100644
--- a/karbon/tools/vsinustool.cpp
+++ b/karbon/tools/vsinustool.cpp
@@ -35,7 +35,7 @@
VSinusTool::VSinusOptionsWidget::VSinusOptionsWidget( KarbonPart *part, TQWidget* parent, const char* name )
: KDialogBase( parent, name, true, i18n( "Insert Sinus" ), Ok | Cancel ), m_part( part )
{
- TQGroupBox *group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
+ TQGroupBox *group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), this );
// add width/height-input:
m_widthLabel = new TQLabel( i18n( "object width", "Width:" ), group );
diff --git a/karbon/tools/vspiraltool.cpp b/karbon/tools/vspiraltool.cpp
index c414be41..90b3b470 100644
--- a/karbon/tools/vspiraltool.cpp
+++ b/karbon/tools/vspiraltool.cpp
@@ -34,7 +34,7 @@
VSpiralTool::VSpiralOptionsWidget::VSpiralOptionsWidget( KarbonPart *part, TQWidget* parent, const char* name )
: KDialogBase( parent, name, true, i18n( "Insert Spiral" ), Ok | Cancel ), m_part( part )
{
- TQGroupBox *group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
+ TQGroupBox *group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), this );
new TQLabel( i18n( "Type:" ), group );
m_type = new KComboBox( false, group );
@@ -51,7 +51,7 @@ VSpiralTool::VSpiralOptionsWidget::VSpiralOptionsWidget( KarbonPart *part, TQWid
m_fade = new KDoubleNumInput( group );
m_fade->setRange( 0.0, 1.0, 0.05 );
- new TQLabel( i18n( "Qt::Orientation:" ), group );
+ new TQLabel( i18n( "Orientation:" ), group );
m_clockwise = new KComboBox( false, group );
m_clockwise->insertItem( i18n( "Clockwise" ), 0 );
m_clockwise->insertItem( i18n( "Counter Clockwise" ), 1 );
diff --git a/karbon/tools/vstartool.cpp b/karbon/tools/vstartool.cpp
index 9a92cd37..7b503ff6 100644
--- a/karbon/tools/vstartool.cpp
+++ b/karbon/tools/vstartool.cpp
@@ -34,7 +34,7 @@
VStarOptionsWidget::VStarOptionsWidget( KarbonPart *part, TQWidget* parent, const char* name )
: KDialogBase( parent, name, true, i18n( "Insert Star" ), Ok | Cancel ), m_part( part )
{
- TQGroupBox *group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
+ TQGroupBox *group = new TQGroupBox( 2, TQt::Horizontal, i18n( "Properties" ), this );
new TQLabel( i18n( "Type:" ), group );
m_type = new KComboBox( false, group );
m_type->insertItem( i18n( "Star Outline" ), VStar::star_outline );