diff options
Diffstat (limited to 'buteo-plugins/buteo-common/socialdnetworkaccessmanager_p.h')
| -rw-r--r-- | buteo-plugins/buteo-common/socialdnetworkaccessmanager_p.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/buteo-plugins/buteo-common/socialdnetworkaccessmanager_p.h b/buteo-plugins/buteo-common/socialdnetworkaccessmanager_p.h new file mode 100644 index 0000000..846489b --- /dev/null +++ b/buteo-plugins/buteo-common/socialdnetworkaccessmanager_p.h @@ -0,0 +1,40 @@ +/**************************************************************************** + ** + ** Copyright (C) 2013-2014 Jolla Ltd. + ** Contact: Chris Adams <chris.adams@jollamobile.com> + ** + ** This program/library is free software; you can redistribute it and/or + ** modify it under the terms of the GNU Lesser General Public License + ** version 2.1 as published by the Free Software Foundation. + ** + ** This program/library 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 + ** Lesser General Public License for more details. + ** + ** You should have received a copy of the GNU Lesser General Public + ** License along with this program/library; if not, write to the Free + ** Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + ** 02110-1301 USA + ** + ****************************************************************************/ + +#ifndef SOCIALD_QNAMFACTORY_P_H +#define SOCIALD_QNAMFACTORY_P_H + +#include <QNetworkAccessManager> + +class SocialdNetworkAccessManager : public QNetworkAccessManager +{ + Q_OBJECT + +public: + SocialdNetworkAccessManager(QObject *parent = 0); + +protected: + QNetworkReply *createRequest(QNetworkAccessManager::Operation op, + const QNetworkRequest &req, + QIODevice *outgoingData = 0) override; +}; + +#endif |
