Commit f5b49d82 authored by Raine Makelainen's avatar Raine Makelainen

Merge branch 'jb51949' into 'master'

[libconnman-qt] Make NetoworkTechnology to follow actual techonology changes. JB#51949

See merge request !52
parents 5eff4368 50c88f81
......@@ -62,7 +62,7 @@ public:
#include <QDebug>
# define DBG_(x) qDebug() << x
# define DBG_(x) qDebug() << this << Q_FUNC_INFO << "line:" << __LINE__ << x
# define ASSERT_(x) ((x) ? ((void)0) : qt_assert(#x,__FILE__,__LINE__))
# define VERIFY_(x) ASSERT(x)
This diff is collapsed.
......@@ -56,7 +56,7 @@ public:
void setTetheringPassphrase(const QString &pass);
public Q_SLOTS:
void setPowered(const bool &powered);
void setPowered(bool powered);
void scan();
void setPath(const QString &path);
......@@ -75,19 +75,11 @@ Q_SIGNALS:
NetConnmanTechnologyInterface *m_technology;
QDBusServiceWatcher *m_dBusWatcher;
QVariantMap m_propertiesCache;
static const QString Name;
static const QString Type;
static const QString Powered;
static const QString Connected;
static const QString IdleTimeout;
static const QString Tethering;
static const QString TetheringIdentifier;
static const QString TetheringPassphrase;
QVariantMap m_pendingProperties;
QString m_path;
void init(const QString &path);
private Q_SLOTS:
void propertyChanged(const QString &name, const QDBusVariant &value);
......@@ -96,6 +88,16 @@ private Q_SLOTS:
void scanReply(QDBusPendingCallWatcher *call);
void getPropertiesFinished(QDBusPendingCallWatcher *call);
void technologyAdded(const QDBusObjectPath &technology, const QVariantMap &properties);
void technologyRemoved(const QDBusObjectPath &technology);
void pendingSetProperty(const QString &key, const QVariant &value);
void startDBusWatching();
void initialize();
void createInterface();
void destroyInterface();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment