[Kde-hardware-devel] MMQT API - Asynchronous mode

Charles A acarlito at gmail.com
Mon Apr 11 15:11:58 UTC 2016


Hi!
I have been using the MMQT api in order to send SMS messages.
I have been using MMQT version 5.2.2 and it works great! I recently found
an issue where the signalQuality (in ModemManager::Modem Interface) would
return 0 even though the signal quality returned by dbus was not 0.
Since then I decided to upgrade MMQT to a more recent version, I tried MMQT
5.18.0 and my old code seem to not work at all with the MMQT 5.18.0
version. After reading a bit, I stumbled upon the following bug report (
https://bugs.kde.org/show_bug.cgi?id=358261) and I realized I need to use
to Async mode to make it work since I was using the sync method.

I wanted to know if there are any examples on how to use Async mode in
order to send an SMS message?
I have been trying to use SIGNAL/SLOT method but I am not sure I am doing
it right. I am trying to connect to the signal without being a Q_OBJECT.

Thank you!
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20160411/dd6b104e/attachment-0001.html>


More information about the Kde-hardware-devel mailing list