diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-04-18 20:41:06 +0000 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-04-18 20:41:06 +0000 |
commit | 142e058e79d37ea387aaf7b469cee7383ee35556 (patch) | |
tree | 57fdc51f870befb1d3d8eb6828d33cf394b1f36d /tdecore/tdehw/tdestoragedevice.cpp | |
parent | 206f7c6eab92b1052bfecee42305ad9d3739b4ce (diff) | |
download | tdelibs-142e058e79d37ea387aaf7b469cee7383ee35556.tar.gz tdelibs-142e058e79d37ea387aaf7b469cee7383ee35556.zip |
Add detailedFriendlyName methods to the TDE hardware manager
This breaks the ABI and relates to Bug 1666
Diffstat (limited to 'tdecore/tdehw/tdestoragedevice.cpp')
-rw-r--r-- | tdecore/tdehw/tdestoragedevice.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdestoragedevice.cpp b/tdecore/tdehw/tdestoragedevice.cpp index 36712cb1e..b22996b88 100644 --- a/tdecore/tdehw/tdestoragedevice.cpp +++ b/tdecore/tdehw/tdestoragedevice.cpp @@ -538,6 +538,10 @@ TQString TDEStorageDevice::friendlyName() { return friendlyDeviceType(); } +TQString TDEStorageDevice::detailedFriendlyName() { + return TQString("%1 [%2]").arg(friendlyName()).arg(deviceNode()); +} + TQString TDEStorageDevice::friendlyDeviceType() { TQString ret = i18n("Hard Disk Drive"); |