mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
inline QFocusEvent::reason()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
19e1e8af06
commit
ae1fc773ad
2 changed files with 4 additions and 6 deletions
|
@ -853,12 +853,10 @@ QFocusEvent::~QFocusEvent()
|
|||
}
|
||||
|
||||
/*!
|
||||
\fn bool QFocusEvent::reason() const
|
||||
|
||||
Returns the reason for this focus event.
|
||||
*/
|
||||
Qt::FocusReason QFocusEvent::reason() const
|
||||
{
|
||||
return m_reason;
|
||||
}
|
||||
|
||||
/*!
|
||||
\fn bool QFocusEvent::gotFocus() const
|
||||
|
|
|
@ -193,7 +193,7 @@ public:
|
|||
inline bool gotFocus() const { return type() == FocusIn; }
|
||||
inline bool lostFocus() const { return type() == FocusOut; }
|
||||
|
||||
Qt::FocusReason reason() const;
|
||||
inline Qt::FocusReason reason() const { return m_reason; }
|
||||
|
||||
private:
|
||||
Qt::FocusReason m_reason;
|
||||
|
|
Loading…
Add table
Reference in a new issue