Changeset View
Changeset View
Standalone View
Standalone View
dataengines/potd/potd.h
Show All 25 Lines | |||||
26 | class PotdProvider; | 26 | class PotdProvider; | ||
27 | 27 | | |||
28 | class QTimer; | 28 | class QTimer; | ||
29 | 29 | | |||
30 | /** | 30 | /** | ||
31 | * This class provides the Pictures of The Day from various online websites. | 31 | * This class provides the Pictures of The Day from various online websites. | ||
32 | * | 32 | * | ||
33 | * The query keys have the following structure: | 33 | * The query keys have the following structure: | ||
34 | * \<potd_identifier\>:\<date\> | 34 | * \<potd_identifier\>:\<date\>[:other_args] | ||
35 | * e.g. | 35 | * e.g. | ||
36 | * apod:2007-07-19 | 36 | * apod:2007-07-19 | ||
37 | * unsplash:2019-07-25:12435322 | ||||
37 | * | 38 | * | ||
38 | */ | 39 | */ | ||
39 | class PotdEngine : public Plasma::DataEngine | 40 | class PotdEngine : public Plasma::DataEngine | ||
40 | { | 41 | { | ||
41 | Q_OBJECT | 42 | Q_OBJECT | ||
42 | 43 | | |||
43 | public: | 44 | public: | ||
44 | PotdEngine( QObject* parent, const QVariantList& args ); | 45 | PotdEngine( QObject* parent, const QVariantList& args ); | ||
Show All 23 Lines |