Interface functions should return an enum rather than a bool
Open, HighPublic

Description

There are at least 4 states that we should check:

  1. The operation was successful
  2. The operation was canceled by the user. This is currently handled by the cancelled() signal.
  3. KJob::kill() was called
  4. The operation failed (currently handled by the error() signal).