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

Dominik Haumann noreply at phabricator.kde.org
Sun Mar 10 21:20:27 GMT 2019

dhaumann added a comment.

  Just to be on the safe side: Does this also work, if you have two views visible showing the same document, and then the message appears? Does it also work, if you have two main windows showing the same document (View > New Window)?


> kateview.cpp:238-239
> +    connect(m_doc, SIGNAL(reloaded(KTextEditor::Document*)), SLOT(slotDocumentReloaded()));
> +    connect(m_doc, SIGNAL(aboutToReload(KTextEditor::Document*)), SLOT(slotDocumentAboutToReload()));
> +

Could you use new-style signal/slot syntax for new code? :)


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/7bbc39fe/attachment.html>

More information about the KWrite-Devel mailing list