[Interest] Question about using QtDBus

Rogers Nate nate.rogers at raymondcorp.com
Thu Sep 4 20:35:03 CEST 2014


On 09/04/2014 12:02 PM, Thiago Macieira wrote:
> It's automatic if you try to access the data.
>> void CanData::generateTestData()
>> {
>>     QDBusPendingReply<QList<ServiceErrorLogData> > logData =
>> m_ServiceData->serviceErrorLog();
>>     logData.waitForFinished();
>>     if (logData.isError())
>>     {
>>         qDebug() << logData.error();
>>     }
>>
>>     foreach(ServiceErrorLogData data, logData.value() )
> You probably didn't get an error and value() did wait for the data to arrive 
> before returning it.
>
>> Confidentiality Notice: The preceding e-mail message (including any
>> attachments) contains information that may be confidential, protected by
>> applicable legal privileges, or constitute non-public information. It is
>> intended to be conveyed only to the designated recipient(s). If you are not
>> an intended recipient of this message, please notify the sender by replying
>> to this message and then delete it from your system. Use, dissemination,
>> distribution or reproduction of this message by unintended recipients is
>> not authorized and may be unlawful.
> Can you try and remove this note? Obviously your email is not confidential, 
> since it was sent to the entire world.

Great, I was hoping it was waiting behind the scene.  I can't remove the
message unfortunately, the IT department attaches the message before it
leaves the building.  I am going to setup a yahoo email address to use
for the list from now on.  Sorry for the annoyance

Nate

Confidentiality Notice: The preceding e-mail message (including any attachments) contains information that may be confidential, protected by applicable legal privileges, or constitute non-public information. It is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient of this message, please notify the sender by replying to this message and then delete it from your system. Use, dissemination, distribution or reproduction of this message by unintended recipients is not authorized and may be unlawful.




More information about the Interest mailing list