diff options
author | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2019-09-18 14:37:49 +0300 |
---|---|---|
committer | Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com> | 2019-09-18 14:37:49 +0300 |
commit | 9d6780d6c10a378e05963409cc2f511b648f9f6c (patch) | |
tree | 4d74da3a2e89f1f2334d202cd0e5b733bfbc66a4 /src/gui/sharelinkwidget.h | |
parent | 179bbffd761292fa8fd1ebf0c17b312c92b48911 (diff) |
Finishing PR #1154 adding note when sharing
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
Diffstat (limited to 'src/gui/sharelinkwidget.h')
-rw-r--r-- | src/gui/sharelinkwidget.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/sharelinkwidget.h b/src/gui/sharelinkwidget.h index 276dc88a0..34b2b3c3f 100644 --- a/src/gui/sharelinkwidget.h +++ b/src/gui/sharelinkwidget.h @@ -73,6 +73,9 @@ private slots: void slotPasswordSet(); void slotPasswordSetError(int code, const QString &message); + void slotCreateNote(); + void slotNoteSet(); + void slotSetExpireDate(); void slotExpireDateSet(); @@ -94,6 +97,10 @@ private: void showPasswordOptions(bool show); void togglePasswordOptions(bool enable); + void showNoteOptions(bool show); + void toggleNoteOptions(bool enable); + void setNote(const QString ¬e); + void showExpireDateOptions(bool show); void toggleExpireDateOptions(bool enable); @@ -119,6 +126,7 @@ private: bool _passwordRequired; bool _expiryRequired; bool _namesSupported; + bool _noteRequired; QMenu *_linkContextMenu; QAction *_readOnlyLinkAction; @@ -129,6 +137,7 @@ private: QAction *_expirationDateLinkAction; QAction *_unshareLinkAction; QAction *_addAnotherLinkAction; + QAction *_noteLinkAction; }; } |