TreeFrogFramework
2.8
|
#include <tactionhelper.h>
Public Member Functions | |
virtual | ~TActionHelper () |
QUrl | url (const QString &controller=QString(), const QString &action=QString(), const QStringList &args=QStringList(), const QVariantMap &query=QVariantMap()) const |
QUrl | url (const QString &controller, const QString &action, const QStringList &args, const QString &query) const |
QUrl | url (const QString &controller, const QString &action, int arg) const |
QUrl | url (const QString &controller, const QString &action, uint arg) const |
QUrl | url (const QString &controller, const QString &action, int64_t arg) const |
QUrl | url (const QString &controller, const QString &action, uint64_t arg) const |
QUrl | url (const QString &controller, const QString &action, const QString &arg) const |
QUrl | url (const QString &controller, const QString &action, const QVariant &arg) const |
QUrl | url (const QString &controller, const QString &action, const QVariantMap &query) const |
QUrl | urla (const QString &action=QString(), const QStringList &args=QStringList(), const QVariantMap &query=QVariantMap()) const |
QUrl | urla (const QString &action, const QStringList &args, const QString &query) const |
QUrl | urla (const QString &action, int arg) const |
QUrl | urla (const QString &action, uint arg) const |
QUrl | urla (const QString &action, int64_t arg) const |
QUrl | urla (const QString &action, uint64_t arg) const |
QUrl | urla (const QString &action, const QString &arg) const |
QUrl | urla (const QString &action, const QVariant &arg) const |
QUrl | urla (const QString &action, const QVariantMap &query) const |
QUrl | urlq (const QVariantMap &query) const |
QUrl | urlq (const QString &query) const |
Protected Member Functions | |
virtual const TAbstractController * | controller () const =0 |
The TActionHelper class is the base class of all helpers.
|
inlinevirtual |
|
protectedpure virtual |
Implemented in TActionView.
|
inline |
This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.
QUrl TActionHelper::url | ( | const QString & | controller, |
const QString & | action, | ||
const QStringList & | arguments, | ||
const QString & | query | ||
) | const |
Returns a QUrl to action of controller with arguments args.
The current controller name is used, if the controller is a empty string. The current action name is used, if the action is a empty string. If query is not empty, sets the query string to query.
QUrl TActionHelper::url | ( | const QString & | controller, |
const QString & | action, | ||
const QVariant & | arg | ||
) | const |
This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
|
inline |
This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.
QUrl TActionHelper::url | ( | const QString & | controller = QString() , |
const QString & | action = QString() , |
||
const QStringList & | args = QStringList() , |
||
const QVariantMap & | query = QVariantMap() |
||
) | const |
Returns a QUrl to action of controller with arguments args.
The current controller name is used, if the controller is a empty string. The current action name is used, if the action is a empty string. If query is not empty, sets the query string to an encoded version of query.
|
inline |
This function overloads urla(const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
Returns a QUrl to action of the current controller with arguments args.
The current action name is used, if the action is a empty string. If query is not empty, sets the query string to an encoded version of query.
QUrl TActionHelper::urla | ( | const QString & | action, |
const QVariant & | arg | ||
) | const |
This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
This function overloads urla(const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
This function overloads urla(const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
This function overloads urla(const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
This function overloads urla(const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
This function overloads urla(const QString &, const QStringList &, const QVariantMap &) const.
|
inline |
Returns a QUrl to action of the current controller with arguments args.
The current action name is used, if the action is a empty string. If query is not empty, sets the query string to an encoded version of query.
|
inline |
This function overloads url(const QString &, const QString &, const QStringList &, const QString &) const.
Equivalent to url(QString(), QString(), QStringList(), query).
|
inline |
This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.
Equivalent to url(QString(), QString(), QStringList(), query).