summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/forms/kexidbfactory.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/forms/kexidbfactory.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/forms/kexidbfactory.h')
-rw-r--r--kexi/plugins/forms/kexidbfactory.h33
1 files changed, 17 insertions, 16 deletions
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<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);
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;
};