Qt Core C++ Classes

Provides core non-GUI functionality. More...

Namespaces

Qt

Contains miscellaneous identifiers used throughout the Qt library

Qt::Literals

Inline namespace declares literal operators for Qt types

Qt::Literals::StringLiterals

Declares string literal operators for Qt types

QtFuture

Contains miscellaneous identifiers used by the QFuture class

QtLiterals

Declares literal operators for Qt types

Classes

QAbstractNativeEventFilter

Interface for receiving native events, such as MSG or XCB event structs

QAdoptSharedDataTag

Helper tag class

QAnyStringView

Unified view on Latin-1, UTF-8, or UTF-16 strings with a read-only subset of the QString API

QAssociativeIterable

Iterable interface for an associative container in a QVariant

QAtomicInt

Platform-independent atomic operations on int

QAtomicInteger

Platform-independent atomic operations on integers

QAtomicPointer

Template class that provides platform-independent atomic operations on pointers

QBEInteger

Platform-independent big-endian integers

QBaseIterator

QBasicTimer

Timer events for objects

QBindable

Wrapper class around binding-enabled properties. It allows type-safe operations while abstracting the differences between the various property classes away

QByteArrayList

List of byte arrays

QByteArrayMatcher

Holds a sequence of bytes that can be quickly matched in a byte array

QByteArrayView

View on an array of bytes with a read-only subset of the QByteArray API

QCache

Template class that provides a cache

QChar

16-bit Unicode character

QCommandLineOption

Defines a possible command-line option

QConstIterator

Allows iteration over a container in a QVariant

QContiguousCache

Template class that provides a contiguous cache

QDataStream

Serialization of binary data to a QIODevice

QDeadlineTimer

Marks a deadline in the future

QDebug

Output stream for debugging information

QDebugStateSaver

Convenience class for custom QDebug operators

QElapsedTimer

Fast way to calculate elapsed times

QEnableSharedFromThis

A base class that allows obtaining a QSharedPointer for an object already managed by a shared pointer

QException

Base class for exceptions that can be transferred across threads

QExplicitlySharedDataPointer

Represents a pointer to an explicitly shared object

QFuture

Represents the result of an asynchronous computation

QFutureIterator

Java-style const iterator for QFuture

QFutureSynchronizer

Convenience class that simplifies QFuture synchronization

QGlobalStatic

Used to implement a global static object

QHashIterator

Java-style const iterator for QHash and QMultiHash

QIterable

Template class that is the base class for QSequentialIterable and QAssociativeIterable

QIterator

Template class that allows iteration over a container in a QVariant

QJniEnvironment

Access to the JNI Environment (JNIEnv)

QJniObject

A convenience wrapper around the Java Native Interface (JNI)

QKeyCombination

Stores a combination of a key with optional modifiers

QKeyValueIterator

Iterator over the key/value pairs of an associative container

QLEInteger

Platform-independent little-endian integers

QLatin1Char

8-bit ASCII/Latin-1 character

QLibraryInfo

Information about the Qt library

QLine

Two-dimensional vector using integer precision

QLineF

Two-dimensional vector using floating point precision

QList

Template class that provides a dynamic array

QListIterator

Java-style const iterator for QList and QQueue

QLocale

Converts between numbers and their string representations in various languages

QLockFile

Locking between processes using a file

QMap

Template class that provides an associative array

QMapIterator

Java-style const iterator for QMap

QMargins

Defines the four margins of a rectangle

QMarginsF

Defines the four margins of a rectangle

QMessageAuthenticationCode

Way to generate hash-based message authentication codes

QMetaSequence

Allows type erased access to sequential containers

QMultiMap

Template class that provides an associative array with multiple equivalent keys

QMultiMap::key_iterator

QMultiMap::key_iterator class provides an STL-style const iterator for QMultiMap keys

QMultiMapIterator

Java-style const iterator for QMultiMap. QMultiMap has both Java-style iterators and STL-style iterators. STL-style iterators are more efficient and should be preferred

QMutableHashIterator

Java-style non-const iterator for QHash and QMultiHash

QMutableListIterator

Java-style non-const iterator for QList, QQueue and QStack

QMutableMapIterator

Java-style non-const iterator for QMap

QMutableMultiMapIterator

Java-style non-const iterator for QMultiMap

QMutableSetIterator

Java-style non-const iterator for QSet

QMutex

Access serialization between threads

QMutexLocker

Convenience class that simplifies locking and unlocking mutexes

QObjectBindableProperty

Template class that enables automatic property bindings for property data stored in QObject derived classes

QObjectComputedProperty

Template class to help port old properties to the bindable property system

QOperatingSystemVersion

Information about the operating system version

QPartialOrdering

Represents the result of a comparison that allows for unordered results

QPoint

Defines a point in the plane using integer precision

QPointF

Defines a point in the plane using floating point precision

QPointer

Template class that provides guarded pointers to QObject

QPromise

Way to store computation results to be accessed by QFuture

QProperty

Template class that enables automatic property bindings

QPropertyBindingError

QPropertyChangeHandler

Controls the lifecycle of change callback installed on a QProperty

QPropertyData

Helper class for properties with automatic property bindings

QPropertyNotifier

Controls the lifecycle of change callback installed on a QProperty

QQueue

Generic container that provides a queue

QRect

Defines a rectangle in the plane using integer precision

QRectF

Defines a finite rectangle in the plane using floating point precision

QRecursiveMutex

Access serialization between threads

QRegularExpression

Pattern matching using regular expressions

QRegularExpressionMatch

The results of a matching a QRegularExpression against a string

QRegularExpressionMatchIterator

Iterator on the results of a global match of a QRegularExpression object against a string

QRunnable

The base class for all runnable objects

QScopeGuard

Provides a scope guard for calling a function at the end of a scope

QScopedArrayPointer

Stores a pointer to a dynamically allocated array of objects, and deletes it upon destruction

QScopedPointer

Stores a pointer to a dynamically allocated object, and deletes it upon destruction

QScopedValueRollback

Resets a variable to its previous value on destruction

QSemaphore

General counting semaphore

QSemaphoreReleaser

Exception-safe deferral of a QSemaphore::release() call

QSequentialIterable

Iterable interface for a container in a QVariant

QSet

Template class that provides a hash-table-based set

QSet::const_iterator

QSet::const_iterator class provides an STL-style const iterator for QSet

QSet::iterator

QSet::iterator class provides an STL-style non-const iterator for QSet

QSetIterator

Java-style const iterator for QSet

QSharedData

Base class for shared data objects

QSharedDataPointer

Represents a pointer to an implicitly shared object

QSharedPointer

Holds a strong reference to a shared pointer

QSize

Defines the size of a two-dimensional object using integer point precision

QSizeF

Defines the size of a two-dimensional object using floating point precision

QStack

Template class that provides a stack

QStaticByteArrayMatcher

Compile-time version of QByteArrayMatcher

QStorageInfo

Provides information about currently mounted storage and drives

QStringConverter

Base class for encoding and decoding text

QStringDecoder

State-based decoder for text

QStringEncoder

State-based encoder for text

QStringMatcher

Holds a sequence of characters that can be quickly matched in a Unicode string

QStringTokenizer

Splits strings into tokens along given separators

QStringView

Unified view on UTF-16 strings with a read-only subset of the QString API

QSystemSemaphore

General counting system semaphore

QTaggedIterator

Template class that wraps an iterator and exposes standard iterator traits

QUnhandledException

Represents an unhandled exception in a Qt Concurrent worker thread

QUntypedBindable

Uniform interface over bindable properties like QProperty\<T\> and QObjectBindableProperty of any type T

QUrlQuery

Way to manipulate a key-value pairs in a URL's query

QUtf8StringView

Unified view on UTF-8 strings with a read-only subset of the QString API

QUuid

Stores a Universally Unique Identifier (UUID)

QVarLengthArray

Low-level variable-length array

QVector

Alias for QList

QWaitCondition

Condition variable for synchronizing threads

QWeakPointer

Holds a weak reference to a shared pointer

QWinEventNotifier

Support for the Windows Wait functions

QtFuture::WhenAnyResult

QtFuture::WhenAnyResult is used to represent the result of QtFuture::whenAny()

qfloat16

Provides 16-bit floating point support

Detailed Description

All other Qt modules rely on this module.

The Qt Core page contains information about how to use the module.