~george-edison55/twistload/trunk

« back to all changes in this revision

Viewing changes to src/download/download.h

  • Committer: Nathan Osman
  • Date: 2017-07-21 19:02:24 UTC
  • Revision ID: git-v1:dc9f552f566f371322850cb781c53413250107a0
Nearly finish initial implementation of Download class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        /// File is being downloaded
64
64
        Downloading,
65
65
        /// An error has occurred
66
 
        Failed
 
66
        Failed,
 
67
        /// The download completed
 
68
        Succeeded
67
69
    };
68
70
 
69
71
    /**
145
147
 
146
148
private Q_SLOTS:
147
149
 
148
 
    void onFinished();
 
150
    void onProbeFinished();
149
151
 
150
152
    void onError(const QString &message);
151
153
    void onAllocationProgress(int value);
152
154
    void onAllocationSucceeded();
153
155
 
154
156
    void onDataReceived(const QByteArray &data, qint64 offset);
 
157
    void onFragmentError(const QString &message);
 
158
    void onFragmentFinished();
155
159
 
156
160
private:
157
161