6#include <QLatin1String>
67 qWarning(
"PhosphorLayout::LayoutId::extractAlgorithmId called with non-autotile id: %s", qUtf8Printable(
id));
132 qWarning(
"PhosphorLayout::LayoutId::extractTemplateId called with non-scrolling id: %s", qUtf8Printable(
id));
constexpr QLatin1String ScrollingId
Scrolling has no layout entity, so its whole id is the bare sentinel — it exists so a mode-only Scrol...
Definition LayoutId.h:37
QString extractTemplateId(const QString &id)
Extract the template layout UUID from a scrolling-family id.
Definition LayoutId.h:129
bool isScrollingFamily(const QString &id)
Prefix test over the whole scrolling family: the bare sentinel AND the prefixed template stamp.
Definition LayoutId.h:112
QString makeAutotileId(const QString &algorithmId)
Definition LayoutId.h:76
bool isScrolling(const QString &id)
Definition LayoutId.h:44
constexpr QLatin1String AutotilePrefix
Definition LayoutId.h:32
QString makeScrollingId(const QString &templateLayoutId)
Build the rules-visible template stamp.
Definition LayoutId.h:120
bool isAutotile(const QString &id)
Definition LayoutId.h:39
QString extractAlgorithmId(const QString &id)
Extract the algorithm id portion from an autotile preview id.
Definition LayoutId.h:64
Definition AlgorithmMetadata.h:10