[Kde-bindings] QThread in Qyoto

Ishwor Gurung ishwor at loopback.ath.cx
Tue Apr 7 02:59:25 UTC 2009


Hello Arno,

Arno Rehn wrote:
> On Monday 06 April 2009 22:01:56 Ishwor Gurung wrote:
>> Hi guys,
>>
>> Is there a simple example of using QThread in Qyoto?
>>
>> I did Google around but couldn't find any examples.
>>
>> Thanks.
> Use the standard .NET threads in System.Threading. To invoke methods in the 
> main thread, use QApplication.Invoke().

The trouble basically is that since it seems I can't use the overloaded
run() of QThread, my UI layer just blocks while the backend connects to
the socket (socket bit is working properly).

If only I could hook a separate thread for the UI and a separate thread
for backend :/

Is there proper way to do this using System.Threading? Thanks for replying.

-- 
	Cheers,
	Ishwor Gurung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2623 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20090407/d35dcc2e/attachment.bin>


More information about the Kde-bindings mailing list