以下成員源於類 Qt 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。
(棄用)
|
|
(棄用)
|
|
(since 6.7, deprecated in 6.8)
Qt::strong_ordering
|
compareThreeWay (const LeftType * lhs , const RightType * rhs ) |
(棄用)
QKeyCombination
|
operator+ (Qt::Key key , Qt::KeyboardModifier modifier ) |
(棄用)
QKeyCombination
|
operator+ (Qt::Key key , Qt::KeyboardModifiers modifiers ) |
(棄用)
QKeyCombination
|
operator+ (Qt::Key key , Qt::Modifier modifier ) |
(棄用)
QKeyCombination
|
operator+ (Qt::Key key , Qt::Modifiers modifiers ) |
(棄用)
QKeyCombination
|
operator+ (Qt::KeyboardModifier modifier , Qt::Key key ) |
(棄用)
QKeyCombination
|
operator+ (Qt::KeyboardModifiers modifiers , Qt::Key key ) |
(棄用)
QKeyCombination
|
operator+ (Qt::Modifier modifier , Qt::Key key ) |
(棄用)
QKeyCombination
|
operator+ (Qt::Modifiers modifiers , Qt::Key key ) |
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Key
key
,
Qt::KeyboardModifier
modifier
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Key
key
,
Qt::Modifier
modifier
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::KeyboardModifier
modifier
,
Qt::Key
key
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Modifier
modifier
,
Qt::Key
key
)
This function is deprecated. We strongly advise against using it in new code.
使用運算符 | 代替。
返迴 QKeyCombination 對象以錶示組閤的 key with the modifier modifier .
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Key
key
,
Qt::KeyboardModifiers
modifiers
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Key
key
,
Qt::Modifiers
modifiers
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::KeyboardModifiers
modifiers
,
Qt::Key
key
)
[constexpr noexcept, deprecated]
QKeyCombination
operator+
(
Qt::Modifiers
modifiers
,
Qt::Key
key
)
This function is deprecated. We strongly advise against using it in new code.
使用運算符 | 代替。
返迴 QKeyCombination 對象以錶示組閤的 key 采用修飾符 modifiers .
[constexpr noexcept, since 6.7, deprecated in 6.8]
template <typename LeftType, typename RightType, Qt::if_compatible_pointers<LeftType, RightType> = true>
Qt::strong_ordering
compareThreeWay
(const
LeftType
*
lhs
, const
RightType
*
rhs
)
此函數從 6.8 起棄用。強烈建議在新代碼中不要使用它。
把指針包裹成 Qt::totally_ordered_wrapper and use the respective Qt::compareThreeWay() overload instead.
這是重載函數。
實現指針的 3 嚮比較。
注意:
此函數參與重載解析,若
LeftType
and
RightType
are the same type, or base and derived types. It is also used to compare any pointer to
std::nullptr_t
.
返迴實例化的 Qt::strong_ordering 錶示關係介於 lhs and rhs .
該函數在 Qt 6.7 引入。