List of all members | Public Slots | Public Member Functions
QUrlProto Class Reference

#include <qurlproto.h>

Inheritance diagram for QUrlProto:
QObject QScriptable

Public Slots

Q_INVOKABLE QString toString (QUrl::FormattingOptions options=QUrl::None) const
 

Public Member Functions

 QUrlProto (QObject *parent)
 
virtual ~QUrlProto ()
 
Q_INVOKABLE void addEncodedQueryItem (const QByteArray &key, const QByteArray &value)
 
Q_INVOKABLE void addQueryItem (const QString &key, const QString &value)
 
Q_INVOKABLE QList< QByteArray > allEncodedQueryItemValues (const QByteArray &key) const
 
Q_INVOKABLE QStringList allQueryItemValues (const QString &key) const
 
Q_INVOKABLE QString authority () const
 
Q_INVOKABLE void clear ()
 
Q_INVOKABLE QByteArray encodedFragment () const
 
Q_INVOKABLE QByteArray encodedHost () const
 
Q_INVOKABLE QByteArray encodedPassword () const
 
Q_INVOKABLE QByteArray encodedPath () const
 
Q_INVOKABLE QByteArray encodedQuery () const
 
Q_INVOKABLE QList< QPair< QByteArray, QByteArray > > encodedQueryItems () const
 
Q_INVOKABLE QByteArray encodedQueryItemValue (const QByteArray &key) const
 
Q_INVOKABLE QByteArray encodedUserName () const
 
Q_INVOKABLE QString errorString () const
 
Q_INVOKABLE QString fragment () const
 
Q_INVOKABLE bool hasEncodedQueryItem (const QByteArray &key) const
 
Q_INVOKABLE bool hasFragment () const
 
Q_INVOKABLE bool hasQuery () const
 
Q_INVOKABLE bool hasQueryItem (const QString &key) const
 
Q_INVOKABLE QString host () const
 
Q_INVOKABLE bool isEmpty () const
 
Q_INVOKABLE bool isParentOf (const QUrl &childUrl) const
 
Q_INVOKABLE bool isRelative () const
 
Q_INVOKABLE bool isValid () const
 
Q_INVOKABLE QString password () const
 
Q_INVOKABLE QString path () const
 
Q_INVOKABLE int port () const
 
Q_INVOKABLE int port (int defaultPort) const
 
Q_INVOKABLE QList< QPair< QString, QString > > queryItems () const
 
Q_INVOKABLE QString queryItemValue (const QString &key) const
 
Q_INVOKABLE char queryPairDelimiter () const
 
Q_INVOKABLE char queryValueDelimiter () const
 
Q_INVOKABLE void removeAllEncodedQueryItems (const QByteArray &key)
 
Q_INVOKABLE void removeAllQueryItems (const QString &key)
 
Q_INVOKABLE void removeEncodedQueryItem (const QByteArray &key)
 
Q_INVOKABLE void removeQueryItem (const QString &key)
 
Q_INVOKABLE QUrl resolved (const QUrl &relative) const
 
Q_INVOKABLE QString scheme () const
 
Q_INVOKABLE void setAuthority (const QString &authority)
 
Q_INVOKABLE void setEncodedFragment (const QByteArray &fragment)
 
Q_INVOKABLE void setEncodedHost (const QByteArray &host)
 
Q_INVOKABLE void setEncodedPassword (const QByteArray &password)
 
Q_INVOKABLE void setEncodedPath (const QByteArray &path)
 
Q_INVOKABLE void setEncodedQuery (const QByteArray &query)
 
Q_INVOKABLE void setEncodedQueryItems (const QList< QPair< QByteArray, QByteArray > > &query)
 
Q_INVOKABLE void setEncodedUrl (const QByteArray &encodedUrl)
 
Q_INVOKABLE void setEncodedUrl (const QByteArray &encodedUrl, QUrl::ParsingMode parsingMode)
 
Q_INVOKABLE void setEncodedUserName (const QByteArray &userName)
 
Q_INVOKABLE void setFragment (const QString &fragment)
 
Q_INVOKABLE void setHost (const QString &host)
 
Q_INVOKABLE void setPassword (const QString &password)
 
Q_INVOKABLE void setPath (const QString &path)
 
Q_INVOKABLE void setPort (int port)
 
Q_INVOKABLE void setQueryDelimiters (char valueDelimiter, char pairDelimiter)
 
Q_INVOKABLE void setQueryItems (const QList< QPair< QString, QString > > &query)
 
Q_INVOKABLE void setQueryItems (const QVariantMap &map)
 
Q_INVOKABLE void setScheme (const QString &scheme)
 
Q_INVOKABLE void setUrl (const QString &url)
 
Q_INVOKABLE void setUrl (const QString &url, QUrl::ParsingMode parsingMode)
 
Q_INVOKABLE void setUserInfo (const QString &userInfo)
 
Q_INVOKABLE void setUserName (const QString &userName)
 
Q_INVOKABLE QByteArray toEncoded (QUrl::FormattingOptions options=QUrl::None) const
 
Q_INVOKABLE QString toLocalFile () const
 
Q_INVOKABLE QString userInfo () const
 
Q_INVOKABLE QString userName () const
 

Constructor & Destructor Documentation

◆ QUrlProto()

QUrlProto::QUrlProto ( QObject parent)

◆ ~QUrlProto()

QUrlProto::~QUrlProto ( )
virtual

Member Function Documentation

◆ addEncodedQueryItem()

void QUrlProto::addEncodedQueryItem ( const QByteArray &  key,
const QByteArray &  value 
)

◆ addQueryItem()

void QUrlProto::addQueryItem ( const QString &  key,
const QString &  value 
)

◆ allEncodedQueryItemValues()

QList< QByteArray > QUrlProto::allEncodedQueryItemValues ( const QByteArray &  key) const

◆ allQueryItemValues()

QStringList QUrlProto::allQueryItemValues ( const QString &  key) const

◆ authority()

QString QUrlProto::authority ( ) const

◆ clear()

void QUrlProto::clear ( )

◆ encodedFragment()

QByteArray QUrlProto::encodedFragment ( ) const

◆ encodedHost()

QByteArray QUrlProto::encodedHost ( ) const

◆ encodedPassword()

QByteArray QUrlProto::encodedPassword ( ) const

◆ encodedPath()

QByteArray QUrlProto::encodedPath ( ) const

◆ encodedQuery()

QByteArray QUrlProto::encodedQuery ( ) const

◆ encodedQueryItems()

QList< QPair< QByteArray, QByteArray > > QUrlProto::encodedQueryItems ( ) const

◆ encodedQueryItemValue()

QByteArray QUrlProto::encodedQueryItemValue ( const QByteArray &  key) const

◆ encodedUserName()

QByteArray QUrlProto::encodedUserName ( ) const

◆ errorString()

QString QUrlProto::errorString ( ) const

◆ fragment()

QString QUrlProto::fragment ( ) const

◆ hasEncodedQueryItem()

bool QUrlProto::hasEncodedQueryItem ( const QByteArray &  key) const

◆ hasFragment()

bool QUrlProto::hasFragment ( ) const

◆ hasQuery()

bool QUrlProto::hasQuery ( ) const

◆ hasQueryItem()

bool QUrlProto::hasQueryItem ( const QString &  key) const

◆ host()

QString QUrlProto::host ( ) const

◆ isEmpty()

bool QUrlProto::isEmpty ( ) const

◆ isParentOf()

bool QUrlProto::isParentOf ( const QUrl &  childUrl) const

◆ isRelative()

bool QUrlProto::isRelative ( ) const

◆ isValid()

bool QUrlProto::isValid ( ) const

◆ password()

QString QUrlProto::password ( ) const

◆ path()

QString QUrlProto::path ( ) const

◆ port() [1/2]

int QUrlProto::port ( ) const

◆ port() [2/2]

int QUrlProto::port ( int  defaultPort) const

◆ queryItems()

QList< QPair< QString, QString > > QUrlProto::queryItems ( ) const

◆ queryItemValue()

QString QUrlProto::queryItemValue ( const QString &  key) const

◆ queryPairDelimiter()

char QUrlProto::queryPairDelimiter ( ) const

◆ queryValueDelimiter()

char QUrlProto::queryValueDelimiter ( ) const

◆ removeAllEncodedQueryItems()

void QUrlProto::removeAllEncodedQueryItems ( const QByteArray &  key)

◆ removeAllQueryItems()

void QUrlProto::removeAllQueryItems ( const QString &  key)

◆ removeEncodedQueryItem()

void QUrlProto::removeEncodedQueryItem ( const QByteArray &  key)

◆ removeQueryItem()

void QUrlProto::removeQueryItem ( const QString &  key)

◆ resolved()

QUrl QUrlProto::resolved ( const QUrl &  relative) const

◆ scheme()

QString QUrlProto::scheme ( ) const

◆ setAuthority()

void QUrlProto::setAuthority ( const QString &  authority)

◆ setEncodedFragment()

void QUrlProto::setEncodedFragment ( const QByteArray &  fragment)

◆ setEncodedHost()

void QUrlProto::setEncodedHost ( const QByteArray &  host)

◆ setEncodedPassword()

void QUrlProto::setEncodedPassword ( const QByteArray &  password)

◆ setEncodedPath()

void QUrlProto::setEncodedPath ( const QByteArray &  path)

◆ setEncodedQuery()

void QUrlProto::setEncodedQuery ( const QByteArray &  query)

◆ setEncodedQueryItems()

void QUrlProto::setEncodedQueryItems ( const QList< QPair< QByteArray, QByteArray > > &  query)

◆ setEncodedUrl() [1/2]

void QUrlProto::setEncodedUrl ( const QByteArray &  encodedUrl)

◆ setEncodedUrl() [2/2]

void QUrlProto::setEncodedUrl ( const QByteArray &  encodedUrl,
QUrl::ParsingMode  parsingMode 
)

◆ setEncodedUserName()

void QUrlProto::setEncodedUserName ( const QByteArray &  userName)

◆ setFragment()

void QUrlProto::setFragment ( const QString &  fragment)

◆ setHost()

void QUrlProto::setHost ( const QString &  host)

◆ setPassword()

void QUrlProto::setPassword ( const QString &  password)

◆ setPath()

void QUrlProto::setPath ( const QString &  path)

◆ setPort()

void QUrlProto::setPort ( int  port)

◆ setQueryDelimiters()

void QUrlProto::setQueryDelimiters ( char  valueDelimiter,
char  pairDelimiter 
)

◆ setQueryItems() [1/2]

void QUrlProto::setQueryItems ( const QList< QPair< QString, QString > > &  query)

◆ setQueryItems() [2/2]

void QUrlProto::setQueryItems ( const QVariantMap &  map)

◆ setScheme()

void QUrlProto::setScheme ( const QString &  scheme)

◆ setUrl() [1/2]

void QUrlProto::setUrl ( const QString &  url)

◆ setUrl() [2/2]

void QUrlProto::setUrl ( const QString &  url,
QUrl::ParsingMode  parsingMode 
)

◆ setUserInfo()

void QUrlProto::setUserInfo ( const QString &  userInfo)

◆ setUserName()

void QUrlProto::setUserName ( const QString &  userName)

◆ toEncoded()

QByteArray QUrlProto::toEncoded ( QUrl::FormattingOptions  options = QUrl::None) const

◆ toLocalFile()

QString QUrlProto::toLocalFile ( ) const

◆ toString

QString QUrlProto::toString ( QUrl::FormattingOptions  options = QUrl::None) const
slot

◆ userInfo()

QString QUrlProto::userInfo ( ) const

◆ userName()

QString QUrlProto::userName ( ) const

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

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17