File indexing completed on 2024-12-29 05:00:27
0001 /* 0002 * SPDX-FileCopyrightText: 2007 Tobias Koenig <tokoe@kde.org> 0003 * SPDX-FileCopyrightText: 2008 Anne-Marie Mahfouf <annma@kde.org> 0004 * SPDX-FileCopyrightText: 2016 Weng Xuetian <wengxt@gmail.com> 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #pragma once 0010 0011 #include "potdprovider.h" 0012 0013 class KJob; 0014 0015 /** 0016 * This class provides the image for NOAA Environmental Visualization Laboratory 0017 * Image Of the Day 0018 * located at https://www.nesdis.noaa.gov/content/imagery-and-data. 0019 */ 0020 class NOAAProvider : public PotdProvider 0021 { 0022 Q_OBJECT 0023 0024 public: 0025 explicit NOAAProvider(QObject *parent, const KPluginMetaData &data, const QVariantList &args); 0026 0027 private: 0028 void listPageRequestFinished(KJob *job); 0029 void pageRequestFinished(KJob *job); 0030 void imageRequestFinished(KJob *job); 0031 };