summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexiformscrollview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/kexiformscrollview.cpp')
-rw-r--r--kexi/plugins/forms/kexiformscrollview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/plugins/forms/kexiformscrollview.cpp b/kexi/plugins/forms/kexiformscrollview.cpp
index 5996061f..df5191ed 100644
--- a/kexi/plugins/forms/kexiformscrollview.cpp
+++ b/kexi/plugins/forms/kexiformscrollview.cpp
@@ -30,8 +30,8 @@
#include <kpopupmenu.h>
#include <kdebug.h>
-KexiFormScrollView::KexiFormScrollView(TQWidget *tqparent, bool preview)
- : KexiScrollView(tqparent, preview)
+KexiFormScrollView::KexiFormScrollView(TQWidget *parent, bool preview)
+ : KexiScrollView(parent, preview)
, KexiRecordNavigatorHandler()
, KexiSharedActionClient()
, KexiDataAwareObjectInterface()
@@ -71,7 +71,7 @@ KexiFormScrollView::show()
#if 0 //moved to KexiFormView, OK?
//now get resize mode settings for entire form
if (m_preview) {
- KexiFormView* fv = dynamic_cast<KexiFormView*>(tqparent());
+ KexiFormView* fv = dynamic_cast<KexiFormView*>(parent());
int resizeMode = fv ? fv->resizeMode() : KexiFormView::ResizeAuto;
if (resizeMode == KexiFormView::ResizeAuto)
setResizePolicy(AutoOneFit);