Changeset View
Changeset View
Standalone View
Standalone View
kwinbindings.cpp
Show First 20 Lines • Show All 128 Lines • ▼ Show 20 Line(s) | |||||
129 | DEF2("Increase Opacity", I18N_NOOP("Increase Opacity of Active Window by 5 %"), | 129 | DEF2("Increase Opacity", I18N_NOOP("Increase Opacity of Active Window by 5 %"), | ||
130 | 0, slotIncreaseWindowOpacity); | 130 | 0, slotIncreaseWindowOpacity); | ||
131 | DEF2("Decrease Opacity", I18N_NOOP("Decrease Opacity of Active Window by 5 %"), | 131 | DEF2("Decrease Opacity", I18N_NOOP("Decrease Opacity of Active Window by 5 %"), | ||
132 | 0, slotLowerWindowOpacity); | 132 | 0, slotLowerWindowOpacity); | ||
133 | 133 | | |||
134 | DEF2("Window On All Desktops", I18N_NOOP("Keep Window on All Desktops"), | 134 | DEF2("Window On All Desktops", I18N_NOOP("Keep Window on All Desktops"), | ||
135 | 0, slotWindowOnAllDesktops); | 135 | 0, slotWindowOnAllDesktops); | ||
136 | 136 | | |||
137 | for (int i = 1; i < 21; ++i) { | 137 | for (int i = 1; i < 21; ++i) { | ||
Lint: syntaxError: syntax error | |||||
138 | DEF5(I18N_NOOP("Window to Desktop %1"), 0, std::bind(&Workspace::slotWindowToDesktop, this, i), i); | 138 | DEF5(I18N_NOOP("Window to Desktop %1"), 0, std::bind(&Workspace::slotWindowToDesktop, this, i), i); | ||
139 | } | 139 | } | ||
140 | DEF(I18N_NOOP("Window to Next Desktop"), 0, slotWindowToNextDesktop); | 140 | DEF(I18N_NOOP("Window to Next Desktop"), 0, slotWindowToNextDesktop); | ||
141 | DEF(I18N_NOOP("Window to Previous Desktop"), 0, slotWindowToPreviousDesktop); | 141 | DEF(I18N_NOOP("Window to Previous Desktop"), 0, slotWindowToPreviousDesktop); | ||
142 | DEF(I18N_NOOP("Window One Desktop to the Right"), 0, slotWindowToDesktopRight); | 142 | DEF(I18N_NOOP("Window One Desktop to the Right"), 0, slotWindowToDesktopRight); | ||
143 | DEF(I18N_NOOP("Window One Desktop to the Left"), 0, slotWindowToDesktopLeft); | 143 | DEF(I18N_NOOP("Window One Desktop to the Left"), 0, slotWindowToDesktopLeft); | ||
144 | DEF(I18N_NOOP("Window One Desktop Up"), 0, slotWindowToDesktopUp); | 144 | DEF(I18N_NOOP("Window One Desktop Up"), 0, slotWindowToDesktopUp); | ||
145 | DEF(I18N_NOOP("Window One Desktop Down"), 0, slotWindowToDesktopDown); | 145 | DEF(I18N_NOOP("Window One Desktop Down"), 0, slotWindowToDesktopDown); | ||
146 | 146 | | |||
147 | for (int i = 0; i < 8; ++i) { | 147 | for (int i = 0; i < 8; ++i) { | ||
148 | DEF3(I18N_NOOP("Window to Screen %1"), 0, slotWindowToScreen, i); | 148 | DEF3(I18N_NOOP("Window to Screen %1"), 0, slotWindowToScreen, i); | ||
149 | } | 149 | } | ||
150 | DEF(I18N_NOOP("Window to Next Screen"), 0, slotWindowToNextScreen); | 150 | DEF(I18N_NOOP("Window to Next Screen"), 0, slotWindowToNextScreen); | ||
151 | DEF(I18N_NOOP("Window to Previous Screen"), 0, slotWindowToPrevScreen); | 151 | DEF(I18N_NOOP("Window to Previous Screen"), 0, slotWindowToPrevScreen); | ||
152 | DEF(I18N_NOOP("Show Desktop"), Qt::META + Qt::Key_D, slotToggleShowDesktop); | 152 | DEF(I18N_NOOP("Show Desktop"), Qt::META + Qt::Key_D, slotToggleShowDesktop); | ||
153 | 153 | | |||
154 | for (int i = 0; i < 8; ++i) { | 154 | for (int i = 0; i < 8; ++i) { | ||
155 | DEF3(I18N_NOOP("Switch to Screen %1"), 0, slotSwitchToScreen, i); | 155 | DEF3(I18N_NOOP("Switch to Screen %1"), 0, slotSwitchToScreen, i); | ||
156 | } | 156 | } | ||
157 | 157 | | |||
158 | DEF(I18N_NOOP("Switch to Next Screen"), 0, slotSwitchToNextScreen); | 158 | DEF(I18N_NOOP("Switch to Next Screen"), 0, slotSwitchToNextScreen); | ||
159 | DEF(I18N_NOOP("Switch to Previous Screen"), 0, slotSwitchToPrevScreen); | 159 | DEF(I18N_NOOP("Switch to Previous Screen"), 0, slotSwitchToPrevScreen); | ||
160 | 160 | | |||
161 | DEF(I18N_NOOP("Kill Window"), Qt::CTRL + Qt::ALT + Qt::Key_Escape, slotKillWindow); | 161 | DEF(I18N_NOOP("Kill Window"), Qt::CTRL + Qt::ALT + Qt::Key_Escape, slotKillWindow); | ||
162 | DEF6(I18N_NOOP("Suspend Compositing"), Qt::SHIFT + Qt::ALT + Qt::Key_F12, Compositor::self(), Compositor::slotToggleCompositing); | 162 | DEF6(I18N_NOOP("Suspend Compositing"), Qt::SHIFT + Qt::ALT + Qt::Key_F12, Compositor::self(), Compositor::toggleCompositing); | ||
163 | DEF6(I18N_NOOP("Invert Screen Colors"), 0, kwinApp()->platform(), Platform::invertScreen); | 163 | DEF6(I18N_NOOP("Invert Screen Colors"), 0, kwinApp()->platform(), Platform::invertScreen); | ||
164 | 164 | | |||
165 | #undef DEF | 165 | #undef DEF | ||
166 | #undef DEF2 | 166 | #undef DEF2 | ||
167 | #undef DEF3 | 167 | #undef DEF3 | ||
168 | 168 | | |||
169 | // } | 169 | // } |
syntax error