Changeset View
Changeset View
Standalone View
Standalone View
dataengines/potd/wcpotdprovider.cpp
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Line(s) | 85 | { | |||
---|---|---|---|---|---|
88 | emit error(this); | 88 | emit error(this); | ||
89 | return; | 89 | return; | ||
90 | } | 90 | } | ||
91 | QByteArray data = job->data(); | 91 | QByteArray data = job->data(); | ||
92 | mImage = QImage::fromData( data ); | 92 | mImage = QImage::fromData( data ); | ||
93 | emit finished(this); | 93 | emit finished(this); | ||
94 | } | 94 | } | ||
95 | 95 | | |||
96 | K_PLUGIN_FACTORY_WITH_JSON(WcpotdProviderFactory, "wcpotdprovider.json", registerPlugin<WcpotdProvider>();) | 96 | K_PLUGIN_CLASS_WITH_JSON(WcpotdProvider, "wcpotdprovider.json") | ||
97 | 97 | | |||
98 | #include "wcpotdprovider.moc" | 98 | #include "wcpotdprovider.moc" |