Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
LayoutId.h File Reference
#include <QLatin1String>
#include <QString>
#include <QtGlobal>

Go to the source code of this file.

Namespaces

namespace  PhosphorLayout
 
namespace  PhosphorLayout::LayoutId
 LayoutPreview::id namespace utilities.
 

Functions

bool PhosphorLayout::LayoutId::isAutotile (const QString &id)
 
QString PhosphorLayout::LayoutId::extractAlgorithmId (const QString &id)
 Extract the algorithm id portion from an autotile preview id.
 
QString PhosphorLayout::LayoutId::makeAutotileId (const QString &algorithmId)
 
QString PhosphorLayout::LayoutId::normalizeAlgorithmId (const QString &id)
 Normalize an algorithm-id-or-prefixed-layout-id into the canonical autotile:<algo> form: pass-through when already prefixed, prefix when raw.
 

Variables

constexpr QLatin1String PhosphorLayout::LayoutId::AutotilePrefix {"autotile:"}