Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
535
void 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
createUndoAction
Method · 0.80
createRedoAction
Method · 0.80
createUndoAction
Method · 0.80
createRedoAction
Method · 0.80
Calls
2
setText
Function · 0.85
isEmpty
Method · 0.45
Tested by
no test coverage detected