diff options
Diffstat (limited to 'k9devices/k9cddrive.h')
-rw-r--r-- | k9devices/k9cddrive.h | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/k9devices/k9cddrive.h b/k9devices/k9cddrive.h index e64bc0f..9a4a374 100644 --- a/k9devices/k9cddrive.h +++ b/k9devices/k9cddrive.h @@ -13,11 +13,11 @@ #define K9CDDRIVE_H #include "k9common.h" -#include <qobject.h> +#include <tqobject.h> -#include <qstring.h> -#include <qstringlist.h> -#include <qvaluelist.h> +#include <tqstring.h> +#include <tqstringlist.h> +#include <tqvaluelist.h> #ifndef HAVE_HAL #include <k3bdevice.h> #include <k3bdevicemanager.h> @@ -30,20 +30,21 @@ class k9HalDevice; class k9HalConnection; -class k9CdDrive : public QObject { +class k9CdDrive : public TQObject { Q_OBJECT + TQ_OBJECT public: k9CdDrive(); ~k9CdDrive(); int num; - QString name; - QString device; + TQString name; + TQString device; bool canWriteCDR; bool canReadDVD; bool canWriteDVD; - void setWriteSpeeds(const QValueList< int >& _value); - QValueList< int > getWriteSpeeds() const; + void setWriteSpeeds(const TQValueList< int >& _value); + TQValueList< int > getWriteSpeeds() const; #ifdef HAVE_HAL void setDevice(k9HalDevice* _value) { m_Device = _value;} @@ -51,14 +52,15 @@ public: k9HalDevice* getDevice() { return m_Device;} #endif private: - QValueList <int> writeSpeeds; + TQValueList <int> writeSpeeds; #ifdef HAVE_HAL k9HalDevice *m_Device; #endif }; -class k9CdDrives : public QObject { +class k9CdDrives : public TQObject { Q_OBJECT + TQ_OBJECT public: k9CdDrives(); ~k9CdDrives(); @@ -66,7 +68,7 @@ public: int count(); /** No descriptions */ k9CdDrive * getDrive(int num); - void eject(const QString & device); + void eject(const TQString & device); void scanDrives(); public slots: void deviceAdded(k9HalDevice *device); @@ -82,6 +84,6 @@ private: // Private methods K3bDevice::DeviceManager *m_devMgr; #endif void readConfig(); - QPtrList <k9CdDrive> drives; + TQPtrList <k9CdDrive> drives; }; #endif |