摘要: http://qt-project.org/wiki/QThreads_general_usage QThreads General Usage Threads in an operating system are a very simple thing. Write a function, maybe bundle it with some data and push it onto ... 阅读全文
posted @ 2012-06-26 17:21 katago 阅读(290) 评论(0) 推荐(0)
摘要: Threads and QObjects QThreadinheritsQObject. It emits signals to indicate that the thread started or finished executing, and provides a few slots as well. More interest... 阅读全文
posted @ 2012-06-26 16:03 katago 阅读(694) 评论(0) 推荐(0)
摘要: QObject Class Reference void QObject::moveToThread ( QThread * targetThread ) Changes the thread affinity for this object and its children. The object cannot be moved if it has a parent. Event pr... 阅读全文
posted @ 2012-06-26 14:27 katago 阅读(309) 评论(0) 推荐(0)
摘要: QTimer Class Reference In multithreaded applications, you can use QTimer in any thread that has an event loop. To start an event loop from a non-GUI thread, use QThread::exec(). Qt uses the timer's t... 阅读全文
posted @ 2012-06-26 13:49 katago 阅读(341) 评论(0) 推荐(0)
摘要: http://doc.qt.nokia.com/qq/qq11-events.html 阅读全文
posted @ 2012-06-26 13:46 katago 阅读(166) 评论(0) 推荐(0)
摘要: Detailed Description The QEvent class is the base class of all event classes. Event objects contain event parameters. Qt's main event loop (QCoreApplication::exec()) fetches ... 阅读全文
posted @ 2012-06-26 11:45 katago 阅读(217) 评论(0) 推荐(0)