QDBusObjectPath Class
QDBusObjectPath 클래스를 사용하면 프로그래머가 D-Bus 타입 시스템에서 제공하는 OBJECT_PATH 타입을 식별할 수 있습니다. 더 보기...
헤더: | #include <QDBusObjectPath> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS DBus) target_link_libraries(mytarget PRIVATE Qt6::DBus) |
qmake: | QT += dbus |
공용 함수
QDBusObjectPath() | |
QDBusObjectPath(QLatin1StringView path) | |
QDBusObjectPath(const QString &path) | |
QDBusObjectPath(const char *path) | |
QString | path() const |
void | setPath(const QString &path) |
void | swap(QDBusObjectPath &other) |
QVariant | operator QVariant() const |
관련 비회원
(since 6.8) QDebug | operator<<(QDebug dbg, const QDBusObjectPath &path) |
Qt D-Bus 타입 시스템도참조하십시오 .
멤버 함수 문서
[noexcept]
QDBusObjectPath::QDBusObjectPath()
새 객체 경로를 생성합니다.
[explicit]
QDBusObjectPath::QDBusObjectPath(QLatin1StringView path)
path 에서 본 라틴-1 문자열에서 새 객체 경로를 생성합니다.
[explicit]
QDBusObjectPath::QDBusObjectPath(const QString &path)
주어진 path 에서 새 객체 경로를 생성합니다.
[explicit]
QDBusObjectPath::QDBusObjectPath(const char *path)
주어진 path 에서 새 객체 경로를 생성합니다.
setPath()도 참조하세요 .
QString QDBusObjectPath::path() const
이 객체 경로를 반환합니다.
setPath()도 참조하세요 .
void QDBusObjectPath::setPath(const QString &path)
주어진 path 값을 이 객체 경로에 할당합니다.
path()도 참조하세요 .
[noexcept]
void QDBusObjectPath::swap(QDBusObjectPath &other)
이 개체 경로를 other 로 바꿉니다. 이 작업은 매우 빠르며 실패하지 않습니다.
QVariant QDBusObjectPath::operator QVariant() const
QVariant 로 암시적으로 캐스팅합니다. 이 객체를 인수로 사용하여 QVariant::fromValue()를 호출하는 것과 같습니다.
관련 비회원
[since 6.8]
QDebug operator<<(QDebug dbg, const QDBusObjectPath &path)
path 의 내용을 dbg 에 씁니다.
이 함수는 Qt 6.8에 도입되었습니다.
© 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.