Qt 4.8
Public Functions | Public Variables | List of all members
QHttpMultiPartPrivate Class Reference

#include <qhttpmultipart_p.h>

Inheritance diagram for QHttpMultiPartPrivate:
QObjectPrivate QObjectData

Public Functions

 QHttpMultiPartPrivate ()
 
 ~QHttpMultiPartPrivate ()
 
- Public Functions inherited from QObjectPrivate
void _q_reregisterTimers (void *pointer)
 
void addConnection (int signal, Connection *c)
 
void cleanConnectionLists ()
 
void connectNotify (const char *signal)
 
void deleteChildren ()
 
void disconnectNotify (const char *signal)
 
bool isSender (const QObject *receiver, const char *signal) const
 
bool isSignalConnected (uint signalIdx) const
 Returns true if the signal with index signal_index from object sender is connected. More...
 
void moveToThread_helper ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
QObjectList receiverList (const char *signal) const
 
QObjectList senderList () const
 
void setParent_helper (QObject *)
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData)
 
int signalIndex (const char *signalName) const
 Returns the signal index used in the internal connectionLists vector. More...
 
virtual ~QObjectPrivate ()
 
- Public Functions inherited from QObjectData
virtual ~QObjectData ()=0
 

Public Variables

QByteArray boundary
 
QHttpMultiPart::ContentType contentType
 
QHttpMultiPartIODevicedevice
 
QList< QHttpPartparts
 
- Public Variables inherited from QObjectPrivate
union {
   QObject *   currentChildBeingDeleted
 
   QAbstractDeclarativeData *   declarativeData
 
}; 
 
quint32 connectedSignals [2]
 
QObjectConnectionListVectorconnectionLists
 
SendercurrentSender
 
QList< QPointer< QObject > > eventFilters
 
ExtraDataextraData
 
QString objectName
 
Connectionsenders
 
QAtomicPointer< QtSharedPointer::ExternalRefCountData > sharedRefcount
 
QThreadDatathreadData
 
void * unused
 
- Public Variables inherited from QObjectData
uint blockSig: 1
 
QObjectList children
 
uint hasGuards: 1
 
uint inEventHandler: 1
 
uint inThreadChangeEvent: 1
 
uint isWidget: 1
 
QMetaObjectmetaObject
 
uint ownObjectName: 1
 
QObjectparent
 
uint pendTimer: 1
 
int postedEvents
 
QObjectq_ptr
 
uint receiveChildEvents: 1
 
uint sendChildEvents: 1
 
uint unused: 22
 
uint wasDeleted: 1
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
- Static Public Functions inherited from QObjectPrivate
static void clearGuards (QObject *)
 
static QObjectPrivateget (QObject *o)
 
static void resetCurrentSender (QObject *receiver, Sender *currentSender, Sender *previousSender)
 
static SendersetCurrentSender (QObject *receiver, Sender *sender)
 
static void signalSignature (const QMetaMethod &signal, QVarLengthArray< char > *result)
 

Detailed Description

Definition at line 161 of file qhttpmultipart_p.h.

Constructors and Destructors

◆ QHttpMultiPartPrivate()

QHttpMultiPartPrivate::QHttpMultiPartPrivate ( )

Definition at line 441 of file qhttpmultipart.cpp.

442 {
443  if (!seedCreatedStorage()->hasLocalData()) {
444  qsrand(QTime(0,0,0).msecsTo(QTime::currentTime()) ^ reinterpret_cast<quintptr>(this));
445  seedCreatedStorage()->setLocalData(new bool(true));
446  }
447 
448  boundary = QByteArray("boundary_.oOo._")
452 
453  // boundary must not be longer than 70 characters, see RFC 2046, section 5.1.1
454  if (boundary.count() > 70)
455  boundary = boundary.left(70);
456 }
The QByteArray class provides an array of bytes.
Definition: qbytearray.h:135
QHttpMultiPart::ContentType contentType
Q_CORE_EXPORT int qrand()
QHttpMultiPartIODevice * device
The QTime class provides clock time functions.
Definition: qdatetime.h:148
QByteArray left(int len) const
Returns a byte array that contains the leftmost len bytes of this byte array.
int count(char c) const
Returns the number of occurrences of character ch in the byte array.
static QTime currentTime()
Returns the current time as reported by the system clock.
Definition: qdatetime.cpp:3125
QByteArray toBase64() const
Returns a copy of the byte array, encoded as Base64.
Q_CORE_EXPORT void qsrand(uint seed)
static QByteArray number(int, int base=10)
Returns a byte array containing the string equivalent of the number n to base base (10 by default)...

◆ ~QHttpMultiPartPrivate()

QHttpMultiPartPrivate::~QHttpMultiPartPrivate ( )
inline

Definition at line 167 of file qhttpmultipart_p.h.

168  {
169  delete device;
170  }
QHttpMultiPartIODevice * device

Properties

◆ boundary

QByteArray QHttpMultiPartPrivate::boundary

Definition at line 173 of file qhttpmultipart_p.h.

Referenced by QHttpMultiPartPrivate().

◆ contentType

QHttpMultiPart::ContentType QHttpMultiPartPrivate::contentType

Definition at line 174 of file qhttpmultipart_p.h.

◆ device

QHttpMultiPartIODevice* QHttpMultiPartPrivate::device

Definition at line 175 of file qhttpmultipart_p.h.

Referenced by QHttpMultiPartIODevice::isSequential().

◆ parts

QList<QHttpPart> QHttpMultiPartPrivate::parts

Definition at line 172 of file qhttpmultipart_p.h.

Referenced by QHttpMultiPartIODevice::readData().


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