Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindesktop/main.cpp
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 74 | { | |||
---|---|---|---|---|---|
85 | 85 | | |||
86 | QVBoxLayout* layout = new QVBoxLayout(this); | 86 | QVBoxLayout* layout = new QVBoxLayout(this); | ||
87 | layout->addWidget(m_ui); | 87 | layout->addWidget(m_ui); | ||
88 | 88 | | |||
89 | setQuickHelp(i18n("<h1>Multiple Desktops</h1>In this module, you can configure how many virtual desktops you want and how these should be labeled.")); | 89 | setQuickHelp(i18n("<h1>Multiple Desktops</h1>In this module, you can configure how many virtual desktops you want and how these should be labeled.")); | ||
90 | 90 | | |||
91 | // Shortcut config. The shortcut belongs to the component "kwin"! | 91 | // Shortcut config. The shortcut belongs to the component "kwin"! | ||
92 | m_actionCollection = new KActionCollection(this, QStringLiteral("kwin")); | 92 | m_actionCollection = new KActionCollection(this, QStringLiteral("kwin")); | ||
93 | m_actionCollection->setComponentDisplayName(i18n("KWin")); | ||||
93 | m_actionCollection->setConfigGroup("Desktop Switching"); | 94 | m_actionCollection->setConfigGroup("Desktop Switching"); | ||
94 | m_actionCollection->setConfigGlobal(true); | 95 | m_actionCollection->setConfigGlobal(true); | ||
95 | 96 | | |||
96 | m_switchDesktopCollection = new KActionCollection(this, QStringLiteral("kwin")); | 97 | m_switchDesktopCollection = new KActionCollection(this, QStringLiteral("kwin")); | ||
98 | m_switchDesktopCollection->setComponentDisplayName(i18n("KWin")); | ||||
97 | m_switchDesktopCollection->setConfigGroup("Desktop Switching"); | 99 | m_switchDesktopCollection->setConfigGroup("Desktop Switching"); | ||
98 | m_switchDesktopCollection->setConfigGlobal(true); | 100 | m_switchDesktopCollection->setConfigGlobal(true); | ||
99 | 101 | | |||
100 | // actions for switch desktop collection - other action is filled dynamically | 102 | // actions for switch desktop collection - other action is filled dynamically | ||
101 | addAction("Switch to Next Desktop", i18n("Switch to Next Desktop")); | 103 | addAction("Switch to Next Desktop", i18n("Switch to Next Desktop")); | ||
102 | addAction("Switch to Previous Desktop", i18n("Switch to Previous Desktop")); | 104 | addAction("Switch to Previous Desktop", i18n("Switch to Previous Desktop")); | ||
103 | addAction("Switch One Desktop to the Right", i18n("Switch One Desktop to the Right")); | 105 | addAction("Switch One Desktop to the Right", i18n("Switch One Desktop to the Right")); | ||
104 | addAction("Switch One Desktop to the Left", i18n("Switch One Desktop to the Left")); | 106 | addAction("Switch One Desktop to the Left", i18n("Switch One Desktop to the Left")); | ||
▲ Show 20 Lines • Show All 565 Lines • Show Last 20 Lines |