Thank you very much.
Is it reasonable to bulid only one protocol to deal with datas tranports
between client and server ? If in this way, i believe i have to write lots of
case to deal with the message, such as to call differnent method,it's
impressive.
Is there any suggestions?
杨有秀
敬上
From: Laurens Van Houtven
Date: 2013-11-17 17:57
To: Twisted general discussion
Subject: Re: [Twisted-Python] how to change an qt4 applicaion using twisted?
Hi yangyouxiu,
Like Twisted, Qt (and almost all GUI toolkits) work on a single thread, evented
mechanism, with an event loop at its core. Qt4Reactor, I believe, just merges
these two loops into one loop.
The documentation for Qt4Reactor should tell you how to do that. Presumably
there's a reactor.install() somewhere :)
good luck
lvh
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python