Manages date-based note storage and retrieval. More...
#include <Noter.h>
Public Member Functions | |
Noter ()=default | |
Default constructor. | |
Q_DISABLE_COPY_MOVE (Noter) | |
void | submitNoteInfo (const QDate &date, const NoteInfo &infos) |
Add or update a note for a specific date. | |
void | removeNoteInfo (const QDate &date) |
Remove a note for a specific date. | |
NoteInfo * | noteInfo (const QDate &date) const |
Retrieve a note for a specific date. | |
Manages date-based note storage and retrieval.
Provides functionality to store, retrieve, and manage notes associated with specific dates using a QMap-based storage system. The class is non-copyable and non-movable.
NoteInfo * Noter::noteInfo | ( | const QDate & | date | ) | const |
Noter::Q_DISABLE_COPY_MOVE | ( | Noter | ) |
Disables copying and moving
void Noter::removeNoteInfo | ( | const QDate & | date | ) |
Remove a note for a specific date.
date | The date whose note should be removed |
void Noter::submitNoteInfo | ( | const QDate & | date, |
const NoteInfo & | infos | ||
) |
Add or update a note for a specific date.
date | The date to associate with the note |
infos | The note content to store |