summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/reports/kexireportpart.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/kexireportpart.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/kexireportpart.h')
-rw-r--r--kexi/plugins/reports/kexireportpart.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/kexi/plugins/reports/kexireportpart.h b/kexi/plugins/reports/kexireportpart.h
index 19731e57..ee93580f 100644
--- a/kexi/plugins/reports/kexireportpart.h
+++ b/kexi/plugins/reports/kexireportpart.h
@@ -42,9 +42,10 @@ namespace KexiDB
class KEXIREPORTUTILS_EXPORT KexiReportPart : public KexiPart::Part
{
Q_OBJECT
+ TQ_OBJECT
public:
- KexiReportPart(QObject *parent, const char *name, const QStringList &);
+ KexiReportPart(TQObject *tqparent, const char *name, const TQStringList &);
virtual ~KexiReportPart();
//! \return a pointer to Reports Widget Library.
@@ -52,28 +53,28 @@ class KEXIREPORTUTILS_EXPORT KexiReportPart : public KexiPart::Part
// KFormDesigner::FormManager *manager() { return m_manager; }
- void generateForm(KexiDB::FieldList *list, QDomDocument &domDoc);
+ void generateForm(KexiDB::FieldList *list, TQDomDocument &domDoc);
class TempData : public KexiDialogTempData
{
public:
- TempData(QObject* parent);
+ TempData(TQObject* tqparent);
~TempData();
- QGuardedPtr<KFormDesigner::Form> form;
- QGuardedPtr<KFormDesigner::Form> previewForm;
- QString tempForm;
- QPoint scrollViewContentsPos; //!< to preserve contents pos after switching to other view
+ TQGuardedPtr<KFormDesigner::Form> form;
+ TQGuardedPtr<KFormDesigner::Form> previewForm;
+ TQString tempForm;
+ TQPoint scrollViewContentsPos; //!< to preserve contents pos after switching to other view
int resizeMode; //!< form's window's resize mode -one of KexiFormView::ResizeMode items
};
- virtual QString i18nMessage(const QCString& englishMessage,
+ virtual TQString i18nMessage(const TQCString& englishMessage,
KexiDialogBase* dlg) const;
protected:
virtual KexiDialogTempData* createTempData(KexiDialogBase* dialog);
- virtual KexiViewBase* createView(QWidget *parent, KexiDialogBase* dialog,
- KexiPart::Item &item, int viewMode = Kexi::DataViewMode, QMap<QString,QString>* staticObjectArgs = 0);
+ virtual KexiViewBase* createView(TQWidget *tqparent, KexiDialogBase* dialog,
+ KexiPart::Item &item, int viewMode = Kexi::DataViewMode, TQMap<TQString,TQString>* staticObjectArgs = 0);
virtual void initPartActions();
virtual void initInstanceActions();
@@ -81,7 +82,7 @@ class KEXIREPORTUTILS_EXPORT KexiReportPart : public KexiPart::Part
static KFormDesigner::WidgetLibrary* static_reportsLibrary;
private:
-// QGuardedPtr<KFormDesigner::FormManager> m_manager;
+// TQGuardedPtr<KFormDesigner::FormManager> m_manager;
};
#endif