42 #ifndef QCONNMANSERVICE_H 43 #define QCONNMANSERVICE_H 56 #include <QtDBus/QtDBus> 57 #include <QtDBus/QDBusConnection> 58 #include <QtDBus/QDBusError> 59 #include <QtDBus/QDBusInterface> 60 #include <QtDBus/QDBusMessage> 61 #include <QtDBus/QDBusReply> 62 #include <QtDBus/QDBusArgument> 64 #include <QtDBus/QDBusPendingCallWatcher> 65 #include <QtDBus/QDBusObjectPath> 66 #include <QtDBus/QDBusContext> 69 #ifndef QT_NO_BEARERMANAGEMENT 72 #ifndef __CONNMAN_DBUS_H 74 #define CONNMAN_SERVICE "net.connman" 75 #define CONNMAN_PATH "/net/connman" 77 #define CONNMAN_DEBUG_INTERFACE CONNMAN_SERVICE ".Debug" 78 #define CONNMAN_ERROR_INTERFACE CONNMAN_SERVICE ".Error" 79 #define CONNMAN_AGENT_INTERFACE CONNMAN_SERVICE ".Agent" 80 #define CONNMAN_COUNTER_INTERFACE CONNMAN_SERVICE ".Counter" 82 #define CONNMAN_MANAGER_INTERFACE CONNMAN_SERVICE ".Manager" 83 #define CONNMAN_MANAGER_PATH "/" 85 #define CONNMAN_TASK_INTERFACE CONNMAN_SERVICE ".Task" 86 #define CONNMAN_PROFILE_INTERFACE CONNMAN_SERVICE ".Profile" 87 #define CONNMAN_SERVICE_INTERFACE CONNMAN_SERVICE ".Service" 88 #define CONNMAN_PROVIDER_INTERFACE CONNMAN_SERVICE ".Provider" 89 #define CONNMAN_TECHNOLOGY_INTERFACE CONNMAN_SERVICE ".Technology" 128 bool enableTechnology(
const QString &type);
129 bool disableTechnology(
const QString &type);
134 void unregisterCounter(
const QString &path);
137 void releaseSession();
144 QString getDefaultTechnology();
145 bool getOfflineMode();
157 void stateChanged(
const QString &);
161 void connectNotify(
const char *signal);
162 void disconnectNotify(
const char *signal);
166 class QConnmanProfileInterfacePrivate;
179 bool isOfflineMode();
185 QConnmanProfileInterfacePrivate *
d;
188 void connectNotify(
const char *signal);
189 void disconnectNotify(
const char *signal);
218 bool isPassphraseRequired();
219 quint8 getSignalStrength();
222 bool isAutoConnect();
223 bool isSetupRequired();
242 bool isOfflineMode();
250 void connectNotify(
const char *signal);
251 void disconnectNotify(
const char *signal);
274 void connectNotify(
const char *signal);
275 void disconnectNotify(
const char *signal);
294 void connectNotify(
const char *signal);
295 void disconnectNotify(
const char *signal);
298 class QConnmanCounterInterfacePrivate;
310 quint32 getReceivedByteCount();
311 quint32 getTransmittedByteCount();
315 QConnmanCounterInterfacePrivate *
d;
335 #endif // QT_NO_BEARERMANAGEMENT 337 #endif //QCONNMANSERVICE_H The QVariant class acts like a union for the most common Qt data types.
#define QT_END_NAMESPACE
This macro expands to.
The QDBusArgument class is used to marshall and demarshall D-Bus arguments.
The QDBusContext class allows slots to determine the D-Bus context of the calls.
The QString class provides a Unicode character string.
The QObject class is the base class of all Qt objects.
Q_DECLARE_METATYPE(::ConnmanMap)
The QDBusAbstractInterface class is the base class for all D-Bus interfaces in the QtDBus binding...
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QStringList class provides a list of strings.
#define QT_PREPEND_NAMESPACE(name)
This macro qualifies identifier with the full namespace.
QConnmanCounterInterfacePrivate * d
QList< ConnmanMap > ConnmanMapList
const QDBusArgument & operator>>(const QDBusArgument &argument, ConnmanMap &obj)
The QDBusObjectPath class enables the programmer to identify the OBJECT_PATH type provided by the D-B...
QConnmanProfileInterfacePrivate * d
QDBusObjectPath objectPath
The QDBusVariant class enables the programmer to identify the variant type provided by the D-Bus type...
QDBusArgument & operator<<(QDBusArgument &argument, const ConnmanMap &obj)
The QList class is a template class that provides lists.