Doc: Fix return type of QCursor::shape()

QCursor::shape() returned an int in Qt 3 but returned Qt::CursorShape
since Qt 4.

Change-Id: I6da9da9bed35c09943a074e7e3a618bce7797ceb
Reviewed-by: Samuel Gaist <samuel.gaist@idiap.ch>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
bb10
Sze Howe Koh 2021-02-01 22:58:31 +08:00
parent d1946a0ca2
commit 30ac9d5db4
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtGui module of the Qt Toolkit.
@ -527,8 +527,7 @@ bool operator==(const QCursor &lhs, const QCursor &rhs) noexcept
*/
/*!
Returns the cursor shape identifier. The return value is one of
the \l Qt::CursorShape enum values (cast to an int).
Returns the cursor shape identifier.
\sa setShape()
*/