13 void CDataLinkConnectionWatcher::setStatus(
bool status)
15 if (status != m_connected)
29 const QMetaObject *meta =
object->parent()->metaObject();
30 const char *info = meta->classInfo(meta->indexOfClassInfo(
"SharedStateChannel")).value();
31 const QString name =
object->parent()->objectName();
32 return name.isEmpty() ? QString(info) : (info % QLatin1Char(
':') % name);
void connected()
Connection established.
void disconnected()
Connection dropped.
static QString getChannelName(const QObject *object)
Get the channel name for child endpoints of the given object.
virtual ~IDataLink()=0
Destructor.
Utilities for sharing state between multiple objects.