diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /karbon/tools | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'karbon/tools')
-rw-r--r-- | karbon/tools/vdefaulttools.cc | 8 | ||||
-rw-r--r-- | karbon/tools/vdefaulttools.h | 2 | ||||
-rw-r--r-- | karbon/tools/vellipsetool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vellipsetool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vpatterntool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vpatterntool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vpenciltool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vpenciltool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vpolygontool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vpolygontool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vrectangletool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vrectangletool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vroundrecttool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vroundrecttool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vsinustool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vsinustool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vspiraltool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vspiraltool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vstartool.cc | 4 | ||||
-rw-r--r-- | karbon/tools/vstartool.h | 2 | ||||
-rw-r--r-- | karbon/tools/vtexttool.cc | 12 | ||||
-rw-r--r-- | karbon/tools/vtexttool.h | 6 |
22 files changed, 41 insertions, 41 deletions
diff --git a/karbon/tools/vdefaulttools.cc b/karbon/tools/vdefaulttools.cc index ecc5e048..3be8a8bd 100644 --- a/karbon/tools/vdefaulttools.cc +++ b/karbon/tools/vdefaulttools.cc @@ -47,18 +47,18 @@ typedef KGenericFactory<VDefaultTools> VDefaultToolsFactory; K_EXPORT_COMPONENT_FACTORY( karbon_defaulttools, VDefaultToolsFactory( "karbon_defaulttools" ) ) -VDefaultTools::VDefaultTools(TQObject *tqparent, const char *name, const TQStringList &) - : KParts::Plugin(tqparent, name) +VDefaultTools::VDefaultTools(TQObject *parent, const char *name, const TQStringList &) + : KParts::Plugin(parent, name) { setInstance(VDefaultToolsFactory::instance()); kdDebug() << "VDefaultTools. Class: " << className() << ", Parent: " - << tqparent -> className() + << parent -> className() << "\n"; - if ( tqparent->inherits("KarbonFactory") ) + if ( parent->inherits("KarbonFactory") ) { KarbonToolRegistry* r = KarbonToolRegistry::instance(); r->add(new KarbonToolFactory<VSelectTool>()); diff --git a/karbon/tools/vdefaulttools.h b/karbon/tools/vdefaulttools.h index 0c88eb4a..f237a4e4 100644 --- a/karbon/tools/vdefaulttools.h +++ b/karbon/tools/vdefaulttools.h @@ -33,7 +33,7 @@ class VDefaultTools : public KParts::Plugin Q_OBJECT TQ_OBJECT public: - VDefaultTools(TQObject *tqparent, const char *name, const TQStringList &); + VDefaultTools(TQObject *parent, const char *name, const TQStringList &); virtual ~VDefaultTools(); }; diff --git a/karbon/tools/vellipsetool.cc b/karbon/tools/vellipsetool.cc index 49e80ec8..41936226 100644 --- a/karbon/tools/vellipsetool.cc +++ b/karbon/tools/vellipsetool.cc @@ -34,8 +34,8 @@ #include "vglobal.h" -VEllipseOptionsWidget::VEllipseOptionsWidget( KarbonPart *part, TQWidget *tqparent, const char *name ) - : KDialogBase( tqparent, name, true, i18n( "Insert Ellipse" ), Ok | Cancel ), m_part( part ) +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 ); new TQLabel( i18n( "Type:" ), group ); diff --git a/karbon/tools/vellipsetool.h b/karbon/tools/vellipsetool.h index c07d2e77..859cac96 100644 --- a/karbon/tools/vellipsetool.h +++ b/karbon/tools/vellipsetool.h @@ -36,7 +36,7 @@ class VEllipseOptionsWidget : public KDialogBase Q_OBJECT TQ_OBJECT public: - VEllipseOptionsWidget( KarbonPart *part, TQWidget *tqparent = 0L, const char *name = 0L ); + VEllipseOptionsWidget( KarbonPart *part, TQWidget *parent = 0L, const char *name = 0L ); double width() const; double height() const; diff --git a/karbon/tools/vpatterntool.cc b/karbon/tools/vpatterntool.cc index d522652c..893c8481 100644 --- a/karbon/tools/vpatterntool.cc +++ b/karbon/tools/vpatterntool.cc @@ -45,8 +45,8 @@ #include <commands/vstrokecmd.h> #include <widgets/vstrokefillpreview.h> -VPatternWidget::VPatternWidget( TQPtrList<KoIconItem>* patterns, VTool*, TQWidget* tqparent ) - : KDialogBase( tqparent, "", true, i18n( "Choose Pattern" ), Ok | Cancel ), m_pattern( 0 ) +VPatternWidget::VPatternWidget( TQPtrList<KoIconItem>* patterns, VTool*, TQWidget* parent ) + : KDialogBase( parent, "", true, i18n( "Choose Pattern" ), Ok | Cancel ), m_pattern( 0 ) { TQWidget *base = new TQWidget( this ); TQVBoxLayout* tqlayout = new TQVBoxLayout( base ); diff --git a/karbon/tools/vpatterntool.h b/karbon/tools/vpatterntool.h index 8812ce4f..a7153c96 100644 --- a/karbon/tools/vpatterntool.h +++ b/karbon/tools/vpatterntool.h @@ -36,7 +36,7 @@ Q_OBJECT TQ_OBJECT public: - VPatternWidget( TQPtrList<KoIconItem>* patterns, VTool* tool, TQWidget* tqparent = 0L ); + VPatternWidget( TQPtrList<KoIconItem>* patterns, VTool* tool, TQWidget* parent = 0L ); ~VPatternWidget(); VPattern* selectedPattern(); diff --git a/karbon/tools/vpenciltool.cc b/karbon/tools/vpenciltool.cc index 587182de..9f2759b3 100644 --- a/karbon/tools/vpenciltool.cc +++ b/karbon/tools/vpenciltool.cc @@ -51,8 +51,8 @@ #include "vpenciltool.moc" -VPencilOptionsWidget::VPencilOptionsWidget( KarbonView*view, TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Pencil Settings" ), Ok | Cancel ), m_view( view ) +VPencilOptionsWidget::VPencilOptionsWidget( KarbonView*view, TQWidget* parent, const char* name ) + : KDialogBase( parent, name, true, i18n( "Pencil Settings" ), Ok | Cancel ), m_view( view ) { TQVBox *vbox = new TQVBox( this ); diff --git a/karbon/tools/vpenciltool.h b/karbon/tools/vpenciltool.h index d2bca744..7f962d55 100644 --- a/karbon/tools/vpenciltool.h +++ b/karbon/tools/vpenciltool.h @@ -47,7 +47,7 @@ class VPencilOptionsWidget : public KDialogBase Q_OBJECT TQ_OBJECT public: - VPencilOptionsWidget( KarbonView*view, TQWidget* tqparent = 0L, const char* name = 0L ); + VPencilOptionsWidget( KarbonView*view, TQWidget* parent = 0L, const char* name = 0L ); int currentMode(); bool optimize(); diff --git a/karbon/tools/vpolygontool.cc b/karbon/tools/vpolygontool.cc index 8fd8d740..db1ffb88 100644 --- a/karbon/tools/vpolygontool.cc +++ b/karbon/tools/vpolygontool.cc @@ -30,8 +30,8 @@ #include <shapes/vstar.h> #include "vpolygontool.h" -VPolygonTool::VPolygonOptionsWidget::VPolygonOptionsWidget( KarbonView *view, TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Insert Polygon" ), Ok | Cancel ), m_view(view) +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 ); diff --git a/karbon/tools/vpolygontool.h b/karbon/tools/vpolygontool.h index 227e9d37..052d7e50 100644 --- a/karbon/tools/vpolygontool.h +++ b/karbon/tools/vpolygontool.h @@ -48,7 +48,7 @@ private: class VPolygonOptionsWidget : public KDialogBase { public: - VPolygonOptionsWidget( KarbonView *view, TQWidget *tqparent = 0L, const char *name = 0L ); + VPolygonOptionsWidget( KarbonView *view, TQWidget *parent = 0L, const char *name = 0L ); double radius() const; uint edges() const; diff --git a/karbon/tools/vrectangletool.cc b/karbon/tools/vrectangletool.cc index d3668fc4..7d949ac7 100644 --- a/karbon/tools/vrectangletool.cc +++ b/karbon/tools/vrectangletool.cc @@ -30,8 +30,8 @@ #include <KoUnitWidgets.h> -VRectangleTool::VRectangleOptionsWidget::VRectangleOptionsWidget( KarbonPart *part, TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Insert Rectangle" ), Ok | Cancel ), m_part( part ) +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 ); // add width/height-input: diff --git a/karbon/tools/vrectangletool.h b/karbon/tools/vrectangletool.h index 2b71e27e..b902b1ab 100644 --- a/karbon/tools/vrectangletool.h +++ b/karbon/tools/vrectangletool.h @@ -47,7 +47,7 @@ private: class VRectangleOptionsWidget : public KDialogBase { public: - VRectangleOptionsWidget( KarbonPart *part, TQWidget* tqparent = 0L, const char* name = 0L ); + VRectangleOptionsWidget( KarbonPart *part, TQWidget* parent = 0L, const char* name = 0L ); double width() const; double height() const; diff --git a/karbon/tools/vroundrecttool.cc b/karbon/tools/vroundrecttool.cc index 0e97530f..b7f354cf 100644 --- a/karbon/tools/vroundrecttool.cc +++ b/karbon/tools/vroundrecttool.cc @@ -31,8 +31,8 @@ #include <kgenericfactory.h> -VRoundRectTool::VRoundRectOptionsWidget::VRoundRectOptionsWidget( KarbonPart *part, TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Insert Round Rect" ), Ok | Cancel ), m_part( part ) +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 ); new TQLabel( i18n( "object width", "Width:" ), group ); diff --git a/karbon/tools/vroundrecttool.h b/karbon/tools/vroundrecttool.h index 9b70bf27..59a2fab0 100644 --- a/karbon/tools/vroundrecttool.h +++ b/karbon/tools/vroundrecttool.h @@ -51,7 +51,7 @@ private: class VRoundRectOptionsWidget : public KDialogBase { public: - VRoundRectOptionsWidget( KarbonPart *part, TQWidget *tqparent = 0L, const char *name = 0L ); + VRoundRectOptionsWidget( KarbonPart *part, TQWidget *parent = 0L, const char *name = 0L ); double width() const; double height() const; diff --git a/karbon/tools/vsinustool.cc b/karbon/tools/vsinustool.cc index 4982141b..f95bc2c5 100644 --- a/karbon/tools/vsinustool.cc +++ b/karbon/tools/vsinustool.cc @@ -32,8 +32,8 @@ #include "KoUnitWidgets.h" -VSinusTool::VSinusOptionsWidget::VSinusOptionsWidget( KarbonPart *part, TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Insert Sinus" ), Ok | Cancel ), m_part( part ) +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 ); diff --git a/karbon/tools/vsinustool.h b/karbon/tools/vsinustool.h index 8e2adfc3..71669ebd 100644 --- a/karbon/tools/vsinustool.h +++ b/karbon/tools/vsinustool.h @@ -46,7 +46,7 @@ private: class VSinusOptionsWidget : public KDialogBase { public: - VSinusOptionsWidget( KarbonPart *part, TQWidget *tqparent = 0L, const char *name = 0L ); + VSinusOptionsWidget( KarbonPart *part, TQWidget *parent = 0L, const char *name = 0L ); double width() const; double height() const; diff --git a/karbon/tools/vspiraltool.cc b/karbon/tools/vspiraltool.cc index 58401309..304c8637 100644 --- a/karbon/tools/vspiraltool.cc +++ b/karbon/tools/vspiraltool.cc @@ -31,8 +31,8 @@ #include "KoUnitWidgets.h" -VSpiralTool::VSpiralOptionsWidget::VSpiralOptionsWidget( KarbonPart *part, TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Insert Spiral" ), Ok | Cancel ), m_part( part ) +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 ); diff --git a/karbon/tools/vspiraltool.h b/karbon/tools/vspiraltool.h index 9a09bd83..5787063d 100644 --- a/karbon/tools/vspiraltool.h +++ b/karbon/tools/vspiraltool.h @@ -51,7 +51,7 @@ private: class VSpiralOptionsWidget : public KDialogBase { public: - VSpiralOptionsWidget( KarbonPart *part, TQWidget *tqparent = 0L, const char* name = 0L ); + VSpiralOptionsWidget( KarbonPart *part, TQWidget *parent = 0L, const char* name = 0L ); double radius() const; uint segments() const; diff --git a/karbon/tools/vstartool.cc b/karbon/tools/vstartool.cc index 6110969a..42c74f4e 100644 --- a/karbon/tools/vstartool.cc +++ b/karbon/tools/vstartool.cc @@ -31,8 +31,8 @@ #include "KoUnitWidgets.h" -VStarOptionsWidget::VStarOptionsWidget( KarbonPart *part, TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Insert Star" ), Ok | Cancel ), m_part( part ) +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 ); new TQLabel( i18n( "Type:" ), group ); diff --git a/karbon/tools/vstartool.h b/karbon/tools/vstartool.h index 3ab94916..07d744c0 100644 --- a/karbon/tools/vstartool.h +++ b/karbon/tools/vstartool.h @@ -36,7 +36,7 @@ class VStarOptionsWidget : public KDialogBase Q_OBJECT TQ_OBJECT public: - VStarOptionsWidget( KarbonPart *part, TQWidget* tqparent = 0L, const char* name = 0L ); + VStarOptionsWidget( KarbonPart *part, TQWidget* parent = 0L, const char* name = 0L ); void refreshUnit(); diff --git a/karbon/tools/vtexttool.cc b/karbon/tools/vtexttool.cc index 67776ac3..a3500160 100644 --- a/karbon/tools/vtexttool.cc +++ b/karbon/tools/vtexttool.cc @@ -68,8 +68,8 @@ traceShape( VKoPainter* p, int x, int y, int w, int h ) p->lineTo( KoPoint( x , y ) ); } -ShadowPreview::ShadowPreview( ShadowWidget* tqparent ) - : TQWidget( tqparent ), m_parent( tqparent ) +ShadowPreview::ShadowPreview( ShadowWidget* parent ) + : TQWidget( parent ), m_parent( parent ) { setBackgroundMode( TQt::NoBackground ); setMinimumSize( 60, 60 ); @@ -201,8 +201,8 @@ ShadowPreview::paintEvent( TQPaintEvent* ) painter.drawLine( width() / 2, height() / 2 - 2, width() / 2, height() / 2 + 2 ); } -ShadowWidget::ShadowWidget( TQWidget* tqparent, const char* name, int angle, int distance, bool translucent ) - : TQGroupBox( tqparent, name ) +ShadowWidget::ShadowWidget( TQWidget* parent, const char* name, int angle, int distance, bool translucent ) + : TQGroupBox( parent, name ) { setTitle( i18n( "Shadow" ) ); tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); @@ -314,8 +314,8 @@ ShadowWidget::updatePreview() m_translucent->setEnabled( ok ); } -VTextOptionsWidget::VTextOptionsWidget( VTextTool* tool, TQWidget *tqparent ) - : KDialogBase( tqparent, "", true, i18n( "Text" ), Ok | Cancel ), m_tool( tool ) +VTextOptionsWidget::VTextOptionsWidget( VTextTool* tool, TQWidget *parent ) + : KDialogBase( parent, "", true, i18n( "Text" ), Ok | Cancel ), m_tool( tool ) { //tqsetSizePolicy( TQSizePolicy( TQSizePolicy::Minimum, TQSizePolicy::Minimum ) ); //setFrameStyle( Box | Sunken ); diff --git a/karbon/tools/vtexttool.h b/karbon/tools/vtexttool.h index ccecb192..cd3c4e87 100644 --- a/karbon/tools/vtexttool.h +++ b/karbon/tools/vtexttool.h @@ -51,7 +51,7 @@ class ShadowPreview : public TQWidget TQ_OBJECT public: - ShadowPreview( ShadowWidget* tqparent ); + ShadowPreview( ShadowWidget* parent ); ~ShadowPreview(); signals: @@ -72,7 +72,7 @@ class ShadowWidget : public TQGroupBox TQ_OBJECT public: - ShadowWidget( TQWidget* tqparent, const char* name, int angle, int distance, bool translucent ); + ShadowWidget( TQWidget* parent, const char* name, int angle, int distance, bool translucent ); ~ShadowWidget(); void setUseShadow( bool use ); @@ -104,7 +104,7 @@ class VTextOptionsWidget : public KDialogBase TQ_OBJECT public: - VTextOptionsWidget( VTextTool* tool, TQWidget *tqparent ); + VTextOptionsWidget( VTextTool* tool, TQWidget *parent ); ~VTextOptionsWidget(); void setFont( const TQFont& font ); |