2 * This file was generated by dbusxml2cpp version 0.6
3 * Command line was: dbusxml2cpp -i kcookiejar_include.h -m -p kcookiejar_interface ../kioslave/http/kcookiejar/org.kde.KCookieServer.xml
5 * dbusxml2cpp is Copyright (C) 2006 Trolltech ASA. All rights reserved.
7 * This is an auto-generated file.
8 * Do not edit! All changes made to it will be lost.
11 #ifndef KCOOKIEJAR_INTERFACE_H_1193243623
12 #define KCOOKIEJAR_INTERFACE_H_1193243623
14 #include <QtCore/QObject>
15 #include <QtCore/QByteArray>
16 #include <QtCore/QList>
17 #include <QtCore/QMap>
18 #include <QtCore/QString>
19 #include <QtCore/QStringList>
20 #include <QtCore/QVariant>
21 #include <QtDBus/QtDBus>
22 #include "kcookiejar_include.h"
25 * Proxy class for interface org.kde.KCookieServer
27 class OrgKdeKCookieServerInterface
: public QDBusAbstractInterface
31 static inline const char *staticInterfaceName()
32 { return "org.kde.KCookieServer"; }
35 OrgKdeKCookieServerInterface(const QString
&service
, const QString
&path
, const QDBusConnection
&connection
, QObject
*parent
= 0);
37 ~OrgKdeKCookieServerInterface();
39 public Q_SLOTS
: // METHODS
40 inline QDBusReply
<void> addCookies(const QString
&url
, const QByteArray
&cookieHeader
, qlonglong windowId
)
42 QList
<QVariant
> argumentList
;
43 argumentList
<< qVariantFromValue(url
) << qVariantFromValue(cookieHeader
) << qVariantFromValue(windowId
);
44 return callWithArgumentList(QDBus::Block
, QLatin1String("addCookies"), argumentList
);
47 inline QDBusReply
<void> addDOMCookies(const QString
&url
, const QByteArray
&cookieHeader
, qlonglong windowId
)
49 QList
<QVariant
> argumentList
;
50 argumentList
<< qVariantFromValue(url
) << qVariantFromValue(cookieHeader
) << qVariantFromValue(windowId
);
51 return callWithArgumentList(QDBus::Block
, QLatin1String("addDOMCookies"), argumentList
);
54 inline QDBusReply
<void> deleteAllCookies()
56 QList
<QVariant
> argumentList
;
57 return callWithArgumentList(QDBus::Block
, QLatin1String("deleteAllCookies"), argumentList
);
60 inline QDBusReply
<void> deleteCookie(const QString
&domain
, const QString
&fqdn
, const QString
&path
, const QString
&name
)
62 QList
<QVariant
> argumentList
;
63 argumentList
<< qVariantFromValue(domain
) << qVariantFromValue(fqdn
) << qVariantFromValue(path
) << qVariantFromValue(name
);
64 return callWithArgumentList(QDBus::Block
, QLatin1String("deleteCookie"), argumentList
);
67 inline QDBusReply
<void> deleteCookiesFromDomain(const QString
&domain
)
69 QList
<QVariant
> argumentList
;
70 argumentList
<< qVariantFromValue(domain
);
71 return callWithArgumentList(QDBus::Block
, QLatin1String("deleteCookiesFromDomain"), argumentList
);
74 inline QDBusReply
<void> deleteSessionCookies(qlonglong windowId
)
76 QList
<QVariant
> argumentList
;
77 argumentList
<< qVariantFromValue(windowId
);
78 return callWithArgumentList(QDBus::Block
, QLatin1String("deleteSessionCookies"), argumentList
);
81 inline QDBusReply
<void> deleteSessionCookiesFor(const QString
&fqdn
, qlonglong windowId
)
83 QList
<QVariant
> argumentList
;
84 argumentList
<< qVariantFromValue(fqdn
) << qVariantFromValue(windowId
);
85 return callWithArgumentList(QDBus::Block
, QLatin1String("deleteSessionCookiesFor"), argumentList
);
88 inline QDBusReply
<QStringList
> findCookies(const QList
<int> &fields
, const QString
&domain
, const QString
&fqdn
, const QString
&path
, const QString
&name
)
90 QList
<QVariant
> argumentList
;
91 argumentList
<< qVariantFromValue(fields
) << qVariantFromValue(domain
) << qVariantFromValue(fqdn
) << qVariantFromValue(path
) << qVariantFromValue(name
);
92 return callWithArgumentList(QDBus::Block
, QLatin1String("findCookies"), argumentList
);
95 inline QDBusReply
<QString
> findCookies(const QString
&url
, qlonglong windowId
)
97 QList
<QVariant
> argumentList
;
98 argumentList
<< qVariantFromValue(url
) << qVariantFromValue(windowId
);
99 return callWithArgumentList(QDBus::Block
, QLatin1String("findCookies"), argumentList
);
102 inline QDBusReply
<QString
> findDOMCookies(const QString
&url
, qlonglong windowId
)
104 QList
<QVariant
> argumentList
;
105 argumentList
<< qVariantFromValue(url
) << qVariantFromValue(windowId
);
106 return callWithArgumentList(QDBus::Block
, QLatin1String("findDOMCookies"), argumentList
);
109 inline QDBusReply
<QStringList
> findDomains()
111 QList
<QVariant
> argumentList
;
112 return callWithArgumentList(QDBus::Block
, QLatin1String("findDomains"), argumentList
);
115 inline QDBusReply
<QString
> getDomainAdvice(const QString
&url
)
117 QList
<QVariant
> argumentList
;
118 argumentList
<< qVariantFromValue(url
);
119 return callWithArgumentList(QDBus::Block
, QLatin1String("getDomainAdvice"), argumentList
);
122 inline QDBusReply
<void> reloadPolicy()
124 QList
<QVariant
> argumentList
;
125 return callWithArgumentList(QDBus::Block
, QLatin1String("reloadPolicy"), argumentList
);
128 inline QDBusReply
<void> setDomainAdvice(const QString
&url
, const QString
&advice
)
130 QList
<QVariant
> argumentList
;
131 argumentList
<< qVariantFromValue(url
) << qVariantFromValue(advice
);
132 return callWithArgumentList(QDBus::Block
, QLatin1String("setDomainAdvice"), argumentList
);
135 inline QDBusReply
<void> shutdown()
137 QList
<QVariant
> argumentList
;
138 return callWithArgumentList(QDBus::Block
, QLatin1String("shutdown"), argumentList
);
141 Q_SIGNALS
: // SIGNALS
146 typedef ::OrgKdeKCookieServerInterface KCookieServer
;