Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QRestAccessManagerPrivate Class Reference

#include <qrestaccessmanager_p.h>

+ Inheritance diagram for QRestAccessManagerPrivate:
+ Collaboration diagram for QRestAccessManagerPrivate:

Classes

struct  CallerInfo
 

Public Types

using ReqOpRef = qxp::function_ref<QNetworkReply*(QNetworkAccessManager*) const>
 
using ReqOpRefJson
 
- Public Types inherited from QObjectPrivate
typedef void(*) StaticMetaCallFunction(QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 

Public Member Functions

 QRestAccessManagerPrivate ()
 
 ~QRestAccessManagerPrivate () override
 
QNetworkReplycreateActiveRequest (QNetworkReply *reply, const QObject *contextObject, QtPrivate::SlotObjUniquePtr slot)
 
void handleReplyFinished (QNetworkReply *reply)
 
QNetworkReplyexecuteRequest (ReqOpRef requestOperation, const QObject *context, QtPrivate::QSlotObjectBase *rawSlot)
 
QNetworkReplyexecuteRequest (ReqOpRefJson requestOperation, const QJsonDocument &jsonDoc, const QNetworkRequest &request, const QObject *context, QtPrivate::QSlotObjectBase *rawSlot)
 
void verifyThreadAffinity (const QObject *contextObject)
 
Q_DECL_COLD_FUNCTION QNetworkReplywarnNoAccessManager ()
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

QHash< QNetworkReply *, CallerInfoactiveRequests
 
QNetworkAccessManagerqnam = nullptr
 
bool deletesRepliesOnFinished = true
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Detailed Description

Definition at line 35 of file qrestaccessmanager_p.h.

Member Typedef Documentation

◆ ReqOpRef

◆ ReqOpRefJson

Initial value:
const QNetworkRequest &,
const QByteArray &) const>
\inmodule QtCore
Definition qbytearray.h:57
The QNetworkAccessManager class allows the application to send network requests and receive replies.
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.

Definition at line 57 of file qrestaccessmanager_p.h.

Constructor & Destructor Documentation

◆ QRestAccessManagerPrivate()

QRestAccessManagerPrivate::QRestAccessManagerPrivate ( )
default

◆ ~QRestAccessManagerPrivate()

QRestAccessManagerPrivate::~QRestAccessManagerPrivate ( )
override

Definition at line 557 of file qrestaccessmanager.cpp.

Member Function Documentation

◆ createActiveRequest()

QNetworkReply * QRestAccessManagerPrivate::createActiveRequest ( QNetworkReply * reply,
const QObject * contextObject,
QtPrivate::SlotObjUniquePtr slot )

Definition at line 760 of file qrestaccessmanager.cpp.

◆ executeRequest() [1/2]

QNetworkReply * QRestAccessManagerPrivate::executeRequest ( ReqOpRef requestOperation,
const QObject * context,
QtPrivate::QSlotObjectBase * rawSlot )
inline

Definition at line 46 of file qrestaccessmanager_p.h.

◆ executeRequest() [2/2]

QNetworkReply * QRestAccessManagerPrivate::executeRequest ( ReqOpRefJson requestOperation,
const QJsonDocument & jsonDoc,
const QNetworkRequest & request,
const QObject * context,
QtPrivate::QSlotObjectBase * rawSlot )
inline

Definition at line 60 of file qrestaccessmanager_p.h.

◆ handleReplyFinished()

void QRestAccessManagerPrivate::handleReplyFinished ( QNetworkReply * reply)

Definition at line 806 of file qrestaccessmanager.cpp.

◆ verifyThreadAffinity()

void QRestAccessManagerPrivate::verifyThreadAffinity ( const QObject * contextObject)

Definition at line 787 of file qrestaccessmanager.cpp.

◆ warnNoAccessManager()

QNetworkReply * QRestAccessManagerPrivate::warnNoAccessManager ( )

Definition at line 800 of file qrestaccessmanager.cpp.

Member Data Documentation

◆ activeRequests

QHash<QNetworkReply*, CallerInfo> QRestAccessManagerPrivate::activeRequests

Definition at line 87 of file qrestaccessmanager_p.h.

◆ deletesRepliesOnFinished

bool QRestAccessManagerPrivate::deletesRepliesOnFinished = true

Definition at line 90 of file qrestaccessmanager_p.h.

◆ qnam

QNetworkAccessManager* QRestAccessManagerPrivate::qnam = nullptr

Definition at line 89 of file qrestaccessmanager_p.h.


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