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

Method editFormText

core/document.cpp:3937–3941  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3935}
3936
3937void Document::editFormText(int pageNumber, Okular::FormFieldText *form, const QString &newContents, int newCursorPos, int prevCursorPos, int prevAnchorPos)
3938{
3939 QUndoCommand *uc = new EditFormTextCommand(this->d, form, pageNumber, newContents, newCursorPos, form->text(), prevCursorPos, prevAnchorPos);
3940 d->m_undoStack->push(uc);
3941}
3942
3943void Document::editFormText(int pageNumber, Okular::FormFieldText *form, const QString &newContents, int newCursorPos, int prevCursorPos, int prevAnchorPos, const QString &oldContents)
3944{

Callers 3

verifyTextFormMethod · 0.80
testSimpleCalculateMethod · 0.80

Calls 1

textMethod · 0.45

Tested by 3

verifyTextFormMethod · 0.64
testSimpleCalculateMethod · 0.64