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
QNearFieldTarget::RequestId Class Reference

\inmodule QtNfc \inheaderfile QNearFieldTarget More...

#include <qnearfieldtarget.h>

+ Collaboration diagram for QNearFieldTarget::RequestId:

Public Member Functions

 RequestId ()
 Constructs a new invalid request id handle.
 
 RequestId (const RequestId &other)
 Constructs a new request id handle that is a copy of other.
 
 RequestId (RequestIdPrivate *p)
 
 ~RequestId ()
 Destroys the request id handle.
 
bool isValid () const
 Returns true if this is a valid request id; otherwise returns false.
 
int refCount () const
 Returns the current reference count of the request id.
 
bool operator< (const RequestId &other) const
 
bool operator== (const RequestId &other) const
 
bool operator!= (const RequestId &other) const
 
RequestIdoperator= (const RequestId &other)
 Assigns a copy of other to this request id and returns a reference to this request id.
 

Public Attributes

QSharedDataPointer< RequestIdPrivated
 

Detailed Description

\inmodule QtNfc \inheaderfile QNearFieldTarget

A request id handle.

Definition at line 67 of file qnearfieldtarget.h.

Constructor & Destructor Documentation

◆ RequestId() [1/3]

QNearFieldTarget::RequestId::RequestId ( )

Constructs a new invalid request id handle.

Definition at line 134 of file qnearfieldtarget.cpp.

◆ RequestId() [2/3]

QNearFieldTarget::RequestId::RequestId ( const RequestId & other)

Constructs a new request id handle that is a copy of other.

Definition at line 141 of file qnearfieldtarget.cpp.

◆ RequestId() [3/3]

QNearFieldTarget::RequestId::RequestId ( RequestIdPrivate * p)

Definition at line 149 of file qnearfieldtarget.cpp.

◆ ~RequestId()

QNearFieldTarget::RequestId::~RequestId ( )

Destroys the request id handle.

Definition at line 157 of file qnearfieldtarget.cpp.

Member Function Documentation

◆ isValid()

bool QNearFieldTarget::RequestId::isValid ( ) const

Returns true if this is a valid request id; otherwise returns false.

Definition at line 164 of file qnearfieldtarget.cpp.

References d.

Referenced by QNearFieldTargetPrivateImpl::isAvailable().

+ Here is the caller graph for this function:

◆ operator!=()

bool QNearFieldTarget::RequestId::operator!= ( const RequestId & other) const

Definition at line 199 of file qnearfieldtarget.cpp.

References d, and other().

+ Here is the call graph for this function:

◆ operator<()

bool QNearFieldTarget::RequestId::operator< ( const RequestId & other) const

Definition at line 183 of file qnearfieldtarget.cpp.

References d, and other().

+ Here is the call graph for this function:

◆ operator=()

QNearFieldTarget::RequestId & QNearFieldTarget::RequestId::operator= ( const RequestId & other)

Assigns a copy of other to this request id and returns a reference to this request id.

Definition at line 207 of file qnearfieldtarget.cpp.

References d, and other().

+ Here is the call graph for this function:

◆ operator==()

bool QNearFieldTarget::RequestId::operator== ( const RequestId & other) const

Definition at line 191 of file qnearfieldtarget.cpp.

References d, and other().

+ Here is the call graph for this function:

◆ refCount()

int QNearFieldTarget::RequestId::refCount ( ) const

Returns the current reference count of the request id.

Definition at line 172 of file qnearfieldtarget.cpp.

References d.

Member Data Documentation

◆ d

QSharedDataPointer<RequestIdPrivate> QNearFieldTarget::RequestId::d

Definition at line 84 of file qnearfieldtarget.h.


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