过时的类

已过时的 C++ 类

以下 Qt C++ 类现已过时。我们不再维护过时的类。提供这些类是为了让旧源代码继续工作,但它们可以在未来的版本中删除。我们强烈建议不要在新代码中使用这些类。

包含过时成员的 C++ 类

以下 Qt C++ 类包含一个或多个现已过时的成员。我们不再维护过时的成员。提供这些成员是为了保持旧源代码的正常工作,但它们可以在未来的版本中删除。我们强烈建议不要在新代码中使用这些过时的成员。点击一个类,查看其废弃成员。

A
QAbstractEventDispatcher
QAbstractItemView
QAction
QAnyStringView
QApplication
QAxFactory
B
Binding (QQmlSA)
QBasicTimer
QBitmap
QByteArray
QByteArrayView
C
QCamera (Qt3DRender)
QChart
QCheckBox
QColor
QContextMenuEvent
QCryptographicHash
QCursor
D
QDate
QDateTime
QDBusConnection
QDBusConnectionInterface
QDesignerFormWindowManagerInterface
QDomDocument
QDropEvent
E
QEnterEvent
QEventPoint
QExposeEvent
F
QFileOpenEvent
QFont
QFontDatabase
QFontInfo
QForwardRenderer (Qt3DExtras)
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
QProcess
Q
QQmlEngine
QQmlFileSelector
QQmlListProperty
QQmlListReference
QQuickItem
QQuickPaintedItem
QQuickWindow
R
QRegion
QRegularExpression
QRenderCapture (Qt3DRender)
S
QScopedArrayPointer
QScopedPointer
QShortcut
QShortcutEvent
QSocketNotifier
QSqlDatabase
QSqlField
QSqlQuery
QSqlQueryModel
QStateMachine
QString
QStringView
QStyle
QStyleHints
QSurfaceFormat
T
QTabletEvent
QTableWidgetItem
QTextCharFormat
QTextCodec
QTimer
QTimeZone
QTouchEvent
QTreeWidgetItem
U
QUtf8StringView
V
QVariant
QVarLengthArray
QVideoFrame
QVideoFrameFormat
QVirtualKeyboardInputContext
W
QWeakPointer
QWebEnginePage
QWebSocket
QWebSocketServer
QWheelEvent
QWidget
X
QXmlReader
QXYSeries

© 2025 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.