diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/networkaccessmanager.cpp | 2 | ||||
-rw-r--r-- | src/networkaccessmanager.h | 16 |
2 files changed, 7 insertions, 11 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index 473fa770..c99fa094 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -56,7 +56,7 @@ NetworkAccessManager::NetworkAccessManager(QObject *parent) - : RekonqAccessManager(parent) + : AccessManager(parent) , m_diskCache(0) { connect(this, SIGNAL(authenticationRequired(QNetworkReply*, QAuthenticator*)), diff --git a/src/networkaccessmanager.h b/src/networkaccessmanager.h index a6c264f2..45a3e9f9 100644 --- a/src/networkaccessmanager.h +++ b/src/networkaccessmanager.h @@ -27,22 +27,18 @@ #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 |