diff options
Diffstat (limited to 'tdecore/tdehw/tdeeventdevice.cpp')
-rw-r--r-- | tdecore/tdehw/tdeeventdevice.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tdecore/tdehw/tdeeventdevice.cpp b/tdecore/tdehw/tdeeventdevice.cpp index a98bc78c3..3a45cf5d1 100644 --- a/tdecore/tdehw/tdeeventdevice.cpp +++ b/tdecore/tdehw/tdeeventdevice.cpp @@ -114,6 +114,12 @@ TQStringList TDEEventDevice::friendlySwitchList(TDESwitchType::TDESwitchType swi if (switches & TDESwitchType::LineInInsert) { ret.append(i18n("Line In Inserted")); } + if (switches & TDESwitchType::PowerButton) { + ret.append(i18n("Power Button")); + } + if (switches & TDESwitchType::SleepButton) { + ret.append(i18n("Sleep Button")); + } return ret; } |