| 1 | /**************************************************************************** |
| 2 | ** |
| 3 | ** Copyright (C) 2018 The Qt Company Ltd. |
| 4 | ** Contact: https://www.qt.io/licensing/ |
| 5 | ** |
| 6 | ** This file is part of the QtSCriptTools module of the Qt Toolkit. |
| 7 | ** |
| 8 | ** $QT_BEGIN_LICENSE:LGPL$ |
| 9 | ** Commercial License Usage |
| 10 | ** Licensees holding valid commercial Qt licenses may use this file in |
| 11 | ** accordance with the commercial license agreement provided with the |
| 12 | ** Software or, alternatively, in accordance with the terms contained in |
| 13 | ** a written agreement between you and The Qt Company. For licensing terms |
| 14 | ** and conditions see https://www.qt.io/terms-conditions. For further |
| 15 | ** information use the contact form at https://www.qt.io/contact-us. |
| 16 | ** |
| 17 | ** GNU Lesser General Public License Usage |
| 18 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
| 19 | ** General Public License version 3 as published by the Free Software |
| 20 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
| 21 | ** packaging of this file. Please review the following information to |
| 22 | ** ensure the GNU Lesser General Public License version 3 requirements |
| 23 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
| 24 | ** |
| 25 | ** GNU General Public License Usage |
| 26 | ** Alternatively, this file may be used under the terms of the GNU |
| 27 | ** General Public License version 2.0 or (at your option) the GNU General |
| 28 | ** Public license version 3 or any later version approved by the KDE Free |
| 29 | ** Qt Foundation. The licenses are as published by the Free Software |
| 30 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
| 31 | ** included in the packaging of this file. Please review the following |
| 32 | ** information to ensure the GNU General Public License requirements will |
| 33 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
| 34 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
| 35 | ** |
| 36 | ** $QT_END_LICENSE$ |
| 37 | ** |
| 38 | ****************************************************************************/ |
| 39 | |
| 40 | #include "qscriptdebuggerresponse_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggerresponse_p.h`/ |
| 41 | #include "qscriptdebuggervalue_p.h"cxx . . $ `<file>/src/scripttools/debugging/qscriptdebuggervalue_p.h`/ |
| 42 | |
| 43 | #include <QtScript/qscriptcontextinfo.h>cxx . . $ `<file>/include/QtScript/qscriptcontextinfo.h`/ |
| 44 | #include <QtCore/qdatastream.h> |
| 45 | |
| 46 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptBreakpointData) |
| 47 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptBreakpointMap) |
| 48 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptScriptData) |
| 49 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptScriptMap) |
| 50 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptDebuggerValue) |
| 51 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptDebuggerValueList) |
| 52 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptDebuggerValueProperty) |
| 53 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptDebuggerValuePropertyList) |
| 54 | Q_DECLARE_METATYPEcxx . . $ `<external>/17491093664533580526/qmetatype.h:2056:9`!(QScriptContextInfo) |
| 55 | |
| 56 | QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`! |
| 57 | |
| 58 | /*! |
| 59 | \since 4.5 |
| 60 | \class QScriptDebuggerResponse |
| 61 | \internal |
| 62 | |
| 63 | \brief The QScriptDebuggerResponse class represents a front-end's response to a QScriptDebuggerCommand. |
| 64 | |
| 65 | A response contains an error code and result. |
| 66 | */ |
| 67 | |
| 68 | class QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate# |
| 69 | { |
| 70 | public: |
| 71 | QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate#QScriptDebuggerResponsePrivate(49f6e7a06ebc5aa8).(); |
| 72 | ~cxx . . $ QScriptDebuggerResponsePrivate#`~QScriptDebuggerResponsePrivate`(ced63f7c635d850d).QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate#(); |
| 73 | |
| 74 | QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::Errorcxx . . $ QScriptDebuggerResponse#Error# errorcxx . . $ QScriptDebuggerResponsePrivate#error.; |
| 75 | QVariantcxx . . $ QVariant# resultcxx . . $ QScriptDebuggerResponsePrivate#result.; |
| 76 | bool asynccxx . . $ QScriptDebuggerResponsePrivate#async.; |
| 77 | }; |
| 78 | |
| 79 | QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate#::QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate#QScriptDebuggerResponsePrivate(49f6e7a06ebc5aa8).() |
| 80 | { |
| 81 | errorcxx . . $ QScriptDebuggerResponsePrivate#error. = QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::NoErrorcxx . . $ QScriptDebuggerResponse#NoError.; |
| 82 | asynccxx . . $ QScriptDebuggerResponsePrivate#async. = false; |
| 83 | } |
| 84 | |
| 85 | QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate#::~cxx . . $ QScriptDebuggerResponsePrivate#`~QScriptDebuggerResponsePrivate`(ced63f7c635d850d).QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate#() |
| 86 | { |
| 87 | } |
| 88 | |
| 89 | QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#QScriptDebuggerResponse(49f6e7a06ebc5aa8).() |
| 90 | : d_ptr(new QScriptDebuggerResponsePrivate) |
| 91 | { |
| 92 | } |
| 93 | |
| 94 | QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#QScriptDebuggerResponse(541273ffa781cadc).(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &other) |
| 95 | : d_ptr(new QScriptDebuggerResponsePrivate) |
| 96 | { |
| 97 | *d_ptr = *other.d_ptr; |
| 98 | } |
| 99 | |
| 100 | QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::~cxx . . $ QScriptDebuggerResponse#`~QScriptDebuggerResponse`(ced63f7c635d850d).QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#() |
| 101 | { |
| 102 | } |
| 103 | |
| 104 | QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::operatorcxx . . $ QScriptDebuggerResponse#`operator=`(f8423d6a6efce360).=(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &other) |
| 105 | { |
| 106 | *d_ptr = *other.d_ptr; |
| 107 | return *this; |
| 108 | } |
| 109 | |
| 110 | /*! |
| 111 | Returns the error code of this response. |
| 112 | */ |
| 113 | QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::Errorcxx . . $ QScriptDebuggerResponse#Error# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::errorcxx . . $ QScriptDebuggerResponse#error(bf0d80c2e43f76a7).() const |
| 114 | { |
| 115 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 116 | return d->errorcxx . . $ QScriptDebuggerResponsePrivate#error.; |
| 117 | } |
| 118 | |
| 119 | /*! |
| 120 | Sets the \a error code of this response. |
| 121 | */ |
| 122 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setErrorcxx . . $ QScriptDebuggerResponse#setError(d19ba9a6ddee3d8).(Errorcxx . . $ QScriptDebuggerResponse#Error# error) |
| 123 | { |
| 124 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 125 | d->errorcxx . . $ QScriptDebuggerResponsePrivate#error. = error; |
| 126 | } |
| 127 | |
| 128 | /*! |
| 129 | Returns the result of this response. This function is provided for |
| 130 | convenience. |
| 131 | */ |
| 132 | QVariantcxx . . $ QVariant# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultcxx . . $ QScriptDebuggerResponse#result(23280f95d1ccaa1f).() const |
| 133 | { |
| 134 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 135 | return dcxx . . $ QVariant#QVariant(244511558b20107a).->resultcxx . . $ QScriptDebuggerResponsePrivate#result.; |
| 136 | } |
| 137 | |
| 138 | /*! |
| 139 | Sets the Result attribute of this response to the given \a |
| 140 | value. This function is provided for convenience. |
| 141 | */ |
| 142 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(244511558b20107a).(const QVariantcxx . . $ QVariant# &value) |
| 143 | { |
| 144 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 145 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(b84532324b3fcc79). value; |
| 146 | } |
| 147 | |
| 148 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(d4f767463ce0a6b3).(int value) |
| 149 | { |
| 150 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 151 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). valuecxx . . $ QVariant#QVariant(d4f767463ce0a6b3).; |
| 152 | } |
| 153 | |
| 154 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(3520e46b33348bf6).(const QStringcxx . . $ QString# &value) |
| 155 | { |
| 156 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 157 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). valuecxx . . $ QVariant#QVariant(3520e46b33348bf6).; |
| 158 | } |
| 159 | |
| 160 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(694486080f38713d).(const QScriptBreakpointDatacxx . . $ QScriptBreakpointData# &data) |
| 161 | { |
| 162 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 163 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). QVariantcxx . . $ QVariant#::fromValuecxx . . $ QVariant#fromValue(28ec88ac519b76da).(data); |
| 164 | } |
| 165 | |
| 166 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(fd2bb3f7410babac).(const QScriptBreakpointMapcxx . . $ QScriptBreakpointMap# &breakpoints) |
| 167 | { |
| 168 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 169 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). QVariantcxx . . $ QVariant#::fromValuecxx . . $ QVariant#fromValue(28ec88ac519b76da).(breakpoints); |
| 170 | } |
| 171 | |
| 172 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(c2f8162ed278d8f4).(const QScriptScriptMapcxx . . $ QScriptScriptMap# &scripts) |
| 173 | { |
| 174 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 175 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). QVariantcxx . . $ QVariant#::fromValuecxx . . $ QVariant#fromValue(28ec88ac519b76da).(scripts); |
| 176 | } |
| 177 | |
| 178 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(b7643124fad3496c).(const QScriptScriptDatacxx . . $ QScriptScriptData# &data) |
| 179 | { |
| 180 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 181 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). QVariantcxx . . $ QVariant#::fromValuecxx . . $ QVariant#fromValue(28ec88ac519b76da).(data); |
| 182 | } |
| 183 | |
| 184 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(98e9fe25954e1086).(const QScriptDebuggerValuecxx . . $ QScriptDebuggerValue# &value) |
| 185 | { |
| 186 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 187 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). QVariantcxx . . $ QVariant#::fromValuecxx . . $ QVariant#fromValue(28ec88ac519b76da).(value); |
| 188 | } |
| 189 | |
| 190 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(4347331a7fc0b67a).(const QScriptDebuggerValueListcxx . . $ QScriptDebuggerValueList# &values) |
| 191 | { |
| 192 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 193 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). QVariantcxx . . $ QVariant#::fromValuecxx . . $ QVariant#fromValue(28ec88ac519b76da).(values); |
| 194 | } |
| 195 | |
| 196 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(ff64948af6a92651).(const QScriptDebuggerValuePropertyListcxx . . $ QScriptDebuggerValuePropertyList# &props) |
| 197 | { |
| 198 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 199 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). QVariantcxx . . $ QVariant#::fromValuecxx . . $ QVariant#fromValue(28ec88ac519b76da).(props); |
| 200 | } |
| 201 | |
| 202 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setResultcxx . . $ QScriptDebuggerResponse#setResult(15f9233a4d5251fb).(const QScriptContextInfocxx . . $ QScriptContextInfo# &info) |
| 203 | { |
| 204 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 205 | d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. =cxx . . $ QVariant#`operator=`(79a68221451e88b7). QVariantcxx . . $ QVariant#::fromValuecxx . . $ QVariant#fromValue(28ec88ac519b76da).(info); |
| 206 | } |
| 207 | |
| 208 | int QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsIntcxx . . $ QScriptDebuggerResponse#resultAsInt(455f465bc33b4cdf).() const |
| 209 | { |
| 210 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 211 | return d->resultcxx . . $ QScriptDebuggerResponsePrivate#result..toIntcxx . . $ QVariant#toInt(5bd9a3493f6a7a21).(); |
| 212 | } |
| 213 | |
| 214 | qint64cxx . . $ qint64# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsLongLongcxx . . $ QScriptDebuggerResponse#resultAsLongLong(98833e9ab7de59a4).() const |
| 215 | { |
| 216 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 217 | return d->resultcxx . . $ QScriptDebuggerResponsePrivate#result..toLongLongcxx . . $ QVariant#toLongLong(4afa307e6140ced).(); |
| 218 | } |
| 219 | |
| 220 | QStringcxx . . $ QString# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsStringcxx . . $ QScriptDebuggerResponse#resultAsString(6ef7b6c27b00b43d).() const |
| 221 | { |
| 222 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 223 | return d->resultcxx . . $ QScriptDebuggerResponsePrivate#result..toStringcxx . . $ QVariant#toString(6ef7b6c27b00b43d).(); |
| 224 | } |
| 225 | |
| 226 | QScriptBreakpointDatacxx . . $ QScriptBreakpointData# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsBreakpointDatacxx . . $ QScriptDebuggerResponse#resultAsBreakpointData(b121f71baeac5753).() const |
| 227 | { |
| 228 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 229 | return qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptBreakpointDatacxx . . $ QScriptBreakpointData#>(d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.); |
| 230 | } |
| 231 | |
| 232 | QScriptBreakpointMapcxx . . $ QScriptBreakpointMap# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsBreakpointscxx . . $ QScriptDebuggerResponse#resultAsBreakpoints(8fe85d8188d5bef9).() const |
| 233 | { |
| 234 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 235 | return qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptBreakpointMapcxx . . $ QScriptBreakpointMap#>(d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.); |
| 236 | } |
| 237 | |
| 238 | QScriptScriptMapcxx . . $ QScriptScriptMap# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsScriptscxx . . $ QScriptDebuggerResponse#resultAsScripts(4dd0093313864966).() const |
| 239 | { |
| 240 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 241 | return qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptScriptMapcxx . . $ QScriptScriptMap#>(d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.); |
| 242 | } |
| 243 | |
| 244 | QScriptScriptDatacxx . . $ QScriptScriptData# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsScriptDatacxx . . $ QScriptDebuggerResponse#resultAsScriptData(280a40ecb5477b84).() const |
| 245 | { |
| 246 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 247 | return qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptScriptDatacxx . . $ QScriptScriptData#>(d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.); |
| 248 | } |
| 249 | |
| 250 | QScriptDebuggerValuecxx . . $ QScriptDebuggerValue# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsScriptValuecxx . . $ QScriptDebuggerResponse#resultAsScriptValue(73c7f2fc16c9f19c).() const |
| 251 | { |
| 252 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 253 | return qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptDebuggerValuecxx . . $ QScriptDebuggerValue#>(d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.); |
| 254 | } |
| 255 | |
| 256 | QScriptDebuggerValueListcxx . . $ QScriptDebuggerValueList# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsScriptValueListcxx . . $ QScriptDebuggerResponse#resultAsScriptValueList(73821436361808bb).() const |
| 257 | { |
| 258 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 259 | return qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptDebuggerValueListcxx . . $ QScriptDebuggerValueList#>(d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.); |
| 260 | } |
| 261 | |
| 262 | QScriptDebuggerValuePropertyListcxx . . $ QScriptDebuggerValuePropertyList# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsScriptValuePropertyListcxx . . $ QScriptDebuggerResponse#resultAsScriptValuePropertyList(6224ebdd3d85f929).() const |
| 263 | { |
| 264 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 265 | return qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptDebuggerValuePropertyListcxx . . $ QScriptDebuggerValuePropertyList#>(d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.); |
| 266 | } |
| 267 | |
| 268 | QScriptContextInfocxx . . $ QScriptContextInfo# QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::resultAsContextInfocxx . . $ QScriptDebuggerResponse#resultAsContextInfo(905e11fe002526a0).() const |
| 269 | { |
| 270 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 271 | return qvariant_castcxx . . $ qvariant_cast(c08a979ef106920f).<QScriptContextInfocxx . . $ QScriptContextInfo#>(d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.); |
| 272 | } |
| 273 | |
| 274 | bool QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::asynccxx . . $ QScriptDebuggerResponse#async(50ce9a9e25b4a850).() const |
| 275 | { |
| 276 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 277 | return d->asynccxx . . $ QScriptDebuggerResponsePrivate#async.; |
| 278 | } |
| 279 | |
| 280 | void QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::setAsynccxx . . $ QScriptDebuggerResponse#setAsync(b45ddcbc8423892c).(bool async) |
| 281 | { |
| 282 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(QScriptDebuggerResponse); |
| 283 | d->asynccxx . . $ QScriptDebuggerResponsePrivate#async. = async; |
| 284 | } |
| 285 | |
| 286 | /*! |
| 287 | Returns true if this QScriptDebuggerResponse is equal to the \a other |
| 288 | response, otherwise returns false. |
| 289 | */ |
| 290 | bool QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::operatorcxx . . $ QScriptDebuggerResponse#`operator==`(af8cc79dec9f88aa).==(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &other) const |
| 291 | { |
| 292 | Q_Dcxx . . $ `<external>/15045578679651060896/qglobal.h:1177:9`!(const QScriptDebuggerResponse); |
| 293 | const QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate# *od = other.d_funccxx . . $ QScriptDebuggerResponse#d_func(4a74b3ae3489f140).(); |
| 294 | if (d == od) |
| 295 | return true; |
| 296 | if (!d || !od) |
| 297 | return false; |
| 298 | return ((d->errorcxx . . $ QScriptDebuggerResponsePrivate#error. == od->errorcxx . . $ QScriptDebuggerResponsePrivate#error.) |
| 299 | && (d->resultcxx . . $ QScriptDebuggerResponsePrivate#result. ==cxx . . $ QVariant#`operator==`(d03696648ee9d662). od->resultcxx . . $ QScriptDebuggerResponsePrivate#result.) |
| 300 | && (d->asynccxx . . $ QScriptDebuggerResponsePrivate#async. == od->asynccxx . . $ QScriptDebuggerResponsePrivate#async.)); |
| 301 | } |
| 302 | |
| 303 | /*! |
| 304 | Returns true if this QScriptDebuggerResponse is not equal to the \a |
| 305 | other response, otherwise returns false. |
| 306 | */ |
| 307 | bool QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::operatorcxx . . $ QScriptDebuggerResponse#`operator!=`(af8cc79dec9f88aa).!=(const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &other) const |
| 308 | { |
| 309 | return !(*this ==cxx . . $ QScriptDebuggerResponse#`operator==`(af8cc79dec9f88aa). other); |
| 310 | } |
| 311 | |
| 312 | /*! |
| 313 | \relates QScriptDebuggerResponse |
| 314 | |
| 315 | Writes the given \a response to the specified \a stream. |
| 316 | */ |
| 317 | QDataStreamcxx . . $ QDataStream# &operatorcxx . . $ `operator<<`(c63c23a39de5e33b).<<(QDataStreamcxx . . $ QDataStream# &out, const QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response) |
| 318 | { |
| 319 | const QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate# *d = response.d_ptr.data(); |
| 320 | out <<cxx . . $ QDataStream#`operator<<`(1483334db06c9178). (quint32cxx . . $ quint32#)d->errorcxx . . $ QScriptDebuggerResponsePrivate#error.; |
| 321 | out <<cxx . . $ `operator<<`(d7111624d8cb179). d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.; |
| 322 | out <<cxx . . $ QDataStream#`operator<<`(41f94a8cb43192db). d->asynccxx . . $ QScriptDebuggerResponsePrivate#async.; |
| 323 | return out; |
| 324 | } |
| 325 | |
| 326 | /*! |
| 327 | \relates QScriptDebuggerResponse |
| 328 | |
| 329 | Reads a QScriptDebuggerResponse from the specified \a stream into the |
| 330 | given \a response. |
| 331 | */ |
| 332 | QDataStreamcxx . . $ QDataStream# &operatorcxx . . $ `operator>>`(286df60695497db4).>>(QDataStreamcxx . . $ QDataStream# &in, QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse# &response) |
| 333 | { |
| 334 | QScriptDebuggerResponsePrivatecxx . . $ QScriptDebuggerResponsePrivate# *d = response.d_ptr.data(); |
| 335 | |
| 336 | quint32cxx . . $ quint32# error; |
| 337 | in >>cxx . . $ QDataStream#`operator>>`(a72c8f61547c6abb). error; |
| 338 | d->errorcxx . . $ QScriptDebuggerResponsePrivate#error. = QScriptDebuggerResponsecxx . . $ QScriptDebuggerResponse#::Errorcxx . . $ QScriptDebuggerResponse#Error#(error); |
| 339 | in >>cxx . . $ `operator>>`(ff92eee7bfdd49b7). d->resultcxx . . $ QScriptDebuggerResponsePrivate#result.; |
| 340 | in >>cxx . . $ QDataStream#`operator>>`(98b075c3c8aa4d47). d->asynccxx . . $ QScriptDebuggerResponsePrivate#async.; |
| 341 | |
| 342 | return in; |
| 343 | } |
| 344 | |
| 345 | QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`! |