summaryrefslogtreecommitdiffstats
path: root/kxkb/kxkbbindings.cpp
blob: 02da8a4eae4d5107d94938d65541495a4490be2a (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, TQ_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