Debian Codegraph @

examples/script/customclass/bytearrayclass.h

raw symbols SCIP
1 /****************************************************************************
2 **
3 ** Copyright (C) 2017 The Qt Company Ltd.
4 ** Contact: https://www.qt.io/licensing/
5 **
6 ** This file is part of the examples of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:BSD$
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 ** BSD License Usage
18 ** Alternatively, you may use this file under the terms of the BSD license
19 ** as follows:
20 **
21 ** "Redistribution and use in source and binary forms, with or without
22 ** modification, are permitted provided that the following conditions are
23 ** met:
24 ** * Redistributions of source code must retain the above copyright
25 ** notice, this list of conditions and the following disclaimer.
26 ** * Redistributions in binary form must reproduce the above copyright
27 ** notice, this list of conditions and the following disclaimer in
28 ** the documentation and/or other materials provided with the
29 ** distribution.
30 ** * Neither the name of The Qt Company Ltd nor the names of its
31 ** contributors may be used to endorse or promote products derived
32 ** from this software without specific prior written permission.
33 **
34 **
35 ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
36 ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
37 ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
38 ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
39 ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
40 ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
41 ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
42 ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
43 ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
44 ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
45 ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
46 **
47 ** $QT_END_LICENSE$
48 **
49 ****************************************************************************/
50
51 #ifndef BYTEARRAYCLASS_H
52 #define BYTEARRAYCLASS_Hcxx . . $ `examples/script/customclass/bytearrayclass.h:52:9`!
53
54 #include <QtCore/QObject>
55 #include <QtScript/QScriptClass>cxx . . $ `<file>/include/QtScript/QScriptClass`/
56 #include <QtScript/QScriptString>cxx . . $ `<file>/include/QtScript/QScriptString`/
57
58 QT_BEGIN_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:148:10`!
59 class QScriptContextcxx . . $ QScriptContext#;
60 QT_END_NAMESPACEcxx . . $ `<external>/15045578679651060896/qglobal.h:149:10`!
61
62 class ByteArrayClasscxx . . $ ByteArrayClass# : public QObjectcxx . . $ QObject#, public QScriptClasscxx . . $ QScriptClass#
63 {
64 Q_OBJECTcxx . . $ ByteArrayClass#trUtf8(75d9f1c324b4579d).
65 public:
66 ByteArrayClasscxx . . $ ByteArrayClass#ByteArrayClass(d3e0164fcca5dac6).(QScriptEnginecxx . . $ QScriptEngine# *engine);
67 ~cxx . . $ ByteArrayClass#`~ByteArrayClass`(ced63f7c635d850d).ByteArrayClasscxx . . $ ByteArrayClass#();
68
69 QScriptValuecxx . . $ QScriptValue# constructorcxx . . $ ByteArrayClass#constructor(68040aa6d67732df).();
70
71 QScriptValuecxx . . $ QScriptValue# newInstancecxx . . $ ByteArrayClass#newInstance(cf1ccc45c0d7c2af).(int size = 0);
72 QScriptValuecxx . . $ QScriptValue# newInstancecxx . . $ ByteArrayClass#newInstance(c6a0567e5f45e67a).(const QByteArraycxx . . $ QByteArray# &ba);
73
74 QueryFlagscxx . . $ QScriptClass#QueryFlags# queryPropertycxx . . $ ByteArrayClass#queryProperty(f7a17b0081519724).(const QScriptValuecxx . . $ QScriptValue# &object,
75 const QScriptStringcxx . . $ QScriptString# &name,
76 QueryFlagscxx . . $ QScriptClass#QueryFlags# flags, uintcxx . . $ uint# *id);
77
78 QScriptValuecxx . . $ QScriptValue# propertycxx . . $ ByteArrayClass#property(4b7a95d7afa37072).(const QScriptValuecxx . . $ QScriptValue# &object,
79 const QScriptStringcxx . . $ QScriptString# &name, uintcxx . . $ uint# id);
80
81 void setPropertycxx . . $ ByteArrayClass#setProperty(b81691bcb74bc31a).(QScriptValuecxx . . $ QScriptValue# &object, const QScriptStringcxx . . $ QScriptString# &name,
82 uintcxx . . $ uint# id, const QScriptValuecxx . . $ QScriptValue# &value);
83
84 QScriptValuecxx . . $ QScriptValue#::PropertyFlagscxx . . $ QScriptValue#PropertyFlags# propertyFlagscxx . . $ ByteArrayClass#propertyFlags(4c0c675d762825f6).(
85 const QScriptValuecxx . . $ QScriptValue# &object, const QScriptStringcxx . . $ QScriptString# &name, uintcxx . . $ uint# id);
86
87 QScriptClassPropertyIteratorcxx . . $ QScriptClassPropertyIterator# *newIteratorcxx . . $ ByteArrayClass#newIterator(2738c69cbc46868b).(const QScriptValuecxx . . $ QScriptValue# &object);
88
89 QStringcxx . . $ QString# namecxx . . $ ByteArrayClass#name(6ef7b6c27b00b43d).() const;
90
91 QScriptValuecxx . . $ QScriptValue# prototypecxx . . $ ByteArrayClass#prototype(73013aefd0020d47).() const;
92
93 private:
94 static QScriptValuecxx . . $ QScriptValue# constructcxx . . $ ByteArrayClass#construct(ee586b79a54a8223).(QScriptContextcxx . . $ QScriptContext# *ctx, QScriptEnginecxx . . $ QScriptEngine# *eng);
95
96 static QScriptValuecxx . . $ QScriptValue# toScriptValuecxx . . $ ByteArrayClass#toScriptValue(f79c941c918bef5c).(QScriptEnginecxx . . $ QScriptEngine# *eng, const QByteArraycxx . . $ QByteArray# &ba);
97 static void fromScriptValuecxx . . $ ByteArrayClass#fromScriptValue(cd5ab049a5b1c6a3).(const QScriptValuecxx . . $ QScriptValue# &obj, QByteArraycxx . . $ QByteArray# &ba);
98
99 void resizecxx . . $ ByteArrayClass#resize(13ab2e8048b2fc4f).(QByteArraycxx . . $ QByteArray# &ba, int newSize);
100
101 QScriptStringcxx . . $ QScriptString# lengthcxx . . $ ByteArrayClass#length.;
102 QScriptValuecxx . . $ QScriptValue# protocxx . . $ ByteArrayClass#proto.;
103 QScriptValuecxx . . $ QScriptValue# ctorcxx . . $ ByteArrayClass#ctor.;
104 };
105
106 #endif