summaryrefslogtreecommitdiff
path: root/src/networkaccessmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/networkaccessmanager.h')
-rw-r--r--src/networkaccessmanager.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/networkaccessmanager.h b/src/networkaccessmanager.h
index 1eea9a0d..7297262d 100644
--- a/src/networkaccessmanager.h
+++ b/src/networkaccessmanager.h
@@ -27,33 +27,32 @@
#ifndef NETWORKACCESSMANAGER_H
#define NETWORKACCESSMANAGER_H
-#include <kdeversion.h>
-#if KDE_IS_VERSION(4, 2, 70)
- #include <kio/accessmanager.h>
- using namespace KIO;
- typedef AccessManager RekonqAccessManager;
-#else
- #include <QtNetwork/QNetworkAccessManager>
- typedef QNetworkAccessManager RekonqAccessManager;
-#endif
+// KDE Includes
+#include <kio/accessmanager.h>
// Forward Declarations
class QNetworkDiskCache;
-class NetworkAccessManager : public RekonqAccessManager
+using namespace KIO;
+
+
+class NetworkAccessManager : public AccessManager
{
Q_OBJECT
public:
NetworkAccessManager(QObject *parent = 0);
-
+ KIO::MetaData& metaData();
void resetDiskCache();
public slots:
void loadSettings();
+// protected:
+// virtual QNetworkReply *createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData = 0);
+
private slots:
void authenticationRequired(QNetworkReply *reply, QAuthenticator *auth);
void proxyAuthenticationRequired(const QNetworkProxy &proxy, QAuthenticator *auth);
@@ -64,6 +63,7 @@ private slots:
private:
QNetworkDiskCache *m_diskCache;
+ KIO::MetaData m_metaData;
};
#endif // NETWORKACCESSMANAGER_H