summaryrefslogtreecommitdiffstats
path: root/kxkb/kxkbbindings.cpp
blob: 4662918f2bc48285e13c4377b2d1c3d8af80a97e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef NOSLOTS
# define DEF( name, key3, key4, fnSlot ) \
   keys->insert( name, i18n(name), TQString(), key3, key4, this, TQT_SLOT(fnSlot) )
#else
# define DEF( name, key3, key4, fnSlot ) \
   keys->insert( name, i18n(name), TQString(), key3, key4, 0, 0 )
#endif

    keys->insert( "Program:kxkb", i18n("Keyboard") );
    DEF( I18N_NOOP("Switch to Next Keyboard Layout"), TDEShortcut(), TDEShortcut(), nextLayout() );
    DEF( I18N_NOOP("Switch to Previous Keyboard Layout"), TDEShortcut(), TDEShortcut(), prevLayout() );

#undef DEF