Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KDE/ghostwriter
/ saveFile
Method
saveFile
src/documentmanager.cpp:502–511 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
500
}
501
502
bool DocumentManager::saveFile()
503
{
504
Q_D(DocumentManager);
505
506
if (d->documentIsDraft()) {
507
return saveAs();
508
} else {
509
return save();
510
}
511
}
512
513
bool DocumentManager::save()
514
{
Callers
2
save
Method · 0.80
saveAs
Method · 0.80
Calls
9
Library
Class · 0.85
documentIsDraft
Method · 0.80
isValid
Method · 0.80
setTimestamp
Method · 0.80
fileName
Method · 0.80
filePath
Method · 0.45
position
Method · 0.45
updateLastOpened
Method · 0.45
write
Method · 0.45
Tested by
no test coverage detected