diff options
Diffstat (limited to 'kexi/plugins/reports/kexireportview.cpp')
-rw-r--r-- | kexi/plugins/reports/kexireportview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/plugins/reports/kexireportview.cpp b/kexi/plugins/reports/kexireportview.cpp index 403c0277..2de5f4a7 100644 --- a/kexi/plugins/reports/kexireportview.cpp +++ b/kexi/plugins/reports/kexireportview.cpp @@ -39,8 +39,8 @@ #define NO_DSWIZARD -KexiReportScrollView::KexiReportScrollView(TQWidget *tqparent, bool preview) - : KexiScrollView(tqparent, preview) +KexiReportScrollView::KexiReportScrollView(TQWidget *parent, bool preview) + : KexiScrollView(parent, preview) { if(preview) { setRecordNavigatorVisible(true); @@ -61,7 +61,7 @@ KexiReportScrollView::show() //now get resize mode settings for entire form if (m_preview) { - KexiReportView* fv = dynamic_cast<KexiReportView*>(tqparent()); + KexiReportView* fv = dynamic_cast<KexiReportView*>(parent()); int resizeMode = fv ? fv->resizeMode() : KexiReportView::ResizeAuto; if (resizeMode == KexiReportView::ResizeAuto) setResizePolicy(AutoOneFit); @@ -80,9 +80,9 @@ KexiReportScrollView::slotResizingStarted() ////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////// -KexiReportView::KexiReportView(KexiMainWindow *win, TQWidget *tqparent, const char *name, +KexiReportView::KexiReportView(KexiMainWindow *win, TQWidget *parent, const char *name, KexiDB::Connection *conn) - : KexiViewBase(win, tqparent, name), m_propertySet(0), m_conn(conn) + : KexiViewBase(win, parent, name), m_propertySet(0), m_conn(conn) , m_resizeMode(KexiReportView::ResizeDefault) { TQHBoxLayout *l = new TQHBoxLayout(this); |