summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/reports/kexireportfactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/plugins/reports/kexireportfactory.h')
-rw-r--r--kexi/plugins/reports/kexireportfactory.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/kexi/plugins/reports/kexireportfactory.h b/kexi/plugins/reports/kexireportfactory.h
index c6b91702..ab2ce7a1 100644
--- a/kexi/plugins/reports/kexireportfactory.h
+++ b/kexi/plugins/reports/kexireportfactory.h
@@ -26,35 +26,36 @@
class KexiReportFactory : public KFormDesigner::WidgetFactory
{
Q_OBJECT
+ TQ_OBJECT
public:
- KexiReportFactory(QObject *parent, const char *name, const QStringList &args);
+ KexiReportFactory(TQObject *tqparent, const char *name, const TQStringList &args);
virtual ~KexiReportFactory();
- virtual QString name();
- virtual QWidget *createWidget(const QCString &classname, QWidget *parent, const char *name, KFormDesigner::Container *container,
+ virtual TQString name();
+ virtual TQWidget *createWidget(const TQCString &classname, TQWidget *tqparent, const char *name, KFormDesigner::Container *container,
int options = DefaultOptions);
- virtual bool createMenuActions(const QCString &classname, QWidget *w, QPopupMenu *menu,
+ virtual bool createMenuActions(const TQCString &classname, TQWidget *w, TQPopupMenu *menu,
KFormDesigner::Container *container);
- virtual bool startEditing(const QCString &classname, QWidget *w, KFormDesigner::Container *container);
- virtual bool previewWidget(const QCString &, QWidget *, KFormDesigner::Container *);
+ virtual bool startEditing(const TQCString &classname, TQWidget *w, KFormDesigner::Container *container);
+ virtual bool previewWidget(const TQCString &, TQWidget *, KFormDesigner::Container *);
- //virtual void saveSpecialProperty(const QString &classname, const QString &name, const QVariant &value, QWidget *w,
- //QDomElement &parentNode, QDomDocument &parent) {}
- //virtual void readSpecialProperty(const QCString &classname, QDomElement &node, QWidget *w, KFormDesigner::ObjectTreeItem *item) {}
- virtual QValueList<QCString> autoSaveProperties(const QCString &classname);
+ //virtual void saveSpecialProperty(const TQString &classname, const TQString &name, const TQVariant &value, TQWidget *w,
+ //TQDomElement &tqparentNode, TQDomDocument &tqparent) {}
+ //virtual void readSpecialProperty(const TQCString &classname, TQDomElement &node, TQWidget *w, KFormDesigner::ObjectTreeItem *item) {}
+ virtual TQValueList<TQCString> autoSaveProperties(const TQCString &classname);
public slots:
void editText();
protected:
- virtual bool isPropertyVisibleInternal(const QCString &, QWidget *, const QCString &, bool isTopLevel);
-// virtual void changeText(const QString &newText);
-// virtual void resizeEditor(QWidget *widget, const QCString &classname);
+ virtual bool isPropertyVisibleInternal(const TQCString &, TQWidget *, const TQCString &, bool isTopLevel);
+// virtual void changeText(const TQString &newText);
+// virtual void resizeEditor(TQWidget *widget, const TQCString &classname);
private:
- QWidget *m_widget;
+ TQWidget *m_widget;
KFormDesigner::Container *m_container;
};