Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
Deprecated List
Member nodeStatusAsString (const Node *node)

commands.

commands.

Member operator<<

[6.0] Stream QMetaType::Type instead.

[6.0] Stream QMetaType::Type instead.

Member operator>>

[6.0] Stream QMetaType::Type instead.

[6.0] Stream QMetaType::Type instead.

Class QAbstractEventDispatcher::TimerInfo

[6.8] Use TimerInfoV2 \inmodule QtCore

[6.8] Use TimerInfoV2 \inmodule QtCore

Member QAbstractItemView::itemDelegate () const

Use itemDelegateForIndex() instead. Returns the item delegate used by this view and model for the given index.

Use itemDelegateForIndex() instead. Returns the item delegate used by this view and model for the given index.

Member QAnyStringView::left (qsizetype n) const

Use first() instead in new code.

Use first() instead in new code.

Member QAnyStringView::mid (qsizetype pos, qsizetype n=-1) const

Use sliced() instead in new code.

Use sliced() instead in new code.

Member QAnyStringView::right (qsizetype n) const

Use last() instead in new code.

Use last() instead in new code.

Member QCursor::bitmap () const

Use the overload without argument instead.

Use the overload without argument instead.

Member QCursor::mask () const

Use the overload without argument instead.

Use the overload without argument instead.

Member QDBusConnection::callWithCallback (const QDBusMessage &message, QObject *receiver, const char *slot, int timeout=-1) const

Sends the message over this connection and returns immediately. When the reply is received, the method returnMethod is called in the receiver object.

Sends the message over this connection and returns immediately. When the reply is received, the method returnMethod is called in the receiver object.

Member QDBusConnectionInterface::serviceOwnerChanged (const QString &name, const QString &oldOwner, const QString &newOwner)

Member QDesignerFormWindowManagerInterface::actionAdjustSize () const

Member QDesignerFormWindowManagerInterface::actionBreakLayout () const

Member QDesignerFormWindowManagerInterface::actionDelete () const

Member QDesignerFormWindowManagerInterface::actionFormLayout () const

Member QDesignerFormWindowManagerInterface::actionGridLayout () const

Member QDesignerFormWindowManagerInterface::actionHorizontalLayout () const

Member QDesignerFormWindowManagerInterface::actionLower () const

Member QDesignerFormWindowManagerInterface::actionRaise () const

Member QDesignerFormWindowManagerInterface::actionRedo () const

Member QDesignerFormWindowManagerInterface::actionSelectAll () const

Member QDesignerFormWindowManagerInterface::actionSimplifyLayout () const

Member QDesignerFormWindowManagerInterface::actionSplitHorizontal () const

Member QDesignerFormWindowManagerInterface::actionSplitVertical () const

Member QDesignerFormWindowManagerInterface::actionUndo () const

Member QDesignerFormWindowManagerInterface::actionVerticalLayout () const

Member qFindChildqFindChildren

Member qFindChildrenqFindChildren

Member QFontDatabase::QFontDatabase ()=delete

[6.0] Call the class methods as static functions instead.

[6.0] Call the class methods as static functions instead.

Class QGeoServiceProviderFactory

Member QGraphicsItem::handlesChildEvents () const

Member QGraphicsItem::setHandlesChildEvents (bool enabled)

Class QGraphicsItemAnimation

Member QGraphicsScene::drawItems (QPainter *painter, int numItems, QGraphicsItem *items[], const QStyleOptionGraphicsItem options[], QWidget *widget=nullptr)

Member QGraphicsSvgItem::isCachingEnabled () const

Member QGraphicsSvgItem::setCachingEnabled (bool)

Member QGraphicsView::drawItems (QPainter *painter, int numItems, QGraphicsItem *items[], const QStyleOptionGraphicsItem options[])

Member QHelpEngineCore::addCustomFilter (const QString &filterName, const QStringList &attributes)

Member QHelpEngineCore::currentFilter () const

Member QHelpEngineCore::currentFilterChanged (const QString &newFilter)

Member QHelpEngineCore::customFilters () const

Member QHelpEngineCore::files (const QString namespaceName, const QStringList &filterAttributes, const QString &extensionFilter={})

Member QHelpEngineCore::filterAttributes () const
Member QHelpEngineCore::filterAttributes (const QString &filterName) const
Member QHelpEngineCore::filterAttributes () const
Member QHelpEngineCore::filterAttributes (const QString &filterName) const
Member QHelpEngineCore::filterAttributeSets (const QString &namespaceName) const

Member QHelpEngineCore::readersAboutToBeInvalidated ()

Member QHelpEngineCore::removeCustomFilter (const QString &filterName)

Class QHelpSearchQuery

Member QJSNumberCoercion::isInteger (double d)

6.7

6.7

Member QLabel::picture () const

Use the overload without argument instead.

Use the overload without argument instead.

Member QLineF::IntersectionType

Use QLineF::IntersectionType instead.

Use QLineF::IntersectionType instead.

Member QMatrix4x4::flipCoordinates ()

Member QMetaType::compare (const void *lhs, const void *rhs) const

Use the non-static compare method instead

Use the non-static compare method instead

Member QMetaType::construct (void *where, const void *copy=nullptr) const

Member QMetaType::convert (QMetaType fromType, const void *from, QMetaType toType, void *to)

Member QMetaType::create (const void *copy=nullptr) const

Member QMetaType::debugStream (QDebug &dbg, const void *rhs)

Member QMetaType::destroy (void *data) const

Destroys the data, assuming it is of the type given.

Destroys the data, assuming it is of the type given.

Member QMetaType::destruct (void *data) const

Member QMetaType::hasRegisteredDebugStreamOperator () const

Use QMetaType::hasRegisteredDebugStreamOperator() instead.

Use QMetaType::hasRegisteredDebugStreamOperator() instead.

Member QMetaType::load (QDataStream &stream, void *data) const

Member QMetaType::save (QDataStream &stream, const void *data) const

Member QMetaType::sizeOf () const

Member QMouseEvent::pos () const

[6.0] Use position() instead.

[6.0] Use position() instead.

Member QMouseEvent::source () const

[6.0] Use pointingDevice() instead.

[6.0] Use pointingDevice() instead.

Member QNetworkAccessManager::supportedSchemesImplementation () const

Member QObjectList

Member QPalette::QPalette (const QColor &windowText, const QColor &window, const QColor &light, const QColor &dark, const QColor &mid, const QColor &text, const QColor &base)

Member QQuick3DAbstractLight::QQuick3DAbstractLight (QQuick3DNodePrivate &dd, QQuick3DNode *parent=nullptr)

[6.8] No longer used for anything, use \l{Light::}{pcfFactor} instead.

[6.8] No longer used for anything, use \l{Light::}{pcfFactor} instead.

Member QQuick3DDefaultMaterial::QQuick3DDefaultMaterial (QQuick3DObject *parent=nullptr)

[6.4] Prefer using the \l PrincipledMaterial or \l SpecularGlossyMaterial instead.

[6.4] Prefer using the \l PrincipledMaterial or \l SpecularGlossyMaterial instead.

Member QQuickApplication::QQuickApplication (QObject *parent=nullptr)

[5.2]

[5.2]

Member QQuickCanvasItem::canvasWindow () const

This feature is incomplete. For details, see QTBUG-33129.

This feature is incomplete. For details, see QTBUG-33129.

Member QQuickCanvasItem::tileSize () const

This feature is incomplete. For details, see QTBUG-33129.

This feature is incomplete. For details, see QTBUG-33129.

Member QQuickDeliveryAgentPrivate::eventInDelivery () const

events are handled by methods in which the event is an argument

events are handled by methods in which the event is an argument

Member QQuickFileDialog::currentFile () const

[6.3] Use \l selectedFile instead.

[6.3] Use \l selectedFile instead.

Member QQuickFileDialog::currentFiles () const

[6.3] Use \l selectedFiles instead.

[6.3] Use \l selectedFiles instead.

Member QQuickFontDialog::currentFont () const

[6.3] Use \l selectedFont instead.

[6.3] Use \l selectedFont instead.

Member QQuickGravityAffector::setAcceleration (qreal arg)

Member QQuickItem::grabMouse ()

Use QPointerEvent::setExclusiveGrabber().

Use QPointerEvent::setExclusiveGrabber().

Member QQuickItem::grabTouchPoints (const QList< int > &ids)

Use QPointerEvent::setExclusiveGrabber(). Grabs the touch points specified by ids.

Use QPointerEvent::setExclusiveGrabber(). Grabs the touch points specified by ids.

Member QQuickItem::ungrabMouse ()

Use QPointerEvent::setExclusiveGrabber().

Use QPointerEvent::setExclusiveGrabber().

Member QQuickItem::ungrabTouchPoints ()

Use QEventPoint::setExclusiveGrabber() instead. Ungrabs the touch points owned by this item.

Use QEventPoint::setExclusiveGrabber() instead. Ungrabs the touch points owned by this item.

Member QQuickPaintedItem::contentsBoundingRect () const

Member QQuickPaintedItem::contentsScale

Member QQuickPaintedItem::contentsSize

Member QQuickPaintedItem::resetContentsSize ()

This convenience function is equivalent to calling setContentsSize(QSize()).

This convenience function is equivalent to calling setContentsSize(QSize()).

Member QQuickPinchHandler::setActiveRotation (qreal rot)

[6.5] Use activeRotation

[6.5] Use activeRotation

Member QQuickPinchHandler::setPersistentScale (qreal scale)

[6.5] Use persistentScale

[6.5] Use persistentScale

Member QQuickPinchHandler::setPersistentTranslation (const QPointF &trans)

[6.5] Use activeTranslation

[6.5] Use activeTranslation

Member QQuickPointerHandler::currentEvent ()

You should handle the event during delivery by overriding handlePointerEventImpl() or QQuickSinglePointHandler::handleEventPoint(). Therefore currentEvent() should not be needed. It is here only because onActiveChanged() does not take the event as an argument.

You should handle the event during delivery by overriding handlePointerEventImpl() or QQuickSinglePointHandler::handleEventPoint(). Therefore currentEvent() should not be needed. It is here only because onActiveChanged() does not take the event as an argument.

Member QQuickScreenInfo::QQuickScreenInfo (QObject *parent=nullptr, QScreen *wrappedScreen=nullptr)

Member QQuickSelectable::~QQuickSelectable ()

Member QQuickTouchPoint::setArea (const QRectF &area)

\qmlproperty rectangle QtQuick::TouchPoint::area

\qmlproperty rectangle QtQuick::TouchPoint::area

Class QQuickWheelEvent

[6.2] Use \l {Qt Quick Input Handlers}{input handlers} with \l {PointerDeviceHandler::acceptedDevices}{acceptedDevices} set.

[6.2] Use \l {Qt Quick Input Handlers}{input handlers} with \l {PointerDeviceHandler::acceptedDevices}{acceptedDevices} set.

Member QSocketNotifier::activated (QSocketDescriptor socket, QSocketNotifier::Type activationEvent, QPrivateSignal)

To avoid unintended truncation of the descriptor, use the QSocketDescriptor overload of this function. If you need compatibility with versions older than 5.15 you need to change the slot to accept qintptr if it currently accepts an int, and then connect using Functor-Based Connection.

To avoid unintended truncation of the descriptor, use the QSocketDescriptor overload of this function. If you need compatibility with versions older than 5.15 you need to change the slot to accept qintptr if it currently accepts an int, and then connect using Functor-Based Connection.

Member QSqlDatabase::open ()

[6.6] Use QSqlQuery::exec() instead.

[6.6] Use QSqlQuery::exec() instead.

Member QString::fromUcs4 (const char32_t *, qsizetype size=-1)

[6.0] Use the char32_t overload instead.

[6.0] Use the char32_t overload instead.

Member QString::fromUtf16 (const char16_t *, qsizetype size=-1)

[6.0] Use the char16_t overload instead.

[6.0] Use the char16_t overload instead.

Member QStringView::left (qsizetype n) const noexcept

Use first() instead in new code.

Use first() instead in new code.

Member QStringView::mid (qsizetype pos, qsizetype n=-1) const noexcept

Use sliced() instead in new code.

Use sliced() instead in new code.

Member QStringView::right (qsizetype n) const noexcept

Use last() instead in new code.

Use last() instead in new code.

Member QStyle::standardPixmap (StandardPixmap standardPixmap, const QStyleOption *opt=nullptr, const QWidget *widget=nullptr) const =0

Returns a pixmap for the given standardPixmap.

Returns a pixmap for the given standardPixmap.

Member QTimer::singleShot (int msec, const QObject *receiver, const char *member)
[6.8] Use the chrono overloads. This static function calls a slot after a given time interval.
Member QTimer::singleShot (int msec, Qt::TimerType timerType, const QObject *receiver, const char *member)
[6.8] Use the chrono overloads. This static function calls a slot after a given time interval.
Member QTimer::singleShot (int msec, const QObject *receiver, const char *member)
[6.8] Use the chrono overloads. This static function calls a slot after a given time interval.
Member QTimer::singleShot (int msec, Qt::TimerType timerType, const QObject *receiver, const char *member)
[6.8] Use the chrono overloads. This static function calls a slot after a given time interval.
Class QtProperty

in 5.6

in 5.6 \row

in 5.6

in 5.6 \row

Member qVariantCanConvert

Member qVariantValue

Member QWidget::topLevelWidget () const

Member QWidget::windowIconText

This property is deprecated.

This property is deprecated.

Member QWidget::windowIconTextChanged (const QString &iconText)

Member settingsWriteDelay

[6.5] Use \l [QML] {QtCore::}{Settings} from Qt Qml Core instead.

[6.5] Use \l [QML] {QtCore::}{Settings} from Qt Qml Core instead.

[6.5] Use \l [QML] {QtCore::}{Settings} from Qt Qml Core instead.

[6.5] Use \l [QML] {QtCore::}{Settings} from Qt Qml Core instead.