本页内容

已弃用的类

已弃用的 C++ 类

以下 Qt C++ 类现已过时。过时的类不再进行维护。提供这些类是为了确保旧源代码能够继续运行,但在未来的版本中可能会被移除。我们强烈建议不要在新代码中使用这些类。

包含已弃用成员的 C++ 类

以下 Qt C++ 类包含一个或多个现已过时的成员。过时的成员不再进行维护。提供这些成员是为了确保旧源代码能够继续运行,但它们可能会在未来的版本中被移除。我们强烈建议不要在新代码中使用这些过时的成员。点击某个类可查看其已弃用的成员。

A
QAbstractEventDispatcher
QAbstractItemView
QAbstractOAuth2
QAction
QAnyStringView
QApplication
QAxFactory
B
Binding (QQmlSA)
QBasicTimer
QBitmap
QByteArray
QByteArrayView
C
QCheckBox
QColor
QContextMenuEvent
QCryptographicHash
QCursor
D
QDataStream
QDate
QDateTime
QDateTimeEdit
QDBusConnection
QDBusConnectionInterface
QDesignerFormWindowManagerInterface
QDomDocument
QDragEnterEvent
QDragMoveEvent
QDropEvent
E
QEnterEvent
QEventPoint
QExposeEvent
F
QFileOpenEvent
qfloat16
QFont
QFontDatabase
QFontInfo
QFuture
QFutureWatcher
G
QGlobalStatic
QGraphicsItem
QGraphicsScene
QGraphicsSvgItem
QGraphicsView
QGuiApplication
H
QHash
QHelpEngineCore
QHelpIndexWidget
QHelpSearchEngine
QHelpSearchQueryWidget
QHoverEvent
I
QIcon
J
QJniEnvironment
QJSValue
K
QKeyCombination
L
QLabel
QLibraryInfo
QLineF
QList
QListWidgetItem
QLocale
M
QMatrix4x4
QMediaRecorder
QMenu
QMessageBox
QMetaMethod
QMetaObject
QMetaProperty
QMetaType
QMouseEvent
QMultiMap
N
QNativeGestureEvent
QNetworkAccessManager
QNetworkInformation
O
QOAuth2AuthorizationCodeFlow
QObject
P
QPalette
QPixmapCache
QPointingDevice
QProcess
Q
QQmlEngine
QQmlExtensionPlugin
QQmlFile
QQmlFileSelector
QQmlListProperty
QQmlListReference
QQmlPropertyMap
QQuaternion
QQuickItem
QQuickPaintedItem
QQuickWindow
R
QRegion
QRegularExpression
S
QScopedArrayPointer
QScopedPointer
QShortcut
QShortcutEvent
QSocketNotifier
QSqlDatabase
QSqlField
QSqlQuery
QSqlQueryModel
QStateMachine
QString
QStringView
QStyle
QStyleHints
QSurfaceFormat
T
QTabletEvent
QTableWidgetItem
QTextCharFormat
QTextCodec
QTextStream
QTimer
QTimeZone
QTouchEvent
QTreeWidgetItem
U
QUtf8StringView
V
QVariant
QVarLengthArray
QVideoFrame
QVideoFrameFormat
QVirtualKeyboardInputContext
W
QWebEnginePage
QWebSocket
QWebSocketServer
QWheelEvent
QWidget
X
QXmlReader

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.