diff options
Diffstat (limited to 'karbon/plugins/shadoweffect/shadoweffectplugin.cc')
-rw-r--r-- | karbon/plugins/shadoweffect/shadoweffectplugin.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/karbon/plugins/shadoweffect/shadoweffectplugin.cc b/karbon/plugins/shadoweffect/shadoweffectplugin.cc index 7040b042..dea09571 100644 --- a/karbon/plugins/shadoweffect/shadoweffectplugin.cc +++ b/karbon/plugins/shadoweffect/shadoweffectplugin.cc @@ -37,8 +37,8 @@ typedef KGenericFactory<ShadowEffectPlugin, KarbonView> ShadowEffectPluginFactory; K_EXPORT_COMPONENT_FACTORY( karbon_shadoweffectplugin, ShadowEffectPluginFactory( "karbonshadoweffectplugin" ) ) -ShadowEffectPlugin::ShadowEffectPlugin( KarbonView *tqparent, const char* name, const TQStringList & ) -: Plugin( TQT_TQOBJECT(tqparent), name ) +ShadowEffectPlugin::ShadowEffectPlugin( KarbonView *parent, const char* name, const TQStringList & ) +: Plugin( TQT_TQOBJECT(parent), name ) { new KAction( i18n( "&Shadow Effect..." ), "shadowRB", 0, this, @@ -52,13 +52,13 @@ ShadowEffectPlugin::ShadowEffectPlugin( KarbonView *tqparent, const char* name, void ShadowEffectPlugin::slotShadowEffect() { - KarbonPart *part = ((KarbonView *)tqparent())->part(); + KarbonPart *part = ((KarbonView *)parent())->part(); if( part && m_shadowEffectDlg->exec() ) part->addCommand( new VCreateShadowCmd( &part->document(), m_shadowEffectDlg->distance(), m_shadowEffectDlg->angle(), double( m_shadowEffectDlg->opacity() ) / 255.0 ), true ); } -VShadowEffectDlg::VShadowEffectDlg( TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Create Shadow Effect" ), Ok | Cancel ) +VShadowEffectDlg::VShadowEffectDlg( TQWidget* parent, const char* name ) + : KDialogBase( parent, name, true, i18n( "Create Shadow Effect" ), Ok | Cancel ) { // add input fields on the left: TQGroupBox* group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this ); @@ -170,7 +170,7 @@ VCreateShadowCmd::execute() if(newObject) { // Insert new tqshape right before old tqshape. - itr.current()->tqparent()->insertInfrontOf( + itr.current()->parent()->insertInfrontOf( newObject, itr.current() ); // Add new tqshape to list of new objects. |