diff options
Diffstat (limited to 'kexi/plugins/reports/kexireportpart.h')
-rw-r--r-- | kexi/plugins/reports/kexireportpart.h | 23 |
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 |