diff options
Diffstat (limited to 'lib/kofficeui/KoTemplateCreateDia.cpp')
-rw-r--r-- | lib/kofficeui/KoTemplateCreateDia.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/kofficeui/KoTemplateCreateDia.cpp b/lib/kofficeui/KoTemplateCreateDia.cpp index 213e694f..6243b9dc 100644 --- a/lib/kofficeui/KoTemplateCreateDia.cpp +++ b/lib/kofficeui/KoTemplateCreateDia.cpp @@ -55,7 +55,7 @@ class KoTemplateCreateDiaPrivate { public: - KoTemplateCreateDiaPrivate( TQWidget* /*tqparent*/, KInstance * instance) + KoTemplateCreateDiaPrivate( TQWidget* /*parent*/, KInstance * instance) : m_instance( instance ), m_tempFile( TQString(), ".png" ) { m_tree=0L; @@ -98,11 +98,11 @@ public: ****************************************************************************/ KoTemplateCreateDia::KoTemplateCreateDia( const TQCString &templateType, KInstance *instance, - const TQString &file, const TQPixmap &pix, TQWidget *tqparent ) : - KDialogBase( tqparent, "template create dia", true, i18n( "Create Template" ), + const TQString &file, const TQPixmap &pix, TQWidget *parent ) : + KDialogBase( parent, "template create dia", true, i18n( "Create Template" ), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok ), m_file(file), m_pixmap(pix) { - d=new KoTemplateCreateDiaPrivate( tqparent, instance ); + d=new KoTemplateCreateDiaPrivate( parent, instance ); TQFrame *mainwidget=makeMainWidget(); TQHBoxLayout *mbox=new TQHBoxLayout(mainwidget, 0, KDialogBase::spacingHint()); @@ -201,9 +201,9 @@ void KoTemplateCreateDia::slotSelectionChanged() } void KoTemplateCreateDia::createTemplate( const TQCString &templateType, KInstance *instance, - const TQString &file, const TQPixmap &pix, TQWidget *tqparent ) { + const TQString &file, const TQPixmap &pix, TQWidget *parent ) { - KoTemplateCreateDia *dia = new KoTemplateCreateDia( templateType, instance, file, pix, tqparent ); + KoTemplateCreateDia *dia = new KoTemplateCreateDia( templateType, instance, file, pix, parent ); dia->exec(); delete dia; } @@ -221,7 +221,7 @@ void KoTemplateCreateDia::slotOk() { } // is it a group or a template? anyway - get the group :) if(item->depth()!=0) - item=item->tqparent(); + item=item->parent(); if(!item) { // *very* safe :P d->m_tree->writeTemplateTree(); KDialogBase::slotCancel(); |