QtBase  v6.3.1
Public Member Functions | Static Public Member Functions | Friends | List of all members
QKeyCombination Class Reference

#include <qnamespace.h>

Public Member Functions

constexpr Q_IMPLICIT QKeyCombination (Qt::Key key=Qt::Key_unknown) noexcept
 
constexpr QKeyCombination (Qt::Modifiers modifiers, Qt::Key key=Qt::Key_unknown) noexcept
 
constexpr QKeyCombination (Qt::KeyboardModifiers modifiers, Qt::Key key=Qt::Key_unknown) noexcept
 
constexpr Qt::KeyboardModifiers keyboardModifiers () const noexcept
 
constexpr Qt::Key key () const noexcept
 
constexpr int toCombined () const noexcept
 
bool operator< (QKeyCombination) const =delete
 

Static Public Member Functions

static constexpr QKeyCombination fromCombined (int combined)
 

Friends

constexpr friend bool operator== (QKeyCombination lhs, QKeyCombination rhs) noexcept
 
constexpr friend bool operator!= (QKeyCombination lhs, QKeyCombination rhs) noexcept
 

Detailed Description

Definition at line 1870 of file qnamespace.h.

Constructor & Destructor Documentation

◆ QKeyCombination() [1/3]

constexpr Q_IMPLICIT QKeyCombination::QKeyCombination ( Qt::Key  key = Qt::Key_unknown)
inlineconstexprnoexcept

Definition at line 1875 of file qnamespace.h.

◆ QKeyCombination() [2/3]

constexpr QKeyCombination::QKeyCombination ( Qt::Modifiers  modifiers,
Qt::Key  key = Qt::Key_unknown 
)
inlineexplicitconstexprnoexcept

Definition at line 1879 of file qnamespace.h.

◆ QKeyCombination() [3/3]

constexpr QKeyCombination::QKeyCombination ( Qt::KeyboardModifiers  modifiers,
Qt::Key  key = Qt::Key_unknown 
)
inlineexplicitconstexprnoexcept

Definition at line 1883 of file qnamespace.h.

Member Function Documentation

◆ fromCombined()

static constexpr QKeyCombination QKeyCombination::fromCombined ( int  combined)
inlinestaticconstexpr

Definition at line 1897 of file qnamespace.h.

Here is the caller graph for this function:

◆ key()

constexpr Qt::Key QKeyCombination::key ( ) const
inlineconstexprnoexcept

Definition at line 1892 of file qnamespace.h.

◆ keyboardModifiers()

constexpr Qt::KeyboardModifiers QKeyCombination::keyboardModifiers ( ) const
inlineconstexprnoexcept

Definition at line 1887 of file qnamespace.h.

◆ operator<()

bool QKeyCombination::operator< ( QKeyCombination  ) const
delete

◆ toCombined()

constexpr int QKeyCombination::toCombined ( ) const
inlineconstexprnoexcept

Definition at line 1904 of file qnamespace.h.

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ operator!=

constexpr friend bool operator!= ( QKeyCombination  lhs,
QKeyCombination  rhs 
)
friend

Definition at line 1922 of file qnamespace.h.

◆ operator==

constexpr friend bool operator== ( QKeyCombination  lhs,
QKeyCombination  rhs 
)
friend

Definition at line 1917 of file qnamespace.h.


The documentation for this class was generated from the following file: