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/roundcorners | |
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/roundcorners')
-rw-r--r-- | karbon/plugins/roundcorners/roundcornersplugin.cc | 8 | ||||
-rw-r--r-- | karbon/plugins/roundcorners/roundcornersplugin.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/karbon/plugins/roundcorners/roundcornersplugin.cc b/karbon/plugins/roundcorners/roundcornersplugin.cc index 7003e510..28ede19d 100644 --- a/karbon/plugins/roundcorners/roundcornersplugin.cc +++ b/karbon/plugins/roundcorners/roundcornersplugin.cc @@ -32,7 +32,7 @@ typedef KGenericFactory<VRoundCornersPlugin, KarbonView> VRoundCornersPluginFactory; K_EXPORT_COMPONENT_FACTORY( karbon_roundcornersplugin, VRoundCornersPluginFactory( "karbonroundcornersplugin" ) ) -VRoundCornersPlugin::VRoundCornersPlugin( KarbonView *tqparent, const char* name, const TQStringList & ) : Plugin( TQT_TQOBJECT(tqparent), name ) +VRoundCornersPlugin::VRoundCornersPlugin( KarbonView *parent, const char* name, const TQStringList & ) : Plugin( TQT_TQOBJECT(parent), name ) { new KAction( i18n( "&Round Corners..." ), "14_roundcorners", 0, this, @@ -49,14 +49,14 @@ VRoundCornersPlugin::~VRoundCornersPlugin() void VRoundCornersPlugin::slotRoundCorners() { - KarbonPart *part = ((KarbonView *)tqparent())->part(); + KarbonPart *part = ((KarbonView *)parent())->part(); if( part && m_roundCornersDlg->exec() ) part->addCommand( new VRoundCornersCmd( &part->document(), m_roundCornersDlg->radius() ), true ); } -VRoundCornersDlg::VRoundCornersDlg( TQWidget* tqparent, const char* name ) - : KDialogBase( tqparent, name, true, i18n( "Polygonize" ), Ok | Cancel ) +VRoundCornersDlg::VRoundCornersDlg( TQWidget* parent, const char* name ) + : KDialogBase( parent, name, true, i18n( "Polygonize" ), Ok | Cancel ) { // add input: TQGroupBox* group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this ); diff --git a/karbon/plugins/roundcorners/roundcornersplugin.h b/karbon/plugins/roundcorners/roundcornersplugin.h index 74e49f88..7806375d 100644 --- a/karbon/plugins/roundcorners/roundcornersplugin.h +++ b/karbon/plugins/roundcorners/roundcornersplugin.h @@ -33,7 +33,7 @@ class KARBONBASE_EXPORT VRoundCornersPlugin : public KParts::Plugin Q_OBJECT TQ_OBJECT public: - VRoundCornersPlugin( KarbonView *tqparent, const char* name, const TQStringList & ); + VRoundCornersPlugin( KarbonView *parent, const char* name, const TQStringList & ); virtual ~VRoundCornersPlugin(); private slots: @@ -51,7 +51,7 @@ class VRoundCornersDlg : public KDialogBase TQ_OBJECT public: - VRoundCornersDlg( TQWidget* tqparent = 0L, const char* name = 0L ); + VRoundCornersDlg( TQWidget* parent = 0L, const char* name = 0L ); double radius() const; void setRadius( double value ); |