MCPcopy Create free account
hub / github.com/KDE/kdevelop / setPrettyName

Method setPrettyName

kdevplatform/shell/partdocument.cpp:218–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218void PartDocument::setPrettyName(const QString& name)
219{
220 KDevelop::IDocument::setPrettyName(name);
221 // Re-set the url, to trigger the whole chain
222 if(!name.isEmpty())
223 setTitle(name);
224 else
225 setTitle(url().fileName());
226}
227
228QMap<QWidget*, KParts::Part*> PartDocument::partForView() const
229{

Callers 5

showStashMethod · 0.45
createViewMethod · 0.45
closeReviewMethod · 0.45
updateReviewMethod · 0.45
openScratchDocumentMethod · 0.45

Calls 3

urlFunction · 0.85
isEmptyMethod · 0.45
fileNameMethod · 0.45

Tested by

no test coverage detected