Rename DecoratedClient::borderingScreenEdges to adjacentScreenEdges

icc-effect-5.14.5
Martin Gräßlin 2014-11-11 14:33:31 +01:00
parent 99545da109
commit faa78e187e
4 changed files with 6 additions and 6 deletions

View File

@ -88,7 +88,7 @@ DecoratedClientImpl::DecoratedClientImpl(Client *client, KDecoration2::Decorated
);
connect(client, &Client::quickTileModeChanged, decoratedClient,
[this, decoratedClient]() {
emit decoratedClient->borderingScreenEdgesChanged(borderingScreenEdges());
emit decoratedClient->adjacentScreenEdgesChanged(adjacentScreenEdges());
}
);
connect(client, &Client::closeableChanged, decoratedClient, &KDecoration2::DecoratedClient::closeableChanged);
@ -200,7 +200,7 @@ bool DecoratedClientImpl::isMaximizedHorizontally() const
return m_client->maximizeMode() & KDecorationDefines::MaximizeHorizontal;
}
Qt::Edges DecoratedClientImpl::borderingScreenEdges() const
Qt::Edges DecoratedClientImpl::adjacentScreenEdges() const
{
Qt::Edges edges;
const KDecorationDefines::QuickTileMode mode = m_client->quickTileMode();

View File

@ -65,7 +65,7 @@ public:
int width() const override;
WId windowId() const override;
Qt::Edges borderingScreenEdges() const override;
Qt::Edges adjacentScreenEdges() const override;
void requestClose() override;
void requestContextHelp() override;

View File

@ -124,7 +124,7 @@ PreviewClient::PreviewClient(DecoratedClient *c, Decoration *decoration)
}
);
auto emitEdgesChanged = [this, c]() {
c->borderingScreenEdgesChanged(borderingScreenEdges());
c->adjacentScreenEdgesChanged(adjacentScreenEdges());
};
connect(this, &PreviewClient::bordersTopEdgeChanged, this, emitEdgesChanged);
connect(this, &PreviewClient::bordersLeftEdgeChanged, this, emitEdgesChanged);
@ -296,7 +296,7 @@ void PreviewClient::setColorSchemeIndex(int index)
emit colorSchemeIndexChanged(m_colorSchemeIndex);
}
Qt::Edges PreviewClient::borderingScreenEdges() const
Qt::Edges PreviewClient::adjacentScreenEdges() const
{
Qt::Edges edges;
if (m_bordersBottomEdge) {

View File

@ -92,7 +92,7 @@ public:
int width() const override;
int height() const override;
QPalette palette() const override;
Qt::Edges borderingScreenEdges() const override;
Qt::Edges adjacentScreenEdges() const override;
void requestClose() override;
void requestContextHelp() override;