summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/reports/kexireportform.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-25 05:28:35 +0000
commitf008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch)
tree8e9244c4d4957c36be81e15b566b4aa5ea26c982 /kexi/plugins/reports/kexireportform.h
parent1210f27b660efb7b37ff43ec68763e85a403471f (diff)
downloadkoffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz
koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip
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
Diffstat (limited to 'kexi/plugins/reports/kexireportform.h')
-rw-r--r--kexi/plugins/reports/kexireportform.h27
1 files changed, 14 insertions, 13 deletions
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 <qwidget.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
#include <formeditor/form.h>
//! 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<QRect> &list, int type);
+ virtual void drawRect(const TQRect& r, int type);
+ virtual void drawRects(const TQValueList<TQRect> &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