summaryrefslogtreecommitdiffstats
path: root/tdecore/tdehardwaredevices.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-06 02:39:07 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-04-06 02:39:07 -0500
commit63c292c62f959fd5e9349e3e9413eae01ec6efef (patch)
tree7d894948d575121f9c5df8f417592fd700e21aab /tdecore/tdehardwaredevices.h
parent56591939771fdbfc0d4a2c9d79bbed454cc648a0 (diff)
downloadtdelibs-63c292c62f959fd5e9349e3e9413eae01ec6efef.tar.gz
tdelibs-63c292c62f959fd5e9349e3e9413eae01ec6efef.zip
Add a couple of convenience functions to the TDE hw lib
Diffstat (limited to 'tdecore/tdehardwaredevices.h')
-rw-r--r--tdecore/tdehardwaredevices.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tdecore/tdehardwaredevices.h b/tdecore/tdehardwaredevices.h
index 96ce7a995..bf474da3e 100644
--- a/tdecore/tdehardwaredevices.h
+++ b/tdecore/tdehardwaredevices.h
@@ -368,6 +368,16 @@ class TDECORE_EXPORT TDEGenericDevice
TDEGenericDevice* parentDevice();
/**
+ * @return a TQString containing the friendly type name
+ */
+ TQString friendlyDeviceType();
+
+ /**
+ * @return a TQString containing the device bus ID, if any
+ */
+ TQString busID();
+
+ /**
* Get an icon for this device
* @param size a KIcon::StdSizes structure specifying the desired icon size
* @return a TQPixmap containing the icon for the specified type