aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 909b04b..4b1ef8f 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -722,6 +722,19 @@ private:
/// model's paths and tags come from the query, so a row that has not been
/// re-queried carries stale values and a reply built from one would go to
/// the wrong recipients.
+ /// Opens the selected draft in a composer to finish it (item 153).
+ /// Whether the current row's file sits in a configured drafts folder.
+ bool currentMessageIsADraft() const;
+
+ /// Whether \p index names a file in a configured drafts folder.
+ bool indexIsADraft(const QModelIndex &index) const;
+
+ void editDraft();
+
+ /// Opens the draft named by \p index, which double-click uses:
+ /// the clicked row is not necessarily the current one.
+ void editDraftAt(const QModelIndex &index);
+
void requestMessageForCompose(const QString &messageId,
ComposeContext::Kind kind, bool quote);