35 explicit Dispatcher(QObject *parent =
nullptr);
45 [[nodiscard]]
Action *getAction(QStringView name, QStringView nameSpace = {})
const;
50 [[nodiscard]]
Action *getActionByPath(QStringView path)
const;
56 [[nodiscard]]
ActionList getActions(QStringView name, QStringView nameSpace)
const;
61 [[nodiscard]]
Controller *controller(QStringView name)
const;
66 [[nodiscard]] QList<Controller *> controllers()
const;
76 [[nodiscard]] QString uriForAction(
Action *action,
const QStringList &captures)
const;
89 [[nodiscard]] QVector<DispatchType *> dispatchers()
const;
95 void setupActions(
const QVector<Controller *> &controllers,
96 const QVector<DispatchType *> &dispatchers,
113 bool forward(
Context *c, QStringView opname);
118 void prepareAction(
Context *c);
124 DispatcherPrivate *d_ptr;