mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kwin: use meta+tab for presenting all windows
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
591e3ab7d4
commit
3b8a6bf261
2 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ PresentWindowsEffect::PresentWindowsEffect()
|
||||||
connect(a, SIGNAL(globalShortcutChanged(QKeySequence)), this, SLOT(globalShortcutChanged(QKeySequence)));
|
connect(a, SIGNAL(globalShortcutChanged(QKeySequence)), this, SLOT(globalShortcutChanged(QKeySequence)));
|
||||||
KAction* b = (KAction*)actionCollection->addAction("ExposeAll");
|
KAction* b = (KAction*)actionCollection->addAction("ExposeAll");
|
||||||
b->setText(i18n("Toggle Present Windows (All desktops)"));
|
b->setText(i18n("Toggle Present Windows (All desktops)"));
|
||||||
b->setGlobalShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Tab));
|
b->setGlobalShortcut(QKeySequence(Qt::META + Qt::Key_Tab));
|
||||||
shortcutAll = b->globalShortcut();
|
shortcutAll = b->globalShortcut();
|
||||||
connect(b, SIGNAL(triggered(bool)), this, SLOT(toggleActiveAllDesktops()));
|
connect(b, SIGNAL(triggered(bool)), this, SLOT(toggleActiveAllDesktops()));
|
||||||
connect(b, SIGNAL(globalShortcutChanged(QKeySequence)), this, SLOT(globalShortcutChangedAll(QKeySequence)));
|
connect(b, SIGNAL(globalShortcutChanged(QKeySequence)), this, SLOT(globalShortcutChangedAll(QKeySequence)));
|
||||||
|
|
|
@ -59,7 +59,7 @@ PresentWindowsEffectConfig::PresentWindowsEffectConfig(QWidget* parent, const QV
|
||||||
KAction* a = (KAction*) m_actionCollection->addAction("ExposeAll");
|
KAction* a = (KAction*) m_actionCollection->addAction("ExposeAll");
|
||||||
a->setText(i18n("Toggle Present Windows (All desktops)"));
|
a->setText(i18n("Toggle Present Windows (All desktops)"));
|
||||||
a->setProperty("isConfigurationAction", true);
|
a->setProperty("isConfigurationAction", true);
|
||||||
a->setGlobalShortcut(QKeySequence(Qt::CTRL + Qt::ALT + Qt::Key_Tab));
|
a->setGlobalShortcut(QKeySequence(Qt::META + Qt::Key_Tab));
|
||||||
|
|
||||||
KAction* b = (KAction*) m_actionCollection->addAction("Expose");
|
KAction* b = (KAction*) m_actionCollection->addAction("Expose");
|
||||||
b->setText(i18n("Toggle Present Windows (Current desktop)"));
|
b->setText(i18n("Toggle Present Windows (Current desktop)"));
|
||||||
|
|
Loading…
Add table
Reference in a new issue