过时类

被弃用的 C++ 类

下列 Qt C++ 类现已过时。过时类不再维护。提供它们是为使旧源代码能继续工作,但在未来发行中会移除它们。强烈建议不要在新代码中使用这些类。

C
QCanBusFactory
D
QDirModel
G
QGLBuffer
QGLColormap
QGLContext
QGLFormat
QGLFramebufferObject
QGLFramebufferObjectFormat
QGLFunctions
QGLPixelBuffer
QGLShader
QGLShaderProgram
QGLWidget
QGraphicsItemAnimation
H
QHelpSearchQuery
M
QMatrix
P
QPictureFormatPlugin
QPictureIO
S
QSGSimpleRectNode
QSGSimpleTextureNode

包含一个或多个被弃用成员的 C++ 类

下列 Qt C++ 类包含一个或多个现已过时的成员。过时成员不再维护。提供它们是为使旧源代码能继续工作,但在未来发行中会移除它们。强烈建议不要在新代码中使用这些过时成员。点击类以查看其弃用成员。

A
QAbstractEventDispatcher
QAbstractItemDelegate
QAbstractItemModel
QAbstractItemView
QAbstractPrintDialog
QAccessible
QApplication
B
QBitmap
QByteArray
C
QCamera
QChar
QColor
QColorDialog
QComboBox
QCommandLineOption
QCoreApplication
QCamera ( Qt3DRender )
D
QDBusConnection
QDBusConnectionInterface
QDataStream
QDate
QDateTime
QDesignerFormWindowManagerInterface
QDesktopServices
QDesktopWidget
QDialog
QDir
QDrag
E
QEasingCurve
F
QFile
QFileDialog
QFileInfo
QFont
QFontDatabase
QFontInfo
QFontMetrics
QForwardRenderer ( Qt3DExtras )
G
QGeoShape
QGlobalStatic
QGraphicsItem
QGraphicsScene
QGraphicsSvgItem
QGraphicsView
H
QHeaderView
QHelpIndexModel
QHelpSearchEngine
QHelpSearchQueryWidget
I
QIcon
QImage
QImageIOHandler
QImageWriter
QInputDialog
QItemSelectionRange
J
QJSEngine
QJSValue
K
QKeySequence
L
QLayout
QLibraryInfo
QLineF
QListWidget
QListWidgetItem
QLocale
QLowEnergyController
M
QMatrix4x4
QMediaPlayer
QMessageBox
QMetaProperty
QMetaType
QModelIndex
QMouseEvent
O
QObject
QOpenGLFunctions
QOpenGLTexture
P
QPaintEngineState
QPainter
QPainterPath
QPalette
QPdfWriter
QPersistentModelIndex
QPicture
QPixmap
QPixmapCache
QPrinter
QPrinterInfo
QProcess
Q
QQuaternion
QQuickPaintedItem
QQuickWindow
R
QRect
QRectF
QRegion
QResource
S
QScriptContextInfo
QScriptEngine
QScriptValue
QSerialPort
QSerialPortInfo
QSettings
QSortFilterProxyModel
QSqlError
QSslCertificate
QSslSocket
QStandardItem
QStandardPaths
QString
QStringRef
QStyle
QStyleOption
QStyleOptionGraphicsItem
QStyleOptionProgressBar
QSurfaceFormat
QSysInfo
T
QTableView
QTableWidget
QTableWidgetItem
QTabletEvent
QTemporaryFile
QTextCharFormat
QTextCodec
QTextLayout
QTextList
QThreadPool
QTouchEvent
QTransform
QTreeView
QTreeWidget
QTreeWidgetItem
U
QUrl
V
QVariant
W
QWeakPointer
QWebEngineSettings
QWheelEvent
QWidget
X
QXmlReader