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"

_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org

Reply via email to