summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/networkaccessmanager.cpp2
-rw-r--r--src/networkaccessmanager.h5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index 49dc5aef..3eeedd4d 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -56,7 +56,7 @@
NetworkAccessManager::NetworkAccessManager(QObject *parent)
- : KIO::AccessManager(parent)
+ : QNetworkAccessManager(parent)
, m_diskCache(0)
{
connect(this, SIGNAL(authenticationRequired(QNetworkReply*, QAuthenticator*)),
diff --git a/src/networkaccessmanager.h b/src/networkaccessmanager.h
index d42559a9..fc714da4 100644
--- a/src/networkaccessmanager.h
+++ b/src/networkaccessmanager.h
@@ -28,13 +28,14 @@
#define NETWORKMANAGER_H
// KDE Includes
-#include <KIO/AccessManager>
+// #include <KIO/AccessManager>
+#include <QtNetwork/QNetworkAccessManager>
// Forward Declarations
class QNetworkDiskCache;
-class NetworkAccessManager : public KIO::AccessManager
+class NetworkAccessManager : public QNetworkAccessManager
{
Q_OBJECT