[SailfishDevel] rpminstall signal packageStatusChanged

Mikael Hermansson mike at 7b4.se
Thu Jun 12 07:24:38 UTC 2014


I want to connect to the signal packageStatusChanged from the harbour FAQ I read 
this:

signal path=/StoreClient; interface=com.jolla.jollastore; 
member=packageStatusChanged
  string "filename.rpm"
  int32 0 (not installed?), 1 (installed?) and 2 (progressing?)

But I have problem getting the receive the signal from jollastore in my app I connect 
to the store using QDBus API :

     result = QDBusConnection::sessionBus().connect("com.jolla.jollastore", 
"/StoreClient", "com.jolla.jollastore" ,"packageStatusChanged", this, 
SLOT(onPackageStatusChanged(QString,int)));

qDebug() << "DBUSconnect== " << result;


However the signal seems not connect since it returns:

[D] RpmInstall::RpmInstall:19 - DBUSconnect==  false 


the signal is not emited... Any  idea what I do wrong?


Regards

Mikael


-- 
"Put mankind back on earth"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140612/7300c2fd/attachment-0001.html>


More information about the Devel mailing list