SolidModules
NetworkManager-dbushelper.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef SOLID_NETWORKMANAGER_DBUSHELPER_H
00021 #define SOLID_NETWORKMANAGER_DBUSHELPER_H
00022
00023 #include <QList>
00024 #include <QVariant>
00025 #include <solid/control/ifaces/authentication.h>
00026 #include <solid/control/authentication.h>
00027
00031 class KDE_EXPORT NMDBusHelper
00032 {
00033 public:
00034 static QList<QVariant> serialize(Solid::Control::Authentication *, const QString & essid, QList<QVariant> & args, bool * error);
00035 private:
00036 static QList<QVariant> doSerialize(Solid::Control::AuthenticationNone *, const QString & essid, QList<QVariant> & args, bool * error);
00037 static QList<QVariant> doSerialize(Solid::Control::AuthenticationWep *, const QString & essid, QList<QVariant> & args, bool * error);
00038 static QList<QVariant> doSerialize(Solid::Control::AuthenticationWpaPersonal *, const QString & essid, QList<QVariant> & args, bool * error);
00039 static QList<QVariant> doSerialize(Solid::Control::AuthenticationWpaEnterprise *, const QString & essid, QList<QVariant> & args, bool * error);
00040 };
00041
00042 #endif // SOLID_NETWORKMANAGER_DBUSHELPER_H