summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-06-09 23:32:19 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-09 23:32:19 +0200
commit536e73dce60740ebf4e3d67bc20a6095abf2b1b0 (patch)
tree456dbdd045d98e18599334b6fb693ab6b6fefac9
parentForgot to remove unuseful KDE IS VERSION check. Removed now.. (diff)
downloadrekonq-536e73dce60740ebf4e3d67bc20a6095abf2b1b0.tar.xz
Cosmetic networkmanager changes
-rw-r--r--src/networkmanager.cpp4
-rw-r--r--src/networkmanager.h9
2 files changed, 7 insertions, 6 deletions
diff --git a/src/networkmanager.cpp b/src/networkmanager.cpp
index e9fd7466..2cf65e1c 100644
--- a/src/networkmanager.cpp
+++ b/src/networkmanager.cpp
@@ -51,8 +51,9 @@
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QSslError>
+
NetworkAccessManager::NetworkAccessManager(QObject *parent)
- : KIO::AccessManager(parent)
+ : AccessManager(parent)
{
connect(this, SIGNAL(authenticationRequired(QNetworkReply*, QAuthenticator*)),
SLOT(authenticationRequired(QNetworkReply*, QAuthenticator*)));
@@ -96,7 +97,6 @@ void NetworkAccessManager::loadSettings()
}
-
void NetworkAccessManager::authenticationRequired(QNetworkReply *reply, QAuthenticator *auth)
{
MainWindow *mainWindow = Application::instance()->mainWindow();
diff --git a/src/networkmanager.h b/src/networkmanager.h
index 681d296a..84362d1c 100644
--- a/src/networkmanager.h
+++ b/src/networkmanager.h
@@ -19,8 +19,8 @@
* ============================================================ */
-#ifndef NETWORKACCESSMANAGER_H
-#define NETWORKACCESSMANAGER_H
+#ifndef NETWORKMANAGER_H
+#define NETWORKMANAGER_H
// KDE Includes
#include <KIO/AccessManager>
@@ -29,8 +29,9 @@
class QNetworkRequest;
class QIODevice;
+using namespace KIO;
-class NetworkAccessManager : public KIO::AccessManager
+class NetworkAccessManager : public AccessManager
{
Q_OBJECT
@@ -50,4 +51,4 @@ private slots:
};
-#endif // NETWORKACCESSMANAGER_H
+#endif // NETWORKMANAGER_H