summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoTemplateCreateDia.cpp
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 /lib/kofficeui/KoTemplateCreateDia.cpp
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 'lib/kofficeui/KoTemplateCreateDia.cpp')
-rw-r--r--lib/kofficeui/KoTemplateCreateDia.cpp14
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();