diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /lib/kofficeui/KoTemplateCreateDia.cpp | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-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 '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(); |