diff options
Diffstat (limited to 'kexi/plugins/forms/kexiformpart.cpp')
-rw-r--r-- | kexi/plugins/forms/kexiformpart.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kexi/plugins/forms/kexiformpart.cpp b/kexi/plugins/forms/kexiformpart.cpp index e03a0779..9c4e3173 100644 --- a/kexi/plugins/forms/kexiformpart.cpp +++ b/kexi/plugins/forms/kexiformpart.cpp @@ -77,8 +77,8 @@ class KexiFormPart::Private KexiDataSourceComboBox *dataSourceCombo; }; -KexiFormPart::KexiFormPart(TQObject *tqparent, const char *name, const TQStringList &l) - : KexiPart::Part(tqparent, name, l) +KexiFormPart::KexiFormPart(TQObject *parent, const char *name, const TQStringList &l) + : KexiPart::Part(parent, name, l) , d(new Private()) { // REGISTERED ID: @@ -233,7 +233,7 @@ KexiFormPart::createTempData(KexiDialogBase* dialog) return new KexiFormPart::TempData(TQT_TQOBJECT(dialog)); } -KexiViewBase* KexiFormPart::createView(TQWidget *tqparent, KexiDialogBase* dialog, +KexiViewBase* KexiFormPart::createView(TQWidget *parent, KexiDialogBase* dialog, KexiPart::Item &item, int viewMode, TQMap<TQString,TQString>*) { Q_UNUSED( viewMode ); @@ -243,7 +243,7 @@ KexiViewBase* KexiFormPart::createView(TQWidget *tqparent, KexiDialogBase* dialo if (!win || !win->project() || !win->project()->dbConnection()) return 0; - KexiFormView *view = new KexiFormView(win, tqparent, item.name().latin1(), + KexiFormView *view = new KexiFormView(win, parent, item.name().latin1(), win->project()->dbConnection() ); return view; @@ -424,7 +424,7 @@ void KexiFormPart::slotAssignAction() KexiFormScrollView *scrollViewWidget = dynamic_cast<KexiFormScrollView*>(dbform->dataAwareObject()); if (!scrollViewWidget) return; - KexiFormView* formViewWidget = dynamic_cast<KexiFormView*>(scrollViewWidget->tqparent()); + KexiFormView* formViewWidget = dynamic_cast<KexiFormView*>(scrollViewWidget->parent()); if (!formViewWidget) return; @@ -538,8 +538,8 @@ void KexiFormPart::slotWidgetCreatedByFormsLibrary(TQWidget* widget) //---------------- -KexiFormPart::TempData::TempData(TQObject* tqparent) - : KexiDialogTempData(tqparent) +KexiFormPart::TempData::TempData(TQObject* parent) + : KexiDialogTempData(parent) { } |