okular
#include <documentcommands_p.h>
Public Member Functions | |
EditTextCommand (const QString &newContents, int newCursorPos, const QString &prevContents, int prevCursorPos, int prevAnchorPos) | |
virtual int | id () const =0 |
virtual bool | mergeWith (const QUndoCommand *uc) |
virtual void | redo ()=0 |
virtual void | undo ()=0 |
Public Member Functions inherited from QUndoCommand | |
QUndoCommand (QUndoCommand *parent) | |
QUndoCommand (const QString &text, QUndoCommand *parent) | |
virtual | ~QUndoCommand () |
QString | actionText () const |
const QUndoCommand * | child (int index) const |
int | childCount () const |
void | setText (const QString &text) |
QString | text () const |
Protected Attributes | |
EditType | m_editType |
QString | m_newContents |
int | m_newCursorPos |
int | m_prevAnchorPos |
QString | m_prevContents |
int | m_prevCursorPos |
Detailed Description
Definition at line 103 of file documentcommands_p.h.
Constructor & Destructor Documentation
Okular::EditTextCommand::EditTextCommand | ( | const QString & | newContents, |
int | newCursorPos, | ||
const QString & | prevContents, | ||
int | prevCursorPos, | ||
int | prevAnchorPos | ||
) |
Definition at line 215 of file documentcommands.cpp.
Member Function Documentation
|
pure virtual |
Reimplemented from QUndoCommand.
Implemented in Okular::EditFormComboCommand, Okular::EditFormTextCommand, and Okular::EditAnnotationContentsCommand.
|
virtual |
Reimplemented from QUndoCommand.
Reimplemented in Okular::EditFormComboCommand, Okular::EditFormTextCommand, and Okular::EditAnnotationContentsCommand.
Definition at line 263 of file documentcommands.cpp.
|
pure virtual |
Reimplemented from QUndoCommand.
Implemented in Okular::EditFormComboCommand, Okular::EditFormTextCommand, and Okular::EditAnnotationContentsCommand.
|
pure virtual |
Reimplemented from QUndoCommand.
Implemented in Okular::EditFormComboCommand, Okular::EditFormTextCommand, and Okular::EditAnnotationContentsCommand.
Member Data Documentation
|
protected |
Definition at line 137 of file documentcommands_p.h.
|
protected |
Definition at line 132 of file documentcommands_p.h.
|
protected |
Definition at line 133 of file documentcommands_p.h.
|
protected |
Definition at line 136 of file documentcommands_p.h.
|
protected |
Definition at line 134 of file documentcommands_p.h.
|
protected |
Definition at line 135 of file documentcommands_p.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:19:26 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.