TaskPriority.h header
#include <ew/core/TaskPriority.h>
Namespace ew::core
Enumerations
enum class TaskPriority { Low, Normal, High, Urgent }
The urgency of a task, used to sort and highlight it. New levels are additive. Serialized as a stable lowercase token.
Functions
std::optional< TaskPriority > ew::core::taskPriorityFromToken(QStringView token)
Parses a task priority from its serialization token; std::nullopt if unrecognized.
QString ew::core::toToken(TaskPriority priority)
Returns the stable serialization token for priority (e.g. "normal").