aboutsummaryrefslogtreecommitdiffstats
path: root/src/composewindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/composewindow.h')
-rw-r--r--src/composewindow.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/composewindow.h b/src/composewindow.h
index 2eaeeea..c8cc12a 100644
--- a/src/composewindow.h
+++ b/src/composewindow.h
@@ -189,6 +189,18 @@ signals:
/// \p path is the file that was removed, absolute.
void draftRemoved(const QString &path);
+ /// A send succeeded, and the message it answers should record that.
+ ///
+ /// Item 68. \p sourceMessageId is the Message-ID of the message replied to
+ /// or forwarded, \p tag is "replied" or "passed". The window emits rather
+ /// than writing, because a tag write belongs to the one applyTags path in
+ /// MainWindow and the composer owns no worker.
+ ///
+ /// Emitted only after the send itself succeeded: a failed send leaves the
+ /// source untouched, since the flag asserts that the mail went.
+ void sourceMessageAnswered(const QString &sourceMessageId,
+ const QString &tag);
+
protected:
/// The one place the registry is told, whichever route closes the window.
void closeEvent(QCloseEvent *event) override;