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
QFdContainer Class Reference

#include <qevdevkeyboardhandler_p.h>

+ Collaboration diagram for QFdContainer:

Public Member Functions

Q_NODISCARD_CTOR QFdContainer (int fd=-1) noexcept
 
 ~QFdContainer ()
 
int get () const noexcept
 
int release () noexcept
 
void reset () noexcept
 
void reset (int fd)
 

Detailed Description

Definition at line 99 of file qevdevkeyboardhandler_p.h.

Constructor & Destructor Documentation

◆ QFdContainer()

Q_NODISCARD_CTOR QFdContainer::QFdContainer ( int fd = -1)
inlineexplicitnoexcept

Definition at line 104 of file qevdevkeyboardhandler_p.h.

◆ ~QFdContainer()

QFdContainer::~QFdContainer ( )
inline

Definition at line 105 of file qevdevkeyboardhandler_p.h.

References reset().

+ Here is the call graph for this function:

Member Function Documentation

◆ get()

int QFdContainer::get ( ) const
inlinenoexcept

Definition at line 107 of file qevdevkeyboardhandler_p.h.

Referenced by QEvdevKeyboardHandler::QEvdevKeyboardHandler(), QEvdevKeyboardHandler::readKeycode(), and QEvdevKeyboardHandler::unloadKeymap().

+ Here is the caller graph for this function:

◆ release()

int QFdContainer::release ( )
inlinenoexcept

Definition at line 109 of file qevdevkeyboardhandler_p.h.

◆ reset() [1/2]

void QFdContainer::reset ( )
noexcept

Definition at line 44 of file qevdevkeyboardhandler.cpp.

References qt_safe_close().

Referenced by ~QFdContainer(), and QEvdevKeyboardHandler::readKeycode().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ reset() [2/2]

void QFdContainer::reset ( int fd)
inline

Definition at line 111 of file qevdevkeyboardhandler_p.h.

References reset().

Referenced by reset().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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