diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-08-06 09:54:17 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-08-06 09:54:17 +0200 |
commit | 71de98a78ee727173e54cc00fab5ece4de579a58 (patch) | |
tree | 5d50449185d966eb9e39063bcff749a1b301caf5 /src | |
parent | clean code (diff) | |
download | rekonq-71de98a78ee727173e54cc00fab5ece4de579a58.tar.xz |
Some coding trivial fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/cookiejar.cpp | 8 | ||||
-rw-r--r-- | src/cookiejar.h | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/cookiejar.cpp b/src/cookiejar.cpp index 5146191d..aed1afd2 100644 --- a/src/cookiejar.cpp +++ b/src/cookiejar.cpp @@ -51,9 +51,9 @@ CookieJar::CookieJar(QObject* parent) : QNetworkCookieJar(parent) - , m_windowId(10) //m_windowId is important else doesn't connect with KCookieServer + , m_windowId(10) // m_windowId is important else doesn't connect with KCookieServer (yeah!) + , m_kcookiejar(new QDBusInterface("org.kde.kded", "/modules/kcookiejar", "org.kde.KCookieServer")) { - m_kcookiejar = new QDBusInterface("org.kde.kded", "/modules/kcookiejar", "org.kde.KCookieServer"); } @@ -98,7 +98,7 @@ bool CookieJar::setCookiesFromUrl(const QList<QNetworkCookie> & cookieList, cons void CookieJar::setWindowId(qlonglong id) { - m_windowId=id; + m_windowId = id; } @@ -110,4 +110,4 @@ void CookieJar::clear() kWarning() << "Unable to delete all the cookies as requested."; return; } -}
\ No newline at end of file +} diff --git a/src/cookiejar.h b/src/cookiejar.h index 5504cf3c..f78a9662 100644 --- a/src/cookiejar.h +++ b/src/cookiejar.h @@ -30,11 +30,13 @@ // Qt Includes #include <QtNetwork/QNetworkCookieJar> -#include <QtDBus/QtDBus> + +#include <QtDBus/QDBusInterface> // Forward Declarations class QUrl; + class CookieJar : public QNetworkCookieJar { Q_OBJECT |