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

Method setUrl

kdevplatform/shell/partdocument.cpp:209–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void PartDocument::setUrl(const QUrl& newUrl)
210{
211 const auto previousUrl = Sublime::UrlDocument::url();
212 Sublime::UrlDocument::setUrl(newUrl);
213 if(!prettyName().isEmpty())
214 setTitle(prettyName());
215 notifyUrlChanged(previousUrl);
216}
217
218void PartDocument::setPrettyName(const QString& name)
219{

Callers 4

validateSourcePageMethod · 0.45
ProjectSourcePageMethod · 0.45
locationChangedMethod · 0.45
projectChangedMethod · 0.45

Calls 2

urlFunction · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected