IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QDBusObjectPath Class

The QDBusObjectPath class enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QDBusObjectPath Class

  • Header: QDBusObjectPath

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Dbus)

    target_link_libraries(mytarget PRIVATE Qt6::Dbus)

  • qmake: QT += dbus

Detailed Description

 

See Also

Member Function Documentation

 

QDBusObjectPath::QDBusObjectPath()

Constructs a new object path.

[explicit] QDBusObjectPath::QDBusObjectPath(const char *path)

Constructs a new object path from the given path.

See Also

See also setPath()

[explicit] QDBusObjectPath::QDBusObjectPath(QLatin1StringView path)

Constructs a new object path from the given path.

[explicit] QDBusObjectPath::QDBusObjectPath(const QString &path)

Constructs a new object path from the given path.

QString QDBusObjectPath::path() const

Returns this object path.

See Also

See also setPath()

void QDBusObjectPath::setPath(const QString &path)

Assigns the value of the given path to this object path.

See Also

See also path()

void QDBusObjectPath::swap(QDBusObjectPath &other)

Swaps this QDBusObjectPath instance with other.

[since 5.14] QVariant QDBusObjectPath::operator QVariant() const

Implicit cast to QVariant. Equivalent to calling QVariant::fromValue() with this object as argument.

This function was introduced in Qt 5.14.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+