summaryrefslogtreecommitdiffstats
path: root/karbon/plugins/roundcorners
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/roundcorners
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/roundcorners')
-rw-r--r--karbon/plugins/roundcorners/roundcornersplugin.cc8
-rw-r--r--karbon/plugins/roundcorners/roundcornersplugin.h4
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 );