QWebEngineHistoryItem Class
QWebEngineHistoryItem 클래스는 웹 엔진 페이지의 기록에서 하나의 항목을 나타냅니다. 더 보기...
헤더: | #include <QWebEngineHistoryItem> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS WebEngineCore) target_link_libraries(mytarget PRIVATE Qt6::WebEngineCore) |
qmake: | QT += webenginecore |
공용 함수
QWebEngineHistoryItem(const QWebEngineHistoryItem &other) | |
~QWebEngineHistoryItem() | |
QUrl | iconUrl() const |
bool | isValid() const |
QDateTime | lastVisited() const |
QUrl | originalUrl() const |
void | swap(QWebEngineHistoryItem &other) |
QString | title() const |
QUrl | url() const |
QWebEngineHistoryItem & | operator=(const QWebEngineHistoryItem &other) |
QWebEngineHistory 및 QWebEnginePage::history()도 참조하세요 .
멤버 함수 문서
QWebEngineHistoryItem::QWebEngineHistoryItem(const QWebEngineHistoryItem &other)
other 에서 기록 항목을 만듭니다. 새 항목과 other 은 데이터를 공유하며, 이 항목이나 other 을 수정하면 두 인스턴스 모두 수정됩니다.
[noexcept]
QWebEngineHistoryItem::~QWebEngineHistoryItem()
기록 항목을 삭제합니다.
QUrl QWebEngineHistoryItem::iconUrl() const
기록 항목과 연결된 아이콘의 URL을 반환합니다.
url(), originalUrl() 및 title()도 참조하세요 .
bool QWebEngineHistoryItem::isValid() const
유효한 기록 항목인지 여부를 반환합니다.
QDateTime QWebEngineHistoryItem::lastVisited() const
항목과 연결된 페이지를 마지막으로 방문한 날짜와 시간을 반환합니다.
QUrl QWebEngineHistoryItem::originalUrl() const
기록 항목과 연결된 원본 URL을 반환합니다.
url()도 참조하세요 .
[noexcept]
void QWebEngineHistoryItem::swap(QWebEngineHistoryItem &other)
기록 항목을 other 항목으로 바꿉니다.
QString QWebEngineHistoryItem::title() const
기록 항목과 연관된 페이지의 제목을 반환합니다.
url() 및 lastVisited()도 참조하세요 .
QUrl QWebEngineHistoryItem::url() const
기록 항목과 연결된 URL을 반환합니다.
originalUrl(), title() 및 lastVisited()도 참조하세요 .
QWebEngineHistoryItem &QWebEngineHistoryItem::operator=(const QWebEngineHistoryItem &other)
other 기록 항목을 여기에 할당합니다. 이 항목과 other 는 데이터를 공유하며, 이 항목이나 other 을 수정하면 두 인스턴스 모두 수정됩니다.
© 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.