summaryrefslogtreecommitdiffstats
path: root/karbon/plugins/flattenpath
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/flattenpath
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/flattenpath')
-rw-r--r--karbon/plugins/flattenpath/flattenpathplugin.cc10
-rw-r--r--karbon/plugins/flattenpath/flattenpathplugin.h4
2 files changed, 7 insertions, 7 deletions
diff --git a/karbon/plugins/flattenpath/flattenpathplugin.cc b/karbon/plugins/flattenpath/flattenpathplugin.cc
index eff3cebd..aa5fb3cc 100644
--- a/karbon/plugins/flattenpath/flattenpathplugin.cc
+++ b/karbon/plugins/flattenpath/flattenpathplugin.cc
@@ -33,8 +33,8 @@
typedef KGenericFactory<FlattenPathPlugin, KarbonView> FlattenPathPluginFactory;
K_EXPORT_COMPONENT_FACTORY( karbon_flattenpathplugin, FlattenPathPluginFactory( "karbonflattenpathplugin" ) )
-FlattenPathPlugin::FlattenPathPlugin( KarbonView *tqparent, const char* name, const TQStringList & )
-: Plugin( TQT_TQOBJECT(tqparent), name )
+FlattenPathPlugin::FlattenPathPlugin( KarbonView *parent, const char* name, const TQStringList & )
+: Plugin( TQT_TQOBJECT(parent), name )
{
new KAction(
i18n( "&Flatten Path..." ), "14_flatten", 0, this,
@@ -47,13 +47,13 @@ FlattenPathPlugin::FlattenPathPlugin( KarbonView *tqparent, const char* name, co
void
FlattenPathPlugin::slotFlattenPath()
{
- KarbonPart *part = ((KarbonView *)tqparent())->part();
+ KarbonPart *part = ((KarbonView *)parent())->part();
if( part && m_flattenPathDlg->exec() )
part->addCommand( new VFlattenCmd( &part->document(), m_flattenPathDlg->flatness() ), true );
}
-VFlattenDlg::VFlattenDlg( TQWidget* tqparent, const char* name )
- : KDialogBase( tqparent, name, true, i18n( "Flatten Path" ), Ok | Cancel )
+VFlattenDlg::VFlattenDlg( TQWidget* parent, const char* name )
+ : KDialogBase( parent, name, true, i18n( "Flatten Path" ), Ok | Cancel )
{
// add input fields on the left:
TQGroupBox* group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );
diff --git a/karbon/plugins/flattenpath/flattenpathplugin.h b/karbon/plugins/flattenpath/flattenpathplugin.h
index d4a4e3a7..9837f688 100644
--- a/karbon/plugins/flattenpath/flattenpathplugin.h
+++ b/karbon/plugins/flattenpath/flattenpathplugin.h
@@ -31,7 +31,7 @@ class FlattenPathPlugin : public KParts::Plugin
Q_OBJECT
TQ_OBJECT
public:
- FlattenPathPlugin( KarbonView *tqparent, const char* name, const TQStringList & );
+ FlattenPathPlugin( KarbonView *parent, const char* name, const TQStringList & );
virtual ~FlattenPathPlugin() {}
private slots:
@@ -49,7 +49,7 @@ class VFlattenDlg : public KDialogBase
TQ_OBJECT
public:
- VFlattenDlg( TQWidget* tqparent = 0L, const char* name = 0L );
+ VFlattenDlg( TQWidget* parent = 0L, const char* name = 0L );
double flatness() const;
void setFlatness( double value );