Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
FirstResponderCandidate Class Reference

#include <qiosglobal.h>

+ Inheritance diagram for FirstResponderCandidate:
+ Collaboration diagram for FirstResponderCandidate:

Public Member Functions

 FirstResponderCandidate (UIResponder *)
 
- Public Member Functions inherited from QScopedValueRollback< UIResponder * >
Q_NODISCARD_CTOR constexpr QScopedValueRollback (UIResponder * &var)
 Stores the previous value of var internally, for revert on destruction.
 
Q_NODISCARD_CTOR constexpr QScopedValueRollback (UIResponder * &var, UIResponder * value)
 Assigns value to \ var and stores the previous value of var internally, for revert on destruction.
 
 ~QScopedValueRollback ()
 Assigns the previous value to the managed variable.
 
constexpr void commit ()
 Updates the previous value of the managed variable to its current value.
 

Static Public Member Functions

static UIResponder * currentCandidate ()
 

Detailed Description

Definition at line 52 of file qiosglobal.h.

Constructor & Destructor Documentation

◆ FirstResponderCandidate()

QT_BEGIN_NAMESPACE FirstResponderCandidate::FirstResponderCandidate ( UIResponder * responder)

Definition at line 198 of file qiosglobal.mm.

Member Function Documentation

◆ currentCandidate()

static UIResponder * FirstResponderCandidate::currentCandidate ( )
inlinestatic

Definition at line 56 of file qiosglobal.h.


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