MCPcopy Create free account
hub / github.com/KDE/okular / caretSymbolToString

Function caretSymbolToString

core/annotations.cpp:2750–2759  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2748};
2749
2750static QString caretSymbolToString(CaretAnnotation::CaretSymbol symbol)
2751{
2752 switch (symbol) {
2753 case CaretAnnotation::None:
2754 return QStringLiteral("None");
2755 case CaretAnnotation::P:
2756 return QStringLiteral("P");
2757 }
2758 return QString();
2759}
2760
2761static CaretAnnotation::CaretSymbol caretSymbolFromString(const QString &symbol)
2762{

Callers 1

storeMethod · 0.85

Calls 1

QStringClass · 0.70

Tested by

no test coverage detected