void QQuickMouseArea::setCursorShape(Qt::CursorShape shape) { if (cursor().shape() == shape) return; setCursor(shape); emit cursorShapeChanged(); }
void CursorShapeArea::setCursorShape(Qt::CursorShape cursorShape) { if (m_currentShape == (int) cursorShape) return; setCursor(cursorShape); emit cursorShapeChanged(); m_currentShape = cursorShape; }