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

Method canLaunch

plugins/execute/nativeappconfig.cpp:281–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281bool NativeAppConfigType::canLaunch ( KDevelop::ProjectBaseItem* item ) const
282{
283 if( item->target() && item->target()->executable() ) {
284 return canLaunch( item->target()->executable()->builtUrl() );
285 }
286 return false;
287}
288
289bool NativeAppConfigType::canLaunch ( const QUrl& file ) const
290{

Callers 1

contextMenuExtensionMethod · 0.45

Calls 6

isLocalFileMethod · 0.80
toLocalFileMethod · 0.80
QFileInfoClass · 0.50
targetMethod · 0.45
executableMethod · 0.45
builtUrlMethod · 0.45

Tested by

no test coverage detected