Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
Sonde::QmlTemplates::LibraryFile Struct Reference

A template or component found in a library. More...

#include <qmltemplates_p.h>

Public Member Functions

QString libraryLabel () const
 The name of its library: "project", "user", or a compiled-in one's.
QUrl url () const
 The URL the engine loads it from.

Public Attributes

QString name
 Template name, or component type name.
Library library = Library::Project
 Which library it is in.
QString path
 Its file.
bool component = false
 Whether it is a component.
QByteArray data
 Its content.
std::optional< Header > header
 A template's header, if it parses.
QString headerError
 Why a template's header doesn't parse.
QString untrusted
 Why it isn't trusted here; empty if it is.
bool hidden = false
 A template hidden by one of the same name in an earlier library.
QString compiled
 The compiled-in library it is in, or empty for project and user.

Detailed Description

A template or component found in a library.


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