{
bool val
= this
->connection
().
connect(service,path,
QString("/myInterface),QString("PropertyChanged
"),QString("QString,
QDBusVariant"),this,SLOT(stateChanged(QString,QVariant))); qDebug() << " Value is " << val;
}
example::example(const QString &service, const QString &path, const char *interface,const QDBusConnection &connection,QObject *parent):QDBusAbstractInterface(service, path, interface,connection,parent)
{
bool val= this->connection().connect(service,path,QString("/myInterface),QString("PropertyChanged"),QString("QString,QDBusVariant"),this,SLOT(stateChanged(QString,QVariant)));
qDebug() << " Value is " << val;
}
To copy to clipboard, switch view to plain text mode
PropertyChanged(string name, variant value)
PropertyChanged(string name, variant value)
To copy to clipboard, switch view to plain text mode
Bookmarks