From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kexi/plugins/reports/kexireportform.h | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'kexi/plugins/reports/kexireportform.h') diff --git a/kexi/plugins/reports/kexireportform.h b/kexi/plugins/reports/kexireportform.h index 8b03c2ec..9f13fbc9 100644 --- a/kexi/plugins/reports/kexireportform.h +++ b/kexi/plugins/reports/kexireportform.h @@ -21,40 +21,41 @@ #ifndef KEXIREPORTFORM_H #define KEXIREPORTFORM_H -#include -#include +#include +#include #include //! The report top widget -class KEXIREPORTUTILS_EXPORT KexiReportForm : public QWidget, public KFormDesigner::FormWidget +class KEXIREPORTUTILS_EXPORT KexiReportForm : public TQWidget, public KFormDesigner::FormWidget { Q_OBJECT + TQ_OBJECT public: - KexiReportForm(QWidget *parent, const char *name="kexi_dbform"); + KexiReportForm(TQWidget *tqparent, const char *name="kexi_dbform"); virtual ~KexiReportForm(); - /*QString datasource() const { return m_ds; } + /*TQString datasource() const { return m_ds; } bool navigatorShown() const { return m_nav; } - void setDatasource(const QString &s) { m_ds = s; } + void setDatasource(const TQString &s) { m_ds = s; } void showRecordNavigator(bool s) { m_nav = s; }*/ - virtual void drawRect(const QRect& r, int type); - virtual void drawRects(const QValueList &list, int type); + virtual void drawRect(const TQRect& r, int type); + virtual void drawRects(const TQValueList &list, int type); virtual void initBuffer(); virtual void clearForm(); - virtual void highlightWidgets(QWidget *from, QWidget *to/*, const QPoint &p*/); + virtual void highlightWidgets(TQWidget *from, TQWidget *to/*, const TQPoint &p*/); - virtual QSize sizeHint() const; + virtual TQSize tqsizeHint() const; private: - /*QString m_ds; + /*TQString m_ds; bool m_nav; KexiDB::Connection *m_conn;*/ - QPixmap buffer; //!< stores grabbed entire form's area for redraw - QRect prev_rect; //!< previously selected rectangle + TQPixmap buffer; //!< stores grabbed entire form's area for redraw + TQRect prev_rect; //!< previously selected rectangle }; #endif -- cgit v1.2.1