摘要:http://doc.qt.nokia.com/4.7-snapshot/tutorials.html
阅读全文
摘要:qoject.cpp中的代码: static void queued_activate(QObject *sender, int signal, QObjectPrivate::Connection *c, void **argv) { if (!c->argumentTypes && c->argumentTypes != &DIRECT_CONNECTION_ONLY) {...
阅读全文
摘要:http://blog.csdn.net/dbzhang800/article/details/6540089 http://doc.qt.nokia.com/qq/qq16-dynamicqobject.html
阅读全文
摘要: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 ...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要: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...
阅读全文
摘要:http://doc.qt.nokia.com/qq/qq11-events.html
阅读全文
摘要: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 ...
阅读全文
摘要:http://qt-project.org/wiki/Threads_Events_QObjects Threads, Events and QObjects Warning: Beta Version The article is almost done, but it needs a bit of polishing and some good examples. Any rev...
阅读全文
摘要:http://en.wikipedia.org/wiki/Ad_hoc Ad hoc is a Latin phrase meaning "for this". It generally signifies a solution designed for a specific problem or task, non-generalizable, and not intended to b...
阅读全文
摘要:What Are Threads? GUI Thread and Worker Thread Simultaneous Access to Data Using Threads When to Use Alternatives to Threads Which Qt ...
阅读全文
摘要:Threads in an operating system are a very simple thing. Write a function, maybe bundle it with some data and push it onto a newly created thread. Use a mutex or other method to safely communicate with...
阅读全文
摘要:http://blog.csdn.net/dbzhang800/article/details/6557272 QObject Reentrancy The child of a QObject must always be created in the thread where the parent was created. This implies, among other thin...
阅读全文
摘要:http://www.linuxsir.org/bbs/thread360100.html OK,把登录管理器由gdm换成xdm之后,问题解决了。主要参考的是,做法如下: 《Gentoo Wiki Archive -- XDMCP》 http://www.gentoo-wiki.info/XDMCP 把登录管理器设为 xdm: 修改 /etc/conf.d/xdm ...
阅读全文
摘要:选项用:分割 export QWS_MOUSE_PROTO="Vr41xx:press=500:/dev/misc/ts" export QWS_KEYBOARD="kblibhandler:/dev/xxx:disable-zap"
阅读全文
摘要:摘自 : http://linux.vbird.org/linux_basic/0230filesystem.php#fdiskCommand (m for help): p <== 這裡可以輸出目前磁碟的狀態Disk /dev/hdc: 41.1 GB, 41174138880 bytes <==這個磁碟的檔名與容量255 heads, 63 sectors/track, 500...
阅读全文
摘要:vi ~/.subversion/config [miscellany] enable-auto-props = yes [auto-props] *.c = svn:keywords=Id Revision Date Author *.cpp = svn:keywords=Id Revision Date Author *.h = svn:keywords=Id Rev...
阅读全文
摘要:1、修改用户进程可打开文件数限制 在Linux平台上,无论编写客户端程序还是服务端程序,在进行高并发TCP连接处理时,最高的并发数量都要受到系统对用户单一进程同时可打开文件数量的限制(这是因为系统为每个TCP连接都要创建一个socket句柄,每个socket句柄同时也是一个文件句柄)。可使用ulimit命令查看系统允许当前用户进程打开的文件数限制: [speng@as4 ~]$ ulim...
阅读全文