Sonde v1.1.0
Embeddable Model Context Protocol server for Qt applications
Loading...
Searching...
No Matches
AppendCommand Class Reference

Adds a note, or appends to an existing one. More...

Inheritance diagram for AppendCommand:

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.

Detailed Description

Adds a note, or appends to an existing one.


The documentation for this class was generated from the following file: