Warning, file /libraries/libtmdbqt/src/tvseasoninfojob.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 * <one line to give the library's name and an idea of what it does.> 0003 * Copyright (C) 2014 Vishesh Handa <me@vhanda.in> 0004 * 0005 * This library is free software; you can redistribute it and/or 0006 * modify it under the terms of the GNU Lesser General Public 0007 * License as published by the Free Software Foundation; either 0008 * version 2.1 of the License, or (at your option) any later version. 0009 * 0010 * This library is distributed in the hope that it will be useful, 0011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 0013 * Lesser General Public License for more details. 0014 * 0015 * You should have received a copy of the GNU Lesser General Public 0016 * License along with this library; if not, write to the Free Software 0017 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 0018 * 0019 */ 0020 0021 #ifndef TMDBQT_TVSEASONINFOJOB_H 0022 #define TMDBQT_TVSEASONINFOJOB_H 0023 0024 #include <QObject> 0025 #include "tvseasondb.h" 0026 0027 class QNetworkAccessManager; 0028 class QUrl; 0029 0030 namespace TmdbQt 0031 { 0032 0033 class TheMovieDbApi; 0034 class TvSeasonInfoJobPrivate; 0035 class JobParams; 0036 0037 class TvSeasonInfoJob : public QObject 0038 { 0039 Q_OBJECT 0040 public: 0041 bool hasError() const; 0042 QString errorMessage() const; 0043 TvSeasonDb searchResult() const; 0044 ~TvSeasonInfoJob() override; 0045 0046 Q_SIGNALS: 0047 void result(TmdbQt::TvSeasonInfoJob *job); 0048 0049 private Q_SLOTS: 0050 void requestFinished(); 0051 0052 private: 0053 friend class TheMovieDbApi; 0054 TvSeasonInfoJob(const JobParams ¶ms, int tvid, int seasonNum); 0055 0056 TvSeasonInfoJobPrivate *d; 0057 }; 0058 0059 } 0060 0061 #endif // TMDBQT_TVSEASONINFOJOB_H