Document AbstractClient::isResize() and AbstractClient::isMove()
This commit is contained in:
parent
34fc962ff1
commit
3399a7db8a
1 changed files with 6 additions and 0 deletions
|
@ -693,9 +693,15 @@ public:
|
|||
*/
|
||||
QRect clientRectToFrameRect(const QRect &rect) const;
|
||||
|
||||
/**
|
||||
* Returns @c true if the Client is being interactively moved; otherwise @c false.
|
||||
*/
|
||||
bool isMove() const {
|
||||
return isMoveResize() && moveResizePointerMode() == PositionCenter;
|
||||
}
|
||||
/**
|
||||
* Returns @c true if the Client is being interactively resized; otherwise @c false.
|
||||
*/
|
||||
bool isResize() const {
|
||||
return isMoveResize() && moveResizePointerMode() != PositionCenter;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue