File indexing completed on 2024-12-22 03:46:51

0001 /*
0002   This file is part of the KTextTemplate library
0003 
0004   SPDX-FileCopyrightText: 2011 Stephen Kelly <steveire@gmail.com>
0005 
0006   SPDX-License-Identifier: LGPL-2.1-or-later
0007 
0008 */
0009 
0010 #ifndef LOCALREQUESTMANAGER_H
0011 #define LOCALREQUESTMANAGER_H
0012 
0013 #include <QNetworkAccessManager>
0014 
0015 #include <KTextTemplate/Engine>
0016 
0017 class LocalRequestManager : public QNetworkAccessManager
0018 {
0019     Q_OBJECT
0020 public:
0021     LocalRequestManager(KTextTemplate::Engine *engine, QObject *parent = 0);
0022 
0023     virtual QNetworkReply *createRequest(Operation op, const QNetworkRequest &request, QIODevice *outgoingData = 0);
0024 
0025 private:
0026     KTextTemplate::Engine *m_engine;
0027 };
0028 
0029 #endif