38 #if QT_VERSION < 0x050000
39 class QDeclarativeImageProvider;
41 class QQuickImageProvider;
108 #if QT_VERSION < 0x050000
std::shared_ptr< QuarkComponent > QuarkComponent_ptr
A shared pointer to a quark.
Interface for plugins providing quark components.
QList< QPair< QString, QObject * > > DynamicProps_
Dynamic properties to be exposed to the engine.
SysPath
Describes various root paths recognized by GetSysPath().
QList< QPair< QString, QObject * > > ContextProps_
Context-depended properties to be exposed to the engine.
QUrl GetSysPathUrl(SysPath path, const QString &subfolder, const QString &filename)
Returns path to the file in the given root path and subfolder.
QUrl Url_
URL of the main QML of this file.
Q_DECLARE_INTERFACE(IQuarkComponentProvider,"org.Deviant.LeechCraft.IQuarkComponentProvider/1.0")
QuarkComponent()
Initializes a null quark component.
QList< QuarkComponent_ptr > QuarkComponents_t
A list of quarks pointers.
virtual ~IQuarkComponentProvider()
Virtual destructor.
QList< QPair< QString, QDeclarativeImageProvider * > > ImageProviders_
The image providers to be exposed to the engine.
QList< QPair< QString, QVariant > > StaticProps_
Statis properties to be exposed to the engine.
QuarkComponent(const QString &subdir, const QString &filename)
Initializes a quark component for the given file path.
Describes a single quark.
~QuarkComponent()
Destroys the quark.