~ubuntu-branches/ubuntu/utopic/kde-workspace/utopic-proposed

« back to all changes in this revision

Viewing changes to solid/networkmanager-0.7/dbus/nm-deviceinterface.h

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-07-09 08:31:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110709083115-ohyxn6z93mily9fc
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This file was generated by qdbusxml2cpp version 0.7
 
3
 * Command line was: qdbusxml2cpp -N -m -p nm-deviceinterface introspection/nm-device.xml
 
4
 *
 
5
 * qdbusxml2cpp is Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
 
6
 *
 
7
 * This is an auto-generated file.
 
8
 * Do not edit! All changes made to it will be lost.
 
9
 */
 
10
 
 
11
#ifndef NM_DEVICEINTERFACE_H_1303609004
 
12
#define NM_DEVICEINTERFACE_H_1303609004
 
13
 
 
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
 
 
23
/*
 
24
 * Proxy class for interface org.freedesktop.NetworkManager.Device
 
25
 */
 
26
class OrgFreedesktopNetworkManagerDeviceInterface: public QDBusAbstractInterface
 
27
{
 
28
    Q_OBJECT
 
29
public:
 
30
    static inline const char *staticInterfaceName()
 
31
    { return "org.freedesktop.NetworkManager.Device"; }
 
32
 
 
33
public:
 
34
    OrgFreedesktopNetworkManagerDeviceInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = 0);
 
35
 
 
36
    ~OrgFreedesktopNetworkManagerDeviceInterface();
 
37
 
 
38
    Q_PROPERTY(uint Capabilities READ capabilities)
 
39
    inline uint capabilities() const
 
40
    { return qvariant_cast< uint >(property("Capabilities")); }
 
41
 
 
42
    Q_PROPERTY(uint DeviceType READ deviceType)
 
43
    inline uint deviceType() const
 
44
    { return qvariant_cast< uint >(property("DeviceType")); }
 
45
 
 
46
    Q_PROPERTY(QDBusObjectPath Dhcp4Config READ dhcp4Config)
 
47
    inline QDBusObjectPath dhcp4Config() const
 
48
    { return qvariant_cast< QDBusObjectPath >(property("Dhcp4Config")); }
 
49
 
 
50
    Q_PROPERTY(QString Driver READ driver)
 
51
    inline QString driver() const
 
52
    { return qvariant_cast< QString >(property("Driver")); }
 
53
 
 
54
    Q_PROPERTY(bool FirmwareMissing READ firmwareMissing)
 
55
    inline bool firmwareMissing() const
 
56
    { return qvariant_cast< bool >(property("FirmwareMissing")); }
 
57
 
 
58
    Q_PROPERTY(QString Interface READ interface)
 
59
    inline QString interface() const
 
60
    { return qvariant_cast< QString >(property("Interface")); }
 
61
 
 
62
    Q_PROPERTY(int Ip4Address READ ip4Address)
 
63
    inline int ip4Address() const
 
64
    { return qvariant_cast< int >(property("Ip4Address")); }
 
65
 
 
66
    Q_PROPERTY(QDBusObjectPath Ip4Config READ ip4Config)
 
67
    inline QDBusObjectPath ip4Config() const
 
68
    { return qvariant_cast< QDBusObjectPath >(property("Ip4Config")); }
 
69
 
 
70
    Q_PROPERTY(QDBusObjectPath Ip6Config READ ip6Config)
 
71
    inline QDBusObjectPath ip6Config() const
 
72
    { return qvariant_cast< QDBusObjectPath >(property("Ip6Config")); }
 
73
 
 
74
    Q_PROPERTY(QString IpInterface READ ipInterface)
 
75
    inline QString ipInterface() const
 
76
    { return qvariant_cast< QString >(property("IpInterface")); }
 
77
 
 
78
    Q_PROPERTY(bool Managed READ managed)
 
79
    inline bool managed() const
 
80
    { return qvariant_cast< bool >(property("Managed")); }
 
81
 
 
82
    Q_PROPERTY(uint State READ state)
 
83
    inline uint state() const
 
84
    { return qvariant_cast< uint >(property("State")); }
 
85
 
 
86
    Q_PROPERTY(QString Udi READ udi)
 
87
    inline QString udi() const
 
88
    { return qvariant_cast< QString >(property("Udi")); }
 
89
 
 
90
public Q_SLOTS: // METHODS
 
91
    inline QDBusPendingReply<> Disconnect()
 
92
    {
 
93
        QList<QVariant> argumentList;
 
94
        return asyncCallWithArgumentList(QLatin1String("Disconnect"), argumentList);
 
95
    }
 
96
 
 
97
Q_SIGNALS: // SIGNALS
 
98
    void StateChanged(uint new_state, uint old_state, uint reason);
 
99
};
 
100
 
 
101
#endif