Renamed the window moving shortcuts to convey what to move, removed some debugging shortcuts. Removed old orientation and ratio shortcuts. NOTE: This will lead to shortcut conflicts for existing users.

svn path=/trunk/KDE/kdebase/workspace/; revision=1125424
This commit is contained in:
Nikhil Marathe 2010-05-11 10:47:58 +00:00
parent 3fa2e1b234
commit cb36b296b0

View file

@ -221,25 +221,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
a = actionCollection->addAction( "Group:Tiling" );
a->setText( i18n("Tiling") );
DEF( I18N_NOOP("Toggle Tiling"), Qt::SHIFT+Qt::ALT+Qt::Key_F11, slotToggleTiling() );
DEF( I18N_NOOP("Toggle Orientation"), Qt::META+Qt::Key_Space, slotToggleOrientation() );
DEF( I18N_NOOP("Increase Ratio"), Qt::META+Qt::Key_Right, slotTileIncreaseRatio() );
DEF( I18N_NOOP("Decrease Ratio"), Qt::META+Qt::Key_Left, slotTileDecreaseRatio() );
DEF( I18N_NOOP("Enable/Disable Tiling"), Qt::SHIFT+Qt::ALT+Qt::Key_F11, slotToggleTiling() );
DEF( I18N_NOOP("Toggle Floating"), Qt::META+Qt::Key_F, slotToggleFloating() );
DEF( I18N_NOOP("Switch Focus Left") , Qt::META+Qt::Key_H, slotLeft() );
DEF( I18N_NOOP("Switch Focus Right") , Qt::META+Qt::Key_L, slotRight() );
DEF( I18N_NOOP("Switch Focus Up") , Qt::META+Qt::Key_K, slotTop() );
DEF( I18N_NOOP("Switch Focus Down") , Qt::META+Qt::Key_J, slotBottom() );
DEF( I18N_NOOP("Move Left") , Qt::SHIFT+Qt::META+Qt::Key_H, slotMoveLeft() );
DEF( I18N_NOOP("Move Right") , Qt::SHIFT+Qt::META+Qt::Key_L, slotMoveRight() );
DEF( I18N_NOOP("Move Up") , Qt::SHIFT+Qt::META+Qt::Key_K, slotMoveTop() );
DEF( I18N_NOOP("Move Down") , Qt::SHIFT+Qt::META+Qt::Key_J, slotMoveBottom() );
DEF( I18N_NOOP("Move Window Left") , Qt::SHIFT+Qt::META+Qt::Key_H, slotMoveLeft() );
DEF( I18N_NOOP("Move Window Right") , Qt::SHIFT+Qt::META+Qt::Key_L, slotMoveRight() );
DEF( I18N_NOOP("Move Window Up") , Qt::SHIFT+Qt::META+Qt::Key_K, slotMoveTop() );
DEF( I18N_NOOP("Move Window Down") , Qt::SHIFT+Qt::META+Qt::Key_J, slotMoveBottom() );
DEF( I18N_NOOP("Next Layout"), Qt::META+Qt::Key_PageDown, slotNextTileLayout() );
DEF( I18N_NOOP("Previous Layout"), Qt::META+Qt::Key_PageUp, slotPreviousTileLayout() );
// NOTE: temporary
DEF( I18N_NOOP("Test Dump tiles"), Qt::META+Qt::Key_D, dumpTiles() );
DEF( I18N_NOOP("Test Below Cursor"), Qt::META+Qt::Key_X, belowCursor() );
#undef DEF
#undef DEF2