2 * This file was generated by dbusxml2cpp version 0.6
3 * Command line was: dbusxml2cpp -N -m -p nm-vpn-plugininterface /space/kde/sources/trunk/KDE/kdebase/workspace/solid/networkmanager-0.7/dbus/introspection/nm-vpn-plugin.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 NM_VPN_PLUGININTERFACE_H_1205050592
12 #define NM_VPN_PLUGININTERFACE_H_1205050592
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>
24 #include "generic-types.h"
27 * Proxy class for interface org.freedesktop.NetworkManager.VPN.Plugin
29 class OrgFreedesktopNetworkManagerVPNPluginInterface
: public QDBusAbstractInterface
33 static inline const char *staticInterfaceName()
34 { return "org.freedesktop.NetworkManager.VPN.Plugin"; }
37 OrgFreedesktopNetworkManagerVPNPluginInterface(const QString
&service
, const QString
&path
, const QDBusConnection
&connection
, QObject
*parent
= 0);
39 ~OrgFreedesktopNetworkManagerVPNPluginInterface();
41 Q_PROPERTY(uint State READ state
)
42 inline uint
state() const
43 { return qvariant_cast
< uint
>(internalPropGet("State")); }
45 public Q_SLOTS
: // METHODS
46 inline QDBusReply
<void> Connect(const QVariantMapMap
&connection
)
48 QList
<QVariant
> argumentList
;
49 argumentList
<< qVariantFromValue(connection
);
50 return callWithArgumentList(QDBus::Block
, QLatin1String("Connect"), argumentList
);
53 inline QDBusReply
<void> Disconnect()
55 QList
<QVariant
> argumentList
;
56 return callWithArgumentList(QDBus::Block
, QLatin1String("Disconnect"), argumentList
);
59 inline QDBusReply
<QString
> NeedSecrets(const QVariantMapMap
&settings
)
61 QList
<QVariant
> argumentList
;
62 argumentList
<< qVariantFromValue(settings
);
63 return callWithArgumentList(QDBus::Block
, QLatin1String("NeedSecrets"), argumentList
);
66 inline QDBusReply
<void> SetFailure(const QString
&reason
)
68 QList
<QVariant
> argumentList
;
69 argumentList
<< qVariantFromValue(reason
);
70 return callWithArgumentList(QDBus::Block
, QLatin1String("SetFailure"), argumentList
);
73 inline QDBusReply
<void> SetIp4Config(const QVariantMap
&config
)
75 QList
<QVariant
> argumentList
;
76 argumentList
<< qVariantFromValue(config
);
77 return callWithArgumentList(QDBus::Block
, QLatin1String("SetIp4Config"), argumentList
);
81 void Failure(uint reason
);
82 void Ip4Config(const QVariantMap
&ip4config
);
83 void LoginBanner(const QString
&banner
);
84 void StateChanged(uint state
);