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:
parent
41cf67e4e5
commit
21a31819d1
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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()));
|
||||
|
|
Loading…
Reference in a new issue