From da10cdaf055bc8fe0f03702afe2b8c7bc5c5ed4f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 6 Feb 2022 20:11:48 +0900 Subject: Removed HAL dependant code. Signed-off-by: Michele Calgaro --- k9devices/k9cddrive.h | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'k9devices/k9cddrive.h') 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 #include #include -#ifndef HAVE_HAL #include #include -#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 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 drives; }; -- cgit v1.2.1