[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: DBUS Transactions
From:       "John Tapsell" <johnflux () gmail ! com>
Date:       2006-06-09 22:26:44
Message-ID: 43d8ce650606091526n6e1ff202ge0ebf185bc161b0a () mail ! gmail ! com
[Download RAW message or body]

Hi Robert,

The way that Thiago does it in another bit of code is to make a class.
 That class contains the QDBusMessage plus all the information that is
needed to uniquely identify it.  You then have a QList of that class.
When your program finally has a reply it should then iterate over the
QList to find which item its replying to.

This is the safest way to do this IMHO.

If you expect a large number of simulatanous calls (unlikely) then use
a QHash instead.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic