D5030: kioexec: delegate upload to a kded module

Elvis Angelaccio noreply at phabricator.kde.org
Sun Mar 12 16:38:06 UTC 2017


elvisangelaccio created this revision.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.

REVISION SUMMARY
  This introduces a kded module that kioexec can use to watch the cached
  files for changes. This allows kioexec to be fully functional even with
  applications that fork on startup, like libreoffice.
  
  If the kded module is up and running, kioexec tells it (via dbus)
  which file should be watched for changes and where to upload it when
  it is actually changed. All the files watched by the module are deleted
  when the module is destroyed.
  
  As a bonus side effect, the dialog that asks if changes should be uploaded
  is now displayed every time the user saves the file.
  
  If dbus is not available or the kded module is otherwise disabled,
  then kioexec falls back on the old behavior.
  
  BUG: 370532
  FIXED-IN: 5.33

REPOSITORY
  R241 KIO

BRANCH
  master

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

AFFECTED FILES
  src/kioexec/CMakeLists.txt
  src/kioexec/kioexecd.cpp
  src/kioexec/kioexecd.h
  src/kioexec/kioexecd.json
  src/kioexec/main.cpp
  src/kioexec/main.h

To: elvisangelaccio, dfaure
Cc: #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170312/dc59eff0/attachment.html>


More information about the Kde-frameworks-devel mailing list