[KIO] cookie service and installing in a parallel prefix (/opt/local)
René J.V. Bertin
rjvbertin at gmail.com
Fri Apr 22 13:17:43 UTC 2016
On Friday April 22 2016 10:19:35 David Faure wrote:
> kcookiejar5 is just a client-side tool (*).
And not the tool that applications use to manage cookies?
> The actual service is provided by a kded module. You can see if it works by doing
> $ qdbus org.kde.kcookiejar5 /modules/kcookiejar
%> qdbus -qt=qt5 org.kde.kcookiejar5 /modules/kcookiejar
method void org.kde.KCookieServer.addCookies(QString url, QByteArray cookieHeader, qlonglong windowId)
method void org.kde.KCookieServer.addDOMCookies(QString url, QByteArray cookieHeader, qlonglong windowId)
method void org.kde.KCookieServer.deleteAllCookies()
method void org.kde.KCookieServer.deleteCookie(QString domain, QString fqdn, QString path, QString name)
method void org.kde.KCookieServer.deleteCookiesFromDomain(QString domain)
method void org.kde.KCookieServer.deleteSessionCookies(qlonglong windowId)
method void org.kde.KCookieServer.deleteSessionCookiesFor(QString fqdn, qlonglong windowId)
method QString org.kde.KCookieServer.findCookies(QString url, qlonglong windowId)
method QStringList org.kde.KCookieServer.findCookies({D-Bus type "ai"} fields, QString domain, QString fqdn, QString path, QString name)
method QString org.kde.KCookieServer.findDOMCookies(QString url)
method QString org.kde.KCookieServer.findDOMCookies(QString url, qlonglong windowId)
method QStringList org.kde.KCookieServer.findDomains()
method QString org.kde.KCookieServer.getDomainAdvice(QString url)
method QString org.kde.KCookieServer.listCookies(QString url)
method void org.kde.KCookieServer.reloadPolicy()
method bool org.kde.KCookieServer.setDomainAdvice(QString url, QString advice)
method void org.kde.KCookieServer.shutdown()
signal void org.freedesktop.DBus.Properties.PropertiesChanged(QString interface_name, QVariantMap changed_properties, QStringList invalidated_properties)
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()
However, interacting with the .org.kde.KCookieServer methods via qdbusviewer gives me either `Arguments: ""` or `(no arguments)` as a result.
I'm not seeing the KDE4 kcookiejar in qdbusviewer, yet that one works as long as kded4 is running. Not using DBus?
>
> (*) the output from kcookiejar5 --help was confusing, I just fixed it.
Ah, good :)
R.
More information about the Kde-frameworks-devel
mailing list