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/KoTemplateChooseDia.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/KoTemplateChooseDia.cpp')
-rw-r--r-- | lib/kofficeui/KoTemplateChooseDia.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kofficeui/KoTemplateChooseDia.cpp b/lib/kofficeui/KoTemplateChooseDia.cpp index 280a875c..3d1609ed 100644 --- a/lib/kofficeui/KoTemplateChooseDia.cpp +++ b/lib/kofficeui/KoTemplateChooseDia.cpp @@ -62,10 +62,10 @@ class MyFileDialog : public KFileDialog MyFileDialog( const TQString& startDir=0, const TQString& filter =0, - TQWidget *tqparent=0, + TQWidget *parent=0, const char *name=0, bool modal=0) - : KFileDialog (startDir, filter, tqparent, name, modal), + : KFileDialog (startDir, filter, parent, name, modal), m_slotOkCalled( false ) {} KURL currentURL() @@ -178,13 +178,13 @@ class KoTemplateChooseDiaPrivate { /******************************************************************/ /*================================================================*/ -KoTemplateChooseDia::KoTemplateChooseDia(TQWidget *tqparent, const char *name, KInstance* instance, +KoTemplateChooseDia::KoTemplateChooseDia(TQWidget *parent, const char *name, KInstance* instance, const TQCString &format, const TQString &nativeName, const TQStringList &extraNativeMimeTypes, const DialogType &dialogType, const TQCString& templateType) : - KDialogBase(tqparent, name, true, i18n("Open Document"), KDialogBase::Ok | KDialogBase::Cancel, + KDialogBase(parent, name, true, i18n("Open Document"), KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok) { d = new KoTemplateChooseDiaPrivate( @@ -230,7 +230,7 @@ static bool cancelQuits() { KoTemplateChooseDia::ReturnType KoTemplateChooseDia::choose(KInstance* instance, TQString &file, const KoTemplateChooseDia::DialogType &dialogType, const TQCString& templateType, - TQWidget* tqparent) + TQWidget* parent) { const TQString nativeName = instance->aboutData()->programName(); const TQCString format = KoDocument::readNativeFormatMimeType( instance ); @@ -238,7 +238,7 @@ KoTemplateChooseDia::ReturnType KoTemplateChooseDia::choose(KInstance* instance, // Maybe the above two can be combined into one call, for speed: //KoDocument::getNativeMimeTypeInfo( instance, nativeName, extraNativeMimeTypes ); return choose( instance, file, format, nativeName, extraNativeMimeTypes, - dialogType, templateType, tqparent ); + dialogType, templateType, parent ); } KoTemplateChooseDia::ReturnType KoTemplateChooseDia::choose(KInstance* instance, TQString &file, @@ -247,10 +247,10 @@ KoTemplateChooseDia::ReturnType KoTemplateChooseDia::choose(KInstance* instance, const TQStringList& extraNativeMimeTypes, const DialogType &dialogType, const TQCString& templateType, - TQWidget* tqparent ) + TQWidget* parent ) { KoTemplateChooseDia *dlg = new KoTemplateChooseDia( - tqparent, "Choose", instance, format, + parent, "Choose", instance, format, nativeName, extraNativeMimeTypes, dialogType, templateType ); KoTemplateChooseDia::ReturnType rt = Cancel; |