Differences From Artifact [290f3715f5]:

  • File src/Page.hxx — part of check-in [6691614317] at 2018-11-08 09:58:19 on branch trunk — Page: run all thumbnail tasks in a single thread (user: fifr size: 1935)

To Artifact [0c61f063a5]:

  • File src/Page.hxx — part of check-in [55002bb5b8] at 2018-11-08 13:36:41 on branch trunk — Page: use QtConcurrent for thumbnail computation (user: fifr size: 1939)

57
58
59
60
61
62
63
64
65
66



67
68
69
70
71
72
73
74
75

    bool read(const QJsonObject& json);

public slots:
    /// Delete all files associated with this page.
    void remove();

private slots:
    void setThumbnail(const QString& path);




signals:
    void refreshThumbnail(const QString& filename);
    void thumbnailChanged();

private:
    struct Data;
    QScopedPointer<Data> d;
};








|
|

>
>
>

<







57
58
59
60
61
62
63
64
65
66
67
68
69
70

71
72
73
74
75
76
77

    bool read(const QJsonObject& json);

public slots:
    /// Delete all files associated with this page.
    void remove();

private:
    QString updateThumbnail(const QString& filename) const;

private slots:
    void thumbnailFinished();

signals:

    void thumbnailChanged();

private:
    struct Data;
    QScopedPointer<Data> d;
};