summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/reports/kexireportview.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/kexireportview.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/kexireportview.h')
-rw-r--r--kexi/plugins/reports/kexireportview.h16
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;