summaryrefslogtreecommitdiffstats
path: root/karbon/plugins/insertknots/insertknotsplugin.cc
diff options
context:
space:
mode:
Diffstat (limited to 'karbon/plugins/insertknots/insertknotsplugin.cc')
-rw-r--r--karbon/plugins/insertknots/insertknotsplugin.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/karbon/plugins/insertknots/insertknotsplugin.cc b/karbon/plugins/insertknots/insertknotsplugin.cc
index 9f462179..55fcde76 100644
--- a/karbon/plugins/insertknots/insertknotsplugin.cc
+++ b/karbon/plugins/insertknots/insertknotsplugin.cc
@@ -33,7 +33,7 @@
typedef KGenericFactory<InsertKnotsPlugin, KarbonView> InsertKnotsPluginFactory;
K_EXPORT_COMPONENT_FACTORY( karbon_insertknotsplugin, InsertKnotsPluginFactory( "karboninsertknotsplugin" ) )
-InsertKnotsPlugin::InsertKnotsPlugin( KarbonView *tqparent, const char* name, const TQStringList & ) : Plugin( TQT_TQOBJECT(tqparent), name )
+InsertKnotsPlugin::InsertKnotsPlugin( KarbonView *parent, const char* name, const TQStringList & ) : Plugin( TQT_TQOBJECT(parent), name )
{
new KAction(
i18n( "&Insert Knots..." ), "14_insertknots", 0, this,
@@ -45,13 +45,13 @@ InsertKnotsPlugin::InsertKnotsPlugin( KarbonView *tqparent, const char* name, co
void
InsertKnotsPlugin::slotInsertKnots()
{
- KarbonPart *part = ((KarbonView *)tqparent())->part();
+ KarbonPart *part = ((KarbonView *)parent())->part();
if( part && m_insertKnotsDlg->exec() )
part->addCommand( new VInsertKnotsCmd( &part->document(), m_insertKnotsDlg->knots() ), true );
}
-VInsertKnotsDlg::VInsertKnotsDlg( TQWidget* tqparent, const char* name )
- : KDialogBase( tqparent, name, true, i18n( "Insert Knots" ), Ok | Cancel )
+VInsertKnotsDlg::VInsertKnotsDlg( TQWidget* parent, const char* name )
+ : KDialogBase( parent, name, true, i18n( "Insert Knots" ), Ok | Cancel )
{
// add input fields:
TQGroupBox* group = new TQGroupBox( 2, Qt::Horizontal, i18n( "Properties" ), this );