D19517: DocumentPrivate: Add option "Enable Auto Reload" to ModOnHdPrompt

Dominik Haumann noreply at phabricator.kde.org
Sun Mar 10 18:44:05 GMT 2019


dhaumann added inline comments.

INLINE COMMENTS

> katedocument.h:1086
>      bool m_modOnHd = false;
> +    bool m_autoReloadMode = false;
> +    QTimer m_autoReloadThrottle;

What about this: make this a QAction with setCheckable(true). Then, you could reuse this action in the KTextEditor::Message. You can put this action then into the menu as well.

...then again, this could also be in tbe DocumentConfig just like many other settings we have.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19517

To: loh.tar, #ktexteditor, cullmann
Cc: dhaumann, cullmann, kwrite-devel, kde-frameworks-devel, #ktexteditor, gennad, domson, michaelh, ngraham, bruns, demsking, sars
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190310/1dc92820/attachment.html>


More information about the KWrite-Devel mailing list