s/requestMaximize/requestToggleMaximization/g
This commit is contained in:
parent
cb9cbae36e
commit
2fdafbb133
4 changed files with 4 additions and 4 deletions
|
@ -170,7 +170,7 @@ void DecoratedClientImpl::requestShowWindowMenu()
|
||||||
Workspace::self()->showWindowMenu(QRect(Cursor::pos(), Cursor::pos()), m_client);
|
Workspace::self()->showWindowMenu(QRect(Cursor::pos(), Cursor::pos()), m_client);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DecoratedClientImpl::requestMaximize(Qt::MouseButtons buttons)
|
void DecoratedClientImpl::requestToggleMaximization(Qt::MouseButtons buttons)
|
||||||
{
|
{
|
||||||
Workspace::self()->performWindowOperation(m_client, options->operationMaxButtonClick(buttons));
|
Workspace::self()->performWindowOperation(m_client, options->operationMaxButtonClick(buttons));
|
||||||
}
|
}
|
||||||
|
|
|
@ -69,7 +69,7 @@ public:
|
||||||
|
|
||||||
void requestClose() override;
|
void requestClose() override;
|
||||||
void requestContextHelp() override;
|
void requestContextHelp() override;
|
||||||
void requestMaximize(Qt::MouseButtons buttons) override;
|
void requestToggleMaximization(Qt::MouseButtons buttons) override;
|
||||||
void requestMinimize() override;
|
void requestMinimize() override;
|
||||||
void requestShowWindowMenu() override;
|
void requestShowWindowMenu() override;
|
||||||
void requestToggleKeepAbove() override;
|
void requestToggleKeepAbove() override;
|
||||||
|
|
|
@ -380,7 +380,7 @@ void PreviewClient::requestContextHelp()
|
||||||
qDebug() << "context help requested";
|
qDebug() << "context help requested";
|
||||||
}
|
}
|
||||||
|
|
||||||
void PreviewClient::requestMaximize(Qt::MouseButtons buttons)
|
void PreviewClient::requestToggleMaximization(Qt::MouseButtons buttons)
|
||||||
{
|
{
|
||||||
if (buttons.testFlag(Qt::LeftButton)) {
|
if (buttons.testFlag(Qt::LeftButton)) {
|
||||||
const bool set = !isMaximized();
|
const bool set = !isMaximized();
|
||||||
|
|
|
@ -96,7 +96,7 @@ public:
|
||||||
|
|
||||||
void requestClose() override;
|
void requestClose() override;
|
||||||
void requestContextHelp() override;
|
void requestContextHelp() override;
|
||||||
void requestMaximize(Qt::MouseButtons buttons) override;
|
void requestToggleMaximization(Qt::MouseButtons buttons) override;
|
||||||
void requestMinimize() override;
|
void requestMinimize() override;
|
||||||
void requestToggleKeepAbove() override;
|
void requestToggleKeepAbove() override;
|
||||||
void requestToggleKeepBelow() override;
|
void requestToggleKeepBelow() override;
|
||||||
|
|
Loading…
Reference in a new issue