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
This commit is contained in:
Luboš Luňák 2008-01-03 19:02:38 +00:00
parent 41cf67e4e5
commit 21a31819d1
2 changed files with 4 additions and 4 deletions

View file

@ -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);

View file

@ -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()));