Re: Using QThread or similar method in OPIE
Holger Schurig <[email protected]>
| Newsgroups | gmane.comp.handhelds.opie.devel |
|---|---|
| Message-ID | <[email protected]> |
> I just realized that QThread is not supported in my version of OPIE ( 1. 2. > 0 built on Qt/E 2.3.10 ). I want to build a controller application, which > has half of the window updating statics periodically and the other half > containing buttons for commands. How can I do so without using QThread? > Thank you. You can use a QTimer. It your statistics update code is reasonably fast this will give kind-of-multithreading behavior. http://doc.trolltech.com/2.3/qtimer.html#details Maybe you have to call QApplication::processEvents() manually if your statistics update code takes veeeery long. http://doc.trolltech.com/2.3/qapplication.html#30e70c _______________________________________________ http://opie.handhelds.org/cgi-bin/moin.cgi/DeveloperWikiIndex Opie-devel mailing list [email protected] https://handhelds.org/mailman/listinfo/opie-devel