diff options
Diffstat (limited to 'kkbswitch/kbconfig.cpp')
-rw-r--r-- | kkbswitch/kbconfig.cpp | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/kkbswitch/kbconfig.cpp b/kkbswitch/kbconfig.cpp index 0113d1d..a50a3a9 100644 --- a/kkbswitch/kbconfig.cpp +++ b/kkbswitch/kbconfig.cpp @@ -107,8 +107,18 @@ void KBConfig::load(TDEConfig *config){ m_keys->insert(TQString::fromLatin1("SetGroup %1").arg(i), i18n("Activate %1 keyboard layout").arg(m_groups[i]->getName()), TQString::null, TQt::ALT+TQt::CTRL+TQt::Key_1 + i, KKey::QtWIN+TQt::CTRL+TQt::Key_1 + i, - kapp, SLOT(slotGroupSelected(int))); + kapp, TQ_SLOT(slotGroupSelected(int))); } + m_keys->insert("NextGroup", i18n("Cycle keyboard layouts"), + i18n("Activates the next keyboard layout or, if the current layout is the last one, " + "activates the first layout."), + TQt::SHIFT+TQt::CTRL+TQt::Key_Plus, TQt::SHIFT+TQt::CTRL+TQt::Key_Plus, + kapp, TQ_SLOT(slotSelectNextGroup())); + m_keys->insert("PrevGroup", i18n("Cycle keyboard layouts (reverse)"), + i18n("Activates the previous keyboard layout or, if the current layout is the first one, " + "activates the last layout."), + TQt::SHIFT+TQt::CTRL+TQt::Key_Minus, TQt::SHIFT+TQt::CTRL+TQt::Key_Minus, + kapp, TQ_SLOT(slotSelectPrevGroup())); m_keys->readSettings(config); checkKeysEnabled(); } |