diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-12-31 21:50:13 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-01-06 09:18:06 (GMT) |
commit | 61bb8a18c3d3c6e78085bc04c70f899a7e6c8809 (patch) | |
tree | 84eabc722adace870879878ce77ddaec22057f11 /doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp | |
parent | 84f100353ba8352dc917baefeabb64ea7d5bcacd (diff) | |
download | Qt-61bb8a18c3d3c6e78085bc04c70f899a7e6c8809.zip Qt-61bb8a18c3d3c6e78085bc04c70f899a7e6c8809.tar.gz Qt-61bb8a18c3d3c6e78085bc04c70f899a7e6c8809.tar.bz2 |
Change the QtDBus watched service list to a map to its owner.
Instead of simply counting how many times we're watching a service,
also map a service to its owner. This allows us to provide a faster,
cached GetNameOwner too.
Technically, this could mean that a service that is started in-between
event loops could remain invalid for a longer period of time. I'm not
sure this is an issue -- will need some testing in KDE.
Task-number: QTBUG-5979
Reviewed-By: TrustMe
(cherry picked from commit 988decb610ec5e12380c60204878a0b9e2aaeb01)
Diffstat (limited to 'doc/src/snippets/code/src_sql_kernel_qsqldatabase.cpp')
0 files changed, 0 insertions, 0 deletions