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

List:       kde-devel
Subject:    Re: QEvent Id's for custom events
From:       Gary Cramblitt <garycramblitt () comcast ! net>
Date:       2005-04-25 18:33:38
Message-ID: 200504251833.38177.garycramblitt () comcast ! net
[Download RAW message or body]

On Monday 25 April 2005 10:07 pm, Andreas Pakulat wrote:
> Hi,
>
> I wanted to have a QThread load some large images in the background and
> created 2 QEvents for handling the notification of 1 image beeing ready
> and having read all images. The both events use QEvent::User+x where x
> is 1 or 2, according to the event. Now my problem is: Moving the
> mainwindow around posts an event that is equal to QEvent::User+2, which
> stops my QThread!

Some of the kdelibs stuff uses QEvent::User + something.  FWIW, I have used 
QEvent::User + 301 , 302,  303, etc. with success.

-- 
Gary Cramblitt (aka PhantomsDad)
KDE Text-to-Speech Maintainer
http://accessibility.kde.org/developer/kttsd/index.php
 
>> 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