MCPcopy Create free account
hub / github.com/KDE/krita / setPrefixedText

Method setPrefixedText

libs/command/kundo2stack.cpp:535–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533}
534
535void KUndo2Action::setPrefixedText(const QString &text)
536{
537 if (text.isEmpty())
538 setText(m_defaultText);
539 else
540 setText(m_textTemplate.arg(text));
541}
542
543#endif // QT_NO_ACTION
544

Callers 4

createUndoActionMethod · 0.80
createRedoActionMethod · 0.80
createUndoActionMethod · 0.80
createRedoActionMethod · 0.80

Calls 2

setTextFunction · 0.85
isEmptyMethod · 0.45

Tested by

no test coverage detected