2
* This file was generated by qdbusxml2cpp version 0.7
3
* Command line was: qdbusxml2cpp -v -c ItemInterface -p ../keyring/item.h:../keyring/item.cpp -i secret.h org.freedesktop.secret.item.xml
5
* qdbusxml2cpp is Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
7
* This is an auto-generated file.
8
* Do not edit! All changes made to it will be lost.
11
#ifndef ITEM_H_1358871229
12
#define ITEM_H_1358871229
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>
25
* Proxy class for interface org.freedesktop.Secret.Item
27
class ItemInterface: public QDBusAbstractInterface
31
static inline const char *staticInterfaceName()
32
{ return "org.freedesktop.Secret.Item"; }
35
ItemInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
39
Q_PROPERTY( DBusStringHash Attributes READ attributes WRITE setAttributes)
40
inline DBusStringHash attributes() const
41
{ return qvariant_cast< DBusStringHash >(property("Attributes")); }
42
inline void setAttributes( DBusStringHash value)
43
{ setProperty("Attributes", QVariant::fromValue(value)); }
45
Q_PROPERTY(qulonglong Created READ created)
46
inline qulonglong created() const
47
{ return qvariant_cast< qulonglong >(property("Created")); }
49
Q_PROPERTY(QString Label READ label WRITE setLabel)
50
inline QString label() const
51
{ return qvariant_cast< QString >(property("Label")); }
52
inline void setLabel(const QString &value)
53
{ setProperty("Label", QVariant::fromValue(value)); }
55
Q_PROPERTY(bool Locked READ locked)
56
inline bool locked() const
57
{ return qvariant_cast< bool >(property("Locked")); }
59
Q_PROPERTY(qulonglong Modified READ modified)
60
inline qulonglong modified() const
61
{ return qvariant_cast< qulonglong >(property("Modified")); }
63
public Q_SLOTS: // METHODS
64
inline QDBusPendingReply<QDBusObjectPath> Delete()
66
QList<QVariant> argumentList;
67
return asyncCallWithArgumentList(QLatin1String("Delete"), argumentList);
70
inline QDBusPendingReply<Secret> GetSecret(const QDBusObjectPath &session)
72
QList<QVariant> argumentList;
73
argumentList << QVariant::fromValue(session);
74
return asyncCallWithArgumentList(QLatin1String("GetSecret"), argumentList);
77
inline QDBusPendingReply<> SetSecret(Secret secret)
79
QList<QVariant> argumentList;
80
argumentList << QVariant::fromValue(secret);
81
return asyncCallWithArgumentList(QLatin1String("SetSecret"), argumentList);
88
namespace freedesktop {
90
typedef ::ItemInterface Item;