qt-interest@trolltech.com
[Top] [All Lists]

Re: Pass Events to Thread in Console App?

Subject: Re: Pass Events to Thread in Console App?
From: Joshua Senecal
Date: Thu, 31 Jul 2008 07:51:15 -0700
Hi Darrik,

> Why not have the application collect events to form commands and then 
> dispatch those to the thread using a slot?

That's a good suggestion--thanks very much. In order to handle the key 
events I'd need to get an event handler installed in the main 
applications, correct? Would I do this by subclassing QCoreApplication?

Sorry if this is mundane; I've been working with Qt for ~2 months now.

Thanks!

-Josh

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>