diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/plugins/quantaplugininterface.h | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip |
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/plugins/quantaplugininterface.h')
-rw-r--r-- | quanta/plugins/quantaplugininterface.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/quanta/plugins/quantaplugininterface.h b/quanta/plugins/quantaplugininterface.h index 2749fbd0..6711e9e0 100644 --- a/quanta/plugins/quantaplugininterface.h +++ b/quanta/plugins/quantaplugininterface.h @@ -35,9 +35,10 @@ class QuantaPlugin; /**Provides an interface to the installed plugins *@author Marc Britton */ -class QuantaPluginInterface : public QObject +class QuantaPluginInterface : public TQObject { Q_OBJECT + TQ_OBJECT public: /** * since this class is a singleton you must use this function to access it @@ -45,10 +46,10 @@ public: * the parameters are only used at the first call to create the class * */ - static QuantaPluginInterface* const ref(TQWidget *parent = 0L) + static QuantaPluginInterface* const ref(TQWidget *tqparent = 0L) { static QuantaPluginInterface *m_ref; - if (!m_ref) m_ref = new QuantaPluginInterface (parent); + if (!m_ref) m_ref = new QuantaPluginInterface (tqparent); return m_ref; } @@ -76,7 +77,7 @@ private: * If you need the class use QuantaPluginInterface::ref() for * construction and reference */ - QuantaPluginInterface(TQWidget *parent); + QuantaPluginInterface(TQWidget *tqparent); protected slots: /** slot for the menu: validate */ |