diff options
Diffstat (limited to 'kcontrol/hwmanager/hwdevicetray.h')
-rw-r--r-- | kcontrol/hwmanager/hwdevicetray.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kcontrol/hwmanager/hwdevicetray.h b/kcontrol/hwmanager/hwdevicetray.h index 4f36c797a..57389c1de 100644 --- a/kcontrol/hwmanager/hwdevicetray.h +++ b/kcontrol/hwmanager/hwdevicetray.h @@ -27,11 +27,8 @@ #include <ksimpleconfig.h> #include <tdepassivepopupstack.h> -#ifdef WITH_TDEHWLIB #include <tdehardwaredevices.h> -#else -#define TDEGenericDevice void -#endif +#include <tdestoragedevice.h> class KHelpMenu; class PasswordDlg; @@ -78,6 +75,7 @@ private slots: void deviceChanged(TDEGenericDevice*); void devicePopupClicked(KPassivePopup*, TQPoint, TQString); void doUnlockDisk(); + void doDiskNotifications(bool scanOnly); private: bool isMonitoredDevice(TDEStorageDevice* sdevice); @@ -102,6 +100,7 @@ private: TDEPopupMenu* m_menu; KSimpleConfig *r_config; PasswordDlg *m_passDlg; + TQMap<TQString, TDEStorageDevice*> m_knownDiskDevices; }; #endif |