diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-06 02:39:07 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-04-06 02:39:07 -0500 |
commit | 63c292c62f959fd5e9349e3e9413eae01ec6efef (patch) | |
tree | 7d894948d575121f9c5df8f417592fd700e21aab /tdecore/tdehardwaredevices.h | |
parent | 56591939771fdbfc0d4a2c9d79bbed454cc648a0 (diff) | |
download | tdelibs-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.h | 10 |
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 |