ObjectTitle.h header
#include <ew/app/ObjectTitle.h>
Namespace ew::app
Functions
QString ew::app::objectTitle(const ew::core::ContentObject *object)
Returns the display title of object for any titled content type – a document's or source's or map's or spreadsheet's or random-table's or stat-block's or task's or canvas's title, or an entity's or language's name. An empty string if object is null or is an untitled type (a bare ContentObject, a comment, media). Shared so every generic surface (Quick Open search, backlinks, pins) titles – and finds – objects the same way, whatever their type.