|
Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
|
Adds a note, or appends to an existing one. More...
Public Member Functions | |
| AppendCommand (NotesStore *store, QString title, QString text) | |
Appends text to note title of store, adding the note if needed. | |
| void | redo () override |
| Appends (or adds). | |
| void | undo () override |
| Takes it back. | |
Private Attributes | |
| NotesStore * | m_store |
| The notes. | |
| QString | m_title |
| Which note. | |
| QString | m_text |
| What to append. | |
| QString | m_before |
| Its text before, if it existed. | |
| bool | m_added = false |
| Whether redo() added the note. | |
Adds a note, or appends to an existing one.