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

Function stringToKind

kdevplatform/debugger/breakpoint/breakpoint.cpp:68–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66};
67
68static Breakpoint::BreakpointKind stringToKind(const QString& kindString)
69{
70 for (int i = 0; i < Breakpoint::LastBreakpointKind; ++i) {
71 if (kindString == BREAKPOINT_KINDS[i]) {
72 return (Breakpoint::BreakpointKind)i;
73 }
74 }
75 return Breakpoint::CodeBreakpoint;
76}
77
78Breakpoint::Breakpoint(BreakpointModel *model, BreakpointKind kind)
79 : m_model(model), m_enabled(true)

Callers 1

BreakpointMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected