15 QUrl url(
const QString &controller = QString(),
const QString &action = QString(),
16 const QStringList &args = QStringList(),
const QVariantMap &query = QVariantMap())
const;
17 QUrl url(
const QString &controller,
const QString &action,
const QStringList &args,
18 const QString &query)
const;
19 QUrl url(
const QString &controller,
const QString &action,
int arg)
const;
20 QUrl url(
const QString &controller,
const QString &action, uint arg)
const;
21 QUrl url(
const QString &controller,
const QString &action, int64_t arg)
const;
22 QUrl url(
const QString &controller,
const QString &action, uint64_t arg)
const;
23 QUrl url(
const QString &controller,
const QString &action,
const QString &arg)
const;
24 QUrl url(
const QString &controller,
const QString &action,
const QVariant &arg)
const;
25 QUrl url(
const QString &controller,
const QString &action,
const QVariantMap &query)
const;
27 QUrl urla(
const QString &action = QString(),
const QStringList &args = QStringList(),
28 const QVariantMap &query = QVariantMap())
const;
29 QUrl urla(
const QString &action,
const QStringList &args,
const QString &query)
const;
30 QUrl urla(
const QString &action,
int arg)
const;
31 QUrl urla(
const QString &action, uint arg)
const;
32 QUrl urla(
const QString &action, int64_t arg)
const;
33 QUrl urla(
const QString &action, uint64_t arg)
const;
34 QUrl urla(
const QString &action,
const QString &arg)
const;
35 QUrl urla(
const QString &action,
const QVariant &arg)
const;
36 QUrl urla(
const QString &action,
const QVariantMap &query)
const;
38 QUrl urlq(
const QVariantMap &query)
const;
39 QUrl urlq(
const QString &query)
const;
48 return url(
controller, action, QStringList(QString::number(arg)));
53 return url(
controller, action, QStringList(QString::number(arg)));
56 inline QUrl
TActionHelper::url(
const QString &controller,
const QString &action, int64_t arg)
const
58 return url(
controller, action, QStringList(QString::number(arg)));
61 inline QUrl
TActionHelper::url(
const QString &controller,
const QString &action, uint64_t arg)
const
63 return url(
controller, action, QStringList(QString::number(arg)));
66 inline QUrl
TActionHelper::url(
const QString &controller,
const QString &action,
const QString &arg)
const
71 inline QUrl
TActionHelper::url(
const QString &controller,
const QString &action,
const QVariantMap &query)
const
76 inline QUrl
TActionHelper::urla(
const QString &action,
const QStringList &args,
const QVariantMap &query)
const
78 return url(QString(), action, args, query);
81 inline QUrl
TActionHelper::urla(
const QString &action,
const QStringList &args,
const QString &query)
const
83 return url(QString(), action, args, query);
88 return url(QString(), action, QStringList(arg));
93 return url(QString(), action, QStringList(QString::number(arg)));
98 return url(QString(), action, QStringList(QString::number(arg)));
103 return url(QString(), action, QStringList(QString::number(arg)));
108 return url(QString(), action, QStringList(QString::number(arg)));
113 return url(QString(), action, QStringList(), query);
118 return url(QString(), QString(), QStringList(), query);
123 return url(QString(), QString(), QStringList(), query);
The TAbstractController class is the abstract base class of controllers, providing functionality comm...
Definition: tabstractcontroller.h:13
The TActionHelper class is the base class of all helpers.
Definition: tactionhelper.h:12
virtual const TAbstractController * controller() const =0
QUrl urlq(const QVariantMap &query) const
This function overloads url(const QString &, const QString &, const QStringList &,...
Definition: tactionhelper.h:116
virtual ~TActionHelper()
Definition: tactionhelper.h:14
QUrl 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.
Definition: tactionhelper.cpp:27
QUrl urla(const QString &action=QString(), const QStringList &args=QStringList(), const QVariantMap &query=QVariantMap()) const
Returns a QUrl to action of the current controller with arguments args.
Definition: tactionhelper.h:76
#define T_CORE_EXPORT
Definition: tdeclexport.h:28