summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehardwaredevices.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-07 20:26:57 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-09-07 20:26:57 -0500
commit671940a29d4d57021a1bf63d310bbd854e07f1fa (patch)
treed93acfee6c46f08c32679f9f3914c9a56794b43b /tdecore/tdehardwaredevices.h
parent6b96deb4ebac9e55ff35d7f77313c5aebb103880 (diff)
downloadtdelibs-671940a29d4d57021a1bf63d310bbd854e07f1fa.tar.gz
tdelibs-671940a29d4d57021a1bf63d310bbd854e07f1fa.zip
Add new signal to tdehwlibrary
Diffstat (limited to 'tdecore/tdehardwaredevices.h')
-rw-r--r--tdecore/tdehardwaredevices.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tdecore/tdehardwaredevices.h b/tdecore/tdehardwaredevices.h
index 819dfd85b..907cdb65b 100644
--- a/tdecore/tdehardwaredevices.h
+++ b/tdecore/tdehardwaredevices.h
@@ -41,6 +41,18 @@
class TDENetworkConnectionManager;
+namespace TDEHardwareEvent {
+enum TDEHardwareEvent {
+ HardwareListModified,
+ MountTableModified,
+ HardwareAdded,
+ HardwareRemoved,
+ HardwareUpdated,
+ Other,
+ Last = Other
+};
+};
+
// Keep readGenericDeviceTypeFromString(), getFriendlyDeviceTypeStringFromType(), and getDeviceTypeIconFromType() in tdehardwaredevices.cpp in sync with this enum
namespace TDEGenericDeviceType {
enum TDEGenericDeviceType {
@@ -1982,6 +1994,7 @@ class TDECORE_EXPORT TDEHardwareDevices : public TQObject
void hardwareRemoved(TDEGenericDevice*);
void hardwareUpdated(TDEGenericDevice*);
void mountTableModified();
+ void hardwareEvent(TDEHardwareEvent::TDEHardwareEvent, TQString uuid);
/**
* @param keycode the code of the key that was pressed/released