source: trunk/doc/html/gpl.html

Last change on this file was 190, checked in by rudi, 14 years ago

reference documentation added

File size: 20.0 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/doc/misc.doc:441 -->
3<html>
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
6<title>GNU General Public License</title>
7<style type="text/css"><!--
8fn { margin-left: 1cm; text-indent: -1cm; }
9a:link { color: #004faf; text-decoration: none }
10a:visited { color: #672967; text-decoration: none }
11body { background: #ffffff; color: black; }
12--></style>
13</head>
14<body>
15
16<table border="0" cellpadding="0" cellspacing="0" width="100%">
17<tr bgcolor="#E5E5E5">
18<td valign=center>
19 <a href="index.html">
20<font color="#004faf">Home</font></a>
21 | <a href="classes.html">
22<font color="#004faf">All&nbsp;Classes</font></a>
23 | <a href="mainclasses.html">
24<font color="#004faf">Main&nbsp;Classes</font></a>
25 | <a href="annotated.html">
26<font color="#004faf">Annotated</font></a>
27 | <a href="groups.html">
28<font color="#004faf">Grouped&nbsp;Classes</font></a>
29 | <a href="functions.html">
30<font color="#004faf">Functions</font></a>
31</td>
32<td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>GNU General Public License</h1>
33
34
35The Qt GUI Toolkit is Copyright (C) 1994-2007 Trolltech ASA.
36<p> The Qt Open Source Edition and the Qt/Embedded Open Source Edition are available
37under the GPL. The Qt Open Source Edition (for Unix/X11) is also available
38under the <a href="license.html">QPL</a>.
39<p> <pre>
40 You may use, distribute and copy the Qt GUI Toolkit under the terms of
41 GNU General Public License version 2, which is displayed below.
42
43 GNU GENERAL PUBLIC LICENSE
44 Version 2, June 1991
45
46 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
47 51 Franklin Steet, Fifth Floor, Boston, MA 02110-1301, USA
48 Everyone is permitted to copy and distribute verbatim copies
49 of this license document, but changing it is not allowed.
50
51 Preamble
52
53 The licenses for most software are designed to take away your
54freedom to share and change it. By contrast, the GNU General Public
55License is intended to guarantee your freedom to share and change free
56software--to make sure the software is free for all its users. This
57General Public License applies to most of the Free Software
58Foundation's software and to any other program whose authors commit to
59using it. (Some other Free Software Foundation software is covered by
60the GNU Library General Public License instead.) You can apply it to
61your programs, too.
62
63 When we speak of free software, we are referring to freedom, not
64price. Our General Public Licenses are designed to make sure that you
65have the freedom to distribute copies of free software (and charge for
66this service if you wish), that you receive source code or can get it
67if you want it, that you can change the software or use pieces of it
68in new free programs; and that you know you can do these things.
69
70 To protect your rights, we need to make restrictions that forbid
71anyone to deny you these rights or to ask you to surrender the rights.
72These restrictions translate to certain responsibilities for you if you
73distribute copies of the software, or if you modify it.
74
75 For example, if you distribute copies of such a program, whether
76gratis or for a fee, you must give the recipients all the rights that
77you have. You must make sure that they, too, receive or can get the
78source code. And you must show them these terms so they know their
79rights.
80
81 We protect your rights with two steps: (1) copyright the software, and
82(2) offer you this license which gives you legal permission to copy,
83distribute and/or modify the software.
84
85 Also, for each author's protection and ours, we want to make certain
86that everyone understands that there is no warranty for this free
87software. If the software is modified by someone else and passed on, we
88want its recipients to know that what they have is not the original, so
89that any problems introduced by others will not reflect on the original
90authors' reputations.
91
92 Finally, any free program is threatened constantly by software
93patents. We wish to avoid the danger that redistributors of a free
94program will individually obtain patent licenses, in effect making the
95program proprietary. To prevent this, we have made it clear that any
96patent must be licensed for everyone's free use or not licensed at all.
97
98 The precise terms and conditions for copying, distribution and
99modification follow.
100
101 GNU GENERAL PUBLIC LICENSE
102 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
103
104 0. This License applies to any program or other work which contains
105a notice placed by the copyright holder saying it may be distributed
106under the terms of this General Public License. The "Program", below,
107refers to any such program or work, and a "work based on the Program"
108means either the Program or any derivative work under copyright law:
109that is to say, a work containing the Program or a portion of it,
110either verbatim or with modifications and/or translated into another
111language. (Hereinafter, translation is included without limitation in
112the term "modification".) Each licensee is addressed as "you".
113
114Activities other than copying, distribution and modification are not
115covered by this License; they are outside its scope. The act of
116running the Program is not restricted, and the output from the Program
117is covered only if its contents constitute a work based on the
118Program (independent of having been made by running the Program).
119Whether that is true depends on what the Program does.
120
121 1. You may copy and distribute verbatim copies of the Program's
122source code as you receive it, in any medium, provided that you
123conspicuously and appropriately publish on each copy an appropriate
124copyright notice and disclaimer of warranty; keep intact all the
125notices that refer to this License and to the absence of any warranty;
126and give any other recipients of the Program a copy of this License
127along with the Program.
128
129You may charge a fee for the physical act of transferring a copy, and
130you may at your option offer warranty protection in exchange for a fee.
131
132 2. You may modify your copy or copies of the Program or any portion
133of it, thus forming a work based on the Program, and copy and
134distribute such modifications or work under the terms of Section 1
135above, provided that you also meet all of these conditions:
136
137 a) You must cause the modified files to carry prominent notices
138 stating that you changed the files and the date of any change.
139
140 b) You must cause any work that you distribute or publish, that in
141 whole or in part contains or is derived from the Program or any
142 part thereof, to be licensed as a whole at no charge to all third
143 parties under the terms of this License.
144
145 c) If the modified program normally reads commands interactively
146 when run, you must cause it, when started running for such
147 interactive use in the most ordinary way, to print or display an
148 announcement including an appropriate copyright notice and a
149 notice that there is no warranty (or else, saying that you provide
150 a warranty) and that users may redistribute the program under
151 these conditions, and telling the user how to view a copy of this
152 License. (Exception: if the Program itself is interactive but
153 does not normally print such an announcement, your work based on
154 the Program is not required to print an announcement.)
155
156These requirements apply to the modified work as a whole. If
157identifiable sections of that work are not derived from the Program,
158and can be reasonably considered independent and separate works in
159themselves, then this License, and its terms, do not apply to those
160sections when you distribute them as separate works. But when you
161distribute the same sections as part of a whole which is a work based
162on the Program, the distribution of the whole must be on the terms of
163this License, whose permissions for other licensees extend to the
164entire whole, and thus to each and every part regardless of who wrote it.
165
166Thus, it is not the intent of this section to claim rights or contest
167your rights to work written entirely by you; rather, the intent is to
168exercise the right to control the distribution of derivative or
169collective works based on the Program.
170
171In addition, mere aggregation of another work not based on the Program
172with the Program (or with a work based on the Program) on a volume of
173a storage or distribution medium does not bring the other work under
174the scope of this License.
175
176 3. You may copy and distribute the Program (or a work based on it,
177under Section 2) in object code or executable form under the terms of
178Sections 1 and 2 above provided that you also do one of the following:
179
180 a) Accompany it with the complete corresponding machine-readable
181 source code, which must be distributed under the terms of Sections
182 1 and 2 above on a medium customarily used for software interchange; or,
183
184 b) Accompany it with a written offer, valid for at least three
185 years, to give any third party, for a charge no more than your
186 cost of physically performing source distribution, a complete
187 machine-readable copy of the corresponding source code, to be
188 distributed under the terms of Sections 1 and 2 above on a medium
189 customarily used for software interchange; or,
190
191 c) Accompany it with the information you received as to the offer
192 to distribute corresponding source code. (This alternative is
193 allowed only for noncommercial distribution and only if you
194 received the program in object code or executable form with such
195 an offer, in accord with Subsection b above.)
196
197The source code for a work means the preferred form of the work for
198making modifications to it. For an executable work, complete source
199code means all the source code for all modules it contains, plus any
200associated interface definition files, plus the scripts used to
201control compilation and installation of the executable. However, as a
202special exception, the source code distributed need not include
203anything that is normally distributed (in either source or binary
204form) with the major components (compiler, kernel, and so on) of the
205operating system on which the executable runs, unless that component
206itself accompanies the executable.
207
208If distribution of executable or object code is made by offering
209access to copy from a designated place, then offering equivalent
210access to copy the source code from the same place counts as
211distribution of the source code, even though third parties are not
212compelled to copy the source along with the object code.
213
214 4. You may not copy, modify, sublicense, or distribute the Program
215except as expressly provided under this License. Any attempt
216otherwise to copy, modify, sublicense or distribute the Program is
217void, and will automatically terminate your rights under this License.
218However, parties who have received copies, or rights, from you under
219this License will not have their licenses terminated so long as such
220parties remain in full compliance.
221
222 5. You are not required to accept this License, since you have not
223signed it. However, nothing else grants you permission to modify or
224distribute the Program or its derivative works. These actions are
225prohibited by law if you do not accept this License. Therefore, by
226modifying or distributing the Program (or any work based on the
227Program), you indicate your acceptance of this License to do so, and
228all its terms and conditions for copying, distributing or modifying
229the Program or works based on it.
230
231 6. Each time you redistribute the Program (or any work based on the
232Program), the recipient automatically receives a license from the
233original licensor to copy, distribute or modify the Program subject to
234these terms and conditions. You may not impose any further
235restrictions on the recipients' exercise of the rights granted herein.
236You are not responsible for enforcing compliance by third parties to
237this License.
238
239 7. If, as a consequence of a court judgment or allegation of patent
240infringement or for any other reason (not limited to patent issues),
241conditions are imposed on you (whether by court order, agreement or
242otherwise) that contradict the conditions of this License, they do not
243excuse you from the conditions of this License. If you cannot
244distribute so as to satisfy simultaneously your obligations under this
245License and any other pertinent obligations, then as a consequence you
246may not distribute the Program at all. For example, if a patent
247license would not permit royalty-free redistribution of the Program by
248all those who receive copies directly or indirectly through you, then
249the only way you could satisfy both it and this License would be to
250refrain entirely from distribution of the Program.
251
252If any portion of this section is held invalid or unenforceable under
253any particular circumstance, the balance of the section is intended to
254apply and the section as a whole is intended to apply in other
255circumstances.
256
257It is not the purpose of this section to induce you to infringe any
258patents or other property right claims or to contest validity of any
259such claims; this section has the sole purpose of protecting the
260integrity of the free software distribution system, which is
261implemented by public license practices. Many people have made
262generous contributions to the wide range of software distributed
263through that system in reliance on consistent application of that
264system; it is up to the author/donor to decide if he or she is willing
265to distribute software through any other system and a licensee cannot
266impose that choice.
267
268This section is intended to make thoroughly clear what is believed to
269be a consequence of the rest of this License.
270
271 8. If the distribution and/or use of the Program is restricted in
272certain countries either by patents or by copyrighted interfaces, the
273original copyright holder who places the Program under this License
274may add an explicit geographical distribution limitation excluding
275those countries, so that distribution is permitted only in or among
276countries not thus excluded. In such case, this License incorporates
277the limitation as if written in the body of this License.
278
279 9. The Free Software Foundation may publish revised and/or new versions
280of the General Public License from time to time. Such new versions will
281be similar in spirit to the present version, but may differ in detail to
282address new problems or concerns.
283
284Each version is given a distinguishing version number. If the Program
285specifies a version number of this License which applies to it and "any
286later version", you have the option of following the terms and conditions
287either of that version or of any later version published by the Free
288Software Foundation. If the Program does not specify a version number of
289this License, you may choose any version ever published by the Free Software
290Foundation.
291
292 10. If you wish to incorporate parts of the Program into other free
293programs whose distribution conditions are different, write to the author
294to ask for permission. For software which is copyrighted by the Free
295Software Foundation, write to the Free Software Foundation; we sometimes
296make exceptions for this. Our decision will be guided by the two goals
297of preserving the free status of all derivatives of our free software and
298of promoting the sharing and reuse of software generally.
299
300 NO WARRANTY
301
302 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
303FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
304OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
305PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
306OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
307MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
308TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
309PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
310REPAIR OR CORRECTION.
311
312 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
313WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
314REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
315INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
316OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
317TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
318YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
319PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
320POSSIBILITY OF SUCH DAMAGES.
321
322 END OF TERMS AND CONDITIONS
323
324 Appendix: How to Apply These Terms to Your New Programs
325
326 If you develop a new program, and you want it to be of the greatest
327possible use to the public, the best way to achieve this is to make it
328free software which everyone can redistribute and change under these terms.
329
330 To do so, attach the following notices to the program. It is safest
331to attach them to the start of each source file to most effectively
332convey the exclusion of warranty; and each file should have at least
333the "copyright" line and a pointer to where the full notice is found.
334
335 &lt;one line to give the program's name and a brief idea of what it does.&gt;
336 Copyright (C) 19yy &lt;name of author&gt;
337
338 This program is free software; you can redistribute it and/or modify
339 it under the terms of the GNU General Public License as published by
340 the Free Software Foundation; either version 2 of the License, or
341 (at your option) any later version.
342
343 This program is distributed in the hope that it will be useful,
344 but WITHOUT ANY WARRANTY; without even the implied warranty of
345 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
346 GNU General Public License for more details.
347
348 You should have received a copy of the GNU General Public License
349 along with this program; if not, write to the Free Software
350 Foundation, Inc., 51 Franklin Steet, Fifth Floor,
351 Boston, MA 02110-1301, USA.
352
353Also add information on how to contact you by electronic and paper mail.
354
355If the program is interactive, make it output a short notice like this
356when it starts in an interactive mode:
357
358 Gnomovision version 69, Copyright (C) 19yy name of author
359 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
360 This is free software, and you are welcome to redistribute it
361 under certain conditions; type `show c' for details.
362
363The hypothetical commands `show w' and `show c' should show the appropriate
364parts of the General Public License. Of course, the commands you use may
365be called something other than `show w' and `show c'; they could even be
366mouse-clicks or menu items--whatever suits your program.
367
368You should also get your employer (if you work as a programmer) or your
369school, if any, to sign a "copyright disclaimer" for the program, if
370necessary. Here is a sample; alter the names:
371
372 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
373 `Gnomovision' (which makes passes at compilers) written by James Hacker.
374
375 &lt;signature of Ty Coon&gt;, 1 April 1989
376 Ty Coon, President of Vice
377
378This General Public License does not permit incorporating your program into
379proprietary programs. If your program is a subroutine library, you may
380consider it more useful to permit linking proprietary applications with the
381library. If this is what you want to do, use the GNU Library General
382Public License instead of this License.
383</pre>
384
385
386<!-- eof -->
387<p><address><hr><div align=center>
388<table width=100% cellspacing=0 border=0><tr>
389<td>Copyright &copy; 2007
390<a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
391<td align=right><div align=right>Qt 3.3.8</div>
392</table></div></address></body>
393</html>
Note: See TracBrowser for help on using the repository browser.