\begin{tikzpicture} \node[umlDetail] { \textbf{tkrEditHistory}\quad\textit{final; Model support; owned by document} \nodepart{second}\textbf{Responsibilities}\\ Retain exact session snapshots and operation descriptions.\\ Prepare a new entry without losing the existing redo branch on failure.\\ Supply restoration targets; move cursor only through the owning document. \nodepart{third}\ttfamily - m\_vecEntries: QVector\\ - m\_nCursor: qsizetype = 0\\ \normalfont Entry contains before/after QByteArray and QString description. \nodepart{fourth}\ttfamily + canUndo(), canRedo() const: bool\\ + undoDescription(), redoDescription() const: QString\\[3pt] \normalfont\textbf{Private; friend tkrTikzDocument}\ttfamily\\ - record(baBefore, baAfter: const QByteArray\&,\\ \hspace*{1em}strDescription: const QString\&): void\\ - restorationSource(bRedo: bool) const: QByteArray\\ - advance(bRedo: bool): void\\ - clear(): void\\ - swap(historyOther: tkrEditHistory\&): void [noexcept] }; \end{tikzpicture}