7#include <QtCore/qlist.h>
13class QQueue :
public QList<T>
17 inline void swap(QQueue<T> &other)
noexcept { QList<T>::swap(other); }
18 inline void enqueue(
const T &t) { QList<T>::append(t); }
19 inline T dequeue() {
return QList<T>::takeFirst(); }
20 inline T &head() {
return QList<T>::first(); }
21 inline const T &head()
const {
return QList<T>::first(); }
The QLocalServer class provides a local socket based server.
QT_REQUIRE_CONFIG(animation)
QT_REQUIRE_CONFIG(localserver)