TreeFrogFramework  1.18
Public Member Functions | Protected Member Functions | List of all members
TActionHelper Class Referenceabstract

#include <tactionhelper.h>

Inheritance diagram for TActionHelper:
Inheritance graph
[legend]

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, qint64 arg) const
 
QUrl url (const QString &controller, const QString &action, quint64 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, qint64 arg) const
 
QUrl urla (const QString &action, quint64 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 TActionControllercontroller () const =0
 

Detailed Description

The TActionHelper class is the base class of all helpers.

Constructor & Destructor Documentation

virtual TActionHelper::~TActionHelper ( )
inlinevirtual

Member Function Documentation

virtual const TActionController* TActionHelper::controller ( ) const
protectedpure virtual

Implemented in TActionView.

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.

QUrl TActionHelper::url ( const QString &  controller,
const QString &  action,
const QStringList &  args,
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,
int  arg 
) const
inline
QUrl TActionHelper::url ( const QString &  controller,
const QString &  action,
uint  arg 
) const
inline
QUrl TActionHelper::url ( const QString &  controller,
const QString &  action,
qint64  arg 
) const
inline
QUrl TActionHelper::url ( const QString &  controller,
const QString &  action,
quint64  arg 
) const
inline
QUrl TActionHelper::url ( const QString &  controller,
const QString &  action,
const QString &  arg 
) const
inline
QUrl TActionHelper::url ( const QString &  controller,
const QString &  action,
const QVariant &  arg 
) const
QUrl TActionHelper::url ( const QString &  controller,
const QString &  action,
const QVariantMap &  query 
) const
inline
QUrl TActionHelper::urla ( const QString &  action = QString(),
const QStringList &  args = QStringList(),
const QVariantMap &  query = 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 QStringList &  args,
const QString &  query 
) 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,
int  arg 
) const
inline
QUrl TActionHelper::urla ( const QString &  action,
uint  arg 
) const
inline
QUrl TActionHelper::urla ( const QString &  action,
qint64  arg 
) const
inline
QUrl TActionHelper::urla ( const QString &  action,
quint64  arg 
) const
inline
QUrl TActionHelper::urla ( const QString &  action,
const QString &  arg 
) const
inline
QUrl TActionHelper::urla ( const QString &  action,
const QVariant &  arg 
) const
QUrl TActionHelper::urla ( const QString &  action,
const QVariantMap &  query 
) const
inline
QUrl TActionHelper::urlq ( const QVariantMap &  query) const
inline

This function overloads url(const QString &, const QString &, const QStringList &, const QVariantMap &) const.

Equivalent to url(QString(), QString(), QStringList(), query).

QUrl TActionHelper::urlq ( const QString &  query) const
inline

This function overloads url(const QString &, const QString &, const QStringList &, const QString &) const.

Equivalent to url(QString(), QString(), QStringList(), query).


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