Module qtjambi.qml
Package io.qt.qml

Class QQmlContext.PropertyPair

java.lang.Object
io.qt.QtObject
io.qt.qml.QQmlContext.PropertyPair
All Implemented Interfaces:
QtObjectInterface, Cloneable
Enclosing class:
QQmlContext

public static class QQmlContext.PropertyPair extends QtObject implements Cloneable

Java wrapper for Qt class QQmlContext::PropertyPair

Since:
This class was introduced in Qt 5.11.
  • Constructor Details

    • PropertyPair

      public PropertyPair()

      See QQmlContext::PropertyPair::PropertyPair()

    • PropertyPair

      public PropertyPair(QQmlContext.PropertyPair other)

      See QQmlContext::PropertyPair::PropertyPair(QQmlContext::PropertyPair)

      Parameters:
      other -
    • PropertyPair

      public PropertyPair(String name, Object value)

      See QQmlContext::PropertyPair::PropertyPair{QString,QVariant}

      Parameters:
      name -
      value -
  • Method Details

    • setName

      @QtUninvokable public final void setName(String name)

      See QQmlContext::PropertyPair::name

      Parameters:
      name -
    • name

      @QtUninvokable public final String name()

      See QQmlContext::PropertyPair::name

      Returns:
    • setValue

      @QtUninvokable public final void setValue(Object value)

      See QQmlContext::PropertyPair::value

      Parameters:
      value -
    • value

      @QtUninvokable public final Object value()

      See QQmlContext::PropertyPair::value

      Returns:
    • clone

      Creates and returns a copy of this object.

      See QQmlContext::PropertyPair::PropertyPair(QQmlContext::PropertyPair)

      Overrides:
      clone in class Object