diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /libk3b/core/k3bcore.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip |
TQt4 port k3b
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libk3b/core/k3bcore.h')
-rw-r--r-- | libk3b/core/k3bcore.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libk3b/core/k3bcore.h b/libk3b/core/k3bcore.h index ce73e32..f97430c 100644 --- a/libk3b/core/k3bcore.h +++ b/libk3b/core/k3bcore.h @@ -17,8 +17,8 @@ #ifndef _K3B_CORE_H_ #define _K3B_CORE_H_ -#include <qobject.h> -#include <qvaluelist.h> +#include <tqobject.h> +#include <tqvaluelist.h> #include "k3b_export.h" @@ -36,7 +36,7 @@ class K3bJob; class K3bBurnJob; class K3bGlobalSettings; class K3bPluginManager; -class QCustomEvent; +class TQCustomEvent; namespace K3bDevice { @@ -52,19 +52,20 @@ namespace K3bDevice { * This is the heart of the K3b system. Every plugin may use this * to get the information it needs. */ -class LIBK3B_EXPORT K3bCore : public QObject +class LIBK3B_EXPORT K3bCore : public TQObject { Q_OBJECT + TQ_OBJECT public: /** * Although K3bCore is a singlelton it's constructor is not private to make inheritance * possible. Just make sure to only create one instance. */ - K3bCore( QObject* parent = 0, const char* name = 0 ); + K3bCore( TQObject* tqparent = 0, const char* name = 0 ); virtual ~K3bCore(); - const QValueList<K3bJob*>& runningJobs() const; + const TQValueList<K3bJob*>& runningJobs() const; /** * Equals to !runningJobs().isEmpty() @@ -169,7 +170,7 @@ class LIBK3B_EXPORT K3bCore : public QObject virtual void initDeviceManager(); virtual void initPluginManager(); - virtual void customEvent( QCustomEvent* e ); + virtual void customEvent( TQCustomEvent* e ); private: class Private; |