summaryrefslogtreecommitdiff
path: root/src/webpage.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-11-30 16:34:34 +0100
committerAndrea Diamantini <adjam7@gmail.com>2009-12-06 16:40:55 +0100
commit5d59512ca2e4a36cf6c4f85537c8fa227c44c1dc (patch)
treea39a12a673b4f252488ae065213796eb9ea7df14 /src/webpage.cpp
parentHide findBar after one minute (diff)
downloadrekonq-5d59512ca2e4a36cf6c4f85537c8fa227c44c1dc.tar.xz
kde wallet integration.
First bits
Diffstat (limited to 'src/webpage.cpp')
-rw-r--r--src/webpage.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webpage.cpp b/src/webpage.cpp
index 89579c88..42704ab3 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -49,6 +49,7 @@
#include <KDebug>
#include <KToolInvocation>
#include <KProtocolManager>
+#include <kwebwallet.h>
#include <kparts/browseropenorsavequestion.h>
@@ -80,6 +81,11 @@ WebPage::WebPage(QObject *parent)
connect(networkAccessManager(), SIGNAL(finished(QNetworkReply*)), this, SLOT(manageNetworkErrors(QNetworkReply*)));
connect(this, SIGNAL(unsupportedContent(QNetworkReply *)), this, SLOT(handleUnsupportedContent(QNetworkReply *)));
+
+ // kwallet
+ KWebWallet *w = wallet();
+ connect(w, SIGNAL(saveFormDataRequested(const QString &, const QUrl &)),
+ w, SLOT(acceptSaveFormDataRequest(const QString &)));
}