From 937c7ae4916a63056e4cf50fd1cb0783a67967a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Mon, 29 Sep 2003 11:18:45 +0000 Subject: [PATCH] Let's add some default shortcuts for window moving. svn path=/trunk/kdebase/kwin/; revision=254807 --- kwinbindings.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/kwinbindings.cpp b/kwinbindings.cpp index e8e3242e83..de45417147 100644 --- a/kwinbindings.cpp +++ b/kwinbindings.cpp @@ -37,14 +37,14 @@ DEF( I18N_NOOP("Window Below Other Windows"), 0, 0, slotWindowBelow() ); DEF( I18N_NOOP("Toggle Window Raise/Lower"), 0, 0, slotWindowRaiseOrLower() ); DEF( I18N_NOOP("Activate Window Demanding Attention"), 0, 0, slotActivateAttentionWindow()); - DEF( I18N_NOOP("Window Pack Left"), 0, 0, slotWindowPackLeft() ); - DEF( I18N_NOOP("Window Pack Right"), 0, 0, slotWindowPackRight() ); - DEF( I18N_NOOP("Window Pack Up"), 0, 0, slotWindowPackUp() ); - DEF( I18N_NOOP("Window Pack Down"), 0, 0, slotWindowPackDown() ); - DEF( I18N_NOOP("Window Grow Horizontal"), 0, 0, slotWindowGrowHorizontal() ); - DEF( I18N_NOOP("Window Grow Vertical"), 0, 0, slotWindowGrowVertical() ); - DEF( I18N_NOOP("Window Shrink Horizontal"), 0, 0, slotWindowShrinkHorizontal() ); - DEF( I18N_NOOP("Window Shrink Vertical"), 0, 0, slotWindowShrinkVertical() ); + DEF( I18N_NOOP("Window Pack Left"), CTRL+ALT+Qt::Key_Left, 0, slotWindowPackLeft() ); + DEF( I18N_NOOP("Window Pack Right"), CTRL+ALT+Qt::Key_Right, 0, slotWindowPackRight() ); + DEF( I18N_NOOP("Window Pack Up"), CTRL+ALT+Qt::Key_Up, 0, slotWindowPackUp() ); + DEF( I18N_NOOP("Window Pack Down"), CTRL+ALT+Qt::Key_Down, 0, slotWindowPackDown() ); + DEF( I18N_NOOP("Window Grow Horizontal"), SHIFT+ALT+Qt::Key_Left, 0, slotWindowGrowHorizontal() ); + DEF( I18N_NOOP("Window Grow Vertical"), SHIFT+ALT+Qt::Key_Right, 0, slotWindowGrowVertical() ); + DEF( I18N_NOOP("Window Shrink Horizontal"), CTRL+ALT+Qt::Key_Up, 0, slotWindowShrinkHorizontal() ); + DEF( I18N_NOOP("Window Shrink Vertical"), CTRL+ALT+Qt::Key_Down, 0, slotWindowShrinkVertical() ); keys->insert( "Group:Window Desktop", i18n("Window & Desktop") ); DEF( I18N_NOOP("Window to Desktop 1"), 0, WIN+ALT+Qt::Key_F1, slotWindowToDesktop(int) );