source: trunk/doc/src/snippets/code/doc_src_qnamespace.qdoc@ 244

Last change on this file since 244 was 2, checked in by Dmitry A. Kuminov, 16 years ago

Initially imported qt-all-opensource-src-4.5.1 from Trolltech.

File size: 568 bytes
Line 
1//! [0]
2QObject::connect: Cannot queue arguments of type 'MyType'
3//! [0]
4
5
6//! [1]
7enum CustomEventPriority
8{
9 // An important event
10 ImportantEventPriority = Qt::HighEventPriority,
11
12 // A more important event
13 MoreImportantEventPriority = ImportantEventPriority + 1,
14
15 // A critical event
16 CriticalEventPriority = 100 * MoreImportantEventPriority,
17
18 // Not that important
19 StatusEventPriority = Qt::LowEventPriority,
20
21 // These are less important than Status events
22 IdleProcessingDoneEventPriority = StatusEventPriority - 1
23};
24//! [1]
Note: See TracBrowser for help on using the repository browser.