1
/** ===========================================================
4
* This file is a part of KDE project
5
* <a href="https://projects.kde.org/projects/extragear/libs/libmediawiki">libmediawiki</a>
8
* @brief a MediaWiki C++ interface for KDE
10
* @author Copyright (C) 2011-2012 by Gilles Caulier
11
* <a href="mailto:caulier dot gilles at gmail dot com">caulier dot gilles at gmail dot com</a>
12
* @author Copyright (C) 2009 by Remi Benoit
13
* <a href="mailto:r3m1 dot benoit at gmail dot com">r3m1 dot benoit at gmail dot com</a>
15
* This program is free software; you can redistribute it
16
* and/or modify it under the terms of the GNU General
17
* Public License as published by the Free Software Foundation;
18
* either version 2, or (at your option)
21
* This program is distributed in the hope that it will be useful,
22
* but WITHOUT ANY WARRANTY; without even the implied warranty of
23
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24
* GNU General Public License for more details.
26
* ============================================================ */
33
#include <QtCore/QString>
34
#include <QtCore/QUrl>
35
#include <QtNetwork/QNetworkAccessManager>
40
class Q_DECL_HIDDEN MediaWiki::MediaWikiPrivate
45
MediaWikiPrivate(const QUrl& url, const QString& userAgent, QNetworkAccessManager* const manager)
59
static const QString POSTFIX_USER_AGENT;
62
const QString userAgent;
63
QNetworkAccessManager* const manager;
66
const QString MediaWiki::MediaWikiPrivate::POSTFIX_USER_AGENT = QString::fromUtf8("mediawiki-silk");
68
} // namespace mediawiki
70
#endif // MEDIAWIKI_P_H