diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 00000000..f1d2acae --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,25 @@ +project (kde-playground) + +set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules") + +#search packages used by KDE +set(QT_MIN_VERSION "4.8.2") +find_package(KDE4 4.14.3 REQUIRED) +include (KDE4Defaults) +include(GenerateExportHeader) + +# shared libs +set (LIBRARY_TYPE SHARED) + +# enforce build of tests +set (KDE4_BUILD_TESTS "ON" CACHE "BOOL" "Enable building of tests" FORCE) + +# KDE/QT definitions we want +add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS}) +add_definitions (-DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DKTEXTEDITOR_NO_DEPRECATED) + +# global include directories +include_directories (${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${KDE4_INCLUDES}) + +macro_optional_add_subdirectory (kdbg) +macro_optional_add_subdirectory (pykde4) diff --git a/pykde4/.reviewboardc b/pykde4/.reviewboardc new file mode 100644 index 00000000..a6268919 --- /dev/null +++ b/pykde4/.reviewboardc @@ -0,0 +1,4 @@ +REPOSITORY = "git://anongit.kde.org/pykde4" +REVIEWBOARD_URL = "https://git.reviewboard.kde.org" +TARGET_GROUPS = "kdebindings" +TARGET_PEOPLE = "lbeltrame,sedwards" diff --git a/pykde4/AUTHORS b/pykde4/AUTHORS new file mode 100644 index 00000000..783d5443 --- /dev/null +++ b/pykde4/AUTHORS @@ -0,0 +1,9 @@ +Jim Bublitz (jbublitz@nwinternet.com) + PyKDE(KDE2, KDE3, KDE4) + +Phil Thompson (phil@river-bank.demon.co.uk) + sip, PyQt, original PyKDE (KDE1) and loads of good advice and help + +See the THANKS file for other contributions + + diff --git a/pykde4/BUGS b/pykde4/BUGS new file mode 100644 index 00000000..e69de29b diff --git a/pykde4/CMakeLists.txt b/pykde4/CMakeLists.txt new file mode 100644 index 00000000..c9313a93 --- /dev/null +++ b/pykde4/CMakeLists.txt @@ -0,0 +1,223 @@ +project(pykde4) + +cmake_minimum_required(VERSION 2.8.6 FATAL_ERROR) + +# search packages used by KDE +find_package(KDE4 4.9.4 REQUIRED) + +# Match what's used in the main macros +cmake_policy(SET CMP0002 OLD) +find_package(PythonLibrary) + +include(KDE4Defaults) +include(MacroLibrary) +include(PythonMacros) +include(FeatureSummary) + +option(PYKDEUIC4_ALTINSTALL "Enable parallel-installation of the PyKDE4 tools" FALSE) + +set(CMAKE_MODULE_PATH ${pykde4_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH}) + +find_package(PythonLibrary) + +set_package_properties(KDE4 PROPERTIES DESCRIPTION "The KDE libraries" + URL "http://www.kde.org" TYPE REQUIRED + PURPOSE "Required to build PyKDE4") +set_package_properties(PythonLibrary PROPERTIES DESCRIPTION + "The Python Library" URL "http://www.python.org" + TYPE REQUIRED PURPOSE "Required to build PyKDE4") +set_package_properties(PythonInterp PROPERTIES + DESCRIPTION "The Python interpreter" + URL "http://www.python.org" TYPE REQUIRED + PURPOSE "Required to build PyKDE4") + +include_directories(${KDE4_INCLUDES}) + +find_package(SIP) +set_package_properties(SIP PROPERTIES DESCRIPTION "The SIP binding generator" + URL "http://riverbankcomputing.com" TYPE REQUIRED + PURPOSE "Required to build PyKDE4") + +include(SIPMacros) + +if(SIP_VERSION STRLESS "040e00") # These version numbers also appear in ../CMakeLists.txt + message(FATAL_ERROR "The version of SIP found is too old. 4.14 or later is needed.") +endif() + +find_package(PyQt4) +set_package_properties(PyQt4 PROPERTIES DESCRIPTION "The PyQt bindings" + URL "http://riverbankcomputing.com" TYPE REQUIRED + PURPOSE "Required to build PyKDE4") + +if(PYQT4_VERSION STRLESS "040905") # These version numbers also appear in ../CMakeLists.txt + message(FATAL_ERROR "The version of PyQt found is too old. 4.9 or later is required.") +endif() + +macro_optional_find_package(PolkitQt) +set_package_properties(PolkitQt PROPERTIES DESCRIPTION "Qt wrapper around Polkit" + TYPE OPTIONAL PURPOSE + "Required to build Python Polkit bindings") + +include_directories( + ${PYTHON_INCLUDE_PATH} + ${SIP_INCLUDE_DIR} + ${QT_INCLUDE_DIR} + ${QT_QT_INCLUDE_DIR} + ${QT_QTCORE_INCLUDE_DIR} + ${QT_QTDESIGNER_INCLUDE_DIR} + ${QT_QTGUI_INCLUDE_DIR} + ${QT_QTNETWORK_INCLUDE_DIR} + ${QT_QTOPENGL_INCLUDE_DIR} + ${QT_QTSQL_INCLUDE_DIR} + ${QT_QTXML_INCLUDE_DIR} + ${QT_QTSVG_INCLUDE_DIR} + ${QT_QTWEBKIT_INCLUDE_DIR} + ${KDE4_INCLUDE_DIR} + ${KDE4_INCLUDE_DIR}/solid + ${KDE4_INCLUDE_DIR}/kio + ${KDE4_INCLUDE_DIR}/dom + ${KDE4_INCLUDE_DIR}/ksettings + ${KDE4_INCLUDE_DIR}/knewstuff2 + ${KDE4_INCLUDE_DIR}/dnssd + ${KDE4_PHONON_INCLUDES} + ${KDEPIMLIBS_INCLUDE_DIRS} +) + +set(SIP_INCLUDES ${CMAKE_BINARY_DIR} ${PYQT4_SIP_DIR} sip) +set(SIP_CONCAT_PARTS 8) +if (WIN32) + set(SIP_TAGS ALL WS_WIN ${PYQT4_VERSION_TAG}) +else () + set(SIP_TAGS ALL WS_X11 ${PYQT4_VERSION_TAG}) +endif () +set(SIP_DISABLE_FEATURES VendorID PyQt_NoPrintRangeBug) + +set(SIP_FILES_INSTALL_DIR ${SHARE_INSTALL_PREFIX}/sip) + +# Use an extra option when compiling on Python 3. +if (PYTHON_VERSION_MAJOR GREATER 2) + if(PYQT4_VERSION STRGREATER "040904") + # Disable for features in newer Qt + if (PYQT4_VERSION STRGREATER "040a04") + # GLuint + QVector (PyQt > 4.11) + set(SIP_EXTRA_OPTIONS -P -g -x PyKDE_QVector -x PyKDE_GLuint) + else () + # QVector (PyQt < 4.11) + set(SIP_EXTRA_OPTIONS -P -g -x PyKDE_QVector) + endif () + else () + set(SIP_EXTRA_OPTIONS -g) + endif() +else (PYTHON_VERSION_MAJOR GREATER 2) + if(PYQT4_VERSION STRGREATER "040904") + # Disable for newer PyQt + if (PYQT4_VERSION STRGREATER "040a04") + # GLuint + QVector (PyQt > 4.11) + set(SIP_EXTRA_OPTIONS -P -g -x PyKDE_QVector -x Py_v3 -x PyKDE_GLuint) + else () + # QVector (PyQt < 4.11) + set(SIP_EXTRA_OPTIONS -P -g -x PyKDE_QVector -x Py_v3) + endif () + else () + set(SIP_EXTRA_OPTIONS -g -x Py_v3) + endif() +endif () + +add_definitions(-D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public) + +include(PyKDEConfigurationInformation.cmake) + +# Only install pykdeconfig.py if PyQt itself has installed pyqtconfig.py, since +# its absence indicates PyQt was built with the new build system and +# pykdeconfig will not work. +execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import PyQt4.pyqtconfig" + RESULT_VARIABLE _exit_code OUTPUT_QUIET ERROR_QUIET) +if (NOT _exit_code) + python_install(${CMAKE_CURRENT_BINARY_DIR}/pykdeconfig.py ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4) +endif () + +file(GLOB kdecore_files_sip sip/kdecore/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${kdecore_files_sip}) +add_sip_python_module(PyKDE4.kdecore sip/kdecore/kdecoremod.sip ${KDE4_KDECORE_LIBS} ${KDE4_KPTY_LIBS} ${QT_QTNETWORK_LIBRARY}) + +file(GLOB solid_files_sip sip/solid/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${solid_files_sip}) +add_sip_python_module(PyKDE4.solid sip/solid/solidmod.sip ${KDE4_SOLID_LIBS} ${QT_QTCORE_LIBRARY}) + +file(GLOB kdeui_files_sip sip/kdeui/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${kdeui_files_sip}) +add_sip_python_module(PyKDE4.kdeui sip/kdeui/kdeuimod.sip ${KDE4_KDEUI_LIBS} ${QT_QTXML_LIBRARY}) + +file(GLOB kio_files_sip sip/kio/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${kio_files_sip}) +add_sip_python_module(PyKDE4.kio sip/kio/kiomod.sip ${KDE4_KIO_LIBS} ${KDE4_KFILE_LIBS}) + +file(GLOB kutils_files_sip sip/kutils/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${kutils_files_sip}) +add_sip_python_module(PyKDE4.kutils sip/kutils/kutilsmod.sip ${KDE4_KUTILS_LIBS} ${QT_QTGUI_LIBRARY} ${QT_QTCORE_LIBRARY} ${KDE4_KDEUI_LIBS}) + +file(GLOB kparts_files_sip sip/kparts/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${kparts_files_sip}) +add_sip_python_module(PyKDE4.kparts sip/kparts/kpartsmod.sip ${KDE4_KPARTS_LIBS}) + +file(GLOB ktexteditor_files_sip sip/ktexteditor/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${ktexteditor_files_sip}) +add_sip_python_module(PyKDE4.ktexteditor sip/ktexteditor/ktexteditormod.sip ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) + +file(GLOB khtml_files_sip sip/khtml/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${khtml_files_sip}) +add_sip_python_module(PyKDE4.khtml sip/khtml/khtmlmod.sip ${KDE4_KHTML_LIBS}) + +file(GLOB knewstuff_files_sip sip/knewstuff/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${knewstuff_files_sip}) +add_sip_python_module(PyKDE4.knewstuff sip/knewstuff/knewstuffmod.sip ${KDE4_KNEWSTUFF2_LIBS} ${KDE4_KNEWSTUFF3_LIBS} ${QT_QTCORE_LIBRARY}) + +file(GLOB dnssd_files_sip sip/dnssd/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${dnssd_files_sip}) +add_sip_python_module(PyKDE4.dnssd sip/dnssd/dnssdmod.sip ${KDE4_KDNSSD_LIBS} ${QT_QTCORE_LIBRARY}) + +file(GLOB phonon_files_sip sip/phonon/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${phonon_files_sip}) +add_sip_python_module(PyKDE4.phonon sip/phonon/phononmod.sip ${PHONON_LIBS} ${QT_QTDBUS_LIBRARY} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) + +file(GLOB plasma_files_sip sip/plasma/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${plasma_files_sip}) +add_sip_python_module(PyKDE4.plasma sip/plasma/plasmamod.sip ${KDE4_PLASMA_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTUITOOLS_LIBRARY} ${KDE4_KIO_LIBRARY} ${KDE4_KDECORE_LIBRARY} ${KDE4_KDEUI_LIBRARY}) + +file(GLOB kterminal_files_sip sip/kterminal/*.sip) +set(SIP_EXTRA_FILES_DEPEND ${kterminal_files_sip}) +add_sip_python_module(PyKDE4.kterminal sip/kterminal/kterminalmod.sip ${KDE4_TERMINAL_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}) + +set(PYKDE_MODULES "kdecore solid kdeui kio kutils kparts ktexteditor dnssd phonon plasma kterminal") + +if(POLKITQT_FOUND) + include_directories(${POLKITQT_INCLUDE_DIR}) + + file(GLOB pollkitqt_files_sip sip/polkitqt/*.sip) + + # ${POLKITQT_INCLUDE_DIR} -- We don't use this directly, because we need the #includes + # in the .sip file to be more specific otherwise they pick up the wrong action.h etc. + + set(SIP_EXTRA_FILES_DEPEND ${pollkitqt_files_sip}) + add_sip_python_module(PyKDE4.polkitqt sip/polkitqt/polkitqtmod.sip ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${POLKITQT_LIBRARIES}) + set(PYKDE_MODULES "${PYKDE_MODULES} polkitqt") +endif() + +python_install(__init__.py ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4) + +# Install the .sip files for anyone that wants to build bindings on top of PyKDE4. +# (Don't forget the / at the end of sip/.) +install(FILES ${CMAKE_BINARY_DIR}/pykde_config.sip DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4/) +install(DIRECTORY sip/ DESTINATION ${SIP_FILES_INSTALL_DIR}/PyKDE4 + PATTERN "*~" EXCLUDE # This sucks, why can't I just whitelist what I _do_ want? + PATTERN ".svn" EXCLUDE + PATTERN "*.in" EXCLUDE) + +add_subdirectory(tools) +#add_subdirectory(docs) +add_subdirectory(examples) +if (PYTHON_VERSION_MAJOR LESS 3) + add_subdirectory(kpythonpluginfactory) +endif () + +feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES) diff --git a/pykde4/COPYING b/pykde4/COPYING new file mode 100644 index 00000000..03c41e31 --- /dev/null +++ b/pykde4/COPYING @@ -0,0 +1,343 @@ +The GNU GENERAL PUBLIC LICENSE +------------------------------ + + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + Appendix: How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/pykde4/COPYING.LESSER b/pykde4/COPYING.LESSER new file mode 100644 index 00000000..7efaa911 --- /dev/null +++ b/pykde4/COPYING.LESSER @@ -0,0 +1,481 @@ + GNU LIBRARY GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + +[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.] + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users. + + This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it. + + For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights. + + Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library. + + Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all. + + Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license. + + The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such. + + Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better. + + However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries. + + The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library. + + Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one. + + GNU LIBRARY GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you". + + A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + + The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".) + + "Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library. + + Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does. + + 1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library. + + You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee. + + 2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) The modified work must itself be a software library. + + b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change. + + c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License. + + d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful. + + (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library. + +In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices. + + Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy. + + This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + + 4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange. + + If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code. + + 5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License. + + However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables. + + When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law. + + If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.) + + Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself. + + 6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications. + + You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things: + + a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.) + + b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution. + + c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place. + + d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy. + + For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable. + + It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute. + + 7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things: + + a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above. + + b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work. + + 8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance. + + 9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it. + + 10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library. + +If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + + 13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns. + +Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation. + + 14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally. + + NO WARRANTY + + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Libraries + + If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License). + + To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Library General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Library General Public License for more details. + + You should have received a copy of the GNU Library General Public + License along with this library; if not, write to the Free + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + +Also add information on how to contact you by electronic and paper mail. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the + library `Frob' (a library for tweaking knobs) written by James Random Hacker. + + , 1 April 1990 + Ty Coon, President of Vice + +That's all there is to it! diff --git a/pykde4/ChangeLog b/pykde4/ChangeLog new file mode 100644 index 00000000..e69de29b diff --git a/pykde4/INSTALL b/pykde4/INSTALL new file mode 100644 index 00000000..ebb3fab7 --- /dev/null +++ b/pykde4/INSTALL @@ -0,0 +1,35 @@ + +PyKDE 4 currently requires the following: + +* A recent Python (2.7.1 & 3.2.0 are what I've been testing with) + +* SIP version 4.12.2 or later. + http://www.riverbankcomputing.co.uk/sip/index.php + +* PyQt 4.8.4 or later. Also available at Riverbank Computing. + +* KDE 4 libs and development headers etc. kdelibs, kdepimlibs and + kdesupport modules. + +Depending on how you work, you might want to install the extra python +modules into a separate Python interpreter installation. Make sure +that the Python interpreter that you want to use is the first one +found on your $PATH or explicitly specify a python executable as an +argument to cmake (option -DPYTHON_EXECUTABLE=/usr/bin/python etc). + +By default, the supplied tools (pykdeuic4) are installed both as a +Python version depdendent name (e.g. pykdeuic4-2.7 for Python 2.7) and +a symlink to $BIN_INSTALL_DIR/pykdeuic4, but like Python's own "make +altinstall" this can be overriddent by passing -DPYKDEUIC4_ALTINSTALL=TRUE +to the CMake options: in such a case, only the version dependent name is +installed. + +Once everything is built and installed, run the following in this +current directory as a test: + + python importTest.py + +If the importTest.py works without any error messages, then your +installation is in good shape. Congratulations. + +-- Jim Bublitz , Simon Edwards diff --git a/pykde4/NEWS b/pykde4/NEWS new file mode 100644 index 00000000..998f8f08 --- /dev/null +++ b/pykde4/NEWS @@ -0,0 +1,3 @@ +No news is good news + +Initial Release diff --git a/pykde4/PyKDEConfigurationInformation.cmake b/pykde4/PyKDEConfigurationInformation.cmake new file mode 100644 index 00000000..443b2f4f --- /dev/null +++ b/pykde4/PyKDEConfigurationInformation.cmake @@ -0,0 +1,57 @@ +# This file sets up the files responsible for providing information about +# PyKDE was configured, to be used by modules built on top of it. +# +# pykdeconfig.py is legacy, and provided only when PyQt4 itself was built with +# its legacy build system (deprecated in PyQt 4.10) and thus provides +# pyqtconfig.py. +# +# pykde_config.sip.in contains SIP code for setting the +# PyKDE4.kdecore.PYKDE_CONFIGURATION dict. It is present regardless of whether +# pykdeconfig.py exists or not. Like PYQT_CONFIGURATION, it contains less +# information than pykdeconfig.py, but enough for other modules to determine +# which SIP flags were used to build PyKDE. + +# Turn these variables into arguments for the sip binary. +set(_SIP_TAGS) +foreach (_TAG ${SIP_TAGS}) + set(_SIP_TAGS "${_SIP_TAGS} -t ${_TAG}") +endforeach (_TAG) +set(_SIP_X) +foreach (_X ${SIP_DISABLE_FEATURES}) + set(_SIP_X "${_SIP_X} -X ${_X}") +endforeach (_X ${SIP_DISABLE_FEATURES}) + +# Common variables. +set(PYKDE_SIP_DIR "${SIP_FILES_INSTALL_DIR}/PyKDE4") +set(PYKDE_SIP_FLAGS "${_SIP_TAGS} ${_SIP_X} ${SIP_EXTRA_OPTIONS}") + +# Create pykde_config.sip. +configure_file(sip/kdecore/pykde_config.sip.in ${CMAKE_BINARY_DIR}/pykde_config.sip @ONLY) + +# pykdeconfig.py. It is always created, but is installed only if PyQt itself +# installs pyqtconfig.py. +get_filename_component(LIB_DIR ${KDE4_LIB_DIR} NAME) +set(SIP_CONFIGURATION " +kde_version_parts = '${KDE_VERSION}'.split('.') +kde_version_hex = int(kde_version_parts[0])*65536 + int(kde_version_parts[1])*256 + int(kde_version_parts[2]) +_pkg_config = { + 'dist_name': '', + 'kde_version': kde_version_hex, + 'kde_version_extra': '', + 'kde_version_sfx': '', + 'kde_version_str': '${KDE_VERSION}', + 'kdebasedir': '${CMAKE_INSTALL_PREFIX}', + 'kdeincdir': '${KDE4_INCLUDE_DIR}', + 'kdelibdir': '${KDE4_LIB_DIR}', + 'konsolepart': 'False', + 'libdir': '${LIB_DIR}', + 'pykde_kde_sip_flags': '${PYKDE_SIP_FLAGS}', + 'pykde_mod_dir': '${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4', + 'pykde_modules': '${PYKDE_MODULES}', + 'pykde_sip_dir': '${PYKDE_SIP_DIR}', + 'pykde_version': kde_version_hex, + 'pykde_version_str': '${KDE_VERSION}' +} + +_default_macros = None") +configure_file(pykdeconfig.py.in ${CMAKE_CURRENT_BINARY_DIR}/pykdeconfig.py) diff --git a/pykde4/README b/pykde4/README new file mode 100644 index 00000000..75c8c4ab --- /dev/null +++ b/pykde4/README @@ -0,0 +1,55 @@ + +PyKDE 4 - Python bindings for KDE 4.7 +===================================== +Main Developer - Simon Edwards , Jim Bublitz + + +Install +------- +See INSTALL for installation instructions and read the Tips below. + + +License +------- +Each files should have its our license header, but generally speaking the code +that makes up the PyKDE4 Python modules (libraries) are ̈́"LGPL or later", and +the rest is "GPL or later". + + +Tips +---- + +* Python 3 is supported for the base bindings but currently not for the + plugins and embedding. When running cmake specify which python executable + you want to use by passing in the -DPYTHON_EXECUTABLE= option. + For example: + + cmake -DPYTHON_EXECUTABLE=/usr/bin/python3 + +* Almost every class and method in the KDE API is supported. For most + developers PyKDE4 is in good enough shape to start porting and + development of PyKDE4 based programs. + +* PyKDE4 is very sensitive to binary compatibility in KDE's libraries. + (PyKDE uses also every class and method in KDE.) Don't be surprised if + your PyKDE install breaks after updating your KDE SVN checkout. I (Simon) + will do my best to fix things as they break, and to try to keep things up + to date when new methods and classes are added to the KDE API. + +* If you have written some example code which could be included with PyKDE4, + then get in touch! + +* The modules, kdecore, kdeui, solid, sonnet etc are now located under a + "PyKDE4" top level module. For example, this is what you need now: + + from PyKDE4.kdecore import * + + or + + from PyKDE4 import kdecore + +* Bug reports can be sent to Jim Bublitz and Simon + Edwards + + +-- Simon Edwards diff --git a/pykde4/THANKS b/pykde4/THANKS new file mode 100644 index 00000000..193e1754 --- /dev/null +++ b/pykde4/THANKS @@ -0,0 +1 @@ +See your name here - make a contribution to PyKDE4 \ No newline at end of file diff --git a/pykde4/__init__.py b/pykde4/__init__.py new file mode 100644 index 00000000..8a53aa13 --- /dev/null +++ b/pykde4/__init__.py @@ -0,0 +1,4 @@ +import sys,DLFCN +# This is needed to ensure that dynamic_cast and RTTI works inside kdelibs. +sys.setdlopenflags(DLFCN.RTLD_NOW|DLFCN.RTLD_GLOBAL) + \ No newline at end of file diff --git a/pykde4/cmake/modules/COPYING-CMAKE-SCRIPTS b/pykde4/cmake/modules/COPYING-CMAKE-SCRIPTS new file mode 100644 index 00000000..4b417765 --- /dev/null +++ b/pykde4/cmake/modules/COPYING-CMAKE-SCRIPTS @@ -0,0 +1,22 @@ +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: + +1. Redistributions of source code must retain the copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. +3. The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/pykde4/cmake/modules/FindPolkitQt.cmake b/pykde4/cmake/modules/FindPolkitQt.cmake new file mode 100644 index 00000000..b6f883f9 --- /dev/null +++ b/pykde4/cmake/modules/FindPolkitQt.cmake @@ -0,0 +1,102 @@ +# - Try to find Polkit-qt +# Once done this will define +# +# POLKITQT_FOUND - system has Polkit-qt +# POLKITQT_INCLUDE_DIR - the Polkit-qt include directory +# POLKITQT_LIBRARIES - Link these to use all Polkit-qt libs +# POLKITQT_CORE_LIBRARY - Link this to use the polkit-qt-core library only +# POLKITQT_GUI_LIBRARY - Link this to use GUI elements in polkit-qt (polkit-qt-gui) +# POLKITQT_DEFINITIONS - Compiler switches required for using Polkit-qt +# POLKITQT_POLICY_FILES_INSTALL_DIR - The directory where policy files should be installed to. +# +# The minimum required version PolkitQt can be specified by setting the +# POLKITQT_MIN_VERSION variable. + +# Copyright (c) 2009, Daniel Nicoletti, +# Copyright (c) 2009, Dario Freddi, +# Copyright (c) 2009, Michal Malek, +# Copyright (c) 2009, Alexander Neundorf, +# +# Redistribution and use is allowed according to the terms of the BSD license. +# For details see the accompanying COPYING-CMAKE-SCRIPTS file. + +if (POLKITQT_INCLUDE_DIR AND POLKITQT_GUI_LIBRARY AND POLKITQT_CORE_LIBRARY) + set(PolkitQt_FIND_QUIETLY TRUE) +endif (POLKITQT_INCLUDE_DIR AND POLKITQT_GUI_LIBRARY AND POLKITQT_CORE_LIBRARY) + +if (NOT POLKITQT_MIN_VERSION) + set(POLKITQT_MIN_VERSION "0.9.3") +endif (NOT POLKITQT_MIN_VERSION) + +if (NOT WIN32) + # use pkg-config to get the directories and then use these values + # in the FIND_PATH() and FIND_LIBRARY() calls + find_package(PkgConfig) + pkg_check_modules(PC_POLKITQT QUIET polkit-qt) + set(POLKITQT_DEFINITIONS ${PC_POLKITQT_CFLAGS_OTHER}) +endif (NOT WIN32) + +find_path( POLKITQT_INCLUDE_DIR + NAMES polkit-qt/auth.h + PATH_SUFFIXES PolicyKit +) + +find_path( POLKITQT_VERSION_FILE + NAMES polkit-qt/polkitqtversion.h + PATH_SUFFIXES PolicyKit +) + +set(POLKITQT_VERSION_OK TRUE) +if(POLKITQT_VERSION_FILE) + file(READ ${POLKITQT_INCLUDE_DIR}/polkit-qt/polkitqtversion.h POLKITQT_VERSION_CONTENT) + string (REGEX MATCH "POLKITQT_VERSION_STRING \".*\"\n" POLKITQT_VERSION_MATCH "${POLKITQT_VERSION_CONTENT}") + + if(POLKITQT_VERSION_MATCH) + string(REGEX REPLACE "POLKITQT_VERSION_STRING \"(.*)\"\n" "\\1" POLKITQT_VERSION ${POLKITQT_VERSION_MATCH}) + if(POLKITQT_VERSION STRLESS "${POLKITQT_MIN_VERSION}") + set(POLKITQT_VERSION_OK FALSE) + if(PolkitQt_FIND_REQUIRED) + message(FATAL_ERROR "PolkitQt version ${POLKITQT_VERSION} was found, but it is too old. Please install ${POLKITQT_MIN_VERSION} or newer.") + else(PolkitQt_FIND_REQUIRED) + message(STATUS "PolkitQt version ${POLKITQT_VERSION} is too old. Please install ${POLKITQT_MIN_VERSION} or newer.") + endif(PolkitQt_FIND_REQUIRED) + endif(POLKITQT_VERSION STRLESS "${POLKITQT_MIN_VERSION}") + endif(POLKITQT_VERSION_MATCH) +elseif(POLKITQT_INCLUDE_DIR) + # The version is so old that it does not even have the file + set(POLKITQT_VERSION_OK FALSE) + if(PolkitQt_FIND_REQUIRED) + message(FATAL_ERROR "It looks like PolkitQt is too old. Please install PolkitQt version ${POLKITQT_MIN_VERSION} or newer.") + else(PolkitQt_FIND_REQUIRED) + message(STATUS "It looks like PolkitQt is too old. Please install PolkitQt version ${POLKITQT_MIN_VERSION} or newer.") + endif(PolkitQt_FIND_REQUIRED) +endif(POLKITQT_VERSION_FILE) + +find_library( POLKITQT_CORE_LIBRARY + NAMES polkit-qt-core + HINTS ${PC_POLKITQT_LIBDIR} +) +find_library( POLKITQT_GUI_LIBRARY + NAMES polkit-qt-gui + HINTS ${PC_POLKITQT_LIBDIR} +) +set(POLKITQT_LIBRARIES ${POLKITQT_GUI_LIBRARY} ${POLKITQT_CORE_LIBRARY}) + +include(FindPackageHandleStandardArgs) + +# handle the QUIETLY and REQUIRED arguments and set POLKITQT_FOUND to TRUE if +# all listed variables are TRUE +find_package_handle_standard_args(PolkitQt DEFAULT_MSG POLKITQT_INCLUDE_DIR POLKITQT_GUI_LIBRARY POLKITQT_CORE_LIBRARY POLKITQT_VERSION_OK) + +mark_as_advanced(POLKITQT_INCLUDE_DIR POLKITQT_CORE_LIBRARY POLKITQT_GUI_LIBRARY POLKITQT_LIBRARIES POLKITQT_VERSION_OK) + +if(POLKITQT_FOUND) + get_filename_component(_POLKITQT_INSTALL_PREFIX "${POLKITQT_CORE_LIBRARY}" PATH) + get_filename_component(_POLKITQT_INSTALL_PREFIX "${_POLKITQT_INSTALL_PREFIX}" PATH) + if ( NOT _POLKITQT_INSTALL_PREFIX STREQUAL CMAKE_INSTALL_PREFIX ) + message("WARNING: Installation prefix does not match PolicyKit install prefixes. You probably will need to move files installed " + "in ${CMAKE_INSTALL_PREFIX}/${POLKITQT_POLICY_FILES_INSTALL_DIR} and by dbus_add_activation_system_service to the ${_POLKITQT_INSTALL_PREFIX}/${POLKITQT_POLICY_FILES_INSTALL_DIR} prefix") + endif (NOT _POLKITQT_INSTALL_PREFIX STREQUAL CMAKE_INSTALL_PREFIX) +endif(POLKITQT_FOUND) + +set(POLKITQT_POLICY_FILES_INSTALL_DIR share/PolicyKit/policy/) diff --git a/pykde4/configure.template b/pykde4/configure.template new file mode 100644 index 00000000..4211c099 --- /dev/null +++ b/pykde4/configure.template @@ -0,0 +1,805 @@ +# This script generates the PyKDE configuration and generates the Makefiles. +# +# Copyright (c) 2004 +# Riverbank Computing Limited +# Jim Bublitz +# +# This file is part of PyKDE. +# +# This copy of PyKDE is free software; you can redistribute it and/or modify it +# under the terms of the GNU General Public License as published by the Free +# Software Foundation; either version 2, or (at your option) any later +# version. +# +# PyKDE is supplied in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS +# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more +# details. +# +# You should have received a copy of the GNU General Public License along with +# PyKDE; see the file LICENSE. If not, write to the Free Software Foundation, +# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +import sys +import os +import string +import glob +import getopt +import shutil +import py_compile + +try: + import sipconfig +except: + print ("Can't find sipconfig.py (expected in sys.path)") + print ("Have you built the correct version of sip?") + sys.exit (-1) + +try: + import PyQt4.pyqtconfig +except: + sipconfig.error ("Can't find pyqtconfig.py in sys.path - exiting") + +# Get the SIP configuration. +sipcfg = sipconfig.Configuration() +pyqtcfg = PyQt4.pyqtconfig.Configuration () + +# Initialise the globals. +pykde_version = 0x038003 +pykde_version_str = '3.80.3' +$pykde_package$ + +kde_version = None +kde_version_str = None +kde_version_sfx = None +kde_version_extra = None +kde_max_version = 0x040000 + +sip_min_v4_version = 0x040600 +qt_min_version = 0x040300 +pyqt_min_version = 0x040200 + +kde_sip_flags = [] + +# Command line options. +if pykde_package: + opt_pykdemoddir = os.path.join (sipcfg.default_mod_dir, pykde_package) + print "package", opt_pykdemoddir +else: + opt_pykdemoddir = sipcfg.default_mod_dir +opt_pykdesipdir = sipcfg.default_sip_dir +opt_debug = 0 +opt_concat = None +opt_split = 1 +opt_releasegil = 0 +opt_tracing = 0 +opt_static = 0 +opt_kdebasedir = None +opt_kdelibdir = None +opt_kdeincdir = None +opt_konsolepart = False +opt_dep_warnings = 0 +opt_libdir = "lib" +opt_dist_name = "" + +$pykde_modules$ +$pykde_imports$ +$pykde_includes$ +$pykde_libs$ + +"""postProcess = { + "dcop": None, + "kdecore": [["-p ", "kdecore", "-o", "appQuit", "kdecore.py"], + ["-p ", "kdecore", "-o", "fixQVariant", "kdecore.sbf"], + ["-p ", "kdecore", "-o", "fixSignal", "kdecorepart0.*"]], +# "kdesu": None, + "kdefx": None, + "kdeui": None, #[["-p ", "kdeui", "-o", "shpix", "sipkdeuiKSharedPixmap.cpp"]], + "kresources": None, + "kabc": None, + "kio": None, + "kfile": None, + "kparts": None, + "khtml": None, + "kspell": None, + "kdeprint": None, + "kmdi": None, + "kutils": None #, +# "kspell2": None + }""" + +opt_startModName = "" +opt_startmod = 0 +opt_endmod = len (pykde_modules) + +def check_gcc (): + global opt_concat + + os.system ("gcc -dumpversion > gccvers.txt") + m = open ('gccvers.txt', 'r') + vers = m.read ().strip () + m.close () + os.unlink ('gccvers.txt') + print "gcc version %s" % vers + + if opt_concat == None: + if vers < "4.0.0" or vers >= "4.0.3": + opt_concat = 1 + else: + opt_concat = 0 + + if opt_concat == 1: + print "concatenating files" + else: + print "no concatenation" + print + +def init_and_check_sanity (): + """ Do some initialization and check various versions and + attributes of sip and PyQt installations + """ + + check_gcc () + + # Check SIP is new enough. + if sipcfg.sip_version_str[:8] != "snapshot": + minv = None + + if sipcfg.sip_version < sip_min_v4_version: + sipcfg.error("This version of PyKDE requires SIP v%s or later" % sipcfg.version_to_string(minv)) + + # Check SIP has Qt support enabled and check version + if pyqtcfg.qt_version == 0: + sipconfig.error("SIP has been built with Qt support disabled.") + + if pyqtcfg.qt_version < qt_min_version: +# sipconfig.error("SIP has been built with an unsupported Qt version (%s)" % sipcfg.version_to_string (sipcfg.qt_version)) + sipconfig.error("SIP has been built with an unsupported Qt version") + + + # Check PyQt version + if pyqtcfg.pyqt_version < pyqt_min_version: + sipcfg.error("This version of PyKDE requires PyQt v%s or later"\ + % pyqtcfg.version_to_string(pyqtcfg.pyqt_version)) + + # find the libs, includes, and version info + check_kde_installation () + +def usage(rcode = 2): + """Display a usage message and exit. + + rcode is the return code passed back to the calling process. + """ + print "Usage:" + print " python configure.py [-h] [-c] [-d dir] [-g] [-j #] [-k] {-L dir] [-n dir] [-o dir] [-r] [-u] [-v dir] [-w] [-x] [-z file]" + print "where:" + print " -h displays this help message" + print " -c concatenates each module's C/C++ source files [default]" + print " -d dir where the PyKDE modules will be installed [default %s]" % opt_pykdemoddir + print " -g always release the GIL (SIP v3.x behaviour - default)" + print " -i no concatenation of each module's C/C++ source files" + print " -j # splits the concatenated C++ source files into # pieces [default 1]" + print " -k dir the KDE base directory" + print " -L dir the library directory name [default lib]" + print " -n dir the directory containing the KDE lib files" + print " -o dir the directory containing the KDE header files" + print " -r generates code with tracing enabled [default disabled]" + print " -u build with debugging symbols" + print " -v dir where the PyKDE .sip files will be installed [default %s]" % opt_pykdesipdir + print " -w turn on KDE deprecated object warnings when compiling [default off]" + print " -x enable kinsole_part support (>= KDE 3.5.0)" + print " -z file the name of a file containing command line flags" + + sys.exit(rcode) + + +def inform_user(stage): + """Tell the user the option values that are going to be used. + """ + if stage == 0: + print + print " PyKDE version %s" % pykde_version_str + print " -------" + print + sipconfig.inform ("Python include directory is %s" % sipcfg.py_inc_dir) + sipconfig.inform ("Python version is %s" % sipconfig.version_to_string (sipcfg.py_version)) + print + sipconfig.inform ("sip version is %s (%s)" % (sipcfg.sip_version_str, + sipconfig.version_to_string (sipcfg.sip_version))) + print + sipconfig.inform ("Qt directory is %s" % pyqtcfg.qt_dir) + sipconfig.inform ("Qt version is %s" % sipconfig.version_to_string (pyqtcfg.qt_version)) + print + sipconfig.inform ("PyQt directory is %s" % pyqtcfg.pyqt_sip_dir) + sipconfig.inform ("PyQt version is %s (%s)" % (pyqtcfg.pyqt_version_str, + sipconfig.version_to_string (pyqtcfg.pyqt_version))) + print + + elif stage == 1: + sipconfig.inform ("KDE base directory is %s" % opt_kdebasedir) + sipconfig.inform ("KDE include directory is %s" % opt_kdeincdir) + sipconfig.inform ("KDE lib directory is %s" % opt_kdelibdir) + sipconfig.inform ("lib directory is %s" % opt_libdir) + + elif stage == 2: + sipconfig.inform ("KDE version is %s (0x%x)" % (kde_version_str, kde_version)) + print + + sipconfig.inform("PyKDE modules will be installed in %s" % opt_pykdemoddir) + sipconfig.inform("PyKDE .sip files will be installed in %s" % opt_pykdesipdir) + print + + + +def create_config(module, template): + """Create the PyKDE configuration module so that it can be imported by build + scripts. + + module is the module file name. + template is the template file name. + """ + sipconfig.inform("Creating %s..." % module) + + content = { + "pykde_version": pykde_version, + "pykde_version_str": pykde_version_str, + "kde_version": kde_version, + "kde_version_str": kde_version_str, + "kde_version_sfx": kde_version_sfx, + "kde_version_extra": kde_version_extra, +# "pykde_bin_dir": opt_pykdebindir, + "pykde_mod_dir": opt_pykdemoddir, + "pykde_sip_dir": opt_pykdesipdir, + "pykde_modules": pykde_modules, + "pykde_kde_sip_flags": kde_sip_flags, + "kdebasedir": opt_kdebasedir, + "kdelibdir": opt_kdelibdir, + "libdir": opt_libdir, + "kdeincdir": opt_kdeincdir, + "pykde_modules": pykde_modules, + "dist_name": opt_dist_name, + "konsolepart": opt_konsolepart + } + + sipconfig.create_config_module(module, template, content) + +def getKDEVersion (versFile): + if not os.path.isfile (versFile): + return + + major = None + minor = None + micro = None + + global kde_version, kde_version_str, kde_version_sfx, kde_version_extra + + f = open (versFile) + l = f.readline () + + ok = majorFound = minorFound = microFound = False + + while not ok and l: + wl = string.split(l) + if len(wl) == 3 and wl[0] == "#define": + if wl[1] == "KDE_VERSION_MAJOR": + major = int (string.strip (wl[2])) + majorFound = True + + if wl[1] == "KDE_VERSION_MINOR": + minor = int (string.strip (wl[2])) + minorFound = True + + if wl[1] == "KDE_VERSION_RELEASE": + micro = int (string.strip (wl[2])) + microFound = True + + ok = majorFound and minorFound and microFound + + l = f.readline() + + f.close() + + exec ("kv = " + "0x%02i%02i%02i" % (major, minor, micro)) + kde_version = kv + + if kde_version > kde_max_version: + print + sipconfig.inform ("*** True KDE version is %s -- building for KDE %s ***" % (hex (kde_version), hex (kde_max_version))) + print + kde_version = kde_max_version + major = hex ((kde_version & 0xff0000) >> 16) [ 2:] + minor = hex ((kde_version & 0x00ff00) >> 8) [ 2:] + micro = hex (kde_version & 0x0000ff) [ 2:] + + if ok: + kde_version_str = "%i.%i.%i" % (major, minor, micro) + kde_version_sfx = "-kde%i%i%i.diff" % (major, minor, micro) + kde_version_extra = "kde%i%i%i" % (major, minor, micro) + else: + sipconfig.error ("KDE version not found in %s" % versFile) + + +def search (target, searchPath): + if not searchPath: + return + + path = None + for searchEntry in searchPath: + if os.path.isdir (searchEntry)\ + and (not target or os.path.isfile (os.path.join (searchEntry, target))): + path = searchEntry + break + + return path + +def discoverKDE4 (): + global opt_kdeincdir, opt_kdebasedir, opt_kdelibdir, opt_libdir + + if not opt_kdebasedir: + kdeSearchPaths = [] + libSearchPaths = [] + incSearchPaths = [] + + try: + kdeSearchPaths.append (os.environ ["KDEDIR"]) + except: + pass + kdeSearchPaths.append ("/usr") + kdeSearchPaths.append (os.path.join ("/opt", "kde4")) + + opt_kdebasedir = search (None, kdeSearchPaths) + + if not opt_kdelibdir: + libSearchPaths = [os.path.join (opt_kdebasedir, "lib"), os.path.join (opt_kdebasedir, "lib64"), os.path.join (opt_kdebasedir, opt_libdir)] +# print opt_libdir + opt_kdelibdir = search ("libkdecore.so", libSearchPaths) + + if not opt_kdeincdir: + incSearchPaths = [os.path.join (opt_kdebasedir, "include")] + incSearchPaths.append (os.path.join (opt_kdebasedir, "include", "kde")) # Red Hat + opt_kdeincdir = search ("kapplication.h", incSearchPaths) + +def check_kde_installation(): + """Check the KDE installation and get the version number + + """ + + # Check the KDE header files have been installed. + discoverKDE4 () + + if not opt_kdebasedir: + sipconfig.error ("Couldn't locate KDE4 base directory") + + if not opt_kdeincdir: + sipconfig.error ("Couldn't locate KDE4 include directory (%s is KDE base)" % opt_kdebasedir) + + if not opt_kdelibdir: + sipconfig.error ("Couldn't locate KDE4 lib directory (%s is KDE base)" % opt_kdebasedir) + + kdeversion_h = os.path.join(opt_kdeincdir, "kdeversion.h") + + inform_user (1) + + if not os.access(kdeversion_h, os.F_OK): + sipconfig.error("kdeversion.h could not be found in %s." % opt_kdeincdir) + + # Get the KDE version number. + getKDEVersion(kdeversion_h) + + inform_user (2) + +def create_top_level (mname): + """ Create the top level sip file mod.sip from mod.sip-in + and add/delete any %Included sip files per the current KDE version + """ + diff = os.path.join ("sip", mname, mname + kde_version_sfx) + plus = [] + minus = [] + if os.path.exists (diff): + d = open (diff) + line = d.readline() + while line: + if string.find (line, "+") == 0: + plus.append (line [2:]) + elif string.find (line, "-") == 0: + minus.append (line [2:]) + + line = d.readline() + + sipin = open (os.path.join ("sip", mname, mname + "mod.sip.in")) + sipout = open (os.path.join ("sip", mname, mname + "mod.sip"), "w") + + line = sipin.readline() + while line: + if string.find (line, "%Include") == 0: + if minus and line in minus: + line = sipin.readline() + continue + + sipout.write (line) + + elif string.find (line, "@mark@") == 0: + for p in plus: + sipout.write (p) + + else: + sipout.write (line) + + line = sipin.readline() + + sipin.close () + sipout.close () + + +def check_distribution (): + dist = glob.glob ("/etc/*-release") + + kde_sip_flags.append ("-t") + kde_sip_flags.append ("ALL") + + for file in dist: + if file.find ("andrake") > 0: + kde_sip_flags.remove ("ALL") + kde_sip_flags.append ("D_MANDRAKE") + +def set_sip_flags(): + """Set the SIP platform, version and feature flags. + """ + global kde_sip_flags + + check_distribution () + + kde_sip_flags.append (pyqtcfg.pyqt_sip_flags) + + kdetags = { + 0x050000: "KDE_3_80_3" + } + + kde_sip_flags.append("-t %s" % sipconfig.version_to_sip_tag(kde_version, kdetags, "KDE")) + + +def generate_code(mname, imports=None, extra_cflags=None, extra_cxxflags=None, extra_define=None, extra_include_dir=None, extra_lflags=None, extra_lib_dir=None, extra_lib=None, opengl=0, sip_flags=None): + """Generate the code for a module. + + mname is the name of the module. + imports is the list of PyQt/PyKDE modules that this one %Imports. + extra_cflags is a string containing additional C compiler flags. + extra_cxxflags is a string containing additional C++ compiler flags. + extra_define is a name to add to the list of preprocessor defines. + extra_include_dir is the name of a directory to add to the list of include + directories. + extra_lflags is a string containing additional linker flags. + extra_lib_dir is the name of a directory to add to the list of library + directories. + extra_lib is the name of an extra library to add to the list of libraries. + opengl is set if the module needs OpenGL support. + sip_flags is the list of sip flags to use instead of the defaults. + """ + sipconfig.inform("Generating the C++ source for the %s module..." % mname) + + create_top_level (mname) + try: + #create_top_level (mname) + pass + except: + sipconfig.error ("Couldn't create top level sip file for %s" % mname) + + try: + shutil.rmtree(mname) + except: + pass + + try: + os.mkdir(mname) + except: + sipconfig.error("Unable to create the %s directory." % mname) + + # Build the SIP command line. + argv = [sipcfg.sip_bin] + argv.extend(kde_sip_flags) + + if opt_concat: + argv.append("-j") + if mname in ["kdeui", "kio"] and opt_split == 1: + splits = 2 + else: + splits = opt_split + argv.append(str(splits)) + + if opt_tracing: + argv.append("-r") + + if opt_releasegil: + argv.append("-g") + + argv.append("-c") + argv.append(mname) + + buildfile = os.path.join(mname, mname + ".sbf") + argv.append("-b") + argv.append(buildfile) + + argv.append("-I sip") + argv.append("-I %s" % pyqtcfg.pyqt_sip_dir) + + pyqtInclPathSeen = 0 + + # SIP assumes POSIX style path separators. + argv.append(string.join(["sip", mname, mname + "mod.sip"], "/")) + +# print string.join (argv) + # finally, run SIP and generate the C++ code + os.system (string.join(argv)) + + + # Check the result. + if not os.access(buildfile, os.F_OK): + sipconfig.error("Unable to create the C++ code.") + + + # Generate the Makefile. + sipconfig.inform("Creating the Makefile for the %s module..." % mname) + + installs = [] + + if sipcfg.sip_version >= 0x040000: + warnings = 1 + else: + warnings = 0 + installs.append([[mname + ".py", mname + ".pyc"], opt_pykdemoddir]) + + sipfiles = [] + + for s in os.listdir (os.path.join ("sip", mname)): + if s.endswith (".sip"): + sipfiles.append(os.path.join("..", "sip", mname, os.path.basename(s))) + + + installs.append([sipfiles, os.path.join(opt_pykdesipdir, mname)]) + + makefile = sipconfig.SIPModuleMakefile( + configuration = pyqtcfg, + build_file = mname + ".sbf", + dir = mname, + install_dir = opt_pykdemoddir, + installs = installs, + qt = 1, + opengl = opengl, + warnings = warnings, + static = opt_static, + debug = opt_debug + ) + + if extra_cflags: + makefile.extra_cflags.append(extra_cflags) + + if extra_cxxflags: + makefile.extra_cxxflags.append(extra_cxxflags) + + if opt_dep_warnings == 0: + makefile.extra_cflags.append ("-Wno-deprecated-declarations") + makefile.extra_cxxflags.append ("-Wno-deprecated-declarations") + + if extra_define: + makefile.extra_defines.append(extra_define) + + makefile.extra_include_dirs.append (os.path.join ("..", "extra", kde_version_extra)) + makefile.extra_include_dirs.append (opt_kdeincdir) + if pykde_includes [mname]: + for incdir in pykde_includes [mname]: + makefile.extra_include_dirs.append (os.path.join (opt_kdeincdir, incdir)) + + if extra_include_dir: + makefile.extra_include_dirs.append(extra_include_dir) + + if extra_lflags: + makefile.extra_lflags.append(extra_lflags) + + makefile.extra_lib_dirs.append (opt_kdelibdir) + if extra_lib_dir: + makefile.extra_lib_dirs.append(extra_lib_dir) + + makefile.extra_libs.append(extra_lib) + if pykde_libs [mname]: + for lib in pykde_libs [mname]: + makefile.extra_libs.append (lib) + + if extra_lib == "kdeprint": + makefile.extra_cflags.append ("-D_KDEPRINT_COMPILE") + makefile.extra_cxxflags.append ("-D_KDEPRINT_COMPILE") + + + if sipcfg.sip_version < 0x040000 and imports: + # Inter-module links. + for im in imports: + makefile.extra_lib_dirs.insert(0, os.path.join("..", im)) + makefile.extra_libs.insert(0, makefile.module_as_lib(im)) + + makefile.generate() + print + + +def create_makefiles(): + """Create the additional Makefiles. + """ + subdirs = pykde_modules[:] + + sipconfig.inform("Creating top level Makefile...") + + sipconfig.ParentMakefile( + configuration = pyqtcfg, + subdirs = subdirs, + installs= [("__init__.py", opt_pykdemoddir), ("pykdeconfig.py", opt_pykdemoddir)] + ).generate() + + +def fileOpts (fn): + try: + optfile = open (fn, 'r') + except: + error ("Could not open option file %s" % (fn)) + + opts = [] + + for line in optfile.readlines (): + if (line [0] == '#') or (line == '\n'): + continue + elif line [0] == '-': + opts.append ((line [0:2], string.strip (line [2:]))) + else: + opts.append (("-" + line [0:1], string.strip (line [1:]))) + + print 'Additional options: ', + for opt, arg in opts: + print "%s %s " %(opt, arg) + print + + return opts + +def main(argv): + """Create the configuration module module. + + argv is the list of command line arguments. + """ + try: + optlist, args = getopt.getopt(argv[1:], "hcd:gij:k:L:l:n:o:ruv:wxz:") + except getopt.GetoptError: + usage() + + global opt_pykdemoddir, opt_pykdesipdir + global opt_debug, opt_concat, opt_releasegil + global opt_split, opt_tracing, opt_startModName + global opt_startmod, opt_endmod + global opt_kdebasedir, opt_kdelibdir, opt_kdeincdir, opt_libdir + global pykde_modules, opt_dep_warnings, opt_dist_name + global pykde_imports, pykde_includes, opt_konsolepart + + # Look for '-z' first and process that switch + # (command line switches override file switches) + for opt, arg in optlist: + if opt == "-z": + optlist = fileOpts (arg) + optlist + break + elif opt == "-h": + usage (0) + else: + if args: usage() + + for opt, arg in optlist: + if opt == "-h": + usage(0) + + # turns on concatentation (on by default, here for consistency) + elif opt == "-c": + opt_concat = 1 + + elif opt == "-d": + if pykde_package: + opt_pykdemoddir = os.path.join (arg, pykde_package) + else: + opt_pykdemoddir = arg + elif opt == "-g": + opt_releasegil = 1 + + # turns off concatenation (on by default) + elif opt == "-i": + opt_concat = 0 + + elif opt == "-j": + try: + opt_split = int(arg) + except: + usage() + + elif opt == "-k": + opt_kdebasedir = arg + + elif opt == "-L": + opt_libdir = arg + + # allows build of single module (-lmodule) or all modules + # beginning at specified module (-lmodule:) + elif opt == "-l": + opt_startModName = arg + elif opt == "-n": + opt_kdelibdir = arg + elif opt == "-o": + opt_kdeincdir = arg + elif opt == "-r": + opt_tracing = 1 + elif opt == "-u": + opt_debug = 1 + elif opt == "-v": + opt_pykdesipdir = arg + elif opt == "-w": + opt_dep_warnings = 1 + elif opt == "-x": + opt_konsolepart = True + + inform_user (0) + init_and_check_sanity () + + + opt_endmod = len (pykde_modules) + + if opt_startModName != "": + multiple = opt_startModName [-1] == ":" + if multiple: + opt_startModName = opt_startModName [:-1] + if opt_startModName in pykde_modules: + try: + opt_startmod = pykde_modules.index (opt_startModName) + if not multiple: + opt_endmod = opt_startmod + 1 + except: + sipconfig.error ("%s is not a PyKDE module" % opt_startModName) + + print "PyKDE modules to be built:\n %s\n" % string.join(pykde_modules [opt_startmod:opt_endmod]) + + set_sip_flags() + + for module in pykde_modules [opt_startmod:opt_endmod]: + if module != "kate": + generate_code (module, pykde_imports [module], extra_lib = module) + else: + generate_code (module, pykde_imports [module], extra_lib = "%sinterfaces" % module) + + # Create the additional Makefiles. + create_makefiles() + + # Install the configuration module. + create_config("pykdeconfig.py", "pykdeconfig.py.in") + + +def reporting_msg (): + print """ +If reporting errors, paste all of the output above into your +message and post to the PyKDE mailing list at: + + mailto: PyKDE@mats.imk.fraunhofer.de + subscribe: http://mats.imk.fraunhofer.de/mailman/listinfo/pykde + +You can redirect the output into a file (> output.txt) if needed +""" + + + +############################################################################### +# The script starts here. +############################################################################### + +if __name__ == "__main__": + try: + main(sys.argv) + except SystemExit: + reporting_msg () + raise + except: + reporting_msg () + print \ +""" +An internal error occured. Please report all output from the program, +including the following traceback, to the PyKDE mailing list +""" + raise diff --git a/pykde4/docs/CMakeLists.txt b/pykde4/docs/CMakeLists.txt new file mode 100644 index 00000000..70b97b54 --- /dev/null +++ b/pykde4/docs/CMakeLists.txt @@ -0,0 +1,4 @@ +INSTALL(DIRECTORY html/ DESTINATION ${HTML_INSTALL_DIR}/en/pykde4 + PATTERN "*~" EXCLUDE + PATTERN ".svn" EXCLUDE +) diff --git a/pykde4/docs/html/COPYING.LESSER.html b/pykde4/docs/html/COPYING.LESSER.html new file mode 100644 index 00000000..67ea68a9 --- /dev/null +++ b/pykde4/docs/html/COPYING.LESSER.html @@ -0,0 +1,495 @@ + + + + + GNU Lesser General Public License + + + + +

GNU LIBRARY GENERAL PUBLIC LICENSE

+

Version 2, June 1991

+ +

Copyright (C) 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

+

Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.

+ +

[This is the first released version of the library GPL. It is + numbered 2 because it goes with version 2 of the ordinary GPL.]

+ +

Preamble

+ +

The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +Licenses are intended to guarantee your freedom to share and change +free software--to make sure the software is free for all its users.

+ +

This license, the Library General Public License, applies to some +specially designated Free Software Foundation software, and to any +other libraries whose authors decide to use it. You can use it for +your libraries, too.

+ +

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things.

+ +

To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if +you distribute copies of the library, or if you modify it.

+ +

For example, if you distribute copies of the library, whether gratis +or for a fee, you must give the recipients all the rights that we gave +you. You must make sure that they, too, receive or can get the source +code. If you link a program with the library, you must provide +complete object files to the recipients so that they can relink them +with the library, after making changes to the library and recompiling +it. And you must show them these terms so they know their rights.

+ +

Our method of protecting your rights has two steps: (1) copyright +the library, and (2) offer you this license which gives you legal +permission to copy, distribute and/or modify the library.

+ +

Also, for each distributor's protection, we want to make certain +that everyone understands that there is no warranty for this free +library. If the library is modified by someone else and passed on, we +want its recipients to know that what they have is not the original +version, so that any problems introduced by others will not reflect on +the original authors' reputations.

+ +

Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that companies distributing free +software will individually obtain patent licenses, thus in effect +transforming the program into proprietary software. To prevent this, +we have made it clear that any patent must be licensed for everyone's +free use or not licensed at all.

+ +

Most GNU software, including some libraries, is covered by the ordinary +GNU General Public License, which was designed for utility programs. This +license, the GNU Library General Public License, applies to certain +designated libraries. This license is quite different from the ordinary +one; be sure to read it in full, and don't assume that anything in it is +the same as in the ordinary license.

+ +

The reason we have a separate public license for some libraries is that +they blur the distinction we usually make between modifying or adding to a +program and simply using it. Linking a program with a library, without +changing the library, is in some sense simply using the library, and is +analogous to running a utility program or application program. However, in +a textual and legal sense, the linked executable is a combined work, a +derivative of the original library, and the ordinary General Public License +treats it as such.

+ +

Because of this blurred distinction, using the ordinary General +Public License for libraries did not effectively promote software +sharing, because most developers did not use the libraries. We +concluded that weaker conditions might promote sharing better.

+ +

However, unrestricted linking of non-free programs would deprive the +users of those programs of all benefit from the free status of the +libraries themselves. This Library General Public License is intended to +permit developers of non-free programs to use free libraries, while +preserving your freedom as a user of such programs to change the free +libraries that are incorporated in them. (We have not seen how to achieve +this as regards changes in header files, but we have achieved it as regards +changes in the actual functions of the Library.) The hope is that this +will lead to faster development of free libraries.

+ +

The precise terms and conditions for copying, distribution and +modification follow. Pay close attention to the difference between a +"work based on the library" and a "work that uses the library". The +former contains code derived from the library, while the latter only +works together with the library.

+ +

Note that it is possible for a library to be covered by the ordinary +General Public License rather than by this special one.

+ +

GNU LIBRARY GENERAL PUBLIC LICENSE

+

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

+ +

0. This License Agreement applies to any software library which +contains a notice placed by the copyright holder or other authorized +party saying it may be distributed under the terms of this Library +General Public License (also called "this License"). Each licensee is +addressed as "you".

+ +

A "library" means a collection of software functions and/or data +prepared so as to be conveniently linked with application programs +(which use some of those functions and data) to form executables. + +

The "Library", below, refers to any such software library or work +which has been distributed under these terms. A "work based on the +Library" means either the Library or any derivative work under +copyright law: that is to say, a work containing the Library or a +portion of it, either verbatim or with modifications and/or translated +straightforwardly into another language. (Hereinafter, translation is +included without limitation in the term "modification".)

+ +

"Source code" for a work means the preferred form of the work for +making modifications to it. For a library, complete source code means +all the source code for all modules it contains, plus any associated +interface definition files, plus the scripts used to control compilation +and installation of the library.

+ +

Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running a program using the Library is not restricted, and output from +such a program is covered only if its contents constitute a work based +on the Library (independent of the use of the Library in a tool for +writing it). Whether that is true depends on what the Library does +and what the program that uses the Library does.

+ +

1. You may copy and distribute verbatim copies of the Library's +complete source code as you receive it, in any medium, provided that +you conspicuously and appropriately publish on each copy an +appropriate copyright notice and disclaimer of warranty; keep intact +all the notices that refer to this License and to the absence of any +warranty; and distribute a copy of this License along with the +Library.

+ +

You may charge a fee for the physical act of transferring a copy, +and you may at your option offer warranty protection in exchange for a +fee.

+ +

2. You may modify your copy or copies of the Library or any portion +of it, thus forming a work based on the Library, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions:

+
    +
  • a) The modified work must itself be a software library.
  • + +
  • b) You must cause the files modified to carry prominent notices + stating that you changed the files and the date of any change.
  • + +
  • c) You must cause the whole of the work to be licensed at no + charge to all third parties under the terms of this License.
  • + +
  • d) If a facility in the modified Library refers to a function or a + table of data to be supplied by an application program that uses + the facility, other than as an argument passed when the facility + is invoked, then you must make a good faith effort to ensure that, + in the event an application does not supply such function or + table, the facility still operates, and performs whatever part of + its purpose remains meaningful.

    + +

    (For example, a function in a library to compute square roots has + a purpose that is entirely well-defined independent of the + application. Therefore, Subsection 2d requires that any + application-supplied function or table used by this function must + be optional: if the application does not supply it, the square + root function must still compute square roots.)

  • +
+

These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Library, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Library, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote +it.

+ +

Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Library.

+ +

In addition, mere aggregation of another work not based on the Library +with the Library (or with a work based on the Library) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License.

+ +

3. You may opt to apply the terms of the ordinary GNU General Public +License instead of this License to a given copy of the Library. To do +this, you must alter all the notices that refer to this License, so +that they refer to the ordinary GNU General Public License, version 2, +instead of to this License. (If a newer version than version 2 of the +ordinary GNU General Public License has appeared, then you can specify +that version instead if you wish.) Do not make any other change in +these notices.

+ +

Once this change is made in a given copy, it is irreversible for +that copy, so the ordinary GNU General Public License applies to all +subsequent copies and derivative works made from that copy.

+ +

This option is useful when you wish to copy part of the code of +the Library into a program that is not a library. + +

4. You may copy and distribute the Library (or a portion or +derivative of it, under Section 2) in object code or executable form +under the terms of Sections 1 and 2 above provided that you accompany +it with the complete corresponding machine-readable source code, which +must be distributed under the terms of Sections 1 and 2 above on a +medium customarily used for software interchange.

+ +

If distribution of object code is made by offering access to copy +from a designated place, then offering equivalent access to copy the +source code from the same place satisfies the requirement to +distribute the source code, even though third parties are not +compelled to copy the source along with the object code.

+ +

5. A program that contains no derivative of any portion of the +Library, but is designed to work with the Library by being compiled or +linked with it, is called a "work that uses the Library". Such a +work, in isolation, is not a derivative work of the Library, and +therefore falls outside the scope of this License.

+ +

However, linking a "work that uses the Library" with the Library +creates an executable that is a derivative of the Library (because it +contains portions of the Library), rather than a "work that uses the +library". The executable is therefore covered by this License. +Section 6 states terms for distribution of such executables.

+ +

When a "work that uses the Library" uses material from a header file +that is part of the Library, the object code for the work may be a +derivative work of the Library even though the source code is not. +Whether this is true is especially significant if the work can be +linked without the Library, or if the work is itself a library. The +threshold for this to be true is not precisely defined by law.

+ +

If such an object file uses only numerical parameters, data +structure layouts and accessors, and small macros and small inline +functions (ten lines or less in length), then the use of the object +file is unrestricted, regardless of whether it is legally a derivative +work. (Executables containing this object code plus portions of the +Library will still fall under Section 6.)

+ +

Otherwise, if the work is a derivative of the Library, you may +distribute the object code for the work under the terms of Section 6. +Any executables containing that work also fall under Section 6, +whether or not they are linked directly with the Library itself.

+ +

6. As an exception to the Sections above, you may also compile or +link a "work that uses the Library" with the Library to produce a +work containing portions of the Library, and distribute that work +under terms of your choice, provided that the terms permit +modification of the work for the customer's own use and reverse +engineering for debugging such modifications.

+ +

You must give prominent notice with each copy of the work that the +Library is used in it and that the Library and its use are covered by +this License. You must supply a copy of this License. If the work +during execution displays copyright notices, you must include the +copyright notice for the Library among them, as well as a reference +directing the user to the copy of this License. Also, you must do one +of these things:

+
    +
  • a) Accompany the work with the complete corresponding + machine-readable source code for the Library including whatever + changes were used in the work (which must be distributed under + Sections 1 and 2 above); and, if the work is an executable linked + with the Library, with the complete machine-readable "work that + uses the Library", as object code and/or source code, so that the + user can modify the Library and then relink to produce a modified + executable containing the modified Library. (It is understood + that the user who changes the contents of definitions files in the + Library will not necessarily be able to recompile the application + to use the modified definitions.)
  • + +
  • b) Accompany the work with a written offer, valid for at + least three years, to give the same user the materials + specified in Subsection 6a, above, for a charge no more + than the cost of performing this distribution.
  • + +
  • c) If distribution of the work is made by offering access to copy + from a designated place, offer equivalent access to copy the above + specified materials from the same place.
  • + +
  • d) Verify that the user has already received a copy of these + materials or that you have already sent this user a copy.
  • +
+

For an executable, the required form of the "work that uses the +Library" must include any data and utility programs needed for +reproducing the executable from it. However, as a special exception, +the source code distributed need not include anything that is normally +distributed (in either source or binary form) with the major +components (compiler, kernel, and so on) of the operating system on +which the executable runs, unless that component itself accompanies +the executable.

+ +

It may happen that this requirement contradicts the license +restrictions of other proprietary libraries that do not normally +accompany the operating system. Such a contradiction means you cannot +use both them and the Library together in an executable that you +distribute.

+ +

7. You may place library facilities that are a work based on the +Library side-by-side in a single library together with other library +facilities not covered by this License, and distribute such a combined +library, provided that the separate distribution of the work based on +the Library and of the other library facilities is otherwise +permitted, and provided that you do these two things:

+
    +
  • a) Accompany the combined library with a copy of the same work + based on the Library, uncombined with any other library + facilities. This must be distributed under the terms of the + Sections above.
  • + +
  • b) Give prominent notice with the combined library of the fact + that part of it is a work based on the Library, and explaining + where to find the accompanying uncombined form of the same work.
  • +
+

8. You may not copy, modify, sublicense, link with, or distribute +the Library except as expressly provided under this License. Any +attempt otherwise to copy, modify, sublicense, link with, or +distribute the Library is void, and will automatically terminate your +rights under this License. However, parties who have received copies, +or rights, from you under this License will not have their licenses +terminated so long as such parties remain in full compliance.

+ +

9. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Library or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Library (or any work based on the +Library), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Library or works based on it.

+ +

10. Each time you redistribute the Library (or any work based on the +Library), the recipient automatically receives a license from the +original licensor to copy, distribute, link with or modify the Library +subject to these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License.

+ +

11. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Library at all. For example, if a patent +license would not permit royalty-free redistribution of the Library by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Library.

+ +

If any portion of this section is held invalid or unenforceable under any +particular circumstance, the balance of the section is intended to apply, +and the section as a whole is intended to apply in other circumstances.

+ +

It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice.

+ +

This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License.

+ +

12. If the distribution and/or use of the Library is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Library under this License may add +an explicit geographical distribution limitation excluding those countries, +so that distribution is permitted only in or among countries not thus +excluded. In such case, this License incorporates the limitation as if +written in the body of this License. + +

13. The Free Software Foundation may publish revised and/or new +versions of the Library General Public License from time to time. +Such new versions will be similar in spirit to the present version, +but may differ in detail to address new problems or concerns.

+ +

Each version is given a distinguishing version number. If the Library +specifies a version number of this License which applies to it and +"any later version", you have the option of following the terms and +conditions either of that version or of any later version published by +the Free Software Foundation. If the Library does not specify a +license version number, you may choose any version ever published by +the Free Software Foundation.

+ +

14. If you wish to incorporate parts of the Library into other free +programs whose distribution conditions are incompatible with these, +write to the author to ask for permission. For software which is +copyrighted by the Free Software Foundation, write to the Free +Software Foundation; we sometimes make exceptions for this. Our +decision will be guided by the two goals of preserving the free status +of all derivatives of our free software and of promoting the sharing +and reuse of software generally.

+ +

NO WARRANTY

+ +

15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

+ +

16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH +DAMAGES.

+ +

END OF TERMS AND CONDITIONS

+ +

How to Apply These Terms to Your New Libraries

+ +

If you develop a new library, and you want it to be of the greatest +possible use to the public, we recommend making it free software that +everyone can redistribute and change. You can do so by permitting +redistribution under these terms (or, alternatively, under the terms of the +ordinary General Public License).

+ +

To apply these terms, attach the following notices to the library. It is +safest to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least the +"copyright" line and a pointer to where the full notice is found.

+
+    <one line to give the library's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This library is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Library General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This library is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+    Library General Public License for more details.
+
+    You should have received a copy of the GNU Library General Public
+    License along with this library; if not, write to the Free
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+
+

Also add information on how to contact you by electronic and paper mail.

+ +

You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the library, if +necessary. Here is a sample; alter the names:

+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
+
+  <signature of Ty Coon>, 1 April 1990
+  Ty Coon, President of Vice
+
+

That's all there is to it!

+ + + + + diff --git a/pykde4/docs/html/COPYING.html b/pykde4/docs/html/COPYING.html new file mode 100644 index 00000000..adae07a3 --- /dev/null +++ b/pykde4/docs/html/COPYING.html @@ -0,0 +1,356 @@ + + + + + GNU General Public License + + + + + + +

GNU GENERAL PUBLIC LICENSE

+

Version 2, June 1991

+ +

Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA.

+

Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.

+ +

Preamble

+ +

The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too.

+ +

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things.

+ +

To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it.

+ +

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights.

+ +

We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software.

+ +

Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations.

+ +

Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all.

+ +

The precise terms and conditions for copying, distribution and +modification follow.

+ +

GNU GENERAL PUBLIC LICENSE

+

TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

+ +

0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you".

+ +

Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does.

+ +

1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program.

+ +

You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee.

+ +

2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions:

+
    +
  • a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change.
  • + +
  • b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License.
  • + +
  • c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.)
  • +
+

These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it.

+ +

Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program.

+ +

In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License.

+ +

3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following:

+
    +
  • a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or,
  • + +
  • b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or,
  • + +
  • c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.)
  • +
+

The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable.

+ +

If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code.

+ +

4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance.

+ +

5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it.

+ +

6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License.

+ +

7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program.

+ +

If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances.

+ +

It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice.

+ +

This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License.

+ +

8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License.

+ +

9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns.

+ +

Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation.

+ +

10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally.

+ +

NO WARRANTY

+ +

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION.

+ +

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES.

+ +

END OF TERMS AND CONDITIONS

+ +

Appendix: How to Apply These Terms to Your New Programs

+ +

If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms.

+ +

To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found.

+ +
 
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+

Also add information on how to contact you by electronic and paper mail. + +

If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + +

 Gnomovision version 69, Copyright (C) 19yy name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+

The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +

You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + +

Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+  </signature>
+
+

This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License.

+ + + + diff --git a/pykde4/docs/html/CREATIVECOMMONS.html b/pykde4/docs/html/CREATIVECOMMONS.html new file mode 100644 index 00000000..e8bacccc --- /dev/null +++ b/pykde4/docs/html/CREATIVECOMMONS.html @@ -0,0 +1,526 @@ + + + Creative Commons Legal Code + + + + + + + + + + + + + +
+
+ + +

Creative Commons Legal Code

+ +
+

Attribution-ShareAlike 3.0 Unported

+
+
+ +
+
+ + +
+ CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES + NOT PROVIDE LEGAL SERVICES. DISTRIBUTION OF THIS LICENSE + DOES NOT CREATE AN ATTORNEY-CLIENT RELATIONSHIP. CREATIVE + COMMONS PROVIDES THIS INFORMATION ON AN "AS-IS" BASIS. + CREATIVE COMMONS MAKES NO WARRANTIES REGARDING THE + INFORMATION PROVIDED, AND DISCLAIMS LIABILITY FOR DAMAGES + RESULTING FROM ITS USE. +
+ +

License

+ +

THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS + OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR + "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER + APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS + AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS + PROHIBITED.

+ +

BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU + ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. + TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A + CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE + IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND + CONDITIONS.

+ +

1. Definitions

+ +
    +
  1. "Adaptation" means a work based upon + the Work, or upon the Work and other pre-existing works, + such as a translation, adaptation, derivative work, + arrangement of music or other alterations of a literary + or artistic work, or phonogram or performance and + includes cinematographic adaptations or any other form in + which the Work may be recast, transformed, or adapted + including in any form recognizably derived from the + original, except that a work that constitutes a + Collection will not be considered an Adaptation for the + purpose of this License. For the avoidance of doubt, + where the Work is a musical work, performance or + phonogram, the synchronization of the Work in + timed-relation with a moving image ("synching") will be + considered an Adaptation for the purpose of this + License.
  2. + +
  3. "Collection" means a collection of + literary or artistic works, such as encyclopedias and + anthologies, or performances, phonograms or broadcasts, + or other works or subject matter other than works listed + in Section 1(f) below, which, by reason of the selection + and arrangement of their contents, constitute + intellectual creations, in which the Work is included in + its entirety in unmodified form along with one or more + other contributions, each constituting separate and + independent works in themselves, which together are + assembled into a collective whole. A work that + constitutes a Collection will not be considered an + Adaptation (as defined below) for the purposes of this + License.
  4. + +
  5. "Creative Commons Compatible + License" means a license that is listed at + http://creativecommons.org/compatiblelicenses that has + been approved by Creative Commons as being essentially + equivalent to this License, including, at a minimum, + because that license: (i) contains terms that have the + same purpose, meaning and effect as the License Elements + of this License; and, (ii) explicitly permits the + relicensing of adaptations of works made available under + that license under this License or a Creative Commons + jurisdiction license with the same License Elements as + this License.
  6. + +
  7. "Distribute" means to make available + to the public the original and copies of the Work or + Adaptation, as appropriate, through sale or other + transfer of ownership.
  8. + +
  9. "License Elements" means the + following high-level license attributes as selected by + Licensor and indicated in the title of this License: + Attribution, ShareAlike.
  10. + +
  11. "Licensor" means the individual, + individuals, entity or entities that offer(s) the Work + under the terms of this License.
  12. + +
  13. "Original Author" means, in the case + of a literary or artistic work, the individual, + individuals, entity or entities who created the Work or + if no individual or entity can be identified, the + publisher; and in addition (i) in the case of a + performance the actors, singers, musicians, dancers, and + other persons who act, sing, deliver, declaim, play in, + interpret or otherwise perform literary or artistic works + or expressions of folklore; (ii) in the case of a + phonogram the producer being the person or legal entity + who first fixes the sounds of a performance or other + sounds; and, (iii) in the case of broadcasts, the + organization that transmits the broadcast.
  14. + +
  15. "Work" means the literary and/or + artistic work offered under the terms of this License + including without limitation any production in the + literary, scientific and artistic domain, whatever may be + the mode or form of its expression including digital + form, such as a book, pamphlet and other writing; a + lecture, address, sermon or other work of the same + nature; a dramatic or dramatico-musical work; a + choreographic work or entertainment in dumb show; a + musical composition with or without words; a + cinematographic work to which are assimilated works + expressed by a process analogous to cinematography; a + work of drawing, painting, architecture, sculpture, + engraving or lithography; a photographic work to which + are assimilated works expressed by a process analogous to + photography; a work of applied art; an illustration, map, + plan, sketch or three-dimensional work relative to + geography, topography, architecture or science; a + performance; a broadcast; a phonogram; a compilation of + data to the extent it is protected as a copyrightable + work; or a work performed by a variety or circus + performer to the extent it is not otherwise considered a + literary or artistic work.
  16. + +
  17. "You" means an individual or entity + exercising rights under this License who has not + previously violated the terms of this License with + respect to the Work, or who has received express + permission from the Licensor to exercise rights under + this License despite a previous violation.
  18. + +
  19. "Publicly Perform" means to perform + public recitations of the Work and to communicate to the + public those public recitations, by any means or process, + including by wire or wireless means or public digital + performances; to make available to the public Works in + such a way that members of the public may access these + Works from a place and at a place individually chosen by + them; to perform the Work to the public by any means or + process and the communication to the public of the + performances of the Work, including by public digital + performance; to broadcast and rebroadcast the Work by any + means including signs, sounds or images.
  20. + +
  21. "Reproduce" means to make copies of + the Work by any means including without limitation by + sound or visual recordings and the right of fixation and + reproducing fixations of the Work, including storage of a + protected performance or phonogram in digital form or + other electronic medium.
  22. +
+ +

2. Fair Dealing Rights. Nothing in this + License is intended to reduce, limit, or restrict any uses + free from copyright or rights arising from limitations or + exceptions that are provided for in connection with the + copyright protection under copyright law or other + applicable laws.

+ +

3. License Grant. Subject to the terms + and conditions of this License, Licensor hereby grants You + a worldwide, royalty-free, non-exclusive, perpetual (for + the duration of the applicable copyright) license to + exercise the rights in the Work as stated below:

+ +
    +
  1. to Reproduce the Work, to incorporate the Work into + one or more Collections, and to Reproduce the Work as + incorporated in the Collections;
  2. + +
  3. to create and Reproduce Adaptations provided that any + such Adaptation, including any translation in any medium, + takes reasonable steps to clearly label, demarcate or + otherwise identify that changes were made to the original + Work. For example, a translation could be marked "The + original work was translated from English to Spanish," or + a modification could indicate "The original work has been + modified.";
  4. + +
  5. to Distribute and Publicly Perform the Work including + as incorporated in Collections; and,
  6. + +
  7. to Distribute and Publicly Perform Adaptations.
  8. + +
  9. +

    For the avoidance of doubt:

    + +
      +
    1. Non-waivable Compulsory License + Schemes. In those jurisdictions in which the + right to collect royalties through any statutory or + compulsory licensing scheme cannot be waived, the + Licensor reserves the exclusive right to collect such + royalties for any exercise by You of the rights + granted under this License;
    2. + +
    3. Waivable Compulsory License + Schemes. In those jurisdictions in which the + right to collect royalties through any statutory or + compulsory licensing scheme can be waived, the + Licensor waives the exclusive right to collect such + royalties for any exercise by You of the rights + granted under this License; and,
    4. + +
    5. Voluntary License Schemes. The + Licensor waives the right to collect royalties, + whether individually or, in the event that the + Licensor is a member of a collecting society that + administers voluntary licensing schemes, via that + society, from any exercise by You of the rights + granted under this License.
    6. +
    +
  10. +
+ +

The above rights may be exercised in all media and + formats whether now known or hereafter devised. The above + rights include the right to make such modifications as are + technically necessary to exercise the rights in other media + and formats. Subject to Section 8(f), all rights not + expressly granted by Licensor are hereby reserved.

+ +

4. Restrictions. The license granted in + Section 3 above is expressly made subject to and limited by + the following restrictions:

+ +
    +
  1. You may Distribute or Publicly Perform the Work only + under the terms of this License. You must include a copy + of, or the Uniform Resource Identifier (URI) for, this + License with every copy of the Work You Distribute or + Publicly Perform. You may not offer or impose any terms + on the Work that restrict the terms of this License or + the ability of the recipient of the Work to exercise the + rights granted to that recipient under the terms of the + License. You may not sublicense the Work. You must keep + intact all notices that refer to this License and to the + disclaimer of warranties with every copy of the Work You + Distribute or Publicly Perform. When You Distribute or + Publicly Perform the Work, You may not impose any + effective technological measures on the Work that + restrict the ability of a recipient of the Work from You + to exercise the rights granted to that recipient under + the terms of the License. This Section 4(a) applies to + the Work as incorporated in a Collection, but this does + not require the Collection apart from the Work itself to + be made subject to the terms of this License. If You + create a Collection, upon notice from any Licensor You + must, to the extent practicable, remove from the + Collection any credit as required by Section 4(c), as + requested. If You create an Adaptation, upon notice from + any Licensor You must, to the extent practicable, remove + from the Adaptation any credit as required by Section + 4(c), as requested.
  2. + +
  3. You may Distribute or Publicly Perform an Adaptation + only under the terms of: (i) this License; (ii) a later + version of this License with the same License Elements as + this License; (iii) a Creative Commons jurisdiction + license (either this or a later license version) that + contains the same License Elements as this License (e.g., + Attribution-ShareAlike 3.0 US)); (iv) a Creative Commons + Compatible License. If you license the Adaptation under + one of the licenses mentioned in (iv), you must comply + with the terms of that license. If you license the + Adaptation under the terms of any of the licenses + mentioned in (i), (ii) or (iii) (the "Applicable + License"), you must comply with the terms of the + Applicable License generally and the following + provisions: (I) You must include a copy of, or the URI + for, the Applicable License with every copy of each + Adaptation You Distribute or Publicly Perform; (II) You + may not offer or impose any terms on the Adaptation that + restrict the terms of the Applicable License or the + ability of the recipient of the Adaptation to exercise + the rights granted to that recipient under the terms of + the Applicable License; (III) You must keep intact all + notices that refer to the Applicable License and to the + disclaimer of warranties with every copy of the Work as + included in the Adaptation You Distribute or Publicly + Perform; (IV) when You Distribute or Publicly Perform the + Adaptation, You may not impose any effective + technological measures on the Adaptation that restrict + the ability of a recipient of the Adaptation from You to + exercise the rights granted to that recipient under the + terms of the Applicable License. This Section 4(b) + applies to the Adaptation as incorporated in a + Collection, but this does not require the Collection + apart from the Adaptation itself to be made subject to + the terms of the Applicable License.
  4. + +
  5. If You Distribute, or Publicly Perform the Work or + any Adaptations or Collections, You must, unless a + request has been made pursuant to Section 4(a), keep + intact all copyright notices for the Work and provide, + reasonable to the medium or means You are utilizing: (i) + the name of the Original Author (or pseudonym, if + applicable) if supplied, and/or if the Original Author + and/or Licensor designate another party or parties (e.g., + a sponsor institute, publishing entity, journal) for + attribution ("Attribution Parties") in Licensor's + copyright notice, terms of service or by other reasonable + means, the name of such party or parties; (ii) the title + of the Work if supplied; (iii) to the extent reasonably + practicable, the URI, if any, that Licensor specifies to + be associated with the Work, unless such URI does not + refer to the copyright notice or licensing information + for the Work; and (iv) , consistent with Ssection 3(b), + in the case of an Adaptation, a credit identifying the + use of the Work in the Adaptation (e.g., "French + translation of the Work by Original Author," or + "Screenplay based on original Work by Original Author"). + The credit required by this Section 4(c) may be + implemented in any reasonable manner; provided, however, + that in the case of a Adaptation or Collection, at a + minimum such credit will appear, if a credit for all + contributing authors of the Adaptation or Collection + appears, then as part of these credits and in a manner at + least as prominent as the credits for the other + contributing authors. For the avoidance of doubt, You may + only use the credit required by this Section for the + purpose of attribution in the manner set out above and, + by exercising Your rights under this License, You may not + implicitly or explicitly assert or imply any connection + with, sponsorship or endorsement by the Original Author, + Licensor and/or Attribution Parties, as appropriate, of + You or Your use of the Work, without the separate, + express prior written permission of the Original Author, + Licensor and/or Attribution Parties.
  6. + +
  7. Except as otherwise agreed in writing by the Licensor + or as may be otherwise permitted by applicable law, if + You Reproduce, Distribute or Publicly Perform the Work + either by itself or as part of any Adaptations or + Collections, You must not distort, mutilate, modify or + take other derogatory action in relation to the Work + which would be prejudicial to the Original Author's honor + or reputation. Licensor agrees that in those + jurisdictions (e.g. Japan), in which any exercise of the + right granted in Section 3(b) of this License (the right + to make Adaptations) would be deemed to be a distortion, + mutilation, modification or other derogatory action + prejudicial to the Original Author's honor and + reputation, the Licensor will waive or not assert, as + appropriate, this Section, to the fullest extent + permitted by the applicable national law, to enable You + to reasonably exercise Your right under Section 3(b) of + this License (right to make Adaptations) but not + otherwise.
  8. +
+ +

5. Representations, Warranties and + Disclaimer

+ +

UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN + WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO + REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE + WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, + WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, + FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE + ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE + PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. + SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED + WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.

+ +

6. Limitation on Liability. EXCEPT TO + THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL + LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY + SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY + DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, + EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF + SUCH DAMAGES.

+ +

7. Termination

+ +
    +
  1. This License and the rights granted hereunder will + terminate automatically upon any breach by You of the + terms of this License. Individuals or entities who have + received Adaptations or Collections from You under this + License, however, will not have their licenses terminated + provided such individuals or entities remain in full + compliance with those licenses. Sections 1, 2, 5, 6, 7, + and 8 will survive any termination of this License.
  2. + +
  3. Subject to the above terms and conditions, the + license granted here is perpetual (for the duration of + the applicable copyright in the Work). Notwithstanding + the above, Licensor reserves the right to release the + Work under different license terms or to stop + distributing the Work at any time; provided, however that + any such election will not serve to withdraw this License + (or any other license that has been, or is required to + be, granted under the terms of this License), and this + License will continue in full force and effect unless + terminated as stated above.
  4. +
+ +

8. Miscellaneous

+ +
    +
  1. Each time You Distribute or Publicly Perform the Work + or a Collection, the Licensor offers to the recipient a + license to the Work on the same terms and conditions as + the license granted to You under this License.
  2. + +
  3. Each time You Distribute or Publicly Perform an + Adaptation, Licensor offers to the recipient a license to + the original Work on the same terms and conditions as the + license granted to You under this License.
  4. + +
  5. If any provision of this License is invalid or + unenforceable under applicable law, it shall not affect + the validity or enforceability of the remainder of the + terms of this License, and without further action by the + parties to this agreement, such provision shall be + reformed to the minimum extent necessary to make such + provision valid and enforceable.
  6. + +
  7. No term or provision of this License shall be deemed + waived and no breach consented to unless such waiver or + consent shall be in writing and signed by the party to be + charged with such waiver or consent.
  8. + +
  9. This License constitutes the entire agreement between + the parties with respect to the Work licensed here. There + are no understandings, agreements or representations with + respect to the Work not specified here. Licensor shall + not be bound by any additional provisions that may appear + in any communication from You. This License may not be + modified without the mutual written agreement of the + Licensor and You.
  10. + +
  11. The rights granted under, and the subject matter + referenced, in this License were drafted utilizing the + terminology of the Berne Convention for the Protection of + Literary and Artistic Works (as amended on September 28, + 1979), the Rome Convention of 1961, the WIPO Copyright + Treaty of 1996, the WIPO Performances and Phonograms + Treaty of 1996 and the Universal Copyright Convention (as + revised on July 24, 1971). These rights and subject + matter take effect in the relevant jurisdiction in which + the License terms are sought to be enforced according to + the corresponding provisions of the implementation of + those treaty provisions in the applicable national law. + If the standard suite of rights granted under applicable + copyright law includes additional rights not granted + under this License, such additional rights are deemed to + be included in the License; this License is not intended + to restrict the license of any rights under applicable + law.
  12. +
+ + +
+

Creative Commons Notice

+ +

Creative Commons is not a party to this License, and + makes no warranty whatsoever in connection with the Work. + Creative Commons will not be liable to You or any party + on any legal theory for any damages whatsoever, including + without limitation any general, special, incidental or + consequential damages arising in connection to this + license. Notwithstanding the foregoing two (2) sentences, + if Creative Commons has expressly identified itself as + the Licensor hereunder, it shall have all rights and + obligations of Licensor.

+ +

Except for the limited purpose of indicating to the + public that the Work is licensed under the CCPL, Creative + Commons does not authorize the use by either party of the + trademark "Creative Commons" or any related trademark or + logo of Creative Commons without the prior written + consent of Creative Commons. Any permitted use will be in + compliance with Creative Commons' then-current trademark + usage guidelines, as may be published on its website or + otherwise made available upon request from time to time. + For the avoidance of doubt, this trademark restriction + does not form part of the License.

+ +

Creative Commons may be contacted at http://creativecommons.org/.

+
+
+
+ + +
+ \ No newline at end of file diff --git a/pykde4/docs/html/General b/pykde4/docs/html/General new file mode 100644 index 00000000..79cc7cf9 --- /dev/null +++ b/pykde4/docs/html/General @@ -0,0 +1,196 @@ + + + + + + +

General Information

+

+PyKDE4 is a set of Python bindings for KDE4's kdelibs. It includes the modules kdecore, solid, +kdefx, kdeui, kio, kparts, kutils, khtml, kdeprint and two modules - kate and ktexteditor - which +are useful in developing plugins for the kate and kwrite text editors. +

+

+PyKDE4 should be installed in a path known to Python (usually /usr/lib/python/site-packages). PyKDE4/ +is the top level directory for all PyKDE4 modules, so an import statement and code references must look like: +

+
+from PyKDE4.kdeui import KApplication
+...
+app = KApplication ()
+
+

or:

+
+import PyKDE4.kdeui
+...
+app = PyKDE4.kdeui.Kapplication ()
+
+

+Other forms are also possible. The form: +

+
+from PyKDE4.kdeui import *
+
+

+is not recommended, as there may be clashes between object names in the various PyKDE4 modules. +

+

PyKDE4 Components

+

kdecore

+

+kdecore contains classes for handling non-graphical needs of PyKDE4 applications, basic program information +(KAboutData, KCmdLineArgs), URL handling (KUrl, KMimetype), date and time (KDateTime), file operations +(KAutoSaveFile, KSaveFile), localization and translation (KLocale, KLocalizedString, i18n, ki18n), one +config file mechanism (KConfig) and access to KService related mechanisms. +

+

solid

+

+solid contains classes for discovering the hardware and hardware capabilities on a system +

+

kdefx

+

+kdefx is a small module that includes some graphics effects. +

+

kdeui

+

+kdeui is the largest module in PyKDE4 and includes the classes necessary to create a KDE4/PyKDE4 +application (KApplication, KUniqueApplication) and its main window (KMainWindow, KXmlGuiWindow), +classes for actions (KAction, the KStandardAction namespace) most of the KDE4 widgets, pre-written +or reusable dialogs and the base class for KDE4 dialogs (KDialog, KMessageBox, KColorDialog) and +an alternative config file mechanism (KConfigSkeleton). +

+

kio

+

+The kio module includes classes to interact with and intiate KIO slaves (KIO:Job and descendants, KIO.NetAccess). +It also contains the KFile* classes, including those which pop up file or directory selection dialogs, and +a bookmark handling class (KBookmark and releated). +

+

kparts

+

+kparts includes classes to allow you to embed KParts in your application (creating a reusable KPart requires +C++). It also includes classes that add capabilities to KHTMLPart (BrowserExtension, BrowserHostExtension). +

+

kutils

+

+kutils is a small module that includes some utility classes. +

+

khtml

+

+khtml includes classes (KHTMLPart, KHTMLView) that allow you to build a web browser into your application. This +module also includes and extensive set of classes for DOM handling. +

+

kdeprint

+

+kdeprint provides an interface for printing documents from KDE4/PyKDE4 applications. +

+

kate and ktexteditor

+

+The kate and ktexteditor modules provide the ability to create plugins for kate and related classes. +

+ +

License

+

+PyKDE4 is licensed under the GNU Lesser (or Library) General Public License (LGPL) version 2. +That means non-open source software can use and link to the PyKDE4 libraries, as long as +no substantial modifications are made to those libraries. A copy of the LGPL license should +have been included with PyKDE4 in the file COPYING.LESSER. If not, you can find a copy online +at the GNU web site. +

+

+The PyKDE4 documentation viewer (pykdedocs) and example code produced by the PyKDE4 +authors are licensed under the GNU General Public License (GPL) version 2. Tutorials and other +text information produced by the PyKDE4 authors is licensed under the Creative Commons License. +Materials contributed to PyKDE4 are licensed as specified by the material's respective authors - +see the individual files for license terms. +

+

+All code and text included in the PyKDE4 and pykdedocs packages may be freely distributed in its original +form. If you need to modify any of the code or text and want to distribute the modified code, +your modified code must be licensed under the GPL version 2 or later. If this is a problem, +contact the author(s) of the material to be modified. +

+

+All code and text in PyKDE4 and pykdedocs is copyrighted and owned by the code's or text's respective +authors - see specific files for more information. +

+PyKDE4 is built on software developed by +

+
    +
  • KDE project programmers (the KDE Desktop Environment and kdelibs)
  • +
  • Python programmers (the Python language and extensions)
  • +
  • Riverbank Computiing (sip, PyQt4 and the original PyKDE version)
  • +
+

+These packages are required, and each has its own licensing requirements. +

+

Disclaimer

+

+pykdedocs is capable of interacting with external web sites via the internet. Use of +the internet may expose you or your computer to well known risks. +

+

+pykdedocs and PyKDE4 are licensed for your use only under the GNU General Public License (GPL) version 2. +The GPL includes the following disclaimers which apply to both internet access using +pykdedocs, and the use of pykdedocs and PyKDE4 in general. A copy of the GPL can be found in the file +documentation/COPYING at the location where pykdedocs documentation files were installed. +

+

NO WARRANTY

+

+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. +

+

+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. +

+ + + + + + + + + + + + + + + + + diff --git a/pykde4/docs/html/allclasses.html b/pykde4/docs/html/allclasses.html new file mode 100644 index 00000000..a6e5e693 --- /dev/null +++ b/pykde4/docs/html/allclasses.html @@ -0,0 +1,692 @@ + + + + + + PyKDE Namespace and Class Index + + + + + + +
+ + +
+
+ + + + +
+
+
+ +
+
+ + + diff --git a/pykde4/docs/html/classref.html b/pykde4/docs/html/classref.html new file mode 100644 index 00000000..264b98e1 --- /dev/null +++ b/pykde4/docs/html/classref.html @@ -0,0 +1,213 @@ + + + + + + + +

Class Reference

+

+The PyKDE4 class reference has a consistent format (it's machine generated). A number of examples +here show what information the class reference contains and how to interpret it. +

+

Note: +The text in the class reference is retrieved and formatted from markup placed in the C++ header +files by KDE programmers. The example code shown is in C++, and in some cases the descriptions +may be C++ oriented. These limitations may be removed in future versions of the documentation. +

+

+Also, some methods may appear to be duplicates - these result from changes like adding 'explicit' +to constructors or changes in 'const' for return values or argument types. +

+ +

Page header

+ + + + + +
+

+ The examples shown here are cut from pages in the PyKDE4 class reference. The first is a typical header + for a class page - shown compressed horizontally. +

+

+ The features are fairly obvious. The class name is at the top left. Below it, the contents of the box + indicate the module the class is found in, the namespace it belongs (global is effectively "none"), + and the base class (if any) the class is derived from. +

+

+ The links in the upper right hand corner link to the table of contents, a module page which lists + all of the modules (with links to their classes), a link to the kdeui module page, and link to + a list of all PyKDE4 classes. +

+

+ Below the links is a description of the class - these may be short, extremely lengthy or may include + usage examples of the class or its methods. +

+
+ +
+

methods Section

+ + + + + +
+

+ The methods section of class's page lists in alphabetical order all of the methods defined in the + KDE4 class declaration. If the class has base classes, there are probably considerably more methods + inherited from the base class which are not shown here. +

+

+ The left-hand side of the page lists the methods and their Python signature. The argument list shows + the names and numbers of the arguments, but not their types. The type information is listed in a + table below the method name. Each row shows the argument name, its type, and the default value, if any. + Methods which are not implemented in PyKDE4 are labeled and will have their method name "grayed out". +

+

+ Above the table the type of value returned by the method (if any) is described. +

+

+ On the right-hand side is description (again, some short, some lengthy) that describes what actions + the method performs. Some methods (or even entire classes) are marked as + Internal, Deprecated, + or Obsolete. These determinations are made by KDE4 programmers. + Methods and classes like those are included in PyKDE4 for completeness or because in some cases, other + methods or classes depend on the marked method or class. +

+

+ You should avoid using internal, deprecated or obsolete methods in your code, as their function may change + or they may disappear in new releases. +

+

+ Versions If there are no version limitations specified, the method is available in all PyKDE4 versions. + Versions are specified as "KDE X.Y.Z and later", which means the method is available in version X.Y.Z, as 'before + KDE X.Y.Z", which means the method is NOT available in version X.Y.Z, but is available in any previous version, + or "KDE A.B.C to before KDE X.Y.Z", which means it is available in version A.B.C, any version before X.Y.Z, but + NOT in X.Y.Z itself. Or in other words, versions are always given as A.B.C <= version < X.Y.Z +

+
+ +
+ +

enums Section

+ + + + + + + + + +
+

+ If a class defines enums, the enum and its enumerators are shown at the top of the page. +

+

+ Sometimes it's clear from the names of the enum and enumerators what they represent. For + some enums, more detailed explanations have been provided, and these are attached at the + bottom of the page (accessible by clicking the "enum details" link) +

+
+ +
+

+ If more descriptive detail is available, its shown at the bottom of the page in the "enum details" section. +

+

+ In the case shown, the programmer has provided a brief description of the function of each enumerator. +

+
+ +
+ +

Static methods, signals

+ + + + + +
+

+ This clipping shows two different types of methods - signals and static methods. +

+

+ A static method (at the top) is one that can be called without creating and instance + of the class it belongs to - simply call className.methodName () to use the method. +

+

+ A signal is emitted when some particular action has occurred (a button clicked, a page has + completed printing or rendering, etc). Signals are connected to slots. +

+

+ Besides labeling this method as a signal, the documentation shows the signal's "signature" + and a SIGNAL statement, which can be pasted into a 'connect' call that links the signal + to a slot that responds to the occurance the signal represents. +

+
+ +
+

Abstract Classes, pure virtual methods

+ + + + + +
+

+ The final examples show how abstract classes and pure virutal methods are identified. +

+

+ Abstract classes are classes that can be used as a base class for new classes, but can't + be instantiated themselves. The label under the class name defines this class as abstract. +

+

+ A class is abstract when it has pure virtual methods. If a class is to be derived from an + abstract class, the pure virtual methods (which are empty) must be replaced by usable methods + in the new (derived) class. +

+

+ The methods in the new class must have exactly the same number and types of arguments as + found in the pure virtual method's declaration. +

+
+ +
+ + + + + + + + + + + + + + diff --git a/pykde4/docs/html/common/1.png b/pykde4/docs/html/common/1.png new file mode 100644 index 00000000..a9ea29c1 Binary files /dev/null and b/pykde4/docs/html/common/1.png differ diff --git a/pykde4/docs/html/common/10.png b/pykde4/docs/html/common/10.png new file mode 100644 index 00000000..00ba60ff Binary files /dev/null and b/pykde4/docs/html/common/10.png differ diff --git a/pykde4/docs/html/common/2.png b/pykde4/docs/html/common/2.png new file mode 100644 index 00000000..cc9762a8 Binary files /dev/null and b/pykde4/docs/html/common/2.png differ diff --git a/pykde4/docs/html/common/3.png b/pykde4/docs/html/common/3.png new file mode 100644 index 00000000..7e0e4f18 Binary files /dev/null and b/pykde4/docs/html/common/3.png differ diff --git a/pykde4/docs/html/common/4.png b/pykde4/docs/html/common/4.png new file mode 100644 index 00000000..fd80c922 Binary files /dev/null and b/pykde4/docs/html/common/4.png differ diff --git a/pykde4/docs/html/common/5.png b/pykde4/docs/html/common/5.png new file mode 100644 index 00000000..cbad3196 Binary files /dev/null and b/pykde4/docs/html/common/5.png differ diff --git a/pykde4/docs/html/common/6.png b/pykde4/docs/html/common/6.png new file mode 100644 index 00000000..20ddbd5b Binary files /dev/null and b/pykde4/docs/html/common/6.png differ diff --git a/pykde4/docs/html/common/7.png b/pykde4/docs/html/common/7.png new file mode 100644 index 00000000..22fee5bc Binary files /dev/null and b/pykde4/docs/html/common/7.png differ diff --git a/pykde4/docs/html/common/8.png b/pykde4/docs/html/common/8.png new file mode 100644 index 00000000..a9adacfd Binary files /dev/null and b/pykde4/docs/html/common/8.png differ diff --git a/pykde4/docs/html/common/9.png b/pykde4/docs/html/common/9.png new file mode 100644 index 00000000..56b36121 Binary files /dev/null and b/pykde4/docs/html/common/9.png differ diff --git a/pykde4/docs/html/common/CMakeLists.txt b/pykde4/docs/html/common/CMakeLists.txt new file mode 100644 index 00000000..8959ab25 --- /dev/null +++ b/pykde4/docs/html/common/CMakeLists.txt @@ -0,0 +1,32 @@ +########### install files ############### + +install(FILES + artistic-license.html + bsd-license.html fdl-license fdl-license.html gpl-license gpl-license.html + lgpl-license lgpl-license.html qpl-license.html x11-license.html + xml.dcl + doxygen.css + tabs.css + header.html + footer.html + mainheader.html + mainfooter.html + fdl-notice.html + favicon.ico + block_title_bottom.png + block_title_mid.png + block_title_top.png + top-kde.jpg + top-left.jpg + top-right.jpg + top.jpg + bottom-left.png + bottom-right.png + bottom-middle.png + kde-default.css + kde_logo_bg.png + top-middle.png + top-right.png + top-left.png + 1.png 2.png 3.png 4.png 5.png 6.png 7.png 8.png 9.png 10.png + DESTINATION ${HTML_INSTALL_DIR}/en/common) diff --git a/pykde4/docs/html/common/Doxyfile.global b/pykde4/docs/html/common/Doxyfile.global new file mode 100644 index 00000000..7301b4a4 --- /dev/null +++ b/pykde4/docs/html/common/Doxyfile.global @@ -0,0 +1,202 @@ +OUTPUT_LANGUAGE = English +USE_WINDOWS_ENCODING = NO +BRIEF_MEMBER_DESC = NO +REPEAT_BRIEF = YES +ABBREVIATE_BRIEF = +ALWAYS_DETAILED_SEC = YES +INLINE_INHERITED_MEMB = NO +FULL_PATH_NAMES = NO +STRIP_FROM_PATH = +SHORT_NAMES = NO +JAVADOC_AUTOBRIEF = YES +MULTILINE_CPP_IS_BRIEF = NO +INHERIT_DOCS = YES +DISTRIBUTE_GROUP_DOC = NO +TAB_SIZE = 4 +OPTIMIZE_OUTPUT_FOR_C = NO +OPTIMIZE_OUTPUT_JAVA = NO +SUBGROUPING = YES +EXTRACT_ALL = YES +EXTRACT_PRIVATE = NO +EXTRACT_STATIC = YES +EXTRACT_LOCAL_CLASSES = NO +HIDE_UNDOC_MEMBERS = NO +HIDE_UNDOC_CLASSES = YES +HIDE_FRIEND_COMPOUNDS = YES +HIDE_IN_BODY_DOCS = NO +INTERNAL_DOCS = NO +CASE_SENSE_NAMES = YES +HIDE_SCOPE_NAMES = NO +SHOW_INCLUDE_FILES = YES +INLINE_INFO = YES +SORT_BRIEF_DOCS = YES +SORT_BY_SCOPE_NAME = NO +GENERATE_TESTLIST = NO +GENERATE_BUGLIST = YES +GENERATE_DEPRECATEDLIST= YES +ENABLED_SECTIONS = +MAX_INITIALIZER_LINES = 30 +SHOW_USED_FILES = YES +QUIET = NO +WARNINGS = YES +WARN_IF_UNDOCUMENTED = YES +WARN_IF_DOC_ERROR = YES +WARN_FORMAT = +WARN_LOGFILE = +INPUT = +FILE_PATTERNS = *.h \ + *.cpp \ + *.cc \ + *.hpp \ + *.dox \ + *.c++ \ + *.cxx \ + *.h++ \ + *.hh +RECURSIVE = YES +EXCLUDE = +EXCLUDE_SYMLINKS = NO +EXCLUDE_PATTERNS = */.svn/* \ + */.git/* \ + */cmake/* \ + *.moc.* \ + moc* \ + *.all_cpp.* \ + *unload.* \ + */test/* \ + */tests/* \ + *_p.h *_p.cpp +EXAMPLE_PATH = +EXAMPLE_PATTERNS = +EXAMPLE_RECURSIVE = NO +IMAGE_PATH = +INPUT_FILTER = +FILTER_SOURCE_FILES = NO +SOURCE_BROWSER = YES +INLINE_SOURCES = NO +STRIP_CODE_COMMENTS = YES +REFERENCED_BY_RELATION = YES +REFERENCES_RELATION = YES +VERBATIM_HEADERS = YES +ALPHABETICAL_INDEX = YES +COLS_IN_ALPHA_INDEX = 3 +HTML_OUTPUT = +HTML_FILE_EXTENSION = .html +HTML_HEADER = ../apidocs/common/header.html +HTML_FOOTER = ../apidocs/common/footer.html +HTML_STYLESHEET = ../apidocs/common/doxygen.css +HTML_ALIGN_MEMBERS = YES +GENERATE_HTMLHELP = NO +CHM_FILE = +HHC_LOCATION = +GENERATE_CHI = NO +BINARY_TOC = NO +TOC_EXPAND = NO +DISABLE_INDEX = YES +ENUM_VALUES_PER_LINE = 4 +GENERATE_TREEVIEW = NO +TREEVIEW_WIDTH = 250 +GENERATE_LATEX = NO +LATEX_OUTPUT = +LATEX_CMD_NAME = latex +MAKEINDEX_CMD_NAME = makeindex +COMPACT_LATEX = NO +PAPER_TYPE = a4wide +EXTRA_PACKAGES = +LATEX_HEADER = +PDF_HYPERLINKS = NO +USE_PDFLATEX = NO +LATEX_BATCHMODE = NO +LATEX_HIDE_INDICES = NO +GENERATE_RTF = NO +RTF_OUTPUT = +COMPACT_RTF = NO +RTF_HYPERLINKS = NO +RTF_STYLESHEET_FILE = +RTF_EXTENSIONS_FILE = +GENERATE_MAN = NO +MAN_OUTPUT = +MAN_EXTENSION = .kde3 +MAN_LINKS = YES +GENERATE_XML = NO +XML_OUTPUT = xml +XML_SCHEMA = +XML_DTD = +XML_PROGRAMLISTING = NO +GENERATE_AUTOGEN_DEF = NO +GENERATE_PERLMOD = NO +PERLMOD_LATEX = NO +PERLMOD_PRETTY = YES +PERLMOD_MAKEVAR_PREFIX = +ENABLE_PREPROCESSING = YES +SEARCH_INCLUDES = YES +INCLUDE_PATH = +INCLUDE_FILE_PATTERNS = +PREDEFINED = QT_VERSION=320 \ + __cplusplus \ + Q_WS_X11 +EXPAND_AS_DEFINED = +SKIP_FUNCTION_MACROS = YES +ALLEXTERNALS = NO +EXTERNAL_GROUPS = NO +PERL_PATH = +CLASS_DIAGRAMS = YES +HIDE_UNDOC_RELATIONS = NO +HAVE_DOT = YES +UML_LOOK = NO +TEMPLATE_RELATIONS = YES +INCLUDE_GRAPH = YES +INCLUDED_BY_GRAPH = YES +CALL_GRAPH = NO +GRAPHICAL_HIERARCHY = YES +DOT_IMAGE_FORMAT = png +DOT_PATH = +DOTFILE_DIRS = +MAX_DOT_GRAPH_WIDTH = 800 +MAX_DOT_GRAPH_HEIGHT = 1024 +MAX_DOT_GRAPH_DEPTH = 0 +GENERATE_LEGEND = YES +DOT_CLEANUP = YES +SEARCHENGINE = NO + +### KDE Settings +ALIASES = \ + "intern=\parInternal use only." \ + "reimp=\parReimplemented from superclass." \ + "obsolete=@deprecated" \ + "feature=\xrefitem features \"Feature(s)\" \"Features\"" \ + "unmaintained=\xrefitem unmaintained \"Unmaintained\" \"Unmaintained\"" \ + "requirement=\xrefitem requirements \"Requirement(s)\" \"Requirements\"" \ + "faq=\xrefitem FAQ \"F.A.Q.\" \"F.A.Q.\"" \ + "authors=\xrefitem authors \"Author(s)\" \"Authors\"" \ + "maintainers=\xrefitem maintainers \"Maintainer(s)\" \"Maintainers\"" \ + "port4=\xrefitem port4 \"KDE 4 Porting Guide\" \"KDE 4 Porting Guide\"" \ + "glossary=\xrefitem glossary \"KDE 4 Glossary\" \"KDE 4 Glossary\"" \ + "acronym=\b "\ + "licenses=\xrefitem licenses \"License(s)\" \"Licenses\"" \ + "FIXME=\xrefitem fixme \"Fixme\" \"Fixme\"" \ + "bc=\xrefitem bc \"Binary Compatible\" \"Binary Compatible\"" \ + "artistic=Artistic" \ + "bsd=BSD" \ + "x11=X11" \ + "gpl=GPLv2" \ + "lgpl=LGPLv2" \ + "qpl=QPL" + +HTML_ALIGN_MEMBERS = YES +REFERENCED_BY_RELATION = NO +REFERENCES_RELATION = NO +VERBATIM_HEADERS = NO +SOURCE_BROWSER = YES +GENERATE_AUTOGEN_DEF = NO +DETAILS_AT_TOP = YES +SORT_MEMBER_DOCS = YES +GENERATE_TODOLIST = YES +IGNORE_PREFIX = K +CLASS_GRAPH = YES +COLLABORATION_GRAPH = NO + + +MACRO_EXPANSION = YES +EXPAND_ONLY_PREDEF = YES + diff --git a/pykde4/docs/html/common/README.Doxygen b/pykde4/docs/html/common/README.Doxygen new file mode 100644 index 00000000..77b6bfe5 --- /dev/null +++ b/pykde4/docs/html/common/README.Doxygen @@ -0,0 +1,116 @@ +*** +*** README for KDE's Doxygen tools +*** + +This directory contains tools and data files for Doxygen +generation. These are the GENERIC files; any module may +override them by putting specific replacements in doc/api/ . +This allows modules to customize their appearance as desired. +The files that may be overridden are: + +- doxygen.css Stylesheet. +- mainheader.html Header for front page of dox. This should + not be terribly different from header.html. + It might contain special CSS for the footer. +- mainfooter.html Footer for front page of dox. This should at + least credit Doxygen [1] and point to the dox + guidelines [2]. +- header.html Header file for regular pages. +- footer.html Footer file for regular pages. +- Doxyfile.global The global (brief) Doxyfile. For a long-style + Doxyfile, see KDE PIM's doc/api/Doxyfile.pim. + +The tool for generating dox lives in admin/ : + +- doxygen.sh Script that does all the dox generation work. + See below for usage information. + + +In a configured build directory, you can use "make apidox" to +generate the API dox for the module -- assuming it has any, of course. +Writing dox is beyond the scope of this README -- see the notes at +http://techbase.kde.org/Policies/Library_Documentation_Policy . +You can generate dox by hand -- without even having a configured +build directory -- as explained below. There is also documentation +for the special tags you can enter in Makefile.am anywhere +in a module to modify dox generation. + + + +*** +*** Tool usage. +*** + +Usage: + +doxygen.sh [--recurse] [--modulename] [--doxdatadir=] [--installdir=] + [] + +--recurse Also generate dox in subdirs of the given . If no + is given, --recurse is the default and can be + turned off with --no-recurse. +--modulename By default, apidox are generated in a subdirectory + -apidocs/ . You can use --no-modulename to + suppress the and generate the apidox in + a subdirectory apidocs/ . Modulename is the last part of + the (usually a KDE SVN module name). +--doxdatadir= Locate the HTML header files and support graphics. + In kdelibs, the subdirectory doc/common/ contains these + files (and this README). In an installed KDE system, + $KDEDIR/share/doc/HTML/en/common/ contains a copy. + This argument is mandatory if doxygen.sh can't guess where + the doxdata lives. +--installdir= Locate the directory where apidox from other modules + is installed. Subdirectories named *-apidocs/ under the + named are searched for tag files, for cross-module + cross-referencing. + + + +How to generate dox manually: +Plan to fit these tools into ../Doxyfile.am: +Differences with current dox: + +# A shell script that builds dox without all the tedious mucking about with +# autoconf and configure. Run it in the "top builddir" with one argument, +# the "top srcdir". Something like this: +# +# cd /mnt/build/kdepim +# sh /mnt/src/kdepim/doc/api/doxygen.sh /mnt/src/kdepim +# +# You can also build single subdirs (for instance, after updating some +# dox and you don't want to rebuild for the enitre module) by giving the +# subdirectory _relative to the top srcdir_ as a second argument: +# +# sh /mnt/src/kdepim/doc/api/doxygen.sh /mnt/src/kdepim kpilot/lib +# +# When generating dox for kdelibs, a tag file for Qt is also created. +# The location of Qt is specified indirectly through $QTDOCDIR or, +# if that is not set, $QTDIR, or otherwise guessed. You may explicitly +# set the location of a pre-generated tag file with $QTDOCTAG. One +# typical approach might be: +# +# QTDOCTAG=$QTDIR/doc/qt.tag QTDOCDIR=http://doc.trolltech.com/3.3/ +# +# Finally, there is a --no-recurse option for top-level generation +# that avoids generating all the subdirectories as well. It also +# suppresses cleaning up (rm -rf) of the dox direction beforehand. +# +# Post-finally, there is a --no-modulename option that builds the +# dox in "apidocs/" instead of "modulename-apidocs". The former is +# compatible with the KDE 3.4 build system, the latter is more convenient +# for the installed dox. + +# +# A shell script to post-process doxy-generated files; the purpose +# is to make the menu on the left in the file match the actually +# generated files (ie. leave out namespaces if there are none). +# +# Usage: doxyndex.sh +# +# Typically, this means $(top_builddir)/apidocs and something like +# libfoo/html for the output. For the top-level dig, set relative-html +# to "." . In non-top directories, both and +# are calculated and replaced. Top directories get an empty +# if any. + diff --git a/pykde4/docs/html/common/artistic-license.html b/pykde4/docs/html/common/artistic-license.html new file mode 100644 index 00000000..2069b4ed --- /dev/null +++ b/pykde4/docs/html/common/artistic-license.html @@ -0,0 +1,165 @@ + + + + The "Artistic License" + + + + + + + + + +

The "Artistic License"

+ +

Preamble

+ +

The intent of this document is to state the conditions under + which a Package may be copied, such that the Copyright Holder + maintains some semblance of artistic control over the + development of the package, while giving the users of the + package the right to use and distribute the Package in a + more-or-less customary fashion, plus the right to make + reasonable modifications.

+ +

Definitions

+ + +

"Package" refers to the collection of files distributed by the + Copyright Holder, and derivatives of that collection of files + created through textual modification.

+ +

"Standard Version" refers to such a Package if it has not been + modified, or has been modified in accordance with the wishes of + the Copyright Holder as specified below.

+ +

"Copyright Holder" is whoever is named in the copyright or + copyrights for the package.

+ +

"You" is you, if you're thinking about copying or distributing + this Package.

+ +

"Reasonable copying fee" is whatever you can justify on the + basis of media cost, duplication charges, time of people + involved, and so on. (You will not be required to justify it to + the Copyright Holder, but only to the computing community at + large as a market that must bear the fee.)

+ +

"Freely Available" means that no fee is charged for the item + itself, though there may be fees involved in handling the + item. It also means that recipients of the item may redistribute + it under the same conditions they received it.

+ + +
    +
  1. You may make and give away verbatim copies of the source + form of the Standard Version of this Package without + restriction, provided that you duplicate all of the original + copyright notices and associated disclaimers.
  2. + +
  3. You may apply bug fixes, portability fixes and other + modifications derived from the Public Domain or from the + Copyright Holder. A Package modified in such a way shall still + be considered the Standard Version.
  4. + +
  5. You may otherwise modify your copy of this Package in any + way, provided that you insert a prominent notice in each + changed file stating how and when you changed that file, and + provided that you do at least ONE of the following: +
      +
    1. place your modifications in the Public Domain or + otherwise make them Freely Available, such as by posting + said modifications to Usenet or an equivalent medium, or + placing the modifications on a major archive site such as + uunet.uu.net, or by allowing the Copyright Holder to + include your modifications in the Standard Version of the + Package.
    2. + +
    3. use the modified Package only within your corporation or + organization.
    4. + +
    5. rename any non-standard executables so the names do not + conflict with standard executables, which must also be + provided, and provide a separate manual page for each + non-standard executable that clearly documents how it + differs from the Standard Version. d. make other + distribution arrangements with the Copyright Holder.
    6. +
    +
  6. +
+ +

You may distribute the programs of this Package in object code + or executable form, provided that you do at least ONE of the + following:

+ +
    +
  1. distribute a Standard Version of the executables and library + files, together with instructions (in the manual page or + equivalent) on where to get the Standard Version.
  2. + +
  3. accompany the distribution with the machine-readable source + of the Package with your modifications.
  4. + +
  5. give non-standard executables non-standard names, and + clearly document the differences in manual pages (or + equivalent), together with instructions on where to get the + Standard Version.
  6. + +
  7. make other distribution arrangements with the Copyright + Holder.
  8. +
+ +

You may charge a reasonable copying fee for any distribution of + this Package. You may charge any fee you choose for support of + this Package. You may not charge a fee for this Package + itself. However, you may distribute this Package in aggregate + with other (possibly commercial) programs as part of a larger + (possibly commercial) software distribution provided that you do + not advertise this Package as a product of your own. You may + embed this Package's interpreter within an executable of yours + (by linking); this shall be construed as a mere form of + aggregation, provided that the complete Standard Version of the + interpreter is so embedded.

+ +

The scripts and library files supplied as input to or produced + as output from the programs of this Package do not automatically + fall under the copyright of this Package, but belong to whomever + generated them, and may be sold commercially, and may be + aggregated with this Package. If such scripts or library files + are aggregated with this Package via the so-called "undump" or + "unexec" methods of producing a binary executable image, then + distribution of such an image shall neither be construed as a + distribution of this Package nor shall it fall under the + restrictions of Paragraphs 3 and 4, provided that you do not + represent such an executable image as a Standard Version of this + Package.

+ +

C subroutines (or comparably compiled subroutines in other + languages) supplied by you and linked into this Package in order + to emulate subroutines and variables of the language defined by + this Package shall not be considered part of this Package, but + are the equivalent of input as in Paragraph 6, provided these + subroutines do not change the language in any way that would + cause it to fail the regression tests for the language.

+ +

Aggregation of this Package with a commercial distribution is + always permitted provided that the use of this Package is + embedded; that is, when no overt attempt is made to make this + Package's interfaces visible to the end user of the commercial + distribution. Such use shall not be construed as a distribution + of this Package.

+ +

The name of the Copyright Holder may not be used to endorse or + promote products derived from this software without specific + prior written permission.

+ +

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR + IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED + WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR + PURPOSE.

+ +
The End
+ + diff --git a/pykde4/docs/html/common/block_title_bottom.png b/pykde4/docs/html/common/block_title_bottom.png new file mode 100644 index 00000000..c0c0af51 Binary files /dev/null and b/pykde4/docs/html/common/block_title_bottom.png differ diff --git a/pykde4/docs/html/common/block_title_mid.png b/pykde4/docs/html/common/block_title_mid.png new file mode 100644 index 00000000..f1ce933e Binary files /dev/null and b/pykde4/docs/html/common/block_title_mid.png differ diff --git a/pykde4/docs/html/common/block_title_top.png b/pykde4/docs/html/common/block_title_top.png new file mode 100644 index 00000000..23443761 Binary files /dev/null and b/pykde4/docs/html/common/block_title_top.png differ diff --git a/pykde4/docs/html/common/bottom-left.png b/pykde4/docs/html/common/bottom-left.png new file mode 100644 index 00000000..a2d8a490 Binary files /dev/null and b/pykde4/docs/html/common/bottom-left.png differ diff --git a/pykde4/docs/html/common/bottom-middle.png b/pykde4/docs/html/common/bottom-middle.png new file mode 100644 index 00000000..eba0bb05 Binary files /dev/null and b/pykde4/docs/html/common/bottom-middle.png differ diff --git a/pykde4/docs/html/common/bottom-right.png b/pykde4/docs/html/common/bottom-right.png new file mode 100644 index 00000000..01d5cd50 Binary files /dev/null and b/pykde4/docs/html/common/bottom-right.png differ diff --git a/pykde4/docs/html/common/bsd-license.html b/pykde4/docs/html/common/bsd-license.html new file mode 100644 index 00000000..422bb339 --- /dev/null +++ b/pykde4/docs/html/common/bsd-license.html @@ -0,0 +1,45 @@ + + + + BSD License + + + + + + + + + +

BSD License

+ +

Redistribution and use in source and binary forms, with or + without modification, are permitted provided that the following + conditions are met:

+ +
    +
  1. Redistributions of source code must retain the above + copyright notice, this list of conditions and the following + disclaimer.
  2. + +
  3. Redistributions in binary form must reproduce the above + copyright notice, this list of conditions and the following + disclaimer in the documentation and/or other materials + provided with the distribution.
  4. +
+ +

THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A + PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, + EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED + TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND + ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING + IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + THE POSSIBILITY OF SUCH DAMAGE.

+ + diff --git a/pykde4/docs/html/common/doxygen.css b/pykde4/docs/html/common/doxygen.css new file mode 100644 index 00000000..48563b47 --- /dev/null +++ b/pykde4/docs/html/common/doxygen.css @@ -0,0 +1,96 @@ +#content td.memItemLeft { +text-align: right; +} + +.groupHeader { +font-size: medium; +color: #418ADE; +} + +hr { display: none; } +#content h2 { margin-left: 0px; } + +table.memname { +empty-cells: show; +background-color: #f8f8f8; +outline: .2em solid #d7d7d7; +margin-top: 3em; +margin-bottom: 1em; +} + +td.memname { +white-space: nowrap; +font-weight: bold; +} + +.paramtype { +white-space: nowrap; +font-weight: bold; +} + +.paramname { +white-space: nowrap; +font-weight: bold; +} + +.paramkey { +text-align: right; +} + + +table.mdTable { +background-color: #f8f8f8; +outline: .2em solid #d7d7d7; +width: 80%; +} + +td.mdRow { padding: 8px 20px; } +td.md { font-weight: bold; } +td.mdname1 { font-weight: bold; color: #602020; } +td.mdname { font-weight: bold; color: #602020; } + +div.bic { +border: 2px solid #E72300; +background: #F6CFDD; +padding: 0.5ex 1em; +} + +div.memitem { +} + +div.memproto { +/*background: #F9F9F9; +border: 1px solid #AAAAAA;*/ +font-weight: bold; +} + +div.memproto td { +white-space: nowrap; +padding:0; +margin:0; +} + +table.memname { +border-spacing: 0; +border-collapse:collapse; +} + +td.paramtype { +font-family:monospace; +} + +div.memproto a.el { +font-family:monospace; +} + +div.memproto a.elRef { +font-family:monospace; +} + +SPAN.keyword { color: #008000 } +SPAN.keywordtype { color: #604020 } +SPAN.keywordflow { color: #e08000 } +SPAN.comment { color: #800000 } +SPAN.preprocessor { color: #806020 } +SPAN.stringliteral { color: #002080 } +SPAN.charliteral { color: #008080 } diff --git a/pykde4/docs/html/common/favicon.ico b/pykde4/docs/html/common/favicon.ico new file mode 100644 index 00000000..3741beba Binary files /dev/null and b/pykde4/docs/html/common/favicon.ico differ diff --git a/pykde4/docs/html/common/fdl-license b/pykde4/docs/html/common/fdl-license new file mode 100644 index 00000000..4a0fe1c8 --- /dev/null +++ b/pykde4/docs/html/common/fdl-license @@ -0,0 +1,397 @@ + GNU Free Documentation License + Version 1.2, November 2002 + + + Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + +0. PREAMBLE + +The purpose of this License is to make a manual, textbook, or other +functional and useful document "free" in the sense of freedom: to +assure everyone the effective freedom to copy and redistribute it, +with or without modifying it, either commercially or noncommercially. +Secondarily, this License preserves for the author and publisher a way +to get credit for their work, while not being considered responsible +for modifications made by others. + +This License is a kind of "copyleft", which means that derivative +works of the document must themselves be free in the same sense. It +complements the GNU General Public License, which is a copyleft +license designed for free software. + +We have designed this License in order to use it for manuals for free +software, because free software needs free documentation: a free +program should come with manuals providing the same freedoms that the +software does. But this License is not limited to software manuals; +it can be used for any textual work, regardless of subject matter or +whether it is published as a printed book. We recommend this License +principally for works whose purpose is instruction or reference. + + +1. APPLICABILITY AND DEFINITIONS + +This License applies to any manual or other work, in any medium, that +contains a notice placed by the copyright holder saying it can be +distributed under the terms of this License. Such a notice grants a +world-wide, royalty-free license, unlimited in duration, to use that +work under the conditions stated herein. The "Document", below, +refers to any such manual or work. Any member of the public is a +licensee, and is addressed as "you". You accept the license if you +copy, modify or distribute the work in a way requiring permission +under copyright law. + +A "Modified Version" of the Document means any work containing the +Document or a portion of it, either copied verbatim, or with +modifications and/or translated into another language. + +A "Secondary Section" is a named appendix or a front-matter section of +the Document that deals exclusively with the relationship of the +publishers or authors of the Document to the Document's overall subject +(or to related matters) and contains nothing that could fall directly +within that overall subject. (Thus, if the Document is in part a +textbook of mathematics, a Secondary Section may not explain any +mathematics.) The relationship could be a matter of historical +connection with the subject or with related matters, or of legal, +commercial, philosophical, ethical or political position regarding +them. + +The "Invariant Sections" are certain Secondary Sections whose titles +are designated, as being those of Invariant Sections, in the notice +that says that the Document is released under this License. If a +section does not fit the above definition of Secondary then it is not +allowed to be designated as Invariant. The Document may contain zero +Invariant Sections. If the Document does not identify any Invariant +Sections then there are none. + +The "Cover Texts" are certain short passages of text that are listed, +as Front-Cover Texts or Back-Cover Texts, in the notice that says that +the Document is released under this License. A Front-Cover Text may +be at most 5 words, and a Back-Cover Text may be at most 25 words. + +A "Transparent" copy of the Document means a machine-readable copy, +represented in a format whose specification is available to the +general public, that is suitable for revising the document +straightforwardly with generic text editors or (for images composed of +pixels) generic paint programs or (for drawings) some widely available +drawing editor, and that is suitable for input to text formatters or +for automatic translation to a variety of formats suitable for input +to text formatters. A copy made in an otherwise Transparent file +format whose markup, or absence of markup, has been arranged to thwart +or discourage subsequent modification by readers is not Transparent. +An image format is not Transparent if used for any substantial amount +of text. A copy that is not "Transparent" is called "Opaque". + +Examples of suitable formats for Transparent copies include plain +ASCII without markup, Texinfo input format, LaTeX input format, SGML +or XML using a publicly available DTD, and standard-conforming simple +HTML, PostScript or PDF designed for human modification. Examples of +transparent image formats include PNG, XCF and JPG. Opaque formats +include proprietary formats that can be read and edited only by +proprietary word processors, SGML or XML for which the DTD and/or +processing tools are not generally available, and the +machine-generated HTML, PostScript or PDF produced by some word +processors for output purposes only. + +The "Title Page" means, for a printed book, the title page itself, +plus such following pages as are needed to hold, legibly, the material +this License requires to appear in the title page. For works in +formats which do not have any title page as such, "Title Page" means +the text near the most prominent appearance of the work's title, +preceding the beginning of the body of the text. + +A section "Entitled XYZ" means a named subunit of the Document whose +title either is precisely XYZ or contains XYZ in parentheses following +text that translates XYZ in another language. (Here XYZ stands for a +specific section name mentioned below, such as "Acknowledgements", +"Dedications", "Endorsements", or "History".) To "Preserve the Title" +of such a section when you modify the Document means that it remains a +section "Entitled XYZ" according to this definition. + +The Document may include Warranty Disclaimers next to the notice which +states that this License applies to the Document. These Warranty +Disclaimers are considered to be included by reference in this +License, but only as regards disclaiming warranties: any other +implication that these Warranty Disclaimers may have is void and has +no effect on the meaning of this License. + + +2. VERBATIM COPYING + +You may copy and distribute the Document in any medium, either +commercially or noncommercially, provided that this License, the +copyright notices, and the license notice saying this License applies +to the Document are reproduced in all copies, and that you add no other +conditions whatsoever to those of this License. You may not use +technical measures to obstruct or control the reading or further +copying of the copies you make or distribute. However, you may accept +compensation in exchange for copies. If you distribute a large enough +number of copies you must also follow the conditions in section 3. + +You may also lend copies, under the same conditions stated above, and +you may publicly display copies. + + +3. COPYING IN QUANTITY + +If you publish printed copies (or copies in media that commonly have +printed covers) of the Document, numbering more than 100, and the +Document's license notice requires Cover Texts, you must enclose the +copies in covers that carry, clearly and legibly, all these Cover +Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on +the back cover. Both covers must also clearly and legibly identify +you as the publisher of these copies. The front cover must present +the full title with all words of the title equally prominent and +visible. You may add other material on the covers in addition. +Copying with changes limited to the covers, as long as they preserve +the title of the Document and satisfy these conditions, can be treated +as verbatim copying in other respects. + +If the required texts for either cover are too voluminous to fit +legibly, you should put the first ones listed (as many as fit +reasonably) on the actual cover, and continue the rest onto adjacent +pages. + +If you publish or distribute Opaque copies of the Document numbering +more than 100, you must either include a machine-readable Transparent +copy along with each Opaque copy, or state in or with each Opaque copy +a computer-network location from which the general network-using +public has access to download using public-standard network protocols +a complete Transparent copy of the Document, free of added material. +If you use the latter option, you must take reasonably prudent steps, +when you begin distribution of Opaque copies in quantity, to ensure +that this Transparent copy will remain thus accessible at the stated +location until at least one year after the last time you distribute an +Opaque copy (directly or through your agents or retailers) of that +edition to the public. + +It is requested, but not required, that you contact the authors of the +Document well before redistributing any large number of copies, to give +them a chance to provide you with an updated version of the Document. + + +4. MODIFICATIONS + +You may copy and distribute a Modified Version of the Document under +the conditions of sections 2 and 3 above, provided that you release +the Modified Version under precisely this License, with the Modified +Version filling the role of the Document, thus licensing distribution +and modification of the Modified Version to whoever possesses a copy +of it. In addition, you must do these things in the Modified Version: + +A. Use in the Title Page (and on the covers, if any) a title distinct + from that of the Document, and from those of previous versions + (which should, if there were any, be listed in the History section + of the Document). You may use the same title as a previous version + if the original publisher of that version gives permission. +B. List on the Title Page, as authors, one or more persons or entities + responsible for authorship of the modifications in the Modified + Version, together with at least five of the principal authors of the + Document (all of its principal authors, if it has fewer than five), + unless they release you from this requirement. +C. State on the Title page the name of the publisher of the + Modified Version, as the publisher. +D. Preserve all the copyright notices of the Document. +E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices. +F. Include, immediately after the copyright notices, a license notice + giving the public permission to use the Modified Version under the + terms of this License, in the form shown in the Addendum below. +G. Preserve in that license notice the full lists of Invariant Sections + and required Cover Texts given in the Document's license notice. +H. Include an unaltered copy of this License. +I. Preserve the section Entitled "History", Preserve its Title, and add + to it an item stating at least the title, year, new authors, and + publisher of the Modified Version as given on the Title Page. If + there is no section Entitled "History" in the Document, create one + stating the title, year, authors, and publisher of the Document as + given on its Title Page, then add an item describing the Modified + Version as stated in the previous sentence. +J. Preserve the network location, if any, given in the Document for + public access to a Transparent copy of the Document, and likewise + the network locations given in the Document for previous versions + it was based on. These may be placed in the "History" section. + You may omit a network location for a work that was published at + least four years before the Document itself, or if the original + publisher of the version it refers to gives permission. +K. For any section Entitled "Acknowledgements" or "Dedications", + Preserve the Title of the section, and preserve in the section all + the substance and tone of each of the contributor acknowledgements + and/or dedications given therein. +L. Preserve all the Invariant Sections of the Document, + unaltered in their text and in their titles. Section numbers + or the equivalent are not considered part of the section titles. +M. Delete any section Entitled "Endorsements". Such a section + may not be included in the Modified Version. +N. Do not retitle any existing section to be Entitled "Endorsements" + or to conflict in title with any Invariant Section. +O. Preserve any Warranty Disclaimers. + +If the Modified Version includes new front-matter sections or +appendices that qualify as Secondary Sections and contain no material +copied from the Document, you may at your option designate some or all +of these sections as invariant. To do this, add their titles to the +list of Invariant Sections in the Modified Version's license notice. +These titles must be distinct from any other section titles. + +You may add a section Entitled "Endorsements", provided it contains +nothing but endorsements of your Modified Version by various +parties--for example, statements of peer review or that the text has +been approved by an organization as the authoritative definition of a +standard. + +You may add a passage of up to five words as a Front-Cover Text, and a +passage of up to 25 words as a Back-Cover Text, to the end of the list +of Cover Texts in the Modified Version. Only one passage of +Front-Cover Text and one of Back-Cover Text may be added by (or +through arrangements made by) any one entity. If the Document already +includes a cover text for the same cover, previously added by you or +by arrangement made by the same entity you are acting on behalf of, +you may not add another; but you may replace the old one, on explicit +permission from the previous publisher that added the old one. + +The author(s) and publisher(s) of the Document do not by this License +give permission to use their names for publicity for or to assert or +imply endorsement of any Modified Version. + + +5. COMBINING DOCUMENTS + +You may combine the Document with other documents released under this +License, under the terms defined in section 4 above for modified +versions, provided that you include in the combination all of the +Invariant Sections of all of the original documents, unmodified, and +list them all as Invariant Sections of your combined work in its +license notice, and that you preserve all their Warranty Disclaimers. + +The combined work need only contain one copy of this License, and +multiple identical Invariant Sections may be replaced with a single +copy. If there are multiple Invariant Sections with the same name but +different contents, make the title of each such section unique by +adding at the end of it, in parentheses, the name of the original +author or publisher of that section if known, or else a unique number. +Make the same adjustment to the section titles in the list of +Invariant Sections in the license notice of the combined work. + +In the combination, you must combine any sections Entitled "History" +in the various original documents, forming one section Entitled +"History"; likewise combine any sections Entitled "Acknowledgements", +and any sections Entitled "Dedications". You must delete all sections +Entitled "Endorsements". + + +6. COLLECTIONS OF DOCUMENTS + +You may make a collection consisting of the Document and other documents +released under this License, and replace the individual copies of this +License in the various documents with a single copy that is included in +the collection, provided that you follow the rules of this License for +verbatim copying of each of the documents in all other respects. + +You may extract a single document from such a collection, and distribute +it individually under this License, provided you insert a copy of this +License into the extracted document, and follow this License in all +other respects regarding verbatim copying of that document. + + +7. AGGREGATION WITH INDEPENDENT WORKS + +A compilation of the Document or its derivatives with other separate +and independent documents or works, in or on a volume of a storage or +distribution medium, is called an "aggregate" if the copyright +resulting from the compilation is not used to limit the legal rights +of the compilation's users beyond what the individual works permit. +When the Document is included in an aggregate, this License does not +apply to the other works in the aggregate which are not themselves +derivative works of the Document. + +If the Cover Text requirement of section 3 is applicable to these +copies of the Document, then if the Document is less than one half of +the entire aggregate, the Document's Cover Texts may be placed on +covers that bracket the Document within the aggregate, or the +electronic equivalent of covers if the Document is in electronic form. +Otherwise they must appear on printed covers that bracket the whole +aggregate. + + +8. TRANSLATION + +Translation is considered a kind of modification, so you may +distribute translations of the Document under the terms of section 4. +Replacing Invariant Sections with translations requires special +permission from their copyright holders, but you may include +translations of some or all Invariant Sections in addition to the +original versions of these Invariant Sections. You may include a +translation of this License, and all the license notices in the +Document, and any Warranty Disclaimers, provided that you also include +the original English version of this License and the original versions +of those notices and disclaimers. In case of a disagreement between +the translation and the original version of this License or a notice +or disclaimer, the original version will prevail. + +If a section in the Document is Entitled "Acknowledgements", +"Dedications", or "History", the requirement (section 4) to Preserve +its Title (section 1) will typically require changing the actual +title. + + +9. TERMINATION + +You may not copy, modify, sublicense, or distribute the Document except +as expressly provided for under this License. Any other attempt to +copy, modify, sublicense or distribute the Document is void, and will +automatically terminate your rights under this License. However, +parties who have received copies, or rights, from you under this +License will not have their licenses terminated so long as such +parties remain in full compliance. + + +10. FUTURE REVISIONS OF THIS LICENSE + +The Free Software Foundation may publish new, revised versions +of the GNU Free Documentation License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns. See +http://www.gnu.org/copyleft/. + +Each version of the License is given a distinguishing version number. +If the Document specifies that a particular numbered version of this +License "or any later version" applies to it, you have the option of +following the terms and conditions either of that specified version or +of any later version that has been published (not as a draft) by the +Free Software Foundation. If the Document does not specify a version +number of this License, you may choose any version ever published (not +as a draft) by the Free Software Foundation. + + +ADDENDUM: How to use this License for your documents + +To use this License in a document you have written, include a copy of +the License in the document and put the following copyright and +license notices just after the title page: + + Copyright (c) YEAR YOUR NAME. + Permission is granted to copy, distribute and/or modify this document + under the terms of the GNU Free Documentation License, Version 1.2 + or any later version published by the Free Software Foundation; + with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + A copy of the license is included in the section entitled "GNU + Free Documentation License". + +If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, +replace the "with...Texts." line with this: + + with the Invariant Sections being LIST THEIR TITLES, with the + Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST. + +If you have Invariant Sections without Cover Texts, or some other +combination of the three, merge those two alternatives to suit the +situation. + +If your document contains nontrivial examples of program code, we +recommend releasing these examples in parallel under your choice of +free software license, such as the GNU General Public License, +to permit their use in free software. diff --git a/pykde4/docs/html/common/fdl-license.html b/pykde4/docs/html/common/fdl-license.html new file mode 100644 index 00000000..9ce378a3 --- /dev/null +++ b/pykde4/docs/html/common/fdl-license.html @@ -0,0 +1,512 @@ + + + + GNU Free Documentation License - version 1.1 + + + + + + + + + +

GNU Free Documentation License

+

+ Version 1.2, November 2002 +

+ +
+  Copyright (C) 2000,2001,2002  Free Software Foundation, Inc.
+  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+  Everyone is permitted to copy and distribute verbatim copies
+  of this license document, but changing it is not allowed.
+
+ +

+ 0. PREAMBLE +

+ +

+ The purpose of this License is to make a manual, textbook, or other + functional and useful document "free" in the sense of freedom: to + assure everyone the effective freedom to copy and redistribute it, + with or without modifying it, either commercially or noncommercially. + Secondarily, this License preserves for the author and publisher a way + to get credit for their work, while not being considered responsible + for modifications made by others. +

+ +

+ This License is a kind of "copyleft", which means that derivative + works of the document must themselves be free in the same sense. It + complements the GNU General Public License, which is a copyleft + license designed for free software. +

+ +

+ We have designed this License in order to use it for manuals for free + software, because free software needs free documentation: a free + program should come with manuals providing the same freedoms that the + software does. But this License is not limited to software manuals; + it can be used for any textual work, regardless of subject matter or + whether it is published as a printed book. We recommend this License + principally for works whose purpose is instruction or reference. +

+ +

+ 1. APPLICABILITY AND DEFINITIONS +

+ +

+ This License applies to any manual or other work, in any medium, that + contains a notice placed by the copyright holder saying it can be + distributed under the terms of this License. Such a notice grants a + world-wide, royalty-free license, unlimited in duration, to use that + work under the conditions stated herein. The "Document", below, + refers to any such manual or work. Any member of the public is a + licensee, and is addressed as "you". You accept the license if you + copy, modify or distribute the work in a way requiring permission + under copyright law. +

+ +

+ A "Modified Version" of the Document means any work containing the + Document or a portion of it, either copied verbatim, or with + modifications and/or translated into another language. +

+ +

+ A "Secondary Section" is a named appendix or a front-matter section of + the Document that deals exclusively with the relationship of the + publishers or authors of the Document to the Document's overall subject + (or to related matters) and contains nothing that could fall directly + within that overall subject. (Thus, if the Document is in part a + textbook of mathematics, a Secondary Section may not explain any + mathematics.) The relationship could be a matter of historical + connection with the subject or with related matters, or of legal, + commercial, philosophical, ethical or political position regarding + them. +

+ +

+ The "Invariant Sections" are certain Secondary Sections whose titles + are designated, as being those of Invariant Sections, in the notice + that says that the Document is released under this License. If a + section does not fit the above definition of Secondary then it is not + allowed to be designated as Invariant. The Document may contain zero + Invariant Sections. If the Document does not identify any Invariant + Sections then there are none. +

+ +

+ The "Cover Texts" are certain short passages of text that are listed, + as Front-Cover Texts or Back-Cover Texts, in the notice that says that + the Document is released under this License. A Front-Cover Text may + be at most 5 words, and a Back-Cover Text may be at most 25 words. +

+ +

+ A "Transparent" copy of the Document means a machine-readable copy, + represented in a format whose specification is available to the + general public, that is suitable for revising the document + straightforwardly with generic text editors or (for images composed of + pixels) generic paint programs or (for drawings) some widely available + drawing editor, and that is suitable for input to text formatters or + for automatic translation to a variety of formats suitable for input + to text formatters. A copy made in an otherwise Transparent file + format whose markup, or absence of markup, has been arranged to thwart + or discourage subsequent modification by readers is not Transparent. + An image format is not Transparent if used for any substantial amount + of text. A copy that is not "Transparent" is called "Opaque". +

+ +

+ Examples of suitable formats for Transparent copies include plain + ASCII without markup, Texinfo input format, LaTeX input format, SGML + or XML using a publicly available DTD, and standard-conforming simple + HTML, PostScript or PDF designed for human modification. Examples of + transparent image formats include PNG, XCF and JPG. Opaque formats + include proprietary formats that can be read and edited only by + proprietary word processors, SGML or XML for which the DTD and/or + processing tools are not generally available, and the + machine-generated HTML, PostScript or PDF produced by some word + processors for output purposes only. +

+ +

+ The "Title Page" means, for a printed book, the title page itself, + plus such following pages as are needed to hold, legibly, the material + this License requires to appear in the title page. For works in + formats which do not have any title page as such, "Title Page" means + the text near the most prominent appearance of the work's title, + preceding the beginning of the body of the text. +

+ +

+ A section "Entitled XYZ" means a named subunit of the Document whose + title either is precisely XYZ or contains XYZ in parentheses following + text that translates XYZ in another language. (Here XYZ stands for a + specific section name mentioned below, such as "Acknowledgements", + "Dedications", "Endorsements", or "History".) To "Preserve the Title" + of such a section when you modify the Document means that it remains a + section "Entitled XYZ" according to this definition. +

+ +

+ The Document may include Warranty Disclaimers next to the notice which + states that this License applies to the Document. These Warranty + Disclaimers are considered to be included by reference in this + License, but only as regards disclaiming warranties: any other + implication that these Warranty Disclaimers may have is void and has + no effect on the meaning of this License. +

+ +

+ 2. VERBATIM COPYING +

+ +

+ You may copy and distribute the Document in any medium, either + commercially or noncommercially, provided that this License, the + copyright notices, and the license notice saying this License applies + to the Document are reproduced in all copies, and that you add no other + conditions whatsoever to those of this License. You may not use + technical measures to obstruct or control the reading or further + copying of the copies you make or distribute. However, you may accept + compensation in exchange for copies. If you distribute a large enough + number of copies you must also follow the conditions in section 3. +

+ +

+ You may also lend copies, under the same conditions stated above, and + you may publicly display copies. +

+ +

+ 3. COPYING IN QUANTITY +

+ +

+ If you publish printed copies (or copies in media that commonly have + printed covers) of the Document, numbering more than 100, and the + Document's license notice requires Cover Texts, you must enclose the + copies in covers that carry, clearly and legibly, all these Cover + Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on + the back cover. Both covers must also clearly and legibly identify + you as the publisher of these copies. The front cover must present + the full title with all words of the title equally prominent and + visible. You may add other material on the covers in addition. + Copying with changes limited to the covers, as long as they preserve + the title of the Document and satisfy these conditions, can be treated + as verbatim copying in other respects. +

+ +

+ If the required texts for either cover are too voluminous to fit + legibly, you should put the first ones listed (as many as fit + reasonably) on the actual cover, and continue the rest onto adjacent + pages. +

+ +

+ If you publish or distribute Opaque copies of the Document numbering + more than 100, you must either include a machine-readable Transparent + copy along with each Opaque copy, or state in or with each Opaque copy + a computer-network location from which the general network-using + public has access to download using public-standard network protocols + a complete Transparent copy of the Document, free of added material. + If you use the latter option, you must take reasonably prudent steps, + when you begin distribution of Opaque copies in quantity, to ensure + that this Transparent copy will remain thus accessible at the stated + location until at least one year after the last time you distribute an + Opaque copy (directly or through your agents or retailers) of that + edition to the public. +

+ +

+ It is requested, but not required, that you contact the authors of the + Document well before redistributing any large number of copies, to give + them a chance to provide you with an updated version of the Document. +

+ +

+ 4. MODIFICATIONS +

+ +

+ You may copy and distribute a Modified Version of the Document under + the conditions of sections 2 and 3 above, provided that you release + the Modified Version under precisely this License, with the Modified + Version filling the role of the Document, thus licensing distribution + and modification of the Modified Version to whoever possesses a copy + of it. In addition, you must do these things in the Modified Version: +

+ +
    +
  • A. Use in the Title Page (and on the covers, if any) a title distinct + from that of the Document, and from those of previous versions + (which should, if there were any, be listed in the History section + of the Document). You may use the same title as a previous version + if the original publisher of that version gives permission.
  • +
  • B. List on the Title Page, as authors, one or more persons or entities + responsible for authorship of the modifications in the Modified + Version, together with at least five of the principal authors of the + Document (all of its principal authors, if it has fewer than five), + unless they release you from this requirement.
  • +
  • C. State on the Title page the name of the publisher of the + Modified Version, as the publisher.
  • +
  • D. Preserve all the copyright notices of the Document.
  • +
  • E. Add an appropriate copyright notice for your modifications + adjacent to the other copyright notices.
  • +
  • F. Include, immediately after the copyright notices, a license notice + giving the public permission to use the Modified Version under the + terms of this License, in the form shown in the Addendum below.
  • +
  • G. Preserve in that license notice the full lists of Invariant Sections + and required Cover Texts given in the Document's license notice.
  • +
  • H. Include an unaltered copy of this License.
  • +
  • I. Preserve the section Entitled "History", Preserve its Title, and add + to it an item stating at least the title, year, new authors, and + publisher of the Modified Version as given on the Title Page. If + there is no section Entitled "History" in the Document, create one + stating the title, year, authors, and publisher of the Document as + given on its Title Page, then add an item describing the Modified + Version as stated in the previous sentence.
  • +
  • J. Preserve the network location, if any, given in the Document for + public access to a Transparent copy of the Document, and likewise + the network locations given in the Document for previous versions + it was based on. These may be placed in the "History" section. + You may omit a network location for a work that was published at + least four years before the Document itself, or if the original + publisher of the version it refers to gives permission.
  • +
  • K. For any section Entitled "Acknowledgements" or "Dedications", + Preserve the Title of the section, and preserve in the section all + the substance and tone of each of the contributor acknowledgements + and/or dedications given therein.
  • +
  • L. Preserve all the Invariant Sections of the Document, + unaltered in their text and in their titles. Section numbers + or the equivalent are not considered part of the section titles.
  • +
  • M. Delete any section Entitled "Endorsements". Such a section + may not be included in the Modified Version.
  • +
  • N. Do not retitle any existing section to be Entitled "Endorsements" + or to conflict in title with any Invariant Section.
  • +
  • O. Preserve any Warranty Disclaimers.
  • +
+ +

+ If the Modified Version includes new front-matter sections or + appendices that qualify as Secondary Sections and contain no material + copied from the Document, you may at your option designate some or all + of these sections as invariant. To do this, add their titles to the + list of Invariant Sections in the Modified Version's license notice. + These titles must be distinct from any other section titles. +

+ +

+ You may add a section Entitled "Endorsements", provided it contains + nothing but endorsements of your Modified Version by various + parties--for example, statements of peer review or that the text has + been approved by an organization as the authoritative definition of a + standard. +

+ +

+ You may add a passage of up to five words as a Front-Cover Text, and a + passage of up to 25 words as a Back-Cover Text, to the end of the list + of Cover Texts in the Modified Version. Only one passage of + Front-Cover Text and one of Back-Cover Text may be added by (or + through arrangements made by) any one entity. If the Document already + includes a cover text for the same cover, previously added by you or + by arrangement made by the same entity you are acting on behalf of, + you may not add another; but you may replace the old one, on explicit + permission from the previous publisher that added the old one. +

+ +

+ The author(s) and publisher(s) of the Document do not by this License + give permission to use their names for publicity for or to assert or + imply endorsement of any Modified Version. +

+ +

+ 5. COMBINING DOCUMENTS +

+ +

+ You may combine the Document with other documents released under this + License, under the terms defined in section 4 above for modified + versions, provided that you include in the combination all of the + Invariant Sections of all of the original documents, unmodified, and + list them all as Invariant Sections of your combined work in its + license notice, and that you preserve all their Warranty Disclaimers. +

+ +

+ The combined work need only contain one copy of this License, and + multiple identical Invariant Sections may be replaced with a single + copy. If there are multiple Invariant Sections with the same name but + different contents, make the title of each such section unique by + adding at the end of it, in parentheses, the name of the original + author or publisher of that section if known, or else a unique number. + Make the same adjustment to the section titles in the list of + Invariant Sections in the license notice of the combined work. +

+ +

+ In the combination, you must combine any sections Entitled "History" + in the various original documents, forming one section Entitled + "History"; likewise combine any sections Entitled "Acknowledgements", + and any sections Entitled "Dedications". You must delete all sections + Entitled "Endorsements." +

+ +

+ 6. COLLECTIONS OF DOCUMENTS +

+ +

+ You may make a collection consisting of the Document and other documents + released under this License, and replace the individual copies of this + License in the various documents with a single copy that is included in + the collection, provided that you follow the rules of this License for + verbatim copying of each of the documents in all other respects. +

+ +

+ You may extract a single document from such a collection, and distribute + it individually under this License, provided you insert a copy of this + License into the extracted document, and follow this License in all + other respects regarding verbatim copying of that document. +

+ +

+ 7. AGGREGATION WITH INDEPENDENT WORKS +

+ +

+ A compilation of the Document or its derivatives with other separate + and independent documents or works, in or on a volume of a storage or + distribution medium, is called an "aggregate" if the copyright + resulting from the compilation is not used to limit the legal rights + of the compilation's users beyond what the individual works permit. + When the Document is included in an aggregate, this License does not + apply to the other works in the aggregate which are not themselves + derivative works of the Document. +

+ +

+ If the Cover Text requirement of section 3 is applicable to these + copies of the Document, then if the Document is less than one half of + the entire aggregate, the Document's Cover Texts may be placed on + covers that bracket the Document within the aggregate, or the + electronic equivalent of covers if the Document is in electronic form. + Otherwise they must appear on printed covers that bracket the whole + aggregate. +

+ +

+ 8. TRANSLATION +

+ +

+ Translation is considered a kind of modification, so you may + distribute translations of the Document under the terms of section 4. + Replacing Invariant Sections with translations requires special + permission from their copyright holders, but you may include + translations of some or all Invariant Sections in addition to the + original versions of these Invariant Sections. You may include a + translation of this License, and all the license notices in the + Document, and any Warranty Disclaimers, provided that you also include + the original English version of this License and the original versions + of those notices and disclaimers. In case of a disagreement between + the translation and the original version of this License or a notice + or disclaimer, the original version will prevail. +

+ +

+ If a section in the Document is Entitled "Acknowledgements", + "Dedications", or "History", the requirement (section 4) to Preserve + its Title (section 1) will typically require changing the actual + title. +

+ +

+ 9. TERMINATION +

+ +

+ You may not copy, modify, sublicense, or distribute the Document except + as expressly provided for under this License. Any other attempt to + copy, modify, sublicense or distribute the Document is void, and will + automatically terminate your rights under this License. However, + parties who have received copies, or rights, from you under this + License will not have their licenses terminated so long as such + parties remain in full compliance. +

+ +

+ 10. FUTURE REVISIONS OF THIS LICENSE +

+ +

+ The Free Software Foundation may publish new, revised versions + of the GNU Free Documentation License from time to time. Such new + versions will be similar in spirit to the present version, but may + differ in detail to address new problems or concerns. See + http://www.gnu.org/copyleft/. +

+ +

+ Each version of the License is given a distinguishing version number. + If the Document specifies that a particular numbered version of this + License "or any later version" applies to it, you have the option of + following the terms and conditions either of that specified version or + of any later version that has been published (not as a draft) by the + Free Software Foundation. If the Document does not specify a version + number of this License, you may choose any version ever published (not + as a draft) by the Free Software Foundation. +

+ +

How to use this License for your documents

+ +

+ To use this License in a document you have written, include a copy of + the License in the document and put the following copyright and + license notices just after the title page: +

+ +
+  Copyright (c)  YEAR  YOUR NAME.
+  Permission is granted to copy, distribute and/or modify this document
+  under the terms of the GNU Free Documentation License, Version 1.2
+  or any later version published by the Free Software Foundation;
+  with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
+  Texts.  A copy of the license is included in the section entitled "GNU
+  Free Documentation License".
+
+ +

+ If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts, + replace the "with...Texts." line with this: +

+ +
+  with the Invariant Sections being LIST THEIR TITLES, with the
+  Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
+
+ +

+ If you have Invariant Sections without Cover Texts, or some other + combination of the three, merge those two alternatives to suit the + situation. +

+ +

+ If your document contains nontrivial examples of program code, we + recommend releasing these examples in parallel under your choice of + free software license, such as the GNU General Public License, + to permit their use in free software. +

+ + diff --git a/pykde4/docs/html/common/fdl-notice.html b/pykde4/docs/html/common/fdl-notice.html new file mode 100644 index 00000000..862f09e7 --- /dev/null +++ b/pykde4/docs/html/common/fdl-notice.html @@ -0,0 +1,15 @@ + + +FDL Notice + + + + +

Permission is granted to copy, distribute and/or modify this document +under the terms of the GNU Free Documentation License, Version 1.2 or any +later version published by the Free Software Foundation; with no Invariant +Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy +of the license is included here.

+ + + diff --git a/pykde4/docs/html/common/flat.css b/pykde4/docs/html/common/flat.css new file mode 100644 index 00000000..e1db552e --- /dev/null +++ b/pykde4/docs/html/common/flat.css @@ -0,0 +1,446 @@ +/* +** HTML elements +*/ + +body { + margin: 0; + padding: 0; + text-align: center; + font-size: 0.8em; + font-family: "Bitstream Vera Sans", "Lucida Grande", "Trebuchet MS", sans-serif; + color: #535353; + background: #ffffff; +} + + +/* +** HTML Tags +*/ + +h1, h2, h3, h4 +{ + padding: 0; + text-align: left; + font-weight: bold; + color: #f7800a; + background: transparent; +} +h1 { + margin: 0 0 0.3em 0; + font-size: 1.7em; +} +h2, h3, h4 { + margin: 1.3em 0 0 0.3em +} + +h2 { + font-size: 1.5em; +} + +h3 { + font-size: 1.4em; +} + +h4 { + font-size: 1.3em; +} + +h5 { + font-size: 1.2em; +} + +a:link { + padding-bottom: 0; + text-decoration: none; + color: #0057ae; +} + +a:visited { + padding-bottom: 0; + text-decoration: none; + color: #644A9B; +} + + +a[href]:hover { + text-decoration: underline; +} + +hr { + margin: 0.3em 1em 0.3em 1em; + height: 1px; + border: #dddddd dashed; + border-width: 0 0 1px 0; +} + +pre { + display: block; + margin: 0.3em; + padding: 0.3em; + font-size: 1em; + font-family: Courier, 'Courier New', 'Andale Mono', Monaco, monospace; + color: #000000; + background: #f9f9f9; + border: #2f6fab dashed; + border-width: 1px; + overflow: auto; + line-height: 1.1em; +} + +input, textarea, select { + margin: 0.2em; + padding: 0.1em; + color: #888888; + background: #ffffff; + border: 1px solid; +} + +blockquote { + margin: 0.3em; + padding-left: 2.5em; + background: transparent; +} + +del { + color: #800000; + text-decoration: line-through; +} + +dt { + font-weight: bold; + font-size: 1.05em; + color: #0057ae; +} + +dd { + margin-left: 1em; +} + +p { + margin-top: 0.5em; + margin-bottom: 0.9em; + text-align: justify; +} +fieldset { + border: #cccccc 1px solid; +} + +li { + text-align: left; +} + +fieldset { + margin-bottom: 1em; + padding: .5em; +} + +form { + margin: 0; + padding: 0; +} + +hr { + height: 1px; + border: #888888 1px solid; + background: #888888; + margin: 0.5em 0 0.5em 0 ; +} + +img { + border: 0; +} +table { + border-collapse: collapse; + font-size: 1em; +} +th { + text-align: left; + padding-right: 1em; + border: #cccccc solid; + border-width: 0 0 3px 0; +} + + +/* +** Header +*/ +#header { + color: #535353; + background: #eeeeee; +} + +#header_top { + margin: 0 auto; + padding: 0; + vertical-align: middle; + color: #ffffff; + background: url(top.jpg) repeat-x bottom; +background-color: #0057ae; +} + +#header_top div { + margin: 0 auto; + padding: 0; + background: url(top-left.jpg) no-repeat bottom left; +} + +#header_top div div { + margin: 0 auto; + padding: 0; + vertical-align: middle; + text-align: left; + font-size: 1.7em; + font-weight: bold; + background: url(top-right.jpg) no-repeat bottom right; +} + +#header_top div div img { + margin:8px 0px 9px 18px; + vertical-align: middle; +} + +#header_bottom { + margin: 0 auto; + padding: 0.1em 0em 0.3em 0; + vertical-align: middle; + text-align: right; + background: #eeeeee; +} + +#location { + padding: 0 0 0 1.5em; + text-align: left; + line-height: normal; + font-size: 1.1em; + font-weight:bold; +} + +#location ul { + display: inline; + margin: 0; + padding: 0; + list-style: none; +} + +#location ul li { + display: inline; + white-space : nowrap; + margin: 0; + padding: 0 1em 0 0; +} + +#menu { + margin: 0 1.5em 0 0; + text-align: right; + line-height: normal; + font-size: 1.1em; + font-weight: bold; +} + +#menu ul { + display: inline; + list-style: none; + margin: 0; + padding: 0; + text-align: right; +} + +#menu ul li { + display: inline; + white-space : nowrap; + margin: 0; + padding: 0 0 0 1em; + text-align: right; +} + +.here a:link, .here a:visited { + text-decoration:underline; +} + +.here ul a:link, .here ul a:visited { + text-decoration:none; +} + +#menu ul li a { + font-weight: bold; +} + + +/* +** Content +*/ + +#content { +} + +#main { + /* padding in px not ex because IE messes up 100% width tables otherwise */ + padding: 0 10px 0 10px; + text-align: left; +} + +div.nav { + display: none; +} + +/* The project name (redundant as it is shown in the menu, too) */ +div.clearer+h2 { + display: none; +} + +/* The header on top of a page e.g. "MediaObject Class Reference" */ +#main>h1 { + text-align: center; + margin-top: 1em; + margin-bottom: 2em; +} + +/* The group links below the page header */ +#main>h1>small { + font-size: 60%; +} + +/* Section headers like "Detailed Description" */ +#main>h2 { + margin-left: 0; + margin-top: 1em; + margin-bottom: 1em; +} + +/* The #include line */ +#main>h1+code { + font-size: 120%; + background: #F1F1F1; + border: 1px solid #E7E7E7; + padding: 2px; + display: block; +} + +/* The version number (e.g. '4.0') on Mainpages - reduntant as it's already shown in the main title */ +#main>h1+p+h3 { + display: none; +} + +#body_wrapper { + margin: 0 auto; + border: #dddddd solid; + border-width: 0 0 0 1px; +} + +#body { + margin: 0; + padding: 0; +} + +#right { + margin: 0; + padding: 0; +} + +/* These are date cells on the front page. */ +td.cell_date { +} + +#hotspot, .sideimage { + margin: 1ex 1em; + clear: right; +} + +.belowimage, h1, h2, h3, h4, h5 { + clear: right; +} + + +/* +** Left Menu +*/ + +#left { + margin: 0; + padding: 0; +} + +.menu_box { + padding: 0.7em 0 0 0; +} + +.menu_box ul { + text-align: left; +} + +.menu_box li { + list-style-type: none; + text-align: left; + margin-left: 0.1em; +} + +.menu_box ul ul { +margin: 0; +padding-left: 0; +} + +.menu_box li li { +margin-left: 1em; +} + +.menu_box .active{ + color: #cf4913; +} + +.menutitle { + margin: 0.6em 0 1.2em 0; + padding:0; + color: #ffffff; + background: url(block_title_mid.png) repeat-y right; +background-color: #0057ae; +} +.menutitle div { + margin: 0; + padding:0; + background: url(block_title_top.png) no-repeat top right; +} +.menutitle div h2 { + margin: 0; + padding: 0.2em 0 0.3em 1.3em; + line-height:1.2em; + font-size: 120%; + font-weight: normal; + color: #ffffff; + background: url(block_title_bottom.png) no-repeat bottom right; +} + +.clearer { + clear: both; + height: 1px; +} + + +/* +** Footer +*/ +#footer { + background: #eeeeee; +} + +#footer_text { + margin: 0 auto; + padding: 1em 0 1em 3.5em; + text-align: left; + color: #000000; + background: #eeeeee; +} + +#footer a:link, #footer a:visited { + color: #4d88c3; +} + +#quicklinks { +font-size: 1em; +padding: 1em; +text-align: center; +margin-top: 0.5em; +margin-left: 0.2em; +margin-bottom: 0.5em; +margin-right: 0.2em; +} + diff --git a/pykde4/docs/html/common/footer.html b/pykde4/docs/html/common/footer.html new file mode 100644 index 00000000..baa2973b --- /dev/null +++ b/pykde4/docs/html/common/footer.html @@ -0,0 +1,64 @@ +
+ + +
+ +
+
+ +
+ + + +
+ + + + + + + + + diff --git a/pykde4/docs/html/common/gpl-license b/pykde4/docs/html/common/gpl-license new file mode 100644 index 00000000..93796b60 --- /dev/null +++ b/pykde4/docs/html/common/gpl-license @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc. + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) 19yy + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) 19yy name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + , 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License. diff --git a/pykde4/docs/html/common/gpl-license.html b/pykde4/docs/html/common/gpl-license.html new file mode 100644 index 00000000..26ae3af1 --- /dev/null +++ b/pykde4/docs/html/common/gpl-license.html @@ -0,0 +1,381 @@ + + + + GNU General Public License + + + + + + + + + +

GNU General Public License

+

Version 2, June 1991

+ +

Copyright (C) 1989, 1991 Free Software Foundation, Inc. +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed.

+ +

Preamble

+ +

The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Library General Public License instead.) You can apply it to +your programs, too.

+ +

When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things.

+ +

To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it.

+ +

For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights.

+ +

We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software.

+ +

Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations.

+ +

Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all.

+ +

The precise terms and conditions for copying, distribution and +modification follow.

+ +

GNU General Public License
+Terms And Conditions For Copying, Distribution And Modification

+ +

0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you".

+ +

Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does.

+ +

1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program.

+ +

You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee.

+ +

2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions:

+ +
    +
  1. +

    You must cause the modified files to carry prominent notices +stating that you changed the files and the date of any change.

    +
  2. + +
  3. +

    You must cause any work that you distribute or publish, that in +whole or in part contains or is derived from the Program or any +part thereof, to be licensed as a whole at no charge to all third +parties under the terms of this License.

    +
  4. + +
  5. +

    If the modified program normally reads commands interactively +when run, you must cause it, when started running for such +interactive use in the most ordinary way, to print or display an +announcement including an appropriate copyright notice and a +notice that there is no warranty (or else, saying that you provide +a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this +License. (Exception: if the Program itself is interactive but +does not normally print such an announcement, your work based on +the Program is not required to print an announcement.)

    +
  6. +
+ +

These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it.

+ +

Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program.

+ +

In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License.

+ +

3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following:

+ +
    +
  1. +

    Accompany it with the complete corresponding machine-readable +source code, which must be distributed under the terms of Sections +1 and 2 above on a medium customarily used for software interchange; or,

    +
  2. + +
  3. +

    Accompany it with a written offer, valid for at least three +years, to give any third party, for a charge no more than your +cost of physically performing source distribution, a complete +machine-readable copy of the corresponding source code, to be +distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or,

    +
  4. + +
  5. +

    Accompany it with the information you received as to the offer +to distribute corresponding source code. (This alternative is +allowed only for noncommercial distribution and only if you +received the program in object code or executable form with such +an offer, in accord with Subsection b above.)

    +
  6. +
+ +

The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable.

+ +

If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code.

+ +

4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance.

+ +

5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it.

+ +

6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License.

+ +

7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program.

+ +

If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances.

+ +

It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice.

+ +

This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License.

+ +

8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License.

+ +

9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns.

+ +

Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation.

+ +

10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally.

+ +

No Warranty

+ +

11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION.

+ +

12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES.

+ +
END OF TERMS AND CONDITIONS
+ +
+ +

How to Apply These Terms to Your New Programs

+ +

If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these +terms.

+ + +

To do so, attach the following notices to the program. It is +safest to attach them to the start of each source file to most +effectively convey the exclusion of warranty; and each file should +have at least the "copyright" line and a pointer to where the full +notice is found.

+ + +
    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ +

Also add information on how to contact you by electronic and paper +mail.

+ +

If the program is interactive, make it output a short notice like this +when it starts in an interactive mode:

+ +
    Gnomovision version 69, Copyright (C) 19yy name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+ +

The hypothetical commands "show w" and "show c" should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than "show w" and "show c"; they could even be +mouse-clicks or menu items--whatever suits your program.

+ +

You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names:

+ +
  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+ +

This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Library General +Public License instead of this License.

+ + + + + diff --git a/pykde4/docs/html/common/header.html b/pykde4/docs/html/common/header.html new file mode 100644 index 00000000..a0c92113 --- /dev/null +++ b/pykde4/docs/html/common/header.html @@ -0,0 +1,67 @@ + + + + + + $title + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ + +
+ +
+
+
+
+
+ + +
+ + +
+ + + + + diff --git a/pykde4/docs/html/common/mainheader.html b/pykde4/docs/html/common/mainheader.html new file mode 100644 index 00000000..2f5ad324 --- /dev/null +++ b/pykde4/docs/html/common/mainheader.html @@ -0,0 +1,66 @@ + + + + + + $title + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+
+ +