Qt Reference Documentation

Contents

QtCore Module

The QtCore module contains core non-GUI functionality. More...

Namespaces

Qt

Contains miscellaneous identifiers used throughout the Qt library

QtConcurrent

High-level APIs that make it possible to write multi-threaded programs without using low-level threading primitives

Classes

QtConcurrent::Exception

Base class for exceptions that can transferred across threads

QAbstractAnimation

The base of all animations

QAbstractEventDispatcher

Interface to manage Qt's event queue

QAbstractFileEngine

Abstraction for accessing the filesystem

QAbstractFileEngineHandler

Way to register custom file engines with your application

QAbstractFileEngineIterator

Iterator interface for custom file engines

QAbstractItemModel

The abstract interface for item model classes

QAbstractListModel

Abstract model that can be subclassed to create one-dimensional list models

QAbstractState

The base class of states of a QStateMachine

QAbstractTableModel

Abstract model that can be subclassed to create table models

QAbstractTransition

The base class of transitions between QAbstractState objects

QAnimationGroup

Abstract base class for groups of animations

QAtomicInt

Platform-independent atomic operations on integers

QAtomicPointer

Template class that provides platform-independent atomic operations on pointers

QBasicTimer

Timer events for objects

QBitArray

Array of bits

QBuffer

QIODevice interface for a QByteArray

QByteArray

Array of bytes

QByteArrayMatcher

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

QCache

Template class that provides a cache

QChar

16-bit Unicode character

QChildEvent

Contains event parameters for child object events

QConstString

Wrapper for constant Unicode string data

QContiguousCache

Template class that provides a contiguous cache

QCoreApplication

Event loop for console Qt applications

QCryptographicHash

Way to generate cryptographic hashes

QCustomEvent

Support for custom events

QDataStream

Serialization of binary data to a QIODevice

QDate

Date functions

QDateTime

Date and time functions

QDebug

Output stream for debugging information

QDir

Access to directory structures and their contents

QDirIterator

Iterator for directory entrylists

QDynamicPropertyChangeEvent

Contains event parameters for dynamic property change events

QEasingCurve

Easing curves for controlling animation

QElapsedTimer

Fast way to calculate elapsed times

QEvent

The base class of all event classes. Event objects contain event parameters

QEventLoop

Means of entering and leaving an event loop

QEventTransition

QObject-specific transition for Qt events

QExplicitlySharedDataPointer

Represents a pointer to an explicitly shared object

QFSFileEngine

Implements Qt's default file engine

QFile

Interface for reading from and writing to files

QFileInfo

System-independent file information

QFileSystemWatcher

Interface for monitoring files and directories for modifications

QFinalState

Final state

QFlag

Helper data type for QFlags

QFlags

Type-safe way of storing OR-combinations of enum values

QFuture

Represents the result of an asynchronous computation

QFutureIterator

Java-style const iterator for QFuture

QFutureSynchronizer

Convenience class that simplifies QFuture synchronization

QFutureWatcher

Allows monitoring a QFuture using signals and slots

QGenericArgument

Internal helper class for marshalling arguments

QGenericReturnArgument

Internal helper class for marshalling arguments

QHash

Template class that provides a hash-table-based dictionary

QHashIterator

Java-style const iterator for QHash and QMultiHash

QHistoryState

Means of returning to a previously active substate

QIODevice

The base interface class of all I/O devices in Qt

QLatin1Char

8-bit ASCII/Latin-1 character

QLatin1String

Thin wrapper around an US-ASCII/Latin-1 encoded string literal

QLibrary

Loads shared libraries at runtime

QLibraryInfo

Information about the Qt library

QLine

Two-dimensional vector using integer precision

QLineF

Two-dimensional vector using floating point precision

QLinkedList

Template class that provides linked lists

QLinkedListIterator

Java-style const iterator for QLinkedList

QList

Template class that provides lists

QListIterator

Java-style const iterator for QList and QQueue

QLocale

Converts between numbers and their string representations in various languages

QMap

Template class that provides a skip-list-based dictionary

QMapIterator

Java-style const iterator for QMap and QMultiMap

QMargins

Defines the four margins of a rectangle

QMetaClassInfo

Additional information about a class

QMetaEnum

Meta-data about an enumerator

QMetaMethod

Meta-data about a member function

QMetaObject

Contains meta-information about Qt objects

QMetaProperty

Meta-data about a property

QMetaType

Manages named types in the meta-object system

QMimeData

Container for data that records information about its MIME type

QModelIndex

Used to locate data in a data model

QMultiHash

Convenience QHash subclass that provides multi-valued hashes

QMultiMap

Convenience QMap subclass that provides multi-valued maps

QMutableHashIterator

Java-style non-const iterator for QHash and QMultiHash

QMutableLinkedListIterator

Java-style non-const iterator for QLinkedList

QMutableListIterator

Java-style non-const iterator for QList and QQueue

QMutableMapIterator

Java-style non-const iterator for QMap and QMultiMap

QMutableSetIterator

Java-style non-const iterator for QSet

QMutableVectorIterator

Java-style non-const iterator for QVector and QStack

QMutex

Access serialization between threads

QMutexLocker

Convenience class that simplifies locking and unlocking mutexes

QObject

The base class of all Qt objects

QObjectCleanupHandler

Watches the lifetime of multiple QObjects

QPair

Template class that stores a pair of items

QParallelAnimationGroup

Parallel group of animations

QPauseAnimation

Pause for QSequentialAnimationGroup

QPersistentModelIndex

Used to locate data in a data model

QPluginLoader

Loads a plugin at run-time

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

QProcess

Used to start external programs and to communicate with them

QProcessEnvironment

Holds the environment variables that can be passed to a program

QPropertyAnimation

Animates Qt properties

QQueue

Generic container that provides a queue

QReadLocker

Convenience class that simplifies locking and unlocking read-write locks for read access

QReadWriteLock

Read-write locking

QRect

Defines a rectangle in the plane using integer precision

QRectF

Defines a rectangle in the plane using floating point precision

QRegExp

Pattern matching using regular expressions

QResource

Interface for reading directly from resources

QRunnable

The base class for all runnable objects

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

QSequentialAnimationGroup

Sequential group of animations

QSet

Template class that provides a hash-table-based set

QSetIterator

Java-style const iterator for QSet

QSettings

Persistent platform-independent application settings

QSharedData

Base class for shared data objects

QSharedDataPointer

Represents a pointer to an implicitly shared object

QSharedMemory

Access to a shared memory segment

QSharedPointer

Holds a strong reference to a shared pointer

QSignalMapper

Bundles signals from identifiable senders

QSignalTransition

Transition based on a Qt signal

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

QSocketNotifier

Support for monitoring activity on a file descriptor

QStack

Template class that provides a stack

QState

General-purpose state for QStateMachine

QStateMachine

Hierarchical finite state machine

QString

Unicode character string

QStringList

List of strings

QStringMatcher

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

QStringRef

Thin wrapper around QString substrings

QSysInfo

Information about the system

QSystemLocale

Can be used to finetune the system locale of the user

QSystemSemaphore

General counting system semaphore

QTemporaryFile

I/O device that operates on temporary files

QTextBoundaryFinder

Way of finding Unicode text boundaries in a string

QTextCodec

Conversions between text encodings

QTextCodecPlugin

Abstract base for custom QTextCodec plugins

QTextDecoder

State-based decoder

QTextEncoder

State-based encoder

QTextIStream

Convenience class for input streams

QTextOStream

Convenience class for output streams

QTextStream

Convenient interface for reading and writing text

QThread

Platform-independent threads

QThreadPool

Manages a collection of QThreads

QThreadStorage

Per-thread data storage

QTime

Clock time functions

QTimeLine

Timeline for controlling animations

QTimer

Repetitive and single-shot timers

QTimerEvent

Contains parameters that describe a timer event

QTranslator

Internationalization support for text output

QUrl

Convenient interface for working with URLs

QUuid

Stores a Universally Unique Identifier (UUID)

QVarLengthArray

Low-level variable-length array

QVariant

Acts like a union for the most common Qt data types

QVariantAnimation

Abstract base class for animations

QVector

Template class that provides a dynamic array

QVectorIterator

Java-style const iterator for QVector and QStack

QWaitCondition

Condition variable for synchronizing threads

QWeakPointer

Holds a weak reference to a shared pointer

QWriteLocker

Convenience class that simplifies locking and unlocking read-write locks for write access

QXmlStreamAttribute

Represents a single XML attribute

QXmlStreamAttributes

Represents a vector of QXmlStreamAttribute

QXmlStreamEntityDeclaration

Represents a DTD entity declaration

QXmlStreamEntityResolver

Entity resolver for a QXmlStreamReader

QXmlStreamNamespaceDeclaration

Represents a namespace declaration

QXmlStreamNotationDeclaration

Represents a DTD notation declaration

QXmlStreamReader

Fast parser for reading well-formed XML via a simple streaming API

QXmlStreamWriter

XML writer with a simple streaming API

QtConcurrent::UnhandledException

Represents an unhandled exception in a worker thread

Detailed Description

All other Qt modules rely on this module. To include the definitions of the module's classes, use the following directive:

 #include <QtCore>