Make a branch to make krunner Good Enough For Aaron™.
[kdebase/uwolfer.git] / workspace / kcontrol / kxkb / kxkbbindings.cpp
blob3046cd1e806bd841394aa6a3068f485786a0a382
1 # define DEF( name, key ) \
2 QAction* a__ = actionCollection->addAction( name ); \
3 a = qobject_cast<KAction*>(a__); \
4 a->setText( i18n(name) ); \
5 qobject_cast<KAction*>( a) ->setGlobalShortcut(KShortcut(key));
7 DEF( I18N_NOOP("Switch to Next Keyboard Layout"), Qt::ALT+Qt::CTRL+Qt::Key_K);
9 #undef DEF