106 template <
typename T>
109 const auto pluginsConst = plugins();
110 for (
Plugin *plugin : pluginsConst) {
111 auto p = qobject_cast<T>(plugin);
123 QVariantMap config() const noexcept;
138 bool inited() const noexcept;
143 Engine *engine() const noexcept;
154 static const
char *cutelystVersion() noexcept;
219 const
char *sourceText,
220 const
char *disambiguation =
nullptr,
251 void loadTranslations(const
QString &filename,
287 const
QString &prefix = QStringLiteral("."),
288 const
QString &suffix = QStringLiteral(".qm"));
350 virtual
bool postFork();
357 Headers &defaultHeaders() noexcept;
362 void addXCutelystVersionHeader();
371 bool registerPlugin(
Plugin *plugin);
383 bool registerController(
Controller *controller);
392 bool registerView(
View *view);
457 bool setup(
Engine *engine);
467 bool enginePostFork();
469 ApplicationPrivate *d_ptr;