summaryrefslogtreecommitdiffstats
path: root/src/k3bmediacache.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-27 19:21:21 +0000
commitd8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch)
treef295f1c545b319963d5357af79fe08991d8141d9 /src/k3bmediacache.h
parent2a39a080579fb52a2599c02b2939795385b89093 (diff)
downloadk3b-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 'src/k3bmediacache.h')
-rw-r--r--src/k3bmediacache.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/k3bmediacache.h b/src/k3bmediacache.h
index dd0dd0d..ad13fdb 100644
--- a/src/k3bmediacache.h
+++ b/src/k3bmediacache.h
@@ -17,9 +17,9 @@
#ifndef _K3B_MEDIA_CACHE_H_
#define _K3B_MEDIA_CACHE_H_
-#include <qobject.h>
+#include <tqobject.h>
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include <k3bdevice.h>
#include <k3btoc.h>
@@ -32,7 +32,7 @@ namespace K3bDevice {
class DeviceManager;
}
-class QCustomEvent;
+class TQCustomEvent;
/**
@@ -48,12 +48,13 @@ class QCustomEvent;
*
* To start the media caching call buildDeviceList().
*/
-class K3bMediaCache : public QObject
+class K3bMediaCache : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- K3bMediaCache( QObject* parent = 0 );
+ K3bMediaCache( TQObject* tqparent = 0 );
~K3bMediaCache();
/**
@@ -101,12 +102,12 @@ class K3bMediaCache : public QObject
/**
* Read cached supported writing speeds.
*/
- QValueList<int> writingSpeeds( K3bDevice::Device* );
+ TQValueList<int> writingSpeeds( K3bDevice::Device* );
/**
* \see K3bMedium::shortString()
*/
- QString mediumString( K3bDevice::Device* device, bool useContent = true );
+ TQString mediumString( K3bDevice::Device* device, bool useContent = true );
signals:
/**
@@ -139,10 +140,10 @@ class K3bMediaCache : public QObject
class DeviceEntry;
class MediaChangeEvent;
- QMap<K3bDevice::Device*, DeviceEntry*> m_deviceMap;
+ TQMap<K3bDevice::Device*, DeviceEntry*> m_deviceMap;
DeviceEntry* findDeviceEntry( K3bDevice::Device* );
- void customEvent( QCustomEvent* );
+ void customEvent( TQCustomEvent* );
};
#endif