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

Function actionsFromString

plugins/perforce/perforceplugin.cpp:77–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76
77VcsItemEvent::Actions actionsFromString(QString const& changeDescription)
78{
79 if(changeDescription == QLatin1String("add"))
80 return VcsItemEvent::Added;
81 if(changeDescription == QLatin1String("delete"))
82 return VcsItemEvent::Deleted;
83 return VcsItemEvent::Modified;
84}
85
86QDir urlDir(const QUrl& url)
87{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected