Also forward the bytesWritten(qint64) signal
[contrib/qtwebsockets.git] / LICENSE.LGPLv3
1             GNU LESSER GENERAL PUBLIC LICENSE
2
3  The Qt Toolkit is Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
4  Contact: http://www.qt-project.org/legal
5
6  You may use, distribute and copy the Qt GUI Toolkit under the terms of
7  GNU Lesser General Public License version 3, which is displayed below.
8
9 -------------------------------------------------------------------------
10
11             GNU LESSER GENERAL PUBLIC LICENSE
12                 Version 3, 29 June 2007
13
14  Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
15 Everyone is permitted to copy and distribute verbatim copies of this
16 licensedocument, but changing it is not allowed.
17
18 This version of the GNU Lesser General Public License incorporates
19 the terms and conditions of version 3 of the GNU General Public
20 License, supplemented by the additional permissions listed below.
21
22 0. Additional Definitions.
23
24  As used herein, “this License” refers to version 3 of the GNU Lesser
25 General Public License, and the “GNU GPL” refers to version 3 of the
26 GNU General Public License.
27
28  “The Library” refers to a covered work governed by this License,
29 other than an Application or a Combined Work as defined below.
30
31  An “Application” is any work that makes use of an interface provided
32 by the Library, but which is not otherwise based on the Library.
33 Defining a subclass of a class defined by the Library is deemed a mode
34 of using an interface provided by the Library.
35
36  A “Combined Work” is a work produced by combining or linking an
37 Application with the Library. The particular version of the Library
38 with which the Combined Work was made is also called the “Linked
39 Version”.
40
41  The “Minimal Corresponding Source” for a Combined Work means the
42 Corresponding Source for the Combined Work, excluding any source code
43 for portions of the Combined Work that, considered in isolation, are
44 based on the Application, and not on the Linked Version.
45
46  The “Corresponding Application Code” for a Combined Work means the
47 object code and/or source code for the Application, including any data
48 and utility programs needed for reproducing the Combined Work from the
49 Application, but excluding the System Libraries of the Combined Work.
50
51 1. Exception to Section 3 of the GNU GPL.
52
53  You may convey a covered work under sections 3 and 4 of this License
54 without being bound by section 3 of the GNU GPL.
55
56 2. Conveying Modified Versions.
57
58  If you modify a copy of the Library, and, in your modifications, a
59 facility refers to a function or data to be supplied by an Application
60 that uses the facility (other than as an argument passed when the
61 facility is invoked), then you may convey a copy of the modified
62 version:
63
64     a) under this License, provided that you make a good faith effort
65     to ensure that, in the event an Application does not supply the
66     function or data, the facility still operates, and performs
67     whatever part of its purpose remains meaningful, or
68
69     b) under the GNU GPL, with none of the additional permissions of
70     this License applicable to that copy.
71
72 3. Object Code Incorporating Material from Library Header Files.
73
74  The object code form of an Application may incorporate material from
75 a header file that is part of the Library. You may convey such object
76 code under terms of your choice, provided that, if the incorporated
77 material is not limited to numerical parameters, data structure
78 layouts and accessors, or small macros, inline functions and templates
79 (ten or fewer lines in length), you do both of the following:
80
81     a) Give prominent notice with each copy of the object code that
82     the Library is used in it and that the Library and its use are
83     covered by this License.
84
85     b) Accompany the object code with a copy of the GNU GPL and this
86     license document.
87
88 4. Combined Works.
89
90  You may convey a Combined Work under terms of your choice that, taken
91 together, effectively do not restrict modification of the portions of
92 the Library contained in the Combined Work and reverse engineering for
93 debugging such modifications, if you also do each of the following:
94
95     a) Give prominent notice with each copy of the Combined Work that
96     the Library is used in it and that the Library and its use are
97     covered by this License.
98
99     b) Accompany the Combined Work with a copy of the GNU GPL and this
100     license document.
101
102     c) For a Combined Work that displays copyright notices during
103     execution, include the copyright notice for the Library among
104     these notices, as well as a reference directing the user to the
105     copies of the GNU GPL and this license document.
106
107     d) Do one of the following:
108
109         0) Convey the Minimal Corresponding Source under the terms of
110         this License, and the Corresponding Application Code in a form
111         suitable for, and under terms that permit, the user to
112         recombine or relink the Application with a modified version of
113         the Linked Version to produce a modified Combined Work, in the
114         manner specified by section 6 of the GNU GPL for conveying
115         Corresponding Source.
116
117         1) Use a suitable shared library mechanism for linking with
118         the Library. A suitable mechanism is one that (a) uses at run
119         time a copy of the Library already present on the user's
120         computer system, and (b) will operate properly with a modified
121         version of the Library that is interface-compatible with the
122         Linked Version.
123
124     e) Provide Installation Information, but only if you would
125     otherwise be required to provide such information under section 6
126     of the GNU GPL, and only to the extent that such information is
127     necessary to install and execute a modified version of the
128     Combined Work produced by recombining or relinking the Application
129     with a modified version of the Linked Version. (If you use option
130     4d0, the Installation Information must accompany the Minimal
131     Corresponding Source and Corresponding Application Code. If you
132     use option 4d1, you must provide the Installation Information in
133     the manner specified by section 6 of the GNU GPL for conveying
134     Corresponding Source.)
135
136 5. Combined Libraries.
137
138  You may place library facilities that are a work based on the Library
139 side by side in a single library together with other library
140 facilities that are not Applications and are not covered by this
141 License, and convey such a combined library under terms of your
142 choice, if you do both of the following:
143
144     a) Accompany the combined library with a copy of the same work
145     based on the Library, uncombined with any other library
146     facilities, conveyed under the terms of this License.
147
148     b) Give prominent notice with the combined library that part of
149     it is a work based on the Library, and explaining where to find
150     the accompanying uncombined form of the same work.
151
152 6. Revised Versions of the GNU Lesser General Public License.
153
154  The Free Software Foundation may publish revised and/or new versions
155 of the GNU Lesser General Public License from time to time. Such new
156 versions will be similar in spirit to the present version, but may
157 differ in detail to address new problems or concerns.
158
159 Each version is given a distinguishing version number. If the Library
160 as you received it specifies that a certain numbered version of the
161 GNU Lesser General Public License “or any later version” applies to
162 it, you have the option of following the terms and conditions either
163 of that published version or of any later version published by the
164 Free Software Foundation. If the Library as you received it does not
165 specify a version number of the GNU Lesser General Public License,
166 you may choose any version of the GNU Lesser General Public License
167 ever published by the Free Software Foundation.
168
169 If the Library as you received it specifies that a proxy can decide
170 whether future versions of the GNU Lesser General Public License shall
171 apply, that proxy's public statement of acceptance of any version is
172 permanent authorization for you to choose that version for the Library.
173