File indexing completed on 2024-05-05 13:09:59
0001 /** =========================================================== 0002 * @file 0003 * 0004 * This file is a part of KDE project 0005 * <a href="https://commits.kde.org/libmediawiki">libmediawiki</a> 0006 * 0007 * @date 2011-03-22 0008 * @brief a MediaWiki C++ interface for KDE 0009 * 0010 * @author Copyright (C) 2011-2013 by Gilles Caulier 0011 * <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a> 0012 * @author Copyright (C) 2009 by Paolo de Vathaire 0013 * <a href="mailto:paolo dot devathaire at gmail dot com">paolo dot devathaire at gmail dot com</a> 0014 * 0015 * This program is free software; you can redistribute it 0016 * and/or modify it under the terms of the GNU General 0017 * Public License as published by the Free Software Foundation; 0018 * either version 2, or (at your option) 0019 * any later version. 0020 * 0021 * This program is distributed in the hope that it will be useful, 0022 * but WITHOUT ANY WARRANTY; without even the implied warranty of 0023 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 0024 * GNU General Public License for more details. 0025 * 0026 * ============================================================ */ 0027 0028 #ifndef MEDIAWIKIJOB_P_H 0029 #define MEDIAWIKIJOB_P_H 0030 0031 #include "mediawiki.h" 0032 0033 namespace mediawiki 0034 { 0035 0036 class JobPrivate 0037 { 0038 public: 0039 0040 explicit JobPrivate(MediaWiki& mediawiki) 0041 : mediawiki(mediawiki), 0042 manager(mediawiki.manager()), 0043 reply(nullptr) 0044 { 0045 } 0046 0047 MediaWiki& mediawiki; 0048 QNetworkAccessManager* const manager; 0049 QNetworkReply* reply; 0050 }; 0051 0052 } // namespace mediawiki 0053 0054 #endif // MEDIAWIKIJOB_P_H