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