QtBase  v6.3.1
Public Types | Public Member Functions | Friends | List of all members
QSocketDescriptor Class Reference

A class which holds a native socket descriptor. More...

#include <qsocketnotifier.h>

Public Types

using DescriptorType = int
 

Public Member Functions

Q_DECL_CONSTEXPR_NOT_WIN Q_IMPLICIT QSocketDescriptor (DescriptorType descriptor=DescriptorType(-1)) noexcept
 
Q_DECL_CONSTEXPR operator DescriptorType () const noexcept
 
Q_DECL_CONSTEXPR_NOT_WIN bool isValid () const noexcept
 

Friends

Q_DECL_CONSTEXPR_NOT_WIN bool operator== (QSocketDescriptor lhs, QSocketDescriptor rhs) noexcept
 
Q_DECL_CONSTEXPR_NOT_WIN bool operator!= (QSocketDescriptor lhs, QSocketDescriptor rhs) noexcept
 

Detailed Description

A class which holds a native socket descriptor.

\inmodule QtCore

Definition at line 97 of file qsocketnotifier.h.

Member Typedef Documentation

◆ DescriptorType

Definition at line 104 of file qsocketnotifier.h.

Constructor & Destructor Documentation

◆ QSocketDescriptor()

QSocketDescriptor::QSocketDescriptor ( DescriptorType  descriptor = DescriptorType(-1))
inlinenoexcept

Definition at line 109 of file qsocketnotifier.h.

Here is the caller graph for this function:

Member Function Documentation

◆ isValid()

Q_DECL_CONSTEXPR_NOT_WIN bool QSocketDescriptor::isValid ( ) const
inlinenoexcept

Definition at line 120 of file qsocketnotifier.h.

Here is the call graph for this function:

◆ operator DescriptorType()

Q_DECL_CONSTEXPR QSocketDescriptor::operator DescriptorType ( ) const
inlinenoexcept

Definition at line 118 of file qsocketnotifier.h.

Friends And Related Function Documentation

◆ operator!=

Definition at line 127 of file qsocketnotifier.h.

◆ operator==

Q_DECL_CONSTEXPR_NOT_WIN bool operator== ( QSocketDescriptor  lhs,
QSocketDescriptor  rhs 
)
friend

Definition at line 122 of file qsocketnotifier.h.


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