A class to store changes of the TextNodeContent. More...
#include <textcontentchange.h>
Public Member Functions | |
TextContentChange (QString change, TextNodeContent *content, TextEdit *edit) | |
void | updateContent () |
void | updateContentView () |
A class to store changes of the TextNodeContent.
Use this class to store changes of the TextNodeContent for a NotificationBox.
TextContentChange::TextContentChange | ( | QString | change, | |
TextNodeContent * | content, | |||
TextEdit * | edit | |||
) |
The constructor.
Construct a TextContentChange.
change | The changed content. | |
content | The unsaved TextNodeContent. | |
edit | The contentview to edit the content. |
void TextContentChange::updateContent | ( | ) | [virtual] |
Write the changes to the content.
Implements AbstractContentChange.
void TextContentChange::updateContentView | ( | ) | [virtual] |
Write the changes into the specified contentview.
Implements AbstractContentChange.