diff options
Diffstat (limited to 'kexi/plugins/reports/kexireportview.h')
-rw-r--r-- | kexi/plugins/reports/kexireportview.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/kexi/plugins/reports/kexireportview.h b/kexi/plugins/reports/kexireportview.h index b600c06d..02b4b48a 100644 --- a/kexi/plugins/reports/kexireportview.h +++ b/kexi/plugins/reports/kexireportview.h @@ -21,8 +21,8 @@ #ifndef KEXIREPORTVIEW_H #define KEXIREPORTVIEW_H -#include <qscrollview.h> -#include <qtimer.h> +#include <tqscrollview.h> +#include <tqtimer.h> #include <kexiviewbase.h> @@ -34,9 +34,10 @@ class KexiReportForm; class KEXIREPORTUTILS_EXPORT KexiReportScrollView : public KexiScrollView { Q_OBJECT + TQ_OBJECT public: - KexiReportScrollView(QWidget *parent, bool preview); + KexiReportScrollView(TQWidget *tqparent, bool preview); virtual ~KexiReportScrollView(); void setForm(KFormDesigner::Form *form) { m_form = form; } @@ -62,6 +63,7 @@ class KEXIREPORTUTILS_EXPORT KexiReportScrollView : public KexiScrollView class KEXIREPORTUTILS_EXPORT KexiReportView : public KexiViewBase { Q_OBJECT + TQ_OBJECT public: enum ResizeMode { @@ -71,12 +73,12 @@ class KEXIREPORTUTILS_EXPORT KexiReportView : public KexiViewBase NoResize = 2 /*! @todo */ }; - KexiReportView(KexiMainWindow *win, QWidget *parent, const char *name, KexiDB::Connection *conn); + KexiReportView(KexiMainWindow *win, TQWidget *tqparent, const char *name, KexiDB::Connection *conn); virtual ~KexiReportView(); KexiDB::Connection* connection() { return m_conn; } - virtual QSize preferredSizeHint(const QSize& otherSize); + virtual TQSize preferredSizeHint(const TQSize& otherSize); int resizeMode() const { return m_resizeMode; } @@ -105,7 +107,7 @@ class KEXIREPORTUTILS_EXPORT KexiReportView : public KexiViewBase virtual tristate storeData(bool dontAsk = false); KexiReportPart::TempData* tempData() const { - return static_cast<KexiReportPart::TempData*>(parentDialog()->tempData()); } + return static_cast<KexiReportPart::TempData*>(tqparentDialog()->tempData()); } KexiReportPart* reportPart() const { return static_cast<KexiReportPart*>(part()); } void disableWidgetActions(); @@ -117,7 +119,7 @@ class KEXIREPORTUTILS_EXPORT KexiReportView : public KexiViewBase void initForm(); void loadForm(); - virtual void resizeEvent ( QResizeEvent * ); + virtual void resizeEvent ( TQResizeEvent * ); private: KexiReportForm *m_reportform; |