~ubuntu-branches/ubuntu/precise/networkmanagement/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-10-23 14:00:13 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20111023140013-e38hdzybcg6zndrk
Tags: 0.9~svngit.nm09.20111023.ff842e-0ubuntu1
* New upstream snapshot.
* Drop all patches, merged upstream.
* Add kubuntu_add_subdirectory_po.diff to build the translations.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
 * Do not edit! All changes made to it will be lost.
9
9
 */
10
10
 
11
 
#ifndef NM_DEVICEINTERFACE_H_1305476817
12
 
#define NM_DEVICEINTERFACE_H_1305476817
 
11
#ifndef NM_DEVICEINTERFACE_H_1310067075
 
12
#define NM_DEVICEINTERFACE_H_1310067075
13
13
 
14
14
#include <QtCore/QObject>
15
15
#include <QtCore/QByteArray>
35
35
 
36
36
    ~OrgFreedesktopNetworkManagerDeviceInterface();
37
37
 
 
38
    Q_PROPERTY(QDBusObjectPath ActiveConnection READ activeConnection)
 
39
    inline QDBusObjectPath activeConnection() const
 
40
    { return qvariant_cast< QDBusObjectPath >(property("ActiveConnection")); }
 
41
 
38
42
    Q_PROPERTY(uint Capabilities READ capabilities)
39
43
    inline uint capabilities() const
40
44
    { return qvariant_cast< uint >(property("Capabilities")); }
63
67
    inline QString interface() const
64
68
    { return qvariant_cast< QString >(property("Interface")); }
65
69
 
66
 
    Q_PROPERTY(int Ip4Address READ ip4Address)
67
 
    inline int ip4Address() const
68
 
    { return qvariant_cast< int >(property("Ip4Address")); }
 
70
    Q_PROPERTY(uint Ip4Address READ ip4Address)
 
71
    inline uint ip4Address() const
 
72
    { return qvariant_cast< uint >(property("Ip4Address")); }
69
73
 
70
74
    Q_PROPERTY(QDBusObjectPath Ip4Config READ ip4Config)
71
75
    inline QDBusObjectPath ip4Config() const