Obsolete Members for QCursor

以下成員源於類 QCursor 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

(棄用) QBitmap bitmap (Qt::ReturnByValueConstant) const
(棄用) QBitmap mask (Qt::ReturnByValueConstant) const

成員函數文檔編製

QBitmap QCursor:: bitmap ( Qt::ReturnByValueConstant ) const

This function is deprecated. We strongly advise against using it in new code.

Use the overload without argument instead.

返迴光標位圖,或返迴 null 位圖若它是標準光標之一。

先前,Qt 提供版本的 bitmap() which returned the bitmap by-pointer. That version is now removed. To maintain compatibility with old code, this function was provided to differentiate between the by-pointer function and the by-value function.

QBitmap QCursor:: mask ( Qt::ReturnByValueConstant ) const

This function is deprecated. We strongly advise against using it in new code.

Use the overload without argument instead.

返迴光標位圖遮罩,或 null 位圖若它是標準光標之一。

先前,Qt 提供版本的 mask() which returned the bitmap by-pointer. That version is now removed. To maintain compatibility with old code, this function was provided to differentiate between the by-pointer function and the by-value function.