summaryrefslogtreecommitdiffstats
path: root/karbon/plugins/whirlpinch
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /karbon/plugins/whirlpinch
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-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/whirlpinch')
-rw-r--r--karbon/plugins/whirlpinch/whirlpinchplugin.cc8
-rw-r--r--karbon/plugins/whirlpinch/whirlpinchplugin.h4
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;