Logo Search packages:      
Sourcecode: qt4-x11 version File versions

src_corelib_tools_qqueue.cpp

//! [0]
QQueue<int> queue;
queue.enqueue(1);
queue.enqueue(2);
queue.enqueue(3);
while (!queue.isEmpty())
    cout << queue.dequeue() << endl;
//! [0]

Generated by  Doxygen 1.6.0   Back to index