~mandel/ubuntu-download-manager/remove-process-factory-pimpl

« back to all changes in this revision

Viewing changes to libubuntudownloadmanager/downloads/download_adaptor.h

  • Committer: Tarmac
  • Author(s): Manuel de la Pena
  • Date: 2013-11-08 16:02:54 UTC
  • mfrom: (165.3.6 post-processing-signal)
  • Revision ID: tarmac-20131108160254-l0e8rinokban39vk
Provide a processing signal for when the downloading is done and a process is being executed. Fixes: https://bugs.launchpad.net/bugs/1248770.

Approved by Alejandro J. Cura, PS Jenkins bot, Roberto Alsina, Diego Sarmentero.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
"      <arg direction=\"out\" type=\"t\" name=\"received\"/>\n"
83
83
"      <arg direction=\"out\" type=\"t\" name=\"total\"/>\n"
84
84
"    </signal>\n"
 
85
"    <signal name=\"processing\">\n"
 
86
"      <arg direction=\"out\" type=\"s\" name=\"path\"/>\n"
 
87
"    </signal>\n"
85
88
"  </interface>\n"
86
89
        "")
87
90
public:
106
109
    void error(const QString &error);
107
110
    void finished(const QString &path);
108
111
    void paused(bool success);
 
112
    void processing(const QString &path);
109
113
    void progress(qulonglong received, qulonglong total);
110
114
    void resumed(bool success);
111
115
    void started(bool success);