Changeset View
Changeset View
Standalone View
Standalone View
src/core/imageloader_p.h
- This file was moved from src/ui/imageloader_p.h.
Context not available. | |||||
23 | #include <QtCore/QObject> | 23 | #include <QtCore/QObject> | ||
---|---|---|---|---|---|
24 | #include <QtCore/QByteArray> | 24 | #include <QtCore/QByteArray> | ||
25 | 25 | | |||
26 | #include "core/entryinternal_p.h" | 26 | #include "entryinternal_p.h" | ||
27 | #include "jobs/httpjob.h" | ||||
27 | 28 | | |||
28 | class KJob; | 29 | class KJob; | ||
29 | namespace KIO | | |||
30 | { | | |||
31 | class Job; | | |||
32 | class TransferJob; | | |||
33 | } | | |||
34 | 30 | | |||
35 | namespace KNS3 | 31 | namespace KNSCore | ||
36 | { | 32 | { | ||
37 | 33 | | |||
38 | /** | 34 | /** | ||
Context not available. | |||||
60 | KJob *job(); | 56 | KJob *job(); | ||
61 | 57 | | |||
62 | Q_SIGNALS: | 58 | Q_SIGNALS: | ||
63 | void signalPreviewLoaded(const KNS3::EntryInternal &, KNS3::EntryInternal::PreviewType); | 59 | void signalPreviewLoaded(const KNSCore::EntryInternal &, KNSCore::EntryInternal::PreviewType); | ||
64 | 60 | | |||
65 | private Q_SLOTS: | 61 | private Q_SLOTS: | ||
66 | void slotDownload(KJob *job); | 62 | void slotDownload(KJob *job); | ||
67 | void slotData(KIO::Job *job, const QByteArray &buf); | 63 | void slotData(KJob *job, const QByteArray &buf); | ||
68 | 64 | | |||
69 | private: | 65 | private: | ||
70 | EntryInternal m_entry; | 66 | EntryInternal m_entry; | ||
71 | EntryInternal::PreviewType m_previewType; | 67 | EntryInternal::PreviewType m_previewType; | ||
72 | QByteArray m_buffer; | 68 | QByteArray m_buffer; | ||
73 | KIO::TransferJob *m_job; | 69 | HTTPJob *m_job; | ||
74 | }; | 70 | }; | ||
75 | } | 71 | } | ||
76 | #endif | 72 | #endif | ||
Context not available. |