Obsolete Members for Qt | Qt Core 6.7.3
Description: The Qt namespace contains miscellaneous identifiers used throughout the Qt library.

- Qt 6.7
- Qt Core
- Obsolete Members for Qt
- Qt 6.7.3 Reference Documentation

# Obsolete Members for Qt

The following members of class Qt are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.

## Functions

`(deprecated)` |
`(deprecated)` |
`(deprecated)` QKeyCombination | operator+(Qt::Modifier modifier, Qt::Key key)
`(deprecated)` QKeyCombination | operator+(Qt::KeyboardModifier modifier, Qt::Key key)
`(deprecated)` QKeyCombination | operator+(Qt::Key key, Qt::Modifier modifier)
`(deprecated)` QKeyCombination | operator+(Qt::Key key, Qt::KeyboardModifier modifier)
`(deprecated)` QKeyCombination | operator+(Qt::Modifiers modifiers, Qt::Key key)
`(deprecated)` QKeyCombination | operator+(Qt::KeyboardModifiers modifiers, Qt::Key key)
`(deprecated)` QKeyCombination | operator+(Qt::Key key, Qt::Modifiers modifiers)
`(deprecated)` QKeyCombination | operator+(Qt::Key key, Qt::KeyboardModifiers modifiers)

## Function Documentation

### `[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.

Use operator| instead.

Returns a QKeyCombination object that represents the combination of 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.

Use operator| instead.

Returns a QKeyCombination object that represents the combination of key with the modifiers modifiers.

### `[constexpr noexcept, deprecated]` QKeyCombination operator+(Qt::Modifier modifier, Qt::Key key)

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

### `[constexpr noexcept, deprecated]` QKeyCombination operator+(Qt::KeyboardModifier modifier, Qt::Key key)

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

### `[constexpr noexcept, deprecated]` QKeyCombination operator+(Qt::Key key, Qt::Modifier modifier)

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

### `[constexpr noexcept, deprecated]` QKeyCombination operator+(Qt::Key key, Qt::KeyboardModifier modifier)

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

### `[constexpr noexcept, deprecated]` QKeyCombination operator+(Qt::Modifiers modifiers, Qt::Key key)

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

### `[constexpr noexcept, deprecated]` QKeyCombination operator+(Qt::KeyboardModifiers modifiers, Qt::Key key)

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

### `[constexpr noexcept, deprecated]` QKeyCombination operator+(Qt::Key key, Qt::Modifiers modifiers)

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

### `[constexpr noexcept, deprecated]` QKeyCombination operator+(Qt::Key key, Qt::KeyboardModifiers modifiers)

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