summaryrefslogtreecommitdiffstats
path: root/karbon/plugins/flattenpath
diff options
context:
space:
mode:
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 );