[PyKDE] QtEvent

Carles Pina i Estany carles at pina.cat
Fri Oct 27 21:03:08 BST 2006


I am porting an appliation from Python and Qt 3.x to Qt 4.x. 

In the previous application, to communicate from one thread to another one I

def sendInformation(id,s,gui):
        event = QEvent(id)

Very simple and usefull.

In the new Qt version it seems that I have to subclass from QEvent to do the
same. I have done some tests without good result. 

I wonder if somebody here has done it and has some example, so I will not need
to investigate a lot :-) else, tomorrow I will try again and show the


Carles Pina i Estany		GPG id: 0x8CBDAE64
	http://pinux.info	Manresa - Barcelona

More information about the PyQt mailing list