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

Deletes a note. More...

Inheritance diagram for RemoveCommand:

Public Member Functions

 RemoveCommand (NotesStore *store, QString title)
 Deletes note title of store.
void redo () override
 Deletes it, remembering where it was.
void undo () override
 Puts it back where it was.

Private Attributes

NotesStore * m_store
 The notes.
QString m_title
 Which note.
Note m_note
 The note, once deleted.
qsizetype m_at = -1
 Where it was.

Detailed Description

Deletes a note.


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