diff options
Diffstat (limited to 'karbon/plugins/whirlpinch')
-rw-r--r-- | karbon/plugins/whirlpinch/whirlpinchplugin.cc | 8 | ||||
-rw-r--r-- | karbon/plugins/whirlpinch/whirlpinchplugin.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/karbon/plugins/whirlpinch/whirlpinchplugin.cc b/karbon/plugins/whirlpinch/whirlpinchplugin.cc index 9ad72ed5..ec8e7075 100644 --- a/karbon/plugins/whirlpinch/whirlpinchplugin.cc +++ b/karbon/plugins/whirlpinch/whirlpinchplugin.cc @@ -38,7 +38,7 @@ typedef KGenericFactory<WhirlPinchPlugin, KarbonView> WhirlPinchPluginFactory; K_EXPORT_COMPONENT_FACTORY( karbon_whirlpinchplugin, WhirlPinchPluginFactory( "karbonwhirlpinchplugin" ) ) -WhirlPinchPlugin::WhirlPinchPlugin( KarbonView *tqparent, const char* name, const TQStringList & ) : Plugin( TQT_TQOBJECT(tqparent), name ) +WhirlPinchPlugin::WhirlPinchPlugin( KarbonView *parent, const char* name, const TQStringList & ) : Plugin( TQT_TQOBJECT(parent), name ) { new KAction( i18n( "&Whirl/Pinch..." ), "14_whirl", 0, this, @@ -53,13 +53,13 @@ WhirlPinchPlugin::WhirlPinchPlugin( KarbonView *tqparent, const char* name, cons void WhirlPinchPlugin::slotWhirlPinch() { - KarbonPart *part = ((KarbonView *)tqparent())->part(); + KarbonPart *part = ((KarbonView *)parent())->part(); if( part && m_whirlPinchDlg->exec() ) part->addCommand( new VWhirlPinchCmd( &part->document(), m_whirlPinchDlg->angle(), m_whirlPinchDlg->pinch(), m_whirlPinchDlg->radius() ), true ); } -VWhirlPinchDlg::VWhirlPinchDlg( TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Whirl Pinch" ), Ok | Cancel ) +VWhirlPinchDlg::VWhirlPinchDlg( TQWidget* parent, const char* name ) + : KDialogBase( parent, name, true, i18n( "Whirl Pinch" ), Ok | Cancel ) { // add input fields: TQGroupBox* group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this ); diff --git a/karbon/plugins/whirlpinch/whirlpinchplugin.h b/karbon/plugins/whirlpinch/whirlpinchplugin.h index 215f9bcd..bf9d16b4 100644 --- a/karbon/plugins/whirlpinch/whirlpinchplugin.h +++ b/karbon/plugins/whirlpinch/whirlpinchplugin.h @@ -32,7 +32,7 @@ class WhirlPinchPlugin : public KParts::Plugin Q_OBJECT TQ_OBJECT public: - WhirlPinchPlugin( KarbonView *tqparent, const char* name, const TQStringList & ); + WhirlPinchPlugin( KarbonView *parent, const char* name, const TQStringList & ); virtual ~WhirlPinchPlugin() {} private slots: @@ -50,7 +50,7 @@ class VWhirlPinchDlg : public KDialogBase TQ_OBJECT public: - VWhirlPinchDlg( TQWidget* tqparent = 0L, const char* name = 0L ); + VWhirlPinchDlg( TQWidget* parent = 0L, const char* name = 0L ); double angle() const; double pinch() const; |