summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-08-06 09:54:48 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-08-06 09:54:48 +0200
commit4d09b6c108af25305f529059375db5fc0422e0fe (patch)
treefd18e0e59dc006a21564c308e1c3c01eae5efb83
parentSome coding trivial fixes (diff)
downloadrekonq-4d09b6c108af25305f529059375db5fc0422e0fe.tar.xz
Reverting KIO::AccessManager --> QNetworkAccessManager
to respect (for 0.2 release) KDE 4.2 support and to banally fix 'pano' 's bug about CMS previews.. This has some downside problems with cookies headers (kdebug says) but things seems working well ;) And that's the important (at least, near a release!!)
-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