From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: 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 --- kexi/plugins/forms/kexidbfactory.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) (limited to 'kexi/plugins/forms/kexidbfactory.h') diff --git a/kexi/plugins/forms/kexidbfactory.h b/kexi/plugins/forms/kexidbfactory.h index 6064a001..f15f8c39 100644 --- a/kexi/plugins/forms/kexidbfactory.h +++ b/kexi/plugins/forms/kexidbfactory.h @@ -34,39 +34,40 @@ namespace KFormDesigner { class KexiDBFactory : public KFormDesigner::WidgetFactory { Q_OBJECT + TQ_OBJECT public: - KexiDBFactory(QObject *parent, const char *name, const QStringList &args); + KexiDBFactory(TQObject *tqparent, const char *name, const TQStringList &args); virtual ~KexiDBFactory(); - virtual QWidget *createWidget(const QCString &classname, QWidget *parent, const char *name, + virtual TQWidget *createWidget(const TQCString &classname, TQWidget *tqparent, const char *name, KFormDesigner::Container *container, int options = DefaultOptions ); virtual void createCustomActions(KActionCollection* col); - 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 clearWidgetContent(const QCString &classname, QWidget *w); + virtual bool startEditing(const TQCString &classname, TQWidget *w, KFormDesigner::Container *container); + virtual bool previewWidget(const TQCString &, TQWidget *, KFormDesigner::Container *); + virtual bool clearWidgetContent(const TQCString &classname, TQWidget *w); - //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 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 autoSaveProperties(const TQCString &classname); protected slots: void slotImageBoxIdChanged(long id); /*KexiBLOBBuffer::Id_t*/ protected: - virtual bool changeText(const QString &newText); - virtual void resizeEditor(QWidget *editor, QWidget *widget, const QCString &classname); + virtual bool changeText(const TQString &newText); + virtual void resizeEditor(TQWidget *editor, TQWidget *widget, const TQCString &classname); - virtual bool isPropertyVisibleInternal(const QCString& classname, QWidget *w, - const QCString& property, bool isTopLevel); + virtual bool isPropertyVisibleInternal(const TQCString& classname, TQWidget *w, + const TQCString& property, bool isTopLevel); //! Sometimes property sets should be reloaded when a given property value changed. - virtual bool propertySetShouldBeReloadedAfterPropertyChange(const QCString& classname, QWidget *w, - const QCString& property); + virtual bool propertySetShouldBeReloadedAfterPropertyChange(const TQCString& classname, TQWidget *w, + const TQCString& property); KAction* m_assignAction; }; -- cgit v1.2.1