THttpArgs Class

Header: #include <THttpArgs>
Inherits: QObject

Public Types

enum DataFormat { DataFormatString, DataFormatJson, DataFormatXml }

Public Functions

THttpArgs(QObject *iParent = 0)
THttpArgs(const THttpArgs &iOther)
~THttpArgs()
THttpArgs &operator=(const THttpArgs &iOther)
  • 31 public functions inherited from QObject

Public Slots

void addHeader(const QString &iHeaderNameStr, const QString &iHeaderValueStr)
QVariantList headerList() const
QString replyCodec() const
DataFormat replyFormat() const
QString replyFormatName() const
QStringList replyXmlArrayNode() const
QString replyXmlRoot() const
QVariant requestData() const
DataFormat requestFormat() const
QString requestFormatName() const
QString requestString() const
void setHeaderList(const QVariantList &iVarList)
void setReplyCodec(const QString &iCodecStr)
void setReplyFormat(DataFormat iFormat)
void setReplyFormatName(const QString &iFormatStr)
void setReplyXmlArrayNode(const QStringList &iNodesStrLst)
void setReplyXmlRoot(const QString &iRootStr)
void setRequestData(const QVariant &iVar)
void setRequestFromat(DataFormat iFormat)
void setRequestFromatName(const QString &iFormatStr)
void setRequestString(const QString &iStr)
void setUrl(const QString &iUrlStr)
QVariantMap toVariantMap() const
QString url() const
  • 1 public slot inherited from QObject

Static Public Members

QString dataFromat2Str(DataFormat iFormat)
THttpArgs fromVariantMap(const QVariantMap &iVarMap)
DataFormat str2DataFormat(const QString &iStr)
  • 10 static public members inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 2 signals inherited from QObject
  • 1 public variable inherited from QObject
  • 9 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

Member Type Documentation

enum THttpArgs::DataFormat

Member Function Documentation

THttpArgs::THttpArgs(QObject *iParent = 0)

Default constructs an instance of THttpArgs.

THttpArgs::THttpArgs(const THttpArgs &iOther)

Copy constructor.

THttpArgs::~THttpArgs()

Destroys the instance of THttpArgs.

[slot] void THttpArgs::addHeader(const QString &iHeaderNameStr, const QString &iHeaderValueStr)

[static] QString THttpArgs::dataFromat2Str(DataFormat iFormat)

[static] THttpArgs THttpArgs::fromVariantMap(const QVariantMap &iVarMap)

[slot] QVariantList THttpArgs::headerList() const

See also setHeaderList().

[slot] QString THttpArgs::replyCodec() const

See also setReplyCodec().

[slot] DataFormat THttpArgs::replyFormat() const

See also setReplyFormat().

[slot] QString THttpArgs::replyFormatName() const

See also setReplyFormatName().

[slot] QStringList THttpArgs::replyXmlArrayNode() const

See also setReplyXmlArrayNode().

[slot] QString THttpArgs::replyXmlRoot() const

See also setReplyXmlRoot().

[slot] QVariant THttpArgs::requestData() const

See also setRequestData().

[slot] DataFormat THttpArgs::requestFormat() const

[slot] QString THttpArgs::requestFormatName() const

[slot] QString THttpArgs::requestString() const

See also setRequestString().

[slot] void THttpArgs::setHeaderList(const QVariantList &iVarList)

See also headerList().

[slot] void THttpArgs::setReplyCodec(const QString &iCodecStr)

See also replyCodec().

[slot] void THttpArgs::setReplyFormat(DataFormat iFormat)

See also replyFormat().

[slot] void THttpArgs::setReplyFormatName(const QString &iFormatStr)

See also replyFormatName().

[slot] void THttpArgs::setReplyXmlArrayNode(const QStringList &iNodesStrLst)

See also replyXmlArrayNode().

[slot] void THttpArgs::setReplyXmlRoot(const QString &iRootStr)

See also replyXmlRoot().

[slot] void THttpArgs::setRequestData(const QVariant &iVar)

See also requestData().

[slot] void THttpArgs::setRequestFromat(DataFormat iFormat)

[slot] void THttpArgs::setRequestFromatName(const QString &iFormatStr)

[slot] void THttpArgs::setRequestString(const QString &iStr)

See also requestString().

[slot] void THttpArgs::setUrl(const QString &iUrlStr)

See also url().

[static] DataFormat THttpArgs::str2DataFormat(const QString &iStr)

[slot] QVariantMap THttpArgs::toVariantMap() const

[slot] QString THttpArgs::url() const

See also setUrl().

THttpArgs &THttpArgs::operator=(const THttpArgs &iOther)

Copy-assignment operator.