diff options
Diffstat (limited to 'kxkb/kxkbbindings.cpp')
-rw-r--r-- | kxkb/kxkbbindings.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/kxkb/kxkbbindings.cpp b/kxkb/kxkbbindings.cpp new file mode 100644 index 000000000..d8cfc36d5 --- /dev/null +++ b/kxkb/kxkbbindings.cpp @@ -0,0 +1,12 @@ +#ifndef NOSLOTS +# define DEF( name, key3, key4, fnSlot ) \ + keys->insert( name, i18n(name), QString::null, key3, key4, this, SLOT(fnSlot) ) +#else +# define DEF( name, key3, key4, fnSlot ) \ + keys->insert( name, i18n(name), QString::null, key3, key4 ) +#endif + + keys->insert( "Program:kxkb", i18n("Keyboard") ); + DEF( I18N_NOOP("Switch to Next Keyboard Layout"), ALT+CTRL+Qt::Key_K, KKey::QtWIN+CTRL+Qt::Key_K, toggled() ); + +#undef DEF |