summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/widgets/kexidbsubform.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/forms/widgets/kexidbsubform.h')
-rw-r--r--kexi/plugins/forms/widgets/kexidbsubform.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/kexi/plugins/forms/widgets/kexidbsubform.h b/kexi/plugins/forms/widgets/kexidbsubform.h
index 5b73f860..ea2bdbd3 100644
--- a/kexi/plugins/forms/widgets/kexidbsubform.h
+++ b/kexi/plugins/forms/widgets/kexidbsubform.h
@@ -21,32 +21,33 @@
#ifndef KexiDBSubForm_H
#define KexiDBSubForm_H
-#include <qscrollview.h>
+#include <tqscrollview.h>
#include <formeditor/form.h>
//! @short A form embedded as a widget inside other form
-class KEXIFORMUTILS_EXPORT KexiDBSubForm : public QScrollView
+class KEXIFORMUTILS_EXPORT KexiDBSubForm : public TQScrollView
{
Q_OBJECT
- Q_PROPERTY(QString formName READ formName WRITE setFormName DESIGNABLE true)
+ TQ_OBJECT
+ TQ_PROPERTY(TQString formName READ formName WRITE setFormName DESIGNABLE true)
public:
- KexiDBSubForm(KFormDesigner::Form *parentForm, QWidget *parent, const char *name);
+ KexiDBSubForm(KFormDesigner::Form *tqparentForm, TQWidget *tqparent, const char *name);
~KexiDBSubForm() {}
//! \return the name of the subform to display inside this widget
- QString formName() const { return m_formName; }
+ TQString formName() const { return m_formName; }
//! Sets the name of the subform to display inside this widget
- void setFormName(const QString &name);
+ void setFormName(const TQString &name);
- //void paintEvent(QPaintEvent *ev);
+ //void paintEvent(TQPaintEvent *ev);
private:
KFormDesigner::Form *m_parentForm;
KFormDesigner::Form *m_form;
- QWidget *m_widget;
- QString m_formName;
+ TQWidget *m_widget;
+ TQString m_formName;
};
#endif