From 21a31819d195c2f040b91cc9236677ab36be022a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Thu, 3 Jan 2008 19:02:38 +0000 Subject: [PATCH] Move the shortcuts to Ctrl+F9/F10, feels a bit better although I still don't like the defaults for PresentWindows and DesktopGrid. svn path=/trunk/KDE/kdebase/workspace/; revision=756780 --- effects/presentwindows.cpp | 4 ++-- effects/presentwindows_config.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/effects/presentwindows.cpp b/effects/presentwindows.cpp index d5b39cd432..db24e08729 100644 --- a/effects/presentwindows.cpp +++ b/effects/presentwindows.cpp @@ -55,11 +55,11 @@ PresentWindowsEffect::PresentWindowsEffect() KActionCollection* actionCollection = new KActionCollection( this ); KAction* a = (KAction*)actionCollection->addAction( "Expose" ); a->setText( i18n("Toggle Expose Effect" )); - a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F10)); + a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F9)); connect(a, SIGNAL(triggered(bool)), this, SLOT(toggleActive())); KAction* b = (KAction*)actionCollection->addAction( "ExposeAll" ); b->setText( i18n("Toggle Expose effect (incl other desktops)" )); - b->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F11)); + b->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F10)); connect(b, SIGNAL(triggered(bool)), this, SLOT(toggleActiveAllDesktops())); borderActivate = (ElectricBorder)conf.readEntry("BorderActivate", (int)ElectricNone); diff --git a/effects/presentwindows_config.cpp b/effects/presentwindows_config.cpp index 257ded3711..d9a75aa444 100644 --- a/effects/presentwindows_config.cpp +++ b/effects/presentwindows_config.cpp @@ -70,10 +70,10 @@ PresentWindowsEffectConfig::PresentWindowsEffectConfig(QWidget* parent, const QV KActionCollection* actionCollection = new KActionCollection( this ); KAction* a = (KAction*)actionCollection->addAction( "Expose" ); a->setText( i18n("Toggle Expose Effect" )); - a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F10)); + a->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F9)); KAction* b = (KAction*)actionCollection->addAction( "ExposeAll" ); b->setText( i18n("Toggle Expose effect (incl other desktops)" )); - b->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F11)); + b->setGlobalShortcut(KShortcut(Qt::CTRL + Qt::Key_F10)); mShortcutEditor = new KShortcutsEditor(actionCollection, this, KShortcutsEditor::GlobalAction, KShortcutsEditor::LetterShortcutsDisallowed); connect(mShortcutEditor, SIGNAL(keyChange()), this, SLOT(changed()));