[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Inter-thread signals/slots?
From: Thiago Macieira <thiago () kde ! org>
Date: 2006-05-03 13:49:26
Message-ID: 200605031549.34425.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Vladimir Prus wrote:
>Can you clarify one point? Say I have second thread. Is it safe to
>manipulate QListView from that other thread, after calling qApp->lock()?
>For example:
>
> qApp->lock();
> new QListViewItem(var, .....);
> qApp->unlock();
No.
Do not create or manipulate or destroy QObjects outside the GUI thread
(Qt3) or a QThread thread (Qt4).
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech AS
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
[Attachment #5 (application/pgp-signature)]
>> 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