s/requestMaximize/requestToggleMaximization/g

This commit is contained in:
Martin Gräßlin 2014-11-11 09:53:54 +01:00
parent cb9cbae36e
commit 2fdafbb133
4 changed files with 4 additions and 4 deletions

View file

@ -170,7 +170,7 @@ void DecoratedClientImpl::requestShowWindowMenu()
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));
}

View file

@ -69,7 +69,7 @@ public:
void requestClose() override;
void requestContextHelp() override;
void requestMaximize(Qt::MouseButtons buttons) override;
void requestToggleMaximization(Qt::MouseButtons buttons) override;
void requestMinimize() override;
void requestShowWindowMenu() override;
void requestToggleKeepAbove() override;

View file

@ -380,7 +380,7 @@ void PreviewClient::requestContextHelp()
qDebug() << "context help requested";
}
void PreviewClient::requestMaximize(Qt::MouseButtons buttons)
void PreviewClient::requestToggleMaximization(Qt::MouseButtons buttons)
{
if (buttons.testFlag(Qt::LeftButton)) {
const bool set = !isMaximized();

View file

@ -96,7 +96,7 @@ public:
void requestClose() override;
void requestContextHelp() override;
void requestMaximize(Qt::MouseButtons buttons) override;
void requestToggleMaximization(Qt::MouseButtons buttons) override;
void requestMinimize() override;
void requestToggleKeepAbove() override;
void requestToggleKeepBelow() override;