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/plugins/shadoweffect | |
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/plugins/shadoweffect')
-rw-r--r-- | karbon/plugins/shadoweffect/shadoweffectplugin.cc | 12 | ||||
-rw-r--r-- | karbon/plugins/shadoweffect/shadoweffectplugin.h | 4 | ||||
-rw-r--r-- | karbon/plugins/shadoweffect/vshadowdecorator.cc | 4 | ||||
-rw-r--r-- | karbon/plugins/shadoweffect/vshadowdecorator.h | 2 |
4 files changed, 11 insertions, 11 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. diff --git a/karbon/plugins/shadoweffect/shadoweffectplugin.h b/karbon/plugins/shadoweffect/shadoweffectplugin.h index fc500bb7..890cb209 100644 --- a/karbon/plugins/shadoweffect/shadoweffectplugin.h +++ b/karbon/plugins/shadoweffect/shadoweffectplugin.h @@ -33,7 +33,7 @@ class ShadowEffectPlugin : public KParts::Plugin Q_OBJECT TQ_OBJECT public: - ShadowEffectPlugin( KarbonView *tqparent, const char* name, const TQStringList & ); + ShadowEffectPlugin( KarbonView *parent, const char* name, const TQStringList & ); virtual ~ShadowEffectPlugin() {} private slots: @@ -51,7 +51,7 @@ class VShadowEffectDlg : public KDialogBase TQ_OBJECT public: - VShadowEffectDlg( TQWidget* tqparent = 0L, const char* name = 0L ); + VShadowEffectDlg( TQWidget* parent = 0L, const char* name = 0L ); void setAngle( int ); void setDistance( int ); diff --git a/karbon/plugins/shadoweffect/vshadowdecorator.cc b/karbon/plugins/shadoweffect/vshadowdecorator.cc index e6b2f378..b3c00bdd 100644 --- a/karbon/plugins/shadoweffect/vshadowdecorator.cc +++ b/karbon/plugins/shadoweffect/vshadowdecorator.cc @@ -26,8 +26,8 @@ #include <core/vselection.h> #include <commands/vtransformcmd.h> -VShadowDecorator::VShadowDecorator( VObject *object, VObject* tqparent, int distance, int angle, float opacity ) - : VObject( tqparent ), m_object( object ), m_distance( distance ), m_angle( angle ), m_opacity( opacity ) +VShadowDecorator::VShadowDecorator( VObject *object, VObject* parent, int distance, int angle, float opacity ) + : VObject( parent ), m_object( object ), m_distance( distance ), m_angle( angle ), m_opacity( opacity ) { } diff --git a/karbon/plugins/shadoweffect/vshadowdecorator.h b/karbon/plugins/shadoweffect/vshadowdecorator.h index 0518baf7..fcaa400c 100644 --- a/karbon/plugins/shadoweffect/vshadowdecorator.h +++ b/karbon/plugins/shadoweffect/vshadowdecorator.h @@ -29,7 +29,7 @@ class KARBONBASE_EXPORT VShadowDecorator : public VObject { public: - VShadowDecorator( VObject* object, VObject* tqparent, int distance = 2, int angle = 0, float opacity = 1.0 ); + VShadowDecorator( VObject* object, VObject* parent, int distance = 2, int angle = 0, float opacity = 1.0 ); VShadowDecorator( const VShadowDecorator& obj ); virtual ~VShadowDecorator(); |