Messagelib

webengineaccesskeyanchor.h
1 /*
2  SPDX-FileCopyrightText: 2016-2021 Laurent Montel <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QRect>
10 #include <QVariant>
11 
12 namespace WebEngineViewer
13 {
14 class WebEngineAccessKeyAnchor
15 {
16 public:
17  explicit WebEngineAccessKeyAnchor(const QVariant &result);
18  WebEngineAccessKeyAnchor();
19  Q_REQUIRED_RESULT QRect boundingRect() const;
20 
21  Q_REQUIRED_RESULT QString accessKey() const;
22 
23  Q_REQUIRED_RESULT QString href() const;
24 
25  Q_REQUIRED_RESULT QString target() const;
26 
27  Q_REQUIRED_RESULT QString tagName() const;
28 
29  Q_REQUIRED_RESULT QString innerText() const;
30 
31 private:
32  void initialize(const QVariant &result);
33  QRect mBoundingRect;
34  QString mAccessKey;
35  QString mHref;
36  QString mTarget;
37  QString mTagName;
38  QString mInnerText;
39 };
40 }
41 
42 Q_DECLARE_TYPEINFO(WebEngineViewer::WebEngineAccessKeyAnchor, Q_MOVABLE_TYPE);
KCRASH_EXPORT void initialize()
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Dec 2 2021 23:06:10 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.