Changeset View
Changeset View
Standalone View
Standalone View
src/decoration.cpp
Show First 20 Lines • Show All 174 Lines • ▼ Show 20 Line(s) | |||||
175 | DELEGATE(requestToggleOnAllDesktops) | 175 | DELEGATE(requestToggleOnAllDesktops) | ||
176 | DELEGATE(requestToggleShade) | 176 | DELEGATE(requestToggleShade) | ||
177 | DELEGATE(requestToggleKeepAbove) | 177 | DELEGATE(requestToggleKeepAbove) | ||
178 | DELEGATE(requestToggleKeepBelow) | 178 | DELEGATE(requestToggleKeepBelow) | ||
179 | DELEGATE(requestShowWindowMenu) | 179 | DELEGATE(requestShowWindowMenu) | ||
180 | 180 | | |||
181 | #undef DELEGATE | 181 | #undef DELEGATE | ||
182 | 182 | | |||
183 | void Decoration::requestShowToolTip(const QString &text) | ||||
184 | { | ||||
185 | d->client->d->requestShowToolTip(text); | ||||
186 | } | ||||
187 | | ||||
188 | void Decoration::requestHideToolTip() | ||||
189 | { | ||||
190 | d->client->d->requestHideToolTip(); | ||||
191 | } | ||||
192 | | ||||
183 | void Decoration::requestToggleMaximization(Qt::MouseButtons buttons) | 193 | void Decoration::requestToggleMaximization(Qt::MouseButtons buttons) | ||
184 | { | 194 | { | ||
185 | d->client->d->requestToggleMaximization(buttons); | 195 | d->client->d->requestToggleMaximization(buttons); | ||
186 | } | 196 | } | ||
187 | 197 | | |||
188 | void Decoration::showApplicationMenu(int actionId) | 198 | void Decoration::showApplicationMenu(int actionId) | ||
189 | { | 199 | { | ||
190 | auto it = std::find_if(d->buttons.constBegin(), d->buttons.constEnd(), [](DecorationButton *button) { | 200 | auto it = std::find_if(d->buttons.constBegin(), d->buttons.constEnd(), [](DecorationButton *button) { | ||
▲ Show 20 Lines • Show All 213 Lines • Show Last 20 Lines |