diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-06-10 11:50:45 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-06-10 11:54:28 +0200 |
commit | 7330968510ffd83ab208ae0ffa8febe49c4dbcdb (patch) | |
tree | a5cd146787d922e66484b3887f93b8010b8aa698 /src/webtab/knetworkaccessmanager.h | |
parent | i18n: toEncoded -> toString (diff) | |
download | rekonq-7330968510ffd83ab208ae0ffa8febe49c4dbcdb.tar.xz |
Link custom rekonq QNAM to KDE proxy settings
This is a first attempt to link our needed QNAM to KDE proxy settings.
It will try to fix proxy problems when used.
Oh... I also added some new error strings in case of proxy problems :)
CCBUG: 304378
CCBUG: 315598
Diffstat (limited to 'src/webtab/knetworkaccessmanager.h')
-rw-r--r-- | src/webtab/knetworkaccessmanager.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/src/webtab/knetworkaccessmanager.h b/src/webtab/knetworkaccessmanager.h new file mode 100644 index 00000000..fccddb69 --- /dev/null +++ b/src/webtab/knetworkaccessmanager.h @@ -0,0 +1,46 @@ +/* ============================================================ +* +* This file is a part of the rekonq project +* +* Copyright (C) 2013 by Andrea Diamantini <adjam7 at gmail dot com> +* +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License or (at your option) version 3 or any later version +* accepted by the membership of KDE e.V. (or its successor approved +* by the membership of KDE e.V.), which shall act as a proxy +* defined in Section 14 of version 3 of the license. +* +* This program is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program. If not, see <http://www.gnu.org/licenses/>. +* +* ============================================================ */ + + +#ifndef K_NETWORK_ACCESS_MANAGER_H +#define K_NETWORK_ACCESS_MANAGER_H + + +// Rekonq Includes +#include "rekonq_defines.h" + +// Qt Includes +#include <QNetworkAccessManager> + + +class REKONQ_TESTS_EXPORT KNetworkAccessManager : public QNetworkAccessManager +{ + Q_OBJECT + +public: + explicit KNetworkAccessManager(QObject *parent = 0); +}; + +#endif // K_NETWORK_ACCESS_MANAGER_H |