MCPcopy Create free account
hub / github.com/alpha-liu-01/SpeedyNote / Document

Method Document

source/core/Document.cpp:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19// ===== Constructor & Destructor =====
20
21Document::Document()
22{
23 // Generate unique ID
24 id = QUuid::createUuid().toString(QUuid::WithoutBraces);
25
26 // Set timestamps
27 created = QDateTime::currentDateTime();
28 lastModified = created;
29
30#ifdef SPEEDYNOTE_DEBUG
31 qDebug() << "Document CREATED:" << this << "id=" << id.left(8);
32#endif
33}
34
35Document::~Document()
36{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected