summaryrefslogtreecommitdiffstats
path: root/k9devices/k9cddrive.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-02-06 20:11:48 +0900
committerMichele Calgaro <[email protected]>2022-02-06 20:11:48 +0900
commitda10cdaf055bc8fe0f03702afe2b8c7bc5c5ed4f (patch)
tree7d0ebe452f7394934f737e2185cd554d7ffabe35 /k9devices/k9cddrive.h
parent9f2311f262af668797db3634f174184f17cae63e (diff)
downloadk9copy-da10cdaf055bc8fe0f03702afe2b8c7bc5c5ed4f.tar.gz
k9copy-da10cdaf055bc8fe0f03702afe2b8c7bc5c5ed4f.zip
Removed HAL dependant code.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'k9devices/k9cddrive.h')
-rw-r--r--k9devices/k9cddrive.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/k9devices/k9cddrive.h b/k9devices/k9cddrive.h
index 0588527..06e8507 100644
--- a/k9devices/k9cddrive.h
+++ b/k9devices/k9cddrive.h
@@ -18,18 +18,13 @@
#include <tqstring.h>
#include <tqstringlist.h>
#include <tqvaluelist.h>
-#ifndef HAVE_HAL
#include <k3bdevice.h>
#include <k3bdevicemanager.h>
-#endif
/**
*@author
*/
-class k9HalDevice;
-class k9HalConnection;
-
class k9CdDrive : public TQObject {
Q_OBJECT
@@ -46,16 +41,8 @@ public:
void setWriteSpeeds(const TQValueList< int >& _value);
TQValueList< int > getWriteSpeeds() const;
- #ifdef HAVE_HAL
- void setDevice(k9HalDevice* _value) { m_Device = _value;}
-
- k9HalDevice* getDevice() { return m_Device;}
- #endif
private:
TQValueList <int> writeSpeeds;
- #ifdef HAVE_HAL
- k9HalDevice *m_Device;
- #endif
};
class k9CdDrives : public TQObject {
@@ -70,19 +57,11 @@ public:
k9CdDrive * getDrive(int num);
void eject(const TQString & device);
void scanDrives();
-public slots:
- void deviceAdded(k9HalDevice *device);
- void deviceRemoved(k9HalDevice *device);
signals:
void deviceAdded(k9CdDrive *drive);
void deviceRemoved(k9CdDrive *drive);
private: // Private methods
- #ifdef HAVE_HAL
- k9HalConnection *m_connection;
- void addDrive(k9HalDevice *_device);
- #else
K3bDevice::DeviceManager *m_devMgr;
- #endif
void readConfig();
TQPtrList <k9CdDrive> drives;
};