pax_global_header00006660000000000000000000000064125527344410014521gustar00rootroot0000000000000052 comment=59d30ceb454e0a25b6d934042692c257dfa775c1 merkaartor-0.18.2/000077500000000000000000000000001255273444100137605ustar00rootroot00000000000000merkaartor-0.18.2/.gitignore000066400000000000000000000005071255273444100157520ustar00rootroot00000000000000# git-ls-files --others --exclude-from=.git/info/exclude # Lines that start with '#' are comments. # For a project mostly in C, the following would be a good set of # exclude patterns (uncomment them if you want to use them): *.[oa] *~ *.qm *.moc *.rc moc*.cpp qrc*.cpp ui*.h Makefile* Makefile*.* *.pro.user *.po *.orig *.rej merkaartor-0.18.2/.indent.pro000066400000000000000000000000111255273444100160310ustar00rootroot00000000000000-kr -nut merkaartor-0.18.2/.travis.yml000066400000000000000000000010531255273444100160700ustar00rootroot00000000000000env: - QT=4 - QT=5 install: - sudo apt-add-repository -y ppa:ubuntu-sdk-team/ppa - sudo apt-get update -qq - sudo apt-cache search qt - sudo apt-get install gdb libgdal-dev libproj-dev - sudo apt-get install libqt4-xml libqt4-network libqt4-gui libqt4-svg libqt4-webkit libqt4-dev qt4-qmake - sudo apt-get install libqt5xml5* libqt5network5* libqt5gui5* libqt5svg5* libqt5webkit5* libqt5quick5* qtdeclarative5-dev qttools5-dev qtbase5-dev qt5-qmake qtchooser - qtchooser -list-versions script: - qtchooser -qt=qt$QT -run-tool=qmake - make merkaartor-0.18.2/3rdparty/000077500000000000000000000000001255273444100155305ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/000077500000000000000000000000001255273444100245055ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/INSTALL.TXT000066400000000000000000000223741255273444100262240ustar00rootroot00000000000000INSTALLATION INSTRUCTIONS These instructions refer to the package you are installing as some-package.tar.gz or some-package.zip. The .zip file is intended for use on Windows. The directory you choose for the installation will be referred to as your-install-dir. Note to Qt Visual Studio Integration users: In the instructions below, instead of building from command line with nmake, you can use the menu command 'Qt->Open Solution from .pro file' on the .pro files in the example and plugin directories, and then build from within Visual Studio. Unpacking and installation -------------------------- 1. Unpacking the archive (if you have not done so already). On Unix and Mac OS X (in a terminal window): cd your-install-dir gunzip some-package.tar.gz tar xvf some-package.tar This creates the subdirectory some-package containing the files. On Windows: Unpack the .zip archive by right-clicking it in explorer and choosing "Extract All...". If your version of Windows does not have zip support, you can use the infozip tools available from www.info-zip.org. If you are using the infozip tools (in a command prompt window): cd your-install-dir unzip some-package.zip 2. Configuring the package. The configure script is called "configure" on unix/mac and "configure.bat" on Windows. It should be run from a command line after cd'ing to the package directory. You can choose whether you want to use the component by including its source code directly into your project, or build the component as a dynamic shared library (DLL) that is loaded into the application at run-time. The latter may be preferable for technical or licensing (LGPL) reasons. If you want to build a DLL, run the configure script with the argument "-library". Also see the note about usage below. (Components that are Qt plugins, e.g. styles and image formats, are by default built as a plugin DLL.) The configure script will prompt you in some cases for further information. Answer these questions and carefully read the license text before accepting the license conditions. The package cannot be used if you do not accept the license conditions. 3. Building the component and examples (when required). If a DLL is to be built, or if you would like to build the examples, next give the commands qmake make [or nmake if your are using Microsoft Visual C++] The example program(s) can be found in the directory called "examples" or "example". Components that are Qt plugins, e.g. styles and image formats, are ready to be used as soon as they are built, so the rest of this installation instruction can be skipped. 4. Building the Qt Designer plugin (optional). Some of the widget components are provided with plugins for Qt Designer. To build and install the plugin, cd into the some-package/plugin directory and give the commands qmake make [or nmake if your are using Microsoft Visual C++] Restart Qt Designer to make it load the new widget plugin. Note: If you are using the built-in Qt Designer from the Qt Visual Studio Integration, you will need to manually copy the plugin DLL file, i.e. copy %QTDIR%\plugins\designer\some-component.dll to the Qt Visual Studio Integration plugin path, typically: C:\Program Files\Trolltech\Qt VS Integration\plugins Note: If you for some reason are using a Qt Designer that is built in debug mode, you will need to build the plugin in debug mode also. Edit the file plugin.pro in the plugin directory, changing 'release' to 'debug' in the CONFIG line, before running qmake. Solutions components are intended to be used directly from the package directory during development, so there is no 'make install' procedure. Using a component in your project --------------------------------- To use this component in your project, add the following line to the project's .pro file (or do the equivalent in your IDE): include(your-install-dir/some-package/src/some-package.pri) This adds the package's sources and headers to the SOURCES and HEADERS project variables respectively (or, if the component has been configured as a DLL, it adds that library to the LIBS variable), and updates INCLUDEPATH to contain the package's src directory. Additionally, the .pri file may include some dependencies needed by the package. To include a header file from the package in your sources, you can now simply use: #include or alternatively, in pre-Qt 4 style: #include Refer to the documentation to see the classes and headers this components provides. Install documentation (optional) -------------------------------- The HTML documentation for the package's classes is located in the your-install-dir/some-package/doc/html/index.html. You can open this file and read the documentation with any web browser. To install the documentation into Qt Assistant (for Qt version 4.4 and later): 1. In Assistant, open the Edit->Preferences dialog and choose the Documentation tab. Click the Add... button and select the file your-install-dir/some-package/doc/html/some-package.qch For Qt versions prior to 4.4, do instead the following: 1. The directory your-install-dir/some-package/doc/html contains a file called some-package.dcf. Execute the following commands in a shell, command prompt or terminal window: cd your-install-dir/some-package/doc/html/ assistant -addContentFile some-package.dcf The next time you start Qt Assistant, you can access the package's documentation. Removing the documentation from assistant ----------------------------------------- If you have installed the documentation into Qt Assistant, and want to uninstall it, do as follows, for Qt version 4.4 and later: 1. In Assistant, open the Edit->Preferences dialog and choose the Documentation tab. In the list of Registered Documentation, select the item com.nokia.qtsolutions.some-package_version, and click the Remove button. For Qt versions prior to 4.4, do instead the following: 1. The directory your-install-dir/some-package/doc/html contains a file called some-package.dcf. Execute the following commands in a shell, command prompt or terminal window: cd your-install-dir/some-package/doc/html/ assistant -removeContentFile some-package.dcf Using the component as a DLL ---------------------------- 1. Normal components The shared library (DLL) is built and placed in the some-package/lib directory. It is intended to be used directly from there during development. When appropriate, both debug and release versions are built, since the run-time linker will in some cases refuse to load a debug-built DLL into a release-built application or vice versa. The following steps are taken by default to help the dynamic linker to locate the DLL at run-time (during development): Unix: The some-package.pri file will add linker instructions to add the some-package/lib directory to the rpath of the executable. (When distributing, or if your system does not support rpath, you can copy the shared library to another place that is searched by the dynamic linker, e.g. the "lib" directory of your Qt installation.) Mac: The full path to the library is hardcoded into the library itself, from where it is copied into the executable at link time, and ready by the dynamic linker at run-time. (When distributing, you will want to edit these hardcoded paths in the same way as for the Qt DLLs. Refer to the document "Deploying an Application on Mac OS X" in the Qt Reference Documentation.) Windows: the .dll file(s) are copied into the "bin" directory of your Qt installation. The Qt installation will already have set up that directory to be searched by the dynamic linker. 2. Plugins For Qt Solutions plugins (e.g. image formats), both debug and release versions of the plugin are built by default when appropriate, since in some cases the release Qt library will not load a debug plugin, and vice versa. The plugins are automatically copied into the plugins directory of your Qt installation when built, so no further setup is required. Plugins may also be built statically, i.e. as a library that will be linked into your application executable, and so will not need to be redistributed as a separate plugin DLL to end users. Static building is required if Qt itself is built statically. To do it, just add "static" to the CONFIG variable in the plugin/plugin.pro file before building. Refer to the "Static Plugins" section in the chapter "How to Create Qt Plugins" for explanation of how to use a static plugin in your application. The source code of the example program(s) will also typically contain the relevant instructions as comments. Uninstalling ------------ The following command will remove any fils that have been automatically placed outside the package directory itself during installation and building make distclean [or nmake if your are using Microsoft Visual C++] If Qt Assistant documentation or Qt Designer plugins have been installed, they can be uninstalled manually, ref. above. Enjoy! :) - The Qt Solutions Team. merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/LGPL_EXCEPTION.txt000066400000000000000000000021661255273444100274270ustar00rootroot00000000000000Nokia Qt LGPL Exception version 1.1 As an additional permission to the GNU Lesser General Public License version 2.1, the object code form of a "work that uses the Library" may incorporate material from a header file that is part of the Library. You may distribute such object code under terms of your choice, provided that: (i) the header files of the Library have not been modified; and (ii) the incorporated material is limited to numerical parameters, data structure layouts, accessors, macros, inline functions and templates; and (iii) you comply with the terms of Section 6 of the GNU Lesser General Public License version 2.1. Moreover, you may apply this exception to a modified version of the Library, provided that such modification does not involve copying material from the Library into the modified Library?s header files unless such material is limited to (i) numerical parameters; (ii) data structure layouts; (iii) accessors; and (iv) small macros, templates and inline functions of five lines or less in length. Furthermore, you are not required to apply this additional permission to a modified version of the Library. merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.GPL3000066400000000000000000001045131255273444100262220ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. 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 them 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 prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. 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. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey 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; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If 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 convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU 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 that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. 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. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 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. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. 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 state 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 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 3 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, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program 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, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU 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 Lesser General Public License instead of this License. But first, please read . merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/LICENSE.LGPL000066400000000000000000000635041255273444100262570ustar00rootroot00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 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 Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] 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 Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, 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 and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these 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 other code 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. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. 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, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser 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 combine 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) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) 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. d) 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. e) 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 materials to be 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 with 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 Lesser 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 Lesser General Public License as published by the Free Software Foundation; either version 2.1 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; 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. 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! merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/README.TXT000066400000000000000000000002101255273444100260340ustar00rootroot00000000000000Single Application v2.6 The QtSingleApplication component provides support for applications that can be only started once per user. merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/buildlib/000077500000000000000000000000001255273444100262735ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/buildlib/buildlib.pro000066400000000000000000000007211255273444100306030ustar00rootroot00000000000000TEMPLATE=lib CONFIG += qt dll qtsingleapplication-buildlib mac:CONFIG += absolute_library_soname win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all include(../src/qtsingleapplication.pri) TARGET = $$QTSINGLEAPPLICATION_LIBNAME DESTDIR = $$QTSINGLEAPPLICATION_LIBDIR win32 { DLLDESTDIR = $$[QT_INSTALL_BINS] QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTSINGLEAPPLICATION_LIBNAME}.dll } target.path = $$DESTDIR INSTALLS += target merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/common.pri000066400000000000000000000005401255273444100265100ustar00rootroot00000000000000infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtsingleapplication-uselib TEMPLATE += fakelib QTSINGLEAPPLICATION_LIBNAME = $$qtLibraryTarget(QtSolutions_SingleApplication-2.6) TEMPLATE -= fakelib QTSINGLEAPPLICATION_LIBDIR = $$PWD/lib unix:qtsingleapplication-uselib:!qtsingleapplication-buildlib:QMAKE_RPATHDIR += $$QTSINGLEAPPLICATION_LIBDIR merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/config.pri000066400000000000000000000000001255273444100264540ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/configure000066400000000000000000000063221255273444100264140ustar00rootroot00000000000000#!/bin/sh if [ "x$1" != "x" -a "x$1" != "x-library" ]; then echo "Usage: $0 [-library]" echo echo "-library: Build the component as a dynamic library (DLL). Default is to" echo " include the component source code directly in the application." echo " A DLL may be preferable for technical or licensing (LGPL) reasons." echo exit 0 fi # only ask to accept the license text once if [ ! -f .licenseAccepted ]; then # determine if opensource or commercial package if [ -f LICENSE.LGPL ]; then # opensource edition while true; do echo echo "You are licensed to use this software under the terms of" echo "the GNU General Public License (GPL) version 3, or" echo "the GNU Lesser General Public License (LGPL) version 2.1" echo "with certain additional extra rights as specified in the" echo "Nokia Qt LGPL Exception version 1.1." echo echo "Type 'G' to view the GNU General Public License (GPL) version 3." echo "Type 'L' to view the GNU Lesser General Public License (LGPL) version 2.1." echo "Type 'E' to view the Nokia Qt LGPL Exception version 1.1." echo "Type 'yes' to accept this license offer." echo "Type 'no' to decline this license offer." echo echo "Do you accept the terms of this license? " read answer echo if [ "x$answer" = "xno" ]; then echo "You are not licensed to use this software." echo exit 1 elif [ "x$answer" = "xyes" ]; then echo license accepted > .licenseAccepted break elif [ "x$answer" = "xe" -o "x$answer" = "xE" ]; then more LGPL_EXCEPTION.txt elif [ "x$answer" = "xl" -o "x$answer" = "xL" ]; then more LICENSE.LGPL elif [ "x$answer" = "xg" -o "x$answer" = "xG" ]; then more LICENSE.GPL3 fi done else while true; do echo echo "Please choose your region." echo echo "Type 1 for North or South America." echo "Type 2 for anywhere outside North and South America." echo echo "Select: " read region if [ "x$region" = "x1" ]; then licenseFile=LICENSE.US break; elif [ "x$region" = "x2" ]; then licenseFile=LICENSE.NO break; fi done while true; do echo echo "License Agreement" echo echo "Type '?' to view the Qt Solutions Commercial License." echo "Type 'yes' to accept this license offer." echo "Type 'no' to decline this license offer." echo echo "Do you accept the terms of this license? " read answer echo if [ "x$answer" = "xno" ]; then echo "You are not licensed to use this software." echo exit 1 elif [ "x$answer" = "xyes" ]; then echo license accepted > .licenseAccepted cp "$licenseFile" LICENSE rm LICENSE.US rm LICENSE.NO break elif [ "x$answer" = "x?" ]; then more "$licenseFile" fi done fi fi rm -f config.pri if [ "x$1" = "x-library" ]; then echo "Configuring to build this component as a dynamic library." echo "SOLUTIONS_LIBRARY = yes" > config.pri fi echo echo "This component is now configured." echo echo "To build the component library (if requested) and example(s)," echo "run qmake and your make command." echo echo "To remove or reconfigure, run make distclean." echo merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/000077500000000000000000000000001255273444100252525ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/000077500000000000000000000000001255273444100262165ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/classic.css000066400000000000000000000026501255273444100303540ustar00rootroot00000000000000h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; } a:link { color: #004faf; text-decoration: none } a:visited { color: #672967; text-decoration: none } a.obsolete { color: #661100; text-decoration: none } a.compat { color: #661100; text-decoration: none } a.obsolete:visited { color: #995500; text-decoration: none } a.compat:visited { color: #995500; text-decoration: none } td.postheader { font-family: sans-serif } tr.address { font-family: sans-serif } body { background: #ffffff; color: black } table tr.odd { background: #f0f0f0; color: black; } table tr.even { background: #e4e4e4; color: black; } table.annotated th { padding: 3px; text-align: left } table.annotated td { padding: 3px; } table tr pre { padding-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; border: none; background: none } tr.qt-style { background: #96E066; color: black } body pre { padding: 0.2em; border: #e7e7e7 1px solid; background: #f1f1f1; color: black } table tr.qt-code pre { padding: 0.2em; border: #e7e7e7 1px solid; background: #f1f1f1; color: black } span.preprocessor, span.preprocessor a { color: darkblue; } span.comment { color: darkred; font-style: italic } span.string,span.char { color: darkgreen; } .title { text-align: center } .subtitle { font-size: 0.8em } .small-subtitle { font-size: 0.65em } merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/images/000077500000000000000000000000001255273444100274635ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/images/qt-logo.png000066400000000000000000000077531255273444100315670ustar00rootroot00000000000000‰PNG  IHDR9C©Ã:u²IDATxœbüÿÿ?ÃÿÿbhÿÿJnÿÿJnÿÿJnÿÿJnÿÿJnÿÿJnÿÿ´Ô¡ ÄЄÇþ—«`šúˆ¯r'Q½úö( !! ¨ŠËN€ÿÿbÄ_üû÷‘‰‘pðÿûÿï?Ã?F&ˆ¨æFÿÿÂçÖÿÿ312þùû÷à•ãG.Ÿy÷í§ØG&Þ?ÿ}åeç—ãW•ãS•áS’à–ágbÄð’ë˜( ~ÿÿ™þýÿÇÄÈtë齸¾‚“gŽ0sÿVv`fcdøÀÄÈÀøŸáßßÿ˜™ØY8øØE¹$¥xdùUäùUex•$xd9D˜™˜ÐÌDr=#‰‰ÿÿ®ÿÿÿgdd|úö…U¾×£Çw9D„-¼þó 2üüþb8Œøÿïÿ¿¿ÿÿüþ÷ûÏ¿ßÿýebddcæàeá”â•—åS‘çW•áS–ä‘äcaBšÿÿÿý#Úõÿÿ®ÿþÿcfd®]Ðþèñ-Iµ\ _¿20110`x™‘………•‘êz†ß½ÿóú­w—þýûËÀÈÈÆÌÎÃÆ/Â).É#'˯"ǯ*Ë«,É+'Ì)ÎÊÄÆÌ@lYÿÿ®@}ýñ­fŠÍÛ¯Ÿ™™˜Í¼ÿñ 2üýÃ@d†‡$þ1üûûïÏHØÿÿÃÀÀÀÊÄÎÃÆ'Ä)&É#'ç,ϯ*˧,Å#/Â%ÁÆÌËXÿÿ®ÿþÿgfd¼óìþÛOï˜X8Y9þ±s2üÿG¬Cþ3üg@ fFff.ˆëÿ3üûý÷×ÓO÷|¸ù÷ÿv†ÿ ,Ìl¼%›•‰íï¿?fRŽöò¾_ÿ|bb`yýì—‰š3+Ô‡Œ,ÌŒ,Ä4â ÿÿ"Í­ÿÿ3°°2>{ð›•E4ÌÞ‡‰‰ùßÿ ˯N½ÿþ¶œˆ´ƒ‡Ô¦ý+×ÙÂÀÀ‘òQefdþñ•áÏ›?6:&£þýÿûþÇ›÷?ß|†¨„ÿÿ"=\ßÿn¤¢£$¡ðÿÿFFfFæÿ ÿ/¼<ÆÍÆóíû/.þÌâ,«le```d`b``0”´º{HTóOØÅWƒl0ÿÿ"­`ddøó›éóëßf¦ ÿýcfbb`dx÷ýÕ›oÏ y…‘‰APŒõâý› ,Ì,ÿýeebWÒaúá,©ðûïˆQܬ¼±º…LŒL>Ü<ùd158ÿÿ"!\ÿÿg`bbøõã?Ã7F]u¨ Æ?Þ~ûý…‰‘é?Ãÿÿÿÿóñ³¼xÿæÃ× žƒŠÖß!Èÿÿ"1\™~|ûÏðŸU^\šÿ¾üúøûï/VîÿÿÿýÿÏÀÁÅüùÇ×_? p @J$OG½œ¹%/ZÞ-«š1êã÷‹ÎOæfãýþï‘ÿÿ"9 üúñŸ™U„_ˆÚXùÏÀÀðýÏ׿ÿÿÂÛ.llŒÿüúúã¬ð”—úòûÅñ ÇàM€o>­¼5á矬LlÜl¼ÄØÿÿ”“1€0 m’ŠÒ00ðÿw¢„TVx€å“OþÚ ‘bµ¥ÑýýGB”È8ÂGt‘UÕ´ÙXp¢lóÅIöëüÒÿÿ”–I ×ÿ¿×¶ñR/‚ùÁ@2ä× Y{» ]«“€d9#u–¬lÉe+â}ÇN6ÿÿ¢ÉXfò£Jÿÿ"Õ­ÿ™˜ÿÿÿûûJ¬13²002³øÿ ŒÈ¤Á@‘Kÿÿ"Å­ŒÐz‹áïŸo?¿1000@{µ ¬ÌlÈýÏ¿ÿ™`éä?ï¿ßÿÁ2Ùÿÿ"¹ŽecgdøûëÝç HÝ.fFfˆ³þþùÏÀÄÂɆèå}þõñϿߌŒŒ”Œøÿÿ"٭윌 ž½yÁí0200ð°ñ³0³Ac™‘ñ×Ïì¬ì<œ\po¿½üûï/…ã.ÿÿ"Á­Î?;#ûß›!Íäÿhågâdáþ÷ÿddîû·¼\<|\¼§300<ù|ÿ?jóŒôÿÿ"-½þûÇÀÂöŸU€åü« ŒŒL9D„8Eÿþû iˆúð[ZPŒ‡ƒç?¬zïý5fFä6ʨ?™™ˆ oÿÿ"½Ìbú')Ã~öÖåÏß?3311ügø÷ÿ/ «² Ö¯¿˜˜ÿýczÿú²Ãß¿˜™>ýøpçývfŽÿÿÃLŒÌ~ÿgþõíÏ'"³ÿÿ"Ù­ÿü—QdùæÁ¡Ë' Ãi öò¾¿ÿüâà`þü–áÍ¿'?ÈHÛ…—ÇžyÄÁÊþûïï?ÿ200üÿÏ Æ%©)hþé1Ÿ.‡7?‡àŸÿ†.ÿÿ"Í­ŒŒ 3ˆ2²Šý¹yÄVfFfGyOÕð‡/ŸÙõ:Á?ÍÃÄéÿÿÿLLÌ [ï,ýÿï?/?ËÛÏï^}|Ã:`luX¸-åtàNîÿþ Xÿÿ"½¿ÅÀð÷ß_Ck¾ÍǶî>w…™ù÷Ÿß©:»éÍæ«7WlšSÔÉÀÀðçÿofFæcOv{²“‘ODŠé÷Ÿ7톚ÂÀÀÅÁ)*$ÀÈÄ@dÿÿ"¹ÏÍÈÈðç7ƒˆ$£‚1CRgɉi[¤…Å!½.f&v_#†ÿÿýûÿ—•‰íɧ{='JX˜Xþÿc`aÿgäÆÕº¹]R\ØÛÌ…å?Ó§_ïï¾»vàѦ·ß_°2±ìÿÿ"g|€‘‘áçÚfœîÛ•®(mª¡ )\!­&&&F¦ÓÏö·Ë{ûí ÷¿ÿÿb“aáýÚ~>qéci.ŽO?ßøñößÿÜl¼Ää-ÿÿ"sÜ…‘‘áÇ¿æ<Ϟݛçn%î›á‘h«mÆÈÈ)tûN–­¾6ƒ›•âPˆ–ß¿þ³0³Hˆñ~þýæã—ÌŒ,ú|ëןhmÂÿØF>ÿÿÿÏÂÄÊÃÆ1Ó:ÿÿ¢´ýÊÄÄðçÏ19Æßÿ_/ر†á÷¿ßÿþÿccæÈ7kŸä±žŸ]èÏÿßÛ¯ŒŒŒ¿ÿýå’’ãSaÀÑÞÿÿ¢B[ûß?¶ºö|}kfž¼~‘…á?ÉkF¶/¿>9*øq°pýÅQÿÿ¢( @##ïŸÿe”™ÿ1| ›QXænäÈÏÅû÷ÿŸç_þúûƒ‰ #Æ¡³p7½ýþB]X?F·çÔÿÿ¢‚[aÎý'§ÌþKîãô›ù+ž ðqòüþ÷ëÛï/ÌŒ,,L¬ Œ L Ìðáö¿ÿþþþûë7tªƒ‘…‰ÅDÊ¡Úz /ÿÿÿÿ°#300ÿÿÂíVˆ·‰nCœËÄÈ")"üçïß/¿?110q°pýûÿ÷ï¿¿þþþýïl†‡_‚GV’WNŽOUž_UIPSCØ…‰õ?Ã\e``ÿÿÂ=_ðR(2r-dúŒ‰‘‘‘á?ÿ_¿ÿù™šûóŸá?+7Ÿ8Œ$œŸŠ¼€šŸŠ$¯¼§ +Â:†xBÿÿÂêVFn^†?¿ÿ³þcbdd@êyÀÒÄ‚¿ÿÿþþûûÏßßþÿf```abãaå㔆L»)ð«Êñ«JñÈ sI°2±¡Ò¤!#3Áš ÿÿÂ>Ç ™^š´y^~o —(·µ?+33d:óïŸÈ.cåf…L©ÉÊò©(¨Éñ©Hñ*sJ`ΠMg222’Ú¥ÿÿž˜™þýû—ç›ÄÇÁ—15ëý·÷,lŒÌ ¬Ül¼"<’ Single Application
  Home

Single Application

Description

The QtSingleApplication component provides support for applications that can be only started once per user.

For some applications it is useful or even critical that they are started only once by any user. Future attempts to start the application should activate any already running instance, and possibly perform requested actions, e.g. loading a file, in that instance.

The QtSingleApplication class provides an interface to detect a running instance, and to send command strings to that instance. For console (non-GUI) applications, the QtSingleCoreApplication variant is provided, which avoids dependency on QtGui.

Classes

Examples

Tested platforms

  • Qt 4.4, 4.5 / Windows XP / MSVC.NET 2005
  • Qt 4.4, 4.5 / Linux / gcc
  • Qt 4.4, 4.5 / MacOS X 10.5 / gcc


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile-members.html000066400000000000000000000440111255273444100332020ustar00rootroot00000000000000 List of All Members for QtLockedFile
  Home

List of All Members for QtLockedFile

This is the complete list of members for QtLockedFile, including inherited members.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtlockedfile.html000066400000000000000000000243041255273444100315550ustar00rootroot00000000000000 QtLockedFile Class Reference
  Home

QtLockedFile Class Reference

The QtLockedFile class extends QFile with advisory locking functions. More...

 #include <QtLockedFile>

Inherits QFile.

Public Types

  • enum LockMode { ReadLock, WriteLock, NoLock }

Public Functions

  • 24 public functions inherited from QFile
  • 33 public functions inherited from QIODevice
  • 29 public functions inherited from QObject

Additional Inherited Members

  • 1 property inherited from QObject
  • 1 public slot inherited from QObject
  • 4 signals inherited from QIODevice
  • 1 signal inherited from QObject
  • 1 public type inherited from QObject
  • 14 static public members inherited from QFile
  • 4 static public members inherited from QObject
  • 5 protected functions inherited from QIODevice
  • 7 protected functions inherited from QObject
  • 2 protected variables inherited from QObject

Detailed Description

The QtLockedFile class extends QFile with advisory locking functions.

A file may be locked in read or write mode. Multiple instances of QtLockedFile, created in multiple processes running on the same machine, may have a file locked in read mode. Exactly one instance may have it locked in write mode. A read and a write lock cannot exist simultaneously on the same file.

The file locks are advisory. This means that nothing prevents another process from manipulating a locked file using QFile or file system functions offered by the OS. Serialization is only guaranteed if all processes that access the file use QLockedFile. Also, while holding a lock on a file, a process must not open the same file again (through any API), or locks can be unexpectedly lost.

The lock provided by an instance of QtLockedFile is released whenever the program terminates. This is true even when the program crashes and no destructors are called.


Member Type Documentation

enum QtLockedFile::LockMode

This enum describes the available lock modes.

ConstantValueDescription
QtLockedFile::ReadLock1A read lock.
QtLockedFile::WriteLock2A write lock.
QtLockedFile::NoLock0Neither a read lock nor a write lock.


Member Function Documentation

QtLockedFile::QtLockedFile ()

Constructs an unlocked QtLockedFile object. This constructor behaves in the same way as QFile::QFile().

See also QFile::QFile().

QtLockedFile::QtLockedFile ( const QString & name )

Constructs an unlocked QtLockedFile object with file name. This constructor behaves in the same way as QFile::QFile(const QString&).

See also QFile::QFile().

QtLockedFile::~QtLockedFile ()

Destroys the QtLockedFile object. If any locks were held, they are released.

bool QtLockedFile::isLocked () const

Returns true if this object has a in read or write lock; otherwise returns false.

See also lockMode().

bool QtLockedFile::lock ( LockMode mode, bool block = true )

Obtains a lock of type mode. The file must be opened before it can be locked.

If block is true, this function will block until the lock is aquired. If block is false, this function returns false immediately if the lock cannot be aquired.

If this object already has a lock of type mode, this function returns true immediately. If this object has a lock of a different type than mode, the lock is first released and then a new lock is obtained.

This function returns true if, after it executes, the file is locked by this object, and false otherwise.

See also unlock(), isLocked(), and lockMode().

LockMode QtLockedFile::lockMode () const

Returns the type of lock currently held by this object, or QtLockedFile::NoLock.

See also isLocked().

bool QtLockedFile::open ( OpenMode mode )

Opens the file in OpenMode mode.

This is identical to QFile::open(), with the one exception that the Truncate mode flag is disallowed. Truncation would conflict with the advisory file locking, since the file would be modified before the write lock is obtained. If truncation is required, use resize(0) after obtaining the write lock.

Returns true if successful; otherwise false.

See also QFile::open() and QFile::resize().

bool QtLockedFile::unlock ()

Releases a lock.

If the object has no lock, this function returns immediately.

This function returns true if, after it executes, the file is not locked by this object, and false otherwise.

See also lock(), isLocked(), and lockMode().


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
qtsingleapplication-example-loader.html000066400000000000000000000174001255273444100357760ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html Loading Documents
  Home

Loading Documents

The application in this example loads or prints the documents passed as commandline parameters to further instances of this application.

 /****************************************************************************
 **
 ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 ** All rights reserved.
 ** Contact: Nokia Corporation (qt-info@nokia.com)
 **
 ** This file is part of a Qt Solutions component.
 **
 ** Commercial Usage
 ** Licensees holding valid Qt Commercial licenses may use this file in
 ** accordance with the Qt Solutions Commercial License Agreement provided
 ** with the Software or, alternatively, in accordance with the terms
 ** contained in a written agreement between you and Nokia.
 **
 ** GNU Lesser General Public License Usage
 ** Alternatively, this file may be used under the terms of the GNU Lesser
 ** General Public License version 2.1 as published by the Free Software
 ** Foundation and appearing in the file LICENSE.LGPL included in the
 ** packaging of this file.  Please review the following information to
 ** ensure the GNU Lesser General Public License version 2.1 requirements
 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
 **
 ** In addition, as a special exception, Nokia gives you certain
 ** additional rights. These rights are described in the Nokia Qt LGPL
 ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
 ** package.
 **
 ** GNU General Public License Usage
 ** Alternatively, this file may be used under the terms of the GNU
 ** General Public License version 3.0 as published by the Free Software
 ** Foundation and appearing in the file LICENSE.GPL included in the
 ** packaging of this file.  Please review the following information to
 ** ensure the GNU General Public License version 3.0 requirements will be
 ** met: http://www.gnu.org/copyleft/gpl.html.
 **
 ** Please note Third Party Software included with Qt Solutions may impose
 ** additional restrictions and it is the user's responsibility to ensure
 ** that they have met the licensing requirements of the GPL, LGPL, or Qt
 ** Solutions Commercial license and the relevant license of the Third
 ** Party Software they are using.
 **
 ** If you are unsure which license is appropriate for your use, please
 ** contact Nokia at qt-info@nokia.com.
 **
 ****************************************************************************/

 #include <qtsingleapplication.h>
 #include <QtCore/QFile>
 #include <QtGui/QMainWindow>
 #include <QtGui/QPrinter>
 #include <QtGui/QPainter>
 #include <QtGui/QTextEdit>
 #include <QtGui/QMdiArea>
 #include <QtCore/QTextStream>

 class MainWindow : public QMainWindow
 {
     Q_OBJECT
 public:
     MainWindow();

 public slots:
     void handleMessage(const QString& message);

 signals:
     void needToShow();

 private:
     QMdiArea *workspace;
 };

The user interface in this application is a QMainWindow subclass with a QMdiArea as the central widget. It implements a slot handleMessage() that will be connected to the messageReceived() signal of the QtSingleApplication class.

 MainWindow::MainWindow()
 {
     workspace = new QMdiArea(this);

     setCentralWidget(workspace);
 }

The MainWindow constructor creates a minimal user interface.

 void MainWindow::handleMessage(const QString& message)
 {
     enum Action {
         Nothing,
         Open,
         Print
     } action;

     action = Nothing;
     QString filename = message;
     if (message.toLower().startsWith("/print ")) {
         filename = filename.mid(7);
         action = Print;
     } else if (!message.isEmpty()) {
         action = Open;
     }
     if (action == Nothing) {
         emit needToShow();
         return;
     }

     QFile file(filename);
     QString contents;
     if (file.open(QIODevice::ReadOnly))
         contents = file.readAll();
     else
         contents = "[[Error: Could not load file " + filename + "]]";

     QTextEdit *view = new QTextEdit;
     view->setPlainText(contents);

     switch(action) {

The handleMessage() slot interprets the message passed in as a filename that can be prepended with /print to indicate that the file should just be printed rather than loaded.

     case Print:
         {
             QPrinter printer;
             view->print(&printer);
             delete view;
         }
         break;

     case Open:
         {
             workspace->addSubWindow(view);
             view->setWindowTitle(message);
             view->show();
             emit needToShow();
         }
         break;
     default:
         break;
     };
 }

Loading the file will also activate the window.

 #include "main.moc"

 int main(int argc, char **argv)
 {
     QtSingleApplication instance("File loader QtSingleApplication example", argc, argv);
     QString message;
     for (int a = 1; a < argc; ++a) {
         message += argv[a];
         if (a < argc-1)
             message += " ";
     }

     if (instance.sendMessage(message))
         return 0;

The main entry point function creates a QtSingleApplication object, and creates a message to send to a running instance of the application. If the message was sent successfully the process exits immediately.

     MainWindow mw;
     mw.handleMessage(message);
     mw.show();

     QObject::connect(&instance, SIGNAL(messageReceived(const QString&)),
                      &mw, SLOT(handleMessage(const QString&)));

     instance.setActivationWindow(&mw, false);
     QObject::connect(&mw, SIGNAL(needToShow()), &instance, SLOT(activateWindow()));

     return instance.exec();
 }

If the message could not be sent the application starts up. Note that false is passed to the call to setActivationWindow() to prevent automatic activation for every message received, e.g. when the application should just print a file. Instead, the message handling function determines whether activation is requested, and signals that by emitting the needToShow() signal. This is then simply connected directly to QtSingleApplication's activateWindow() slot.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
qtsingleapplication-example-trivial.html000066400000000000000000000131351255273444100362030ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html A Trivial Example
  Home

A Trivial Example

The application in this example has a log-view that displays messages sent by further instances of the same application.

The example demonstrates the use of the QtSingleApplication class to detect and communicate with a running instance of the application using the sendMessage() API. The messageReceived() signal is used to display received messages in a QTextEdit log.

 /****************************************************************************
 **
 ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 ** All rights reserved.
 ** Contact: Nokia Corporation (qt-info@nokia.com)
 **
 ** This file is part of a Qt Solutions component.
 **
 ** Commercial Usage
 ** Licensees holding valid Qt Commercial licenses may use this file in
 ** accordance with the Qt Solutions Commercial License Agreement provided
 ** with the Software or, alternatively, in accordance with the terms
 ** contained in a written agreement between you and Nokia.
 **
 ** GNU Lesser General Public License Usage
 ** Alternatively, this file may be used under the terms of the GNU Lesser
 ** General Public License version 2.1 as published by the Free Software
 ** Foundation and appearing in the file LICENSE.LGPL included in the
 ** packaging of this file.  Please review the following information to
 ** ensure the GNU Lesser General Public License version 2.1 requirements
 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
 **
 ** In addition, as a special exception, Nokia gives you certain
 ** additional rights. These rights are described in the Nokia Qt LGPL
 ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
 ** package.
 **
 ** GNU General Public License Usage
 ** Alternatively, this file may be used under the terms of the GNU
 ** General Public License version 3.0 as published by the Free Software
 ** Foundation and appearing in the file LICENSE.GPL included in the
 ** packaging of this file.  Please review the following information to
 ** ensure the GNU General Public License version 3.0 requirements will be
 ** met: http://www.gnu.org/copyleft/gpl.html.
 **
 ** Please note Third Party Software included with Qt Solutions may impose
 ** additional restrictions and it is the user's responsibility to ensure
 ** that they have met the licensing requirements of the GPL, LGPL, or Qt
 ** Solutions Commercial license and the relevant license of the Third
 ** Party Software they are using.
 **
 ** If you are unsure which license is appropriate for your use, please
 ** contact Nokia at qt-info@nokia.com.
 **
 ****************************************************************************/

 #include <qtsingleapplication.h>
 #include <QtGui/QTextEdit>

 class TextEdit : public QTextEdit
 {
     Q_OBJECT
 public:
     TextEdit(QWidget *parent = 0)
         : QTextEdit(parent)
     {}
 public slots:
     void append(const QString &str)
     {
         QTextEdit::append(str);
     }
 };

 #include "main.moc"

 int main(int argc, char **argv)
 {
     QtSingleApplication instance(argc, argv);

The example has only the main entry point function. A QtSingleApplication object is created immediately.

     if (instance.sendMessage("Wake up!"))
         return 0;

If another instance of this application is already running, sendMessage() will succeed, and this instance just exits immediately.

     TextEdit logview;
     logview.setReadOnly(true);
     logview.show();

Otherwise the instance continues as normal and creates the user interface.

     instance.setActivationWindow(&logview);

     QObject::connect(&instance, SIGNAL(messageReceived(const QString&)),
                      &logview, SLOT(append(const QString&)));

     return instance.exec();

The logview object is also set as the application's activation window. Every time a message is received, the window will be raised and activated automatically.

The messageReceived() signal is also connected to the QTextEdit's append() slot. Every message received from further instances of this application will be displayed in the log.

Finally the event loop is entered.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
qtsingleapplication-members.html000066400000000000000000000677431255273444100345500ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html List of All Members for QtSingleApplication
  Home

List of All Members for QtSingleApplication

This is the complete list of members for QtSingleApplication, including inherited members.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
qtsingleapplication-obsolete.html000066400000000000000000000035251255273444100347160ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html Obsolete Members for QtSingleApplication
  Home

Obsolete Members for QtSingleApplication

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

Public Functions

  • void initialize ( bool dummy = true )   (obsolete)

Member Function Documentation

void QtSingleApplication::initialize ( bool dummy = true )


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.dcf000066400000000000000000000066701255273444100327570ustar00rootroot00000000000000
QtLockedFile LockMode QtLockedFile::WriteLock QtLockedFile::NoLock QtLockedFile::ReadLock isLocked lock lockMode open unlock
QtSingleApplication activateWindow activationWindow id isRunning messageReceived sendMessage setActivationWindow
QtSingleCoreApplication id isRunning messageReceived sendMessage
A non-GUI example
A Trivial Example
Loading Documents
Single Application
merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.html000066400000000000000000000462541255273444100331710ustar00rootroot00000000000000 QtSingleApplication Class Reference
  Home

QtSingleApplication Class Reference

The QtSingleApplication class provides an API to detect and communicate with running instances of an application. More...

 #include <QtSingleApplication>

Inherits QApplication.

Public Functions

Public Slots

Signals

Additional Inherited Members


Detailed Description

The QtSingleApplication class provides an API to detect and communicate with running instances of an application.

This class allows you to create applications where only one instance should be running at a time. I.e., if the user tries to launch another instance, the already running instance will be activated instead. Another usecase is a client-server system, where the first started instance will assume the role of server, and the later instances will act as clients of that server.

By default, the full path of the executable file is used to determine whether two processes are instances of the same application. You can also provide an explicit identifier string that will be compared instead.

The application should create the QtSingleApplication object early in the startup phase, and call isRunning() or sendMessage() to find out if another instance of this application is already running. Startup parameters (e.g. the name of the file the user wanted this new instance to open) can be passed to the running instance in the sendMessage() function.

If isRunning() or sendMessage() returns false, it means that no other instance is running, and this instance has assumed the role as the running instance. The application should continue with the initialization of the application user interface before entering the event loop with exec(), as normal. The messageReceived() signal will be emitted when the application receives messages from another instance of the same application.

If isRunning() or sendMessage() returns true, another instance is already running, and the application should terminate or enter client mode.

If a message is received it might be helpful to the user to raise the application so that it becomes visible. To facilitate this, QtSingleApplication provides the setActivationWindow() function and the activateWindow() slot.

Here's an example that shows how to convert an existing application to use QtSingleApplication. It is very simple and does not make use of all QtSingleApplication's functionality (see the examples for that).

 // Original
 int main(int argc, char **argv)
 {
     QApplication app(argc, argv);

     MyMainWidget mmw;

     mmw.show();
     return app.exec();
 }

 // Single instance
 int main(int argc, char **argv)
 {
     QtSingleApplication app(argc, argv);

     if (app.isRunning())
         return 0;

     MyMainWidget mmw;

     app.setActivationWindow(&mmw);

     mmw.show();
     return app.exec();
 }

Once this QtSingleApplication instance is destroyed(for example, when the user quits), when the user next attempts to run the application this instance will not, of course, be encountered. The next instance to call isRunning() or sendMessage() will assume the role as the new running instance.

For console (non-GUI) applications, QtSingleCoreApplication may be used instead of this class, to avoid the dependency on the QtGui library.

See also QtSingleCoreApplication.


Member Function Documentation

QtSingleApplication::QtSingleApplication ( int & argc, char ** argv, bool GUIenabled = true )

Creates a QtSingleApplication object. The application identifier will be QCoreApplication::applicationFilePath(). argc, argv, and GUIenabled are passed on to the QAppliation constructor.

If you are creating a console application (i.e. setting GUIenabled to false), you may consider using QtSingleCoreApplication instead.

QtSingleApplication::QtSingleApplication ( const QString & appId, int & argc, char ** argv )

Creates a QtSingleApplication object with the application identifier appId. argc and argv are passed on to the QAppliation constructor.

QtSingleApplication::QtSingleApplication ( int & argc, char ** argv, Type type )

Creates a QtSingleApplication object. The application identifier will be QCoreApplication::applicationFilePath(). argc, argv, and type are passed on to the QAppliation constructor.

QtSingleApplication::QtSingleApplication ( Display * dpy, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0 )

Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be QCoreApplication::applicationFilePath(). dpy, visual, and cmap are passed on to the QApplication constructor.

QtSingleApplication::QtSingleApplication ( Display * dpy, int & argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0 )

Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be QCoreApplication::applicationFilePath(). dpy, argc, argv, visual, and cmap are passed on to the QApplication constructor.

QtSingleApplication::QtSingleApplication ( Display * dpy, const QString & appId, int argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap = 0 )

Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be appId. dpy, argc, argv, visual, and cmap are passed on to the QApplication constructor.

void QtSingleApplication::activateWindow ()   [slot]

De-minimizes, raises, and activates this application's activation window. This function does nothing if no activation window has been set.

This is a convenience function to show the user that this application instance has been activated when he has tried to start another instance.

This function should typically be called in response to the messageReceived() signal. By default, that will happen automatically, if an activation window has been set.

See also setActivationWindow(), messageReceived(), and initialize().

QWidget * QtSingleApplication::activationWindow () const

Returns the applications activation window if one has been set by calling setActivationWindow(), otherwise returns 0.

See also setActivationWindow().

QString QtSingleApplication::id () const

Returns the application identifier. Two processes with the same identifier will be regarded as instances of the same application.

bool QtSingleApplication::isRunning ()

Returns true if another instance of this application is running; otherwise false.

This function does not find instances of this application that are being run by a different user (on Windows: that are running in another session).

See also sendMessage().

void QtSingleApplication::messageReceived ( const QString & message )   [signal]

This signal is emitted when the current instance receives a message from another instance of this application.

See also sendMessage(), setActivationWindow(), and activateWindow().

bool QtSingleApplication::sendMessage ( const QString & message, int timeout = 5000 )   [slot]

Tries to send the text message to the currently running instance. The QtSingleApplication object in the running instance will emit the messageReceived() signal when it receives the message.

This function returns true if the message has been sent to, and processed by, the current instance. If there is no instance currently running, or if the running instance fails to process the message within timeout milliseconds, this function return false.

See also isRunning() and messageReceived().

void QtSingleApplication::setActivationWindow ( QWidget * aw, bool activateOnMessage = true )

Sets the activation window of this application to aw. The activation window is the widget that will be activated by activateWindow(). This is typically the application's main window.

If activateOnMessage is true (the default), the window will be activated automatically every time a message is received, just prior to the messageReceived() signal being emitted.

See also activationWindow(), activateWindow(), and messageReceived().


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.index000066400000000000000000000406331255273444100333270ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qch000066400000000000000000001460001255273444100327660ustar00rootroot00000000000000SQLite format 3@ )ì3ûöñì    ^Acom.nokia.qtsolutions.qtsingleapplication_2.6 µ÷àµ)Yqtsingleapplication1solutionsqt ººD Qt Solutions: Single Application ëùòëñ/ûöñ.-, ¦¦qb5H!EE‚ tableNamespaceTableNamespaceTableCREATE TABLE NamespaceTable (Id INTEGER PRIMARY KEY,Name TEXT )n!]]‚%tableFilterAttributeTableFilterAttributeTableCREATE TABLE FilterAttributeTable (Id INTEGER PRIMARY KEY, Name TEXT )P!II‚tableFilterNameTableFilterNameTableCREATE TABLE FilterNameTable (Id INTEGER PRIMARY KEY, Name TEXT )H!99‚!tableFilterTableFilterTableCREATE TABLE FilterTable (NameId INTEGER, FilterAttributeId INTEGER ) ((c$‚8!55„ tableIndexTableIndexTableCREATE TABLE IndexTable (Id INTEGER PRIMARY KEY, Name TEXT, Identifier TEXT, NamespaceId INTEGER, FileId INTEGER, Anchor TEXT )>!EEutableIndexItemTableIndexItemTable CREATE TABLE IndexItemTable (Id INTEGER, IndexId INTEGER )h!MM‚9tableIndexFilterTableIndexFilterTable CREATE TABLE IndexFilterTable (FilterAttributeId INTEGER, IndexId INTEGER )n!AA‚]tableContentsTableContentsTable CREATE TABLE ContentsTable (Id INTEGER PRIMARY KEY, NamespaceId INTEGER, Data BLOB )  WŸùòëäÝÖÏÈÁº³¬¥ž—‰‚{tmf_XQJC<5.'  ýöïèáÚÓÌž·°©¢›”†xqjc\UNG@92+$úóìåÞ×ÐÉ»´­¦ŸWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)(' & % $ # " !                ··„F‰ index.html\Qt Solutions: Single Application DocumentationPqtsingleapplication-example-trivial.html"A Trivial ExampleXqtsinglecoreapplication-example-console.html"A non-GUI exampleNqtsingleapplication-example-loader.html"Loading Documentsindex.html$Single Application ëùòë TTWV‚ !YY‚QtableContentsFilterTableContentsFilterTable CREATE TABLE ContentsFilterTable (FilterAttributeId INTEGER, ContentsId INTEGER )| !aa‚9tableFileAttributeSetTableFileAttributeSetTableCREATE TABLE FileAttributeSetTable (Id INTEGER, FilterAttributeId INTEGER )D !AA‚ tableFileDataTableFileDataTableCREATE TABLE FileDataTable (Id INTEGER PRIMARY KEY, Data BLOB )` !II‚1tableFileFilterTableFileFilterTableCREATE TABLE FileFilterTable (FilterAttributeId INTEGER, FileId INTEGER ) ëùòëç+ûöñìç' $ CùòëäÝÖÏÈÁº³¬¥ž—‰‚{tmf_XQJC            O÷”ÓWÆLÇ’OA U9images/qt-logo.png qt-logo.png3 99classic.css classic.css=Qqtsinglecoreapplication-example-console.htmlA non-GUI examplex)Qqtsingleapplication-example-loader.htmlLoading Documents})qtsinglecoreapplication.htmlQtSingleCoreApplication Class Referencez-Qqtsingleapplication-example-trivial.htmlA Trivial Example?5Uindex.htmlSingle Application~mqtsingleapplication.htmlQtSingleApplication Class ReferenceaQ}qtlockedfile.htmlQtLockedFile Class Reference   }}pSp !AA‚atableFileNameTableFileNameTableCREATE TABLE FileNameTable (FolderId INTEGER, Name TEXT, FileId INTEGER, Title TEXT )`!99‚QtableFolderTableFolderTableCREATE TABLE FolderTable(Id INTEGER PRIMARY KEY, Name Text, NamespaceID INTEGER )*!AAUtableMetaDataTableMetaDataTableCREATE TABLE MetaDataTable(Name Text, Value BLOB ) ññ qdoc žážA=YCreationDate2009-12-16T11:43:405qchVersion1.0,®k@´g÷¡DÐ<¦(§àÎCtN_= ?ÙÇäƒÒNºðb~[«<¸„L”9™L׃· Ÿ¢?Ș q.°P}uЦ!ù/Ø ññ€üŽèÝÇßÉÿ¶ÁoԻʯõÐ½ØØÎA×ú†Þ0qô¼Ây€-†ãM›€£ 0€k<@ÝÏh^¼!¢P&É#QÄF*¿ÏíŸdw*e¶Ã0¸v”½°þÔ¡ïX=À.øÝ ñµ#ÇÚQx¹5Fˆ£ÆÃ©› ò<#F•l·X[z;±à4‡§çäf/Ä×ÇWðu™ãÝ|Ýc·R8 »÷U qŽ»ÝýÆ/ˆóè6`wbY¢d¾o˜}º!®[ ÞÎôÉÉÐpó-6#º¼º°îƒj|z Trúyâ&LWvxåà€ úR&œE3rÙlü¡>hîeG¤P`–Ê,€ÜQâl-æmœu&ÍÁä‡ÄöÃñ‚hHÎhv˪HíiP£ Âã¥ÐîÿE` r0EÜRÅ1?Ý hÃ@iÕ˜ªìé±1ÈVØ*¢{¢ƒÂê)l°û‹ì%º²Éâ Q²&ûà@ùÓá -œ5Àî/±qVc¦‡„µÕöûésSUY³²us:/ì ¹`:R¼@6!´pñVUgá[‚ËINdʈËD@„DAA¤"s%ÁôÆ'ÊÌð"ÃØæE¨ÆÂ ²Ÿ~B‹y_룔׫@®°DÃ*U p¤ P[ QÊX()½e„:hK˜”ww42Ù(´hÚ•ÜtVu9xëhPÿ«œH"*^ì‹AÍ2L–ÚnÑ‚´¢®E‡ÊkjBkî“›”kˆ.üĤÔ Ÿ"ËPëÞ2E.Å'LÕRqÆšSÁ‹2ƒPSḯݤĦÑc,”i é…6,ïø±L°§“éÂ2zõÅ'_ÀƒhÆÿ°Í)œH’˜•TQaÊÕÌ­J-“4²¬˜Z0¥ónMäŸi9 óS™Å-›(f§ð¼×BÉKmEG0õî«Ðí™TÉr¶.äí§ËçdÔi´ŠF] vWX‡ÎдéiÐnûÝòØÉ5µÞ¼Q ŠeŒjX1O™•*‹èÌ͉a*ç<@W–¶ìAåÛ%½é‘¢:eÚÚ¥$f&GP9:«Š@Ô,®P·‘Å剶³@.dTæ`W´^Ò“^Ȭ#ÕRómöº\¾~ÝölвìÄØ²)sЦ·Þl?ÐJý¬.KÂÑR§p¼Ô)­ëN UOÇ/áá¹´ÚPlÒîàÿA³’-¼BZ½ð‹ãëB*Ûìë6á ûÒ¨Û)°È„M‡°ß \¥1êOïW‘eæ»ûàiš:ûoÔÆÃ r½¥ýàoó‘qi+'p Õ Û=˜uu½“Ô½«}¥ßµA?é³Ü;¸±8¯<Å(ú/:4qE<Šu¤J;\ŒˆêuÀæ”áA†ÉLõæp¼QméTð 7æaãq_¸$DÙ½3ëëª×!,=¯ãÎn!a—m—˜ª~ÛýÐiÛ”«O2×¢³gÙÚ6Ýñoì·¬¶+½¸$Ê6­§­^»Ñ²ñcõ·¦?¹ªÂ?7™úžTráN‚m~™ØÚËsH7Hʲx€ëöŒ«ÏÓíhÛþ&‚´­´>ÒzB§ùWAýÌL©„UžÄîOf7NÝ)è‹®&¿ú ±ÙÚœk„ÚPJ@Ul‡þî۳ܥ)×ÜÀ·GÛ6Ýò›Áý[¶•,¯¦PÓݤn‰k9tÈ “TyšÍá Ã3,–HeSô*=s@^&ýÍ«Ìià4Ug­àš~ÚYàâ†gÖíW˜E¿•2ZkvËĬʖ©­S)áyÎbI¤ÖRúÅ@¯÷é`ïÚÍЕ]mÕ,­¡¶P,S«V[S§$æ6ŸÆí‰¹XÞ®•TÂh§If15˜‚ѱy3KZ}w½Ù8<>s5ÍîXTB2nifíh\[M\üšÒ¯[äØpjÖ˜f6WPÁÝ™ZÈjJ„EìkV¦&*fXÏ€çÅ XÅkÓ°I®qއE[ñ@´X“0}îoÁõ•vwãñ¬-Al7ŒºÁÀVrúí“¡÷þǼú‡¹îZcUrkXÌÑWзî¶ÐÙу:žׇx¤mÄ’,öüKsª äºrÂíOÕâ± =,fžn™öse½Ÿ=6BC6GeæÇÅrx¬(ëyøÕi) 8ª5KŸ†#ÏÇ6Ë©&˜õuV^€6ÉT*sƹªÙ?¢K4T5X@ºz+¤û’âýìáYOöпgýÓvþolgMdøãZÕóž¬êAsÌ? õa¨«ÙöÿŒå¬“±·©­´ÚM½5ìÕ^£ÓÚ'ÿÀÂó?§/½9ퟱQÌó_™ÚJ½²ÉÇSH,W5Eзªâe¡¸(0/L½jŽ;e>f;lÆX‚«âúÑ»ùŽeï„ã‹uåÀ  eÊâÅ–Ë›{¥Õ-73G¹åoêŒ ûϘM³SÜØM©SU‘ï,SŽ•CSæ.F,˜k §Ÿ¯1©ïýç;ê ùÌ´ˆñÄ6´›Ë]e¿¾¦vϽ”–òãŽBpÖÚùu¾ÇÅæ(óüò·‹´]ì¯ÂŸ9¾ÓÉܘj|îlmÞXÿ­·˜«ò∳Ôù¶ßbåxMS· så>JÁ (?l°·l7íêlVLÃémò+Í{/³ÖŽó·$&­¤F‰ù¡uÕ<‡dÒ(¤@Kqƒ®N¹áPF]ÿý«©K„ÚÖ-Þ©ºŸØ ¢g›í»Òô!Á³ñ•¥N‰ée~Ð)68Âo`¬ÆeXbQóÄgÇ3GwÖüÝ·ö¥ù‡Èô¬ ÁØ…Åà$®Ç'*W|u¥G5!íhašG¤<è°ÕbÇäÜ $Íž>¤òû Áq#ÜMÛÖ8£ÎÜ”5â0‚”W0ƒ|!nPCÜ]nau%¤lá6ìæw³ÜnʼËv[|Êæ ÐÒlùÞyé¯ìæ%¦]âÓHE[c·(çrKüf k´äÖ — 9ˆø=¹W’¯:Ë%ÝJ"‹^<ä“/w«×ɉ;+سfÁ¶7t|.›,ÕVox&S.ÍøöÓwCòK<•\ÈZmºËEõ]̬ÛùÝ"pev»[YoŠß*¢ak{åÛ“"楒•Oåcª~a©ñù¥òHþTËÜ+¸Á½Ú׎°õ£Jþ©H—Ò¸|ÀÏ—äpÿù-œ ™ iíd0AW –©²™â!§r9APÝk|séie–ÆÇ”Ö¹-iÈb*?åè¹,nT>©ÔΊaÀ«IÐÝú É…ˆ2³²u_Ähù6“{Pèc⾄5AJüGÿ-ž}» @û@•,ª\(ÄxœÅZëoÛ8ÿÞ¿‚§âа¥Øi»›ÖÑ¢—t±Ú¦is·wŸ´DY¼J¤JRq¼‡Û¿ýfH=ýŒ-R?Drø›'gÆœür—gä–)Í¥8óFþ±G˜ˆdÌÅìÌãZþùåépäý>™üåâêüæ_ŸÞ‘ÔäÙÿ>ýýoï/ω7 ‚ßO΃àâæ‚üó·›ï P"_Œâ‘ ‚w=âÁPp‡ GCmŸû±‰= ŠÏ úÌK)^Á|>÷ç'¾T³`tzzêÖy8éuFi>!²á|3@gŒEÆ#j€¡áØõïÑPLhYªˆZEÁ7“Éè+‹ž1?* 2" F㘚n2^›÷vÒ¯0‰œgTkò™%LpØ$pspvÆÅW’*–œyÎâ‘iíŲ3O›EÆtʘñˆYìÌ3ìÎvB{nÓÉTÆ x3t ›M¥Š™:ó@˲‚ÆNÕw]Шþ>ç±IAkÇÇE)…/1¡Ÿ23–À¾·Õ7#‹fÁÉØ '<Ÿh9§3¦A,ÃLΤ_ˆ™×'Q­zù“GRÆg©9ó^ÁçÐ ™Än÷”>S]¼q¯v‡­”μBjƒÜ3ÕBŒ˜0ð=œÐJ¢\ÄìηÊ'‰†D2“°åÓãã M¼ð7™ƒ:pÐE’€g8IGõžVkÞÕ¦# P„7)#½‰–õ1kÒ@¬,ö›ñ…üÊ©É<ˆe¼ð_߬…9ø×H!‚|LJh| Î¥MÔI’RDh²Úoi?™¡<Ó^øA*æû¾c±@€Š…ä)QVÆŒ<ËÌ›.Øg3Ç9ÀÉ¥H™âæ1˜}·i™ÁKÆ[ýt=i˜³| q¤ZûžkCd†”‘jd@^d—;P Љ5’n æxœ¥VÛrÛ6}ÏWl‘©'™1 I¶Ó8¦˜Ieç2c;ÎXiܧB$Æ @ .ßIÝl¥·~€`oçì.ÖÉûE©`&¬“FI?îš›Lê|H¤3ÑÛ·'§QŸ¼O_$¿œÿ¼¹€Â—êàßÍ÷ß/¿Œ€D”þ8Qz>>‡»Ïã«K@Kpë­äžÒ‹k¯è"(ö#לǙÏZ g€Qh7$…÷Õ;JçóyL¬xœí\ésÛ6ÿž¿ËÌfåŽIÚ82wR»m<“4‡Ýi;;;; YhH‚@ÛêÎþïû^"%S2=mw›ŽHâxÇïx9ýûm‘k&ɉw0Þ÷KòäêÄãJŒ¾úêÙ‹Ñ÷wÿÑô/gïN/~ÿ Yè8zDàßû¾~s~J¼ÑdòãÑédrvyF~z}ùö ‘È…–<ГÉ7ß{ăG“[ìx0Ræþ8Ô¡£â=T$êÄ[hO&777㛣±W“ƒ/^Ø~6:Ž(Æ¿²Ñˆ|Ö ˆŽMÓˆTC£ÃñóŒDÊ%2°‰’Á¤¥á8HS2!5Œ†>ð6Õ\GÌÿ /LÛWe[rQ¥ÈG6gDŦÛ;E<ùD’ÍO¼[ñ`(åÉ¢OéeÄÔ‚1í½LÙ‰§Ù­ž˜˜zbçžÎD¸„ÿ4EŒÌ„ ™<ñ@/‹¢”†V5îZ¥4ȯox¨ Ãýý¿¢L´Ä?!¡¿ÕFló^»+-Ò¢ÃÑ¡çOy|E@8 ó˜^1BEâJŒÓäÊ«áz=ûÒ# ƯúÄ{¿+„N|Ihgωòü'ÉL¥/í_ó)x©P¹g²$1`‰†kJDy²Û±‚?‹D“@D¦|¼¿ÿtNçžÿZÄ |ÐœŠ Hþ 8ýéâ ŸÓhÍë¦áÅŒ“ú— FÚÚ›I*Å5™"4!¯ÞŸ-HÈ4 4ÜNEg ö` ½ 2K‰ðDi ³("æØµ KR0ÿ†¢€ŠÍiÿôô´Õ#Aèb!0¡ ¬¿BdQÞaÐJ°ªR’3€¢Aüæ¯~d*¡©-43œJ‰Eü€ŸE!Á²á$^z%ÒÛÆ |ؘIh{d”Ô÷PX1®˜s’ÇÜ9V¨!q~©„+„ðü²CâÅÂÓF€¢'ÚºJ&&[âgt416vHy.”ªXÖ’ßí]Åøj?—™/0K½Þ¯µ·aÉ€)™cò”˜¢ßY·ó¦Z+ HšÈ2g9fµd¹pôÁGÊä&®tNvMtZ'¿(„Ì ?$oð{+Pš"'Yë}IôÄUgíÚ܇놥!©Œó½°›¹Ð÷iÂ:FÛÌ4ÉN“©Ñ¸Q]¾ìõާlJÒϦ W[EA‘ \iRôW>›¬‘} Ø©Õ+YWO:ñ„†ó&[}\hVb&3ḕUP'o,œAz¾9EùV鸰†´§*;€ß|ØN¡±!—•ÑH TÖÌ$úWW•±¦ÆÂ–!¾`È¢˜0Z-Áyf½ÈpÃTÂBí„Z5‘}D}‡  ‚ÓZJˆ™@Z¬ô(¡Z˜º%0+¶ì£³ÆÉ/ô²õk_£ó^”•ÇøL« l;W˜Zaår/gÌ‹ÆS d ¶Ö™©Q]âmX@NNÐ+¢BJ츇Z¸L°‚@AÄùÁËÅ@œ2,t0˜J…¤n¬l®)ù¿É Õ³IfB†šž2dÁg î1Šý˜=1åe؇‡Qç m»ÑBÈGŒ ù•Æ—íÓ÷/¯wÒxØpü 7öàŒðö1¤³’é¦&:\Ù!Ì É `3#3‡¨ðAÍpL„ظìïks/YŒ¨š÷ö8>Áü–kçŸj\uIXuXÃ¥p[Ý5jOºÎª.J¦ÿ=] Eõý6žÍSg‹6Q­ ˆ++µƒá¢;zˆ¨3a9Ì$S]0`Üù/öY }Ú¼ìšäÜðºÄÇ=£µÑ®0×a^·õ¹'Ì]¶|Ó¾Q¥˜½ÍÚ¸íìõÕ#ö¾y8Žq9 ?pn˜¹ƒ»Ü\Ýþ1Н/Æ0èõN6`v5.¥®ø›sþ3‘+Æ¿ÞÂô{Ív#Ùb¨ÂÁQm…s8sšy’É<m«!¿=¹ŸŒõÍ`ʼniW©3Nv¦ìQÐßÖéÈTK†4pü< ¸O1Ø€e‹s£}qñ}¡øˆHÆÉÄÉL2»|Iá^?™åÇ[^ž 韵¹·XZ%³÷®+„ñú`kTï‡Ò ; vG˜”[£êæ‰K(ÞïùÝÅ:´û‹†HÒFe©9¾|é×E4é(礘("Öü"͆Cvg ”Î/Ë\¦Ü áÓø›£¡*EaT¥S‘ˆ{¾*sa¨°–<¯¿ã»L¥l8$}Ï&°nl¥ÍÅä”Ýú)lê׎?@SrY|dK-æ'Qšscd§ÆDL‹ü$2v‹–B؈Ùm)N"+îmâ&$Ø(ñ;g*ÛâËòY.ØLéLè“~HEž—<ó®Ϧäiý¼‘™]Âg‡‡ÿ ¬¦ã¹\À•¹˜cßux²ªl<{MÆrµ`F§ðñŠ/€Çæj¡â²XD»"ªßFl)äbiO¢oð»£h2&™ß½V*š<)f¦<öÿÝ8 ;”N¢RKÖ Ýª˜ŠÂây2æQYdâ>v®ŸŒçª°,U¹Â–_>Ÿóy4ùQ­à‚¼Ö>¥Ÿçd¼Õ{:¯Eøs¦É [ÔSM5 ³Ç ½wÎá9¹] Öa“³KiX [rÃ8”õŒqË2iÊœo [ cmf`+›mÙ¼ÒÀACб¼H1¢æX#˜á«}âqR6û×{eb¥°Ps‹…´ª2¢РøHXL¯í9mGE³ ò­H-ãü¦V«ª Y.¶Kب«¢ÀúF÷zç.:íí Eö³7¿×g§WocF¦D~©k‘aÈ€ p …5™SÃÇ ò“Z>o- ÉãÎÆ…ú(y Duò<~—=‘I[Û~‹ç)žÅpW °»T Ãá¬hÂ’¯ÿÂÏóìL•[MQÅziŸ==<|É.H{ èRi#<(°Ä‚9ÕÌÈLr½í ¥0ýØI9Ís椠d„Jq_XžÚ£G„öò²˜«6hõ­n‰Òs Žá»äÚ’s9»¶ìFå-7D‰RÀ&î°tJÁõŽ<ä^žKD¶p×Rå”Ì\Äg$¬3?÷³#ð4ñض*NOS¤Ç4Ç@bÕŽBiaOvºÐBÿX©ÕZf"s¢šõ7jn7\ƒ»z€¬‡üSœµÈ·G®G¶Äœ•qRRÂV ¤ãáFKk~5{΄Ý¼ÙªÊ‘óA‹Ö›‹wìTFü¿…ÐÐûªšˆFýÄÓ]ÝZp®™ð±R!aêVÉ: Û}ü¶ïjö41ä°’Fqxe”¦HÊkXÕàå½Vذ!(ŽàÚg·Âé‡ò`zq3Ïß\c ͫ̆N ´|AËœºÁ®µrôÒ"$RTy®6~‡¹Ò+¿·UNŒ¨´Ø3øsŒÕâ®’ÚyÌv šf”›7ŠdQT®$©©š€ÎÃæ!_”9ê‘K0­“ßá¤é€¹³Á”ÂqTܧ¢ôï}p.à\ãÈ’ MÌò´«yá.q0>Þ‰½™0©–³Ø ÑA°;1Óz·ÆöQ<ì{$ø ‹>L=›^ݾ½¼ˆí½­¹ŽÇÄ.‘ÿnuŸ¡æü¨ûfîgÙ¥lMW'êS”MqÊP5—€¤{ Ê ';Ò¾ÎØòý¶Mé.îd\rÄ)`Ī _ä»i±´t”„"EåÎ)FÎd.±Îyƒ“äÊ&LÞ¢žZ»HtK}°Œ;Ô,¹:8îΡ¨“ôèñ‚Ö)F+Q®‹5GÆ®‚D‡‡Gi§ýpN'Úç>ÙÓˆ÷êf)Óe#€kZ•ZR%*Ð|M˜ Xé<Ñ-(½|‹gu³ç_÷Iêb÷€}œÎžäöøÑ òÉÂïÍ»¶o*™4••›qªÉú%;òᙲfÞûÝõ’ìúÃå?MÏn”#ÿºž×»~/³˜ð5 :^OØaßO¡ÏQ+±ç'„Áßÿ¨2“+k‚ص’>ð‹¬—RÍ®©_·ž º>}ëõíÍGGa%M;ö°ÍÇ;ØÝUʯÈã•JýÆ%T§—=úÁõ"°tÉ5\‰‡u¿…ãayÞÔÚ=¿Î-@sEUë~s@ˆ*rŸÇÖNhO´Ev‚@³zËJE Ì«ÂEiÌNÿ—žAÍ~£VüNµµðˆ¶ŒXžo;µµ³LÎY¯¶$î6£÷ü#§üÂ?õ;>ÖÂVº`‡“q¹«ÛD5éx§OÃcÕ²mݸ öz—GM•¦Bdƒ¤i¥þV#➊ðÿ`[Ctô”þ9¬µ¿@‰K8¦gu%úûãKµéu]zI¦m¤ñçC£ %YT¨àæ‚N”Ü÷iý6ÑÛ„žs½ï„ÖöX;œÞ£é†.‚N}"­#ä¥sòÑ6/ðÃÏªå ØÍÛ7§ç½ý–n'¸Ü’~ÐútçÓÝÏ/o{…hÒhxј$îEÚÛ Š Ú‡AËYž6Xs¯…ÅIÅtÀ‚'fSœÆˆ,IMzÝŽ’ ºE81~vSOj.©Æq‡IO•UT¤åS«y&V\4Á¡·Í‹ÎØã¦8¢ën™7N0þèåZhü‘„«Ì„4™üÞêfè [+[‘A£#ÓxœÅZmSã8þ>¿Bgê(Ø"qx™ÝoÍÁîU3»ÌÀÖÞÕÕÕ•b+±vdËH2Ý’ì8&†„döø½õÓýô‹${øãC&È=SšË|öay,žOGײ÷îÝÛÓÞaðcôfø·Ëß.nÿuýIM&Þø»þý¯.HÐ Ã?Ž/Âðòö’üóÃí§V"7FñØ„áO¿$€®ð'ö´mï'& `Ul#€"×£ 5¦8 ÃÙlÖŸ ‘F£]xœ½XmsÛ6þî_²s©Ô‘H+/mcË깎’¦ãú¥v&½Oˆ„$4A dM§ÿýžÀÉÎ]¦×žfl‰°Ø}öÙÅ.Æß߯r¶ÚHUœD£ø0b¢HU&‹ÅI$~÷Ý‹—ÃQôýä`üū˳Û]MÙÒ®ò†ÏÕ»Îßž±h˜$ïŸ%É«ÛWì×o>gÄn¬–©M’éEÄ" %÷´p44î}œÙ,‚TzÇ EaN¢¥µåQ’l6›xó,Vz‘Œ^!÷¥š†‡§§§n^€ƒÎE`,Hý ‘õzäÎh-- Ácj@¡ÞQÿûÿödÁr-K³P«8¬ÆR5÷㢠½"b4‰@¿¡áF°è³¹±ã/`üûùxr!¨Öä ›0&cÃРlj‚ç_IªØdÄ8ŠÇýXë€(&F6‚é”1óX°Q`؃ í€ćNþp,“GøgèX02–*aj?1¢ ‰£ÈÿÖ«ß3ž˜¸ þ޶1 ?BŸÅ‚M@î½ÿedQO8> ¢!ϦŒÜgtÊ4«'äTö‹|,.ág½ý! )ãÓÔŒ‚ïá{hM'½D»ùXçîÓöc·µÒ((¤6¨=Ssˆ1Ë üކÔ[”ç {è[—ˆ†™K!AäÎ`p2¡“ ú 3 »­P„` ø@sFÃô°’iY Vg9=„µŠè=Tœ‚t9!šÔø–8¢G[Éh¬ø2‘Šäà´¿ü~Esu¾ôN åBÑ'€Ùï÷z"R,";ïc'Äy-©½¶áð%³ ‚uçi@,‹Þ—Lstº%Œrü'ƒ­@´ßl÷KÑ­…4K"û›WŠêõ˜Ö,O>1­¡>QãÇË‘U«€6Ã3&Kc]DÞ²Ž³VD ¶ï'Þ´¯ñ‘- [â ÙZìÚ 3ì¾×ÃrüŽhÆ‹+L~Ï·M§·ë÷_¹»÷ Xµ‡lÖ³n·X6êã•/ÊÈÓ£èÒvšK¦cÅ çÐñýY/ºM¹öcá mØ@¸.ÅAz©1îmÁ’‚‘=f¿u2½2V~N؃a9^"-@ØÒa’ìq¨›Œ&«/¾dáÖ¢û}"ÁÙrØ (vWrÅù{V„™–¼6è/%·H+ªD1òþX̰)y´OXÁ …ËÈ ø:«Ç¬0€™šFH+&` l0`uTg÷®”æœBï½»Ó˜ñ<‘3×L(((ƒÍ¬9°ôËñ=—%.Eµ%úpK(¼©ÖÝÀÓÀˆeÒ”È As÷Û‡‘µWmÉ÷¤ëŠƒæ1#1EͲ2Ç.†8é&(ë…¹ôHtJ½‹hÈÍXNûäÞ@œˆhŒš@Xšì ¸(¸É45½™½7³Á?z‚çˆÎ"–PÞ0X¨Ùƒ¡Ø-‚>›Ïñ¸pWX©¤à–o…2´öMÚÞþó=¹uÁIö⦓¦Ö”­gœ…kœ…Ç\ÆDäßîNã?ÃÐàc)ï%–ÌêÖD–qƒ[ðYÊrëµq©,1µ×(‡Þæ¥E‘ö ´Š—ý?èZ˜ûrD5†Kšž½…] ¦ÍŸÂË#È¿ˆØ2†sÛÔøüìÉ`r4¹Åö wÞÓã2%:Ùò ü«ï7!»{'¶žËÍÜOQŸÑ‘ÂT+S6fRù˜Á’x6;ØJXÕ„ò×ÁÒ8Ã]HÙW.‡„6 Ž^ìƒMð>ùó"ÀaAK·ü'CÖ§M´? ´Tm%ô5ðëIp`w [$µ‚ˆòi’À QGî„`ïrZOè«wš/ ŒœÉLÂrP§ÄɦÜ"ñ†¥|E‘HS]°!Œ*/¹:ï°]¸¶ÄigyðAK‚áLè.ÅŠCÆ®{¼Vún‚ÀðöØW}9†*#¤ç@P·ævKZ½Ãð©çΆµ£FЬGÏÃÑÝ4_“æ~ÒB wØÛ:ˆ)Ó|1[솯y:ň!w7B˜Qa+µ6dg³Væ³'ìawj§]Ìû°ç±S—‹ªžì‹ØB6„„…¼½~±€Ê–ôúÞU ©uØENd{C#ÇÍIOX´ö%-×ÛnT»\mKvö_×Vî¡ÙÈ ðc„=qˆ¼'@zõ´>ú@×¾ÈЀÒB­~Èkûn™—|X—±…¬ƒTV øK™ÃŽ9Ûòµ¶ÚäÎmÝ¿84j`D^.Ù1•£ê~.“/Í›ËBä­GJDîñ#ìp~…¢{ =“CXNjrØ„—ÆÈ9ëù7¡Uçj-t¯ÂÎT[óü¾·W*{Ñv—¹‡~¿-u‹uõ3\ʤ÷mÿ°!ªÅ#+D†UDøª’AšÓea7½îõt¤šÝ(P ×Úw&‹%Tûnþ©Ç´°¥n8zаd2½J£þžX1\[(R·…Q½ë³ËWÐlÅb<þIðä2Ï6ý~³f5ׂï%°c®åBPvR;ôùåTk¥ÇÐA”Y‚J¸&Ñ‘°'Užøw¿þê¾+‡©k{L}¡Ñê­—‡†Xo J¯2pzïU251 )2N½ünÐnå1—à(¶€ÊŸ¡xûW'(¸…Åp¬Õ ´ó³Ì˜ëp"§Î='‘œb"„¸ÄÄ%ê¾ÍacRì÷ÒXÇEH˜æt´9)’v´“ °#%Ç7vi9Áé›ÏVv‡ki¸GyÁSö·Hèþ@vœÑùØüœÃ|¨'Ù0*>-ZOIèŠoÊ™ÏÕ¸Èöúm“;²[<+ë5þäÛ±E¾ü™Ø{¨’×Îˬ u{ôc·&T§}µ‘©2Bï¡(g¬œàk*ô-Ã6=…váRÅî ÀÅt‡/{øƒëE<`qÊ5´¸ð°jrùŽrYíùäIéÄCï$÷g‹Žxà£U¶²N7uc»î¤ƒà¶‹42ÀÞI‚U|=9"οð_[– ÚÌŽú]+¶&ûSåoÈ& Vª‡"´ ùÊuZl]âe[-¶=ˆºëu°-ذB¡’ó2wY¾©ÕÿC3£f¿Cß4 -W«ø{=!‡ øøÍ™.óÜm•fU+Õ^ wZí,¶†äeðÌÍ”q ïæe–¹Í?ì¶ðØO%ìÜ{e›í¤Óêë—U"XB+ÓÉ¥[1 ã¦î°Éq.IÏñØ7Š.ñTš ØÍÙ›‹ãóÞv×ø°‡é÷]—¨?4¼\¯óËÛÞõBý~-[ËS챋U€Ò'¦šëb¹©¾;Õ¡Å"íLÓ°mmQÂ*-TÝj#wÉZ.q/âÞVºeç¸.ÁPPÈà[žÁ\'ÅÊ"ÄÞÄ—$ôrR̹¹¬/|sHbä„‘é㈳ÂÕxižÞÄU¶Ã%1/À0DN%¦ö†0.öÝ?‡lŠü¡´­é:>îO‘ÎèSõSwñh‚3Ákè¡!œ`*¬-ɤ¡“¬{~§è`™m¨^Ø*¡·­é)CwàÎn@^Ü8mZÛ D‚®6£œ?Ÿ¾6lÛM¨i©bï“ Žj€a:Iéz)‘+¶uÑU]ùµïñ\ò5×lÓ‰ÕÕ5gtîÜžáüöÕÝ´¹­ÙÇ#µÃ?qaóàfïyk•WvŸÚuÁî-K}†ö¶~Ѻ¸Û­ )tô¯Ú‡{“ÆwÞúÚ‘¿oP’éÞ¨÷6 ll—®xœ½Y{sÛ6ÿߟeæ\)‘H+¶‘eõ\ÇI}ãøQ;“Þt:ˆ„D4A dÍM¾ûí.À—¬¤™^{š±%‹ÅîoŸ&ßß/3¶ÚH•£ð `"U"óÅQ ~÷Ý‹—ÃQðýtoòÕ«Ë“Û_²Ô.³=Ÿ«w?œŸ°`EïŸDÑ«ÛWìçoßž3àÄn¬–±¢Ó‹€0ÝãÄÑÐÐû0±I\ñ)rs¤Öã(Z¯×áúY¨ô"½|ùÒÍ hœqLä«¡dÃ!»³„Î/ŠLÆÜ‚Bçá7¿†ª¹Q¥ŽE$îù²È„‰2Å¡ýWx—¨˜ ‡(àÉt›Xi31=‡qàÊ^©¸\ŠÜšIä$“ù–j1? âŒ#ã06&`ZdG±X'ÂÌn qXqo#"ˆ`¡È­4™©d_–Ï2ÁfJƒ8GX!YVðÄÂ?›‚ÇÕóZ&6‹ü°ÿ%Œgr†ÌÄÖ]ù'«Šz³§Át"— ft ^ò qg‡™Z¨°ÈA—…ŸõâÛ€¥B.R{|¿[‚FSÀ$q«WBÓý|fŠC÷ŸÆq˜P: e,j/t#b àÂótÂ=¢2OÄ}H†ŸNæ*·,V™‚%<Ÿóy0ýQ-Å$Â!€WRD€üC8§“tT­IV vØs¦Q@6¯HM9óÔ“ß“±Fð¿˜Þ¦‚µü‹ÉœÙTæÝŠ¡;¦4+´æ0(XR-Å `/ÀDTY.yž€ x«ùR€ò@®Ø¼Ô0Igcy à6wk´Ö 'QòhÑ•ÙÂJÁ”EÿÂÏsìDNÀzqŸ==8xÉ.ÔÉa@J;L@¯ 0 id"¹Þô†R˜~H\޳Œ‘b„^‰$ôìsËc;ÞÁ´*ó¹úgŽC!(Ú¯¥ºEtæà—ˆ±¶gזݨ¬Äéx¡rÀ&l)`éXòŒ½3ôò\‚#°§*#OAMY‹>sT†-ù†•F89râÃã" 1aSr„Ž@-n~Mv¼ÐB ýÀ{ÔJ&"!Võü5·k®ø×‚<&pV"Û Ðw- 4KC\bÄÜ-!R¶ÖÒZ¿ê5g®¼Ù¨MèlРõæâ;࿚½¹Ð ÷U9 jñ"&øãÇ^W<ײT1øËŠ”ë(–8”òêoø˜Èº]Ò‡³d„Ö Œ0)BŽŒÎï/À¯Dn‚HR‘?ÀBñÙ0ˆS¦µˆÃXëO‡6k”´àÜ`Ö†?™ÈD((r’S™¬ñaÓ”ÃTª„«a€~ˆyš,q®ðߺ`qõ½‰Y Ï^FÑ#–Š9º2å3”»ô_Fõ‚£Ã`4Ù´ŠÑÇ›#¦›Ê¹ ‹|l³ð«~øK .æ 3 ~Ä÷†¢Ñ1IœôJ©`´ŸOuqâžvž¦-JàÚõ\mTŒynð{4`Q‘'ü)´® f27ËT¢Èo¾Ÿ±Y0z'3tM¡¬Ò"B$ðApŽ‹^%Óz-ØáÏ©" Ù¼"ÕåÔS"·Îêá³MBW+A/äJ>ÀH(54 \va³2é-5k90ðq ². $’kÔÐ`=–B9–cF·æ¼h–A*¦Š©50ƒžJÃATxÕ8È<]C"f3®0‘ÕLÉÌò ‹›:•ý ÏP£˜á )F”ª²QS¼_‰èµaâõ %:3á (Sb§eâ(ª„Œ¥j&%.ôv”ŒAr¶E¿‹¶RàÐ)`ý9Ë8 ;7è£þ¦-,w"ŸÉ¿æ4¢¡íZ+›á6¦ñoÁ”¡°apkàN¦%-×蜬9b6ŒA°T,X ÷”ZvðR`UÓœS‘HmìPµKˆYƒ>uT½»öe¤V!·|XŒNMf4ŸYØ4ÝR¨ÁÍ˄ӹâœüxK‘ðIJª×ßÉ™YQtKÕÁ:‚µ7Gp–<]wl‰Ú!i2m¹Ä„­È]Ñ`°RÂŽoµÌ)7+Ž#kY’ 6h_ÝÃ%×è.8ç9W¨÷M9E jõ7 žn붇àšrB,7 µQ’|f«^-ljÝ-Ë÷?pö€¡Ói7î¦kËå-ZUãe½•(°PJ_Îù××P«¶Fã«»qxy~sYåkUe-ÜÌØœ–Yu½]!öUX5•œ¥à+ÇP¦©\9 Xl2'ÛHË(ýVñu`›ÆúM†<¦}t`6!¦Ǽitcó¼´íXª†s·þHçEнVÏnÖ'_ 8ؾ¸ ‰¸2з1ÊŸb^¸q—œst®¶ÁsE‘åÂÞ¯fU†‡Tý —ï½ ×±ÓÍöåbvì–͸’VÛÞ {çñ>ÃEÇ¿œo&×W¡y2nZè†Çøv ÿÑü[B÷ûí? tÿÏ‘ûŒl†l®–Õ—B6Æ]†:ÙƒôY€ze±ÝâTöU7Xï×›ÒX›nKàVÅ%× Ü4ªÜp,A, m%d#:ZýÙîS¸}h1¶!ÄæÑá`9™öuH¼†[ÚL´K]²Œ[TQrsÙ±±ÛÁrŽŠZN;·Ÿ´V1Z‰G¾dX±« ÏÑâáP򮀻F/%iÓÈö™+ö4㼺ZˆxQóE0Ö”Äv»MÛ1!½"L:PXOl¶–ØøvØ'é96Ÿìyí–ãýÏWâßðJ»´DnÚ·ÏÜ~¿¡ÔHZí<Þ w{þió6*ùõpMó{,®gö­ïªE ·×ÓÿðØÔJÜ~¼þùoã³Éž'è»áze«íèׯV7?‘8Ï\§ÒhÏÁ"±ÀÈKù{Ü£°<îÄM5ùm^éç±ôòœp4æX`“>üËM¸'|W1Ä77´5OèT¿Ïy ѳ6!Ž=;/˜ÂˆÃåÆ[^ÇèÎ`žP~–EÍÙã¹ûlBéÐrÜ-ÛŠ\Ì …S¡ÐÊ<Ç•­v» ‹§åß½ ïªGlèð°—Á«^èU QBëë±Ón¢1•2UF>¸JˆIå8Ь“—J!$^™ÓÜ$éðeÛH,ÊÔ-QC[½ù“0áKW :ïxñ¯½ç r6ƒ|ð 1 _ÎÛv{Æp[J<Ù6{òþÙjJ•Ãú <ÅÂõéÅ2Lj_´ðdcáã69HQ†ùÓÒ¥S¿™‘S^Ù¤@ô;pwq~uzÙòáüÁÇûŽj·;Û³õ³$^02½¼ž´¾–“Ûáa¢ˆàO•Z{á+eú5µTûÖãÁiΧ‰Oõ™amùsÜYÖïZ‹%—kÎUW ¼€[’ð<®ß“©tIráuøkKñ4Ï•“Ö´\´qdo¢úz‘œü4Rp(E6|Äj$Â~žŽÉ,èMÛ}Fkôܼ©§Õ¬ç>ûô%N–}Ùß³¢¸Õ—±óìÙ7}„þÒy Ûq‰|8 žg£çi¬›|\w[Ïù)ÔðŸíâMăGŃŒþA,BB^#-ý¾¶¨Î8¹žoª¹ÈCL$‹XéRâÑQg0ç?šnCÕI?ß¡õ.ú¤dè½U×3¨Ø˜Oê( ‡úR5ùšW+ö úIÓKk“{Êb¥¿ë‹Éµ‘e£N&xœ½X{sÛ¸ÿߟbË›¸ÒDZöÝõ,KJ}Žâ¸ãøËÓë´ DBj’ P²&“ï~»HQ¶ÒÜtîªIhXìã·,0xý”¥°äJ ™ƒ^xÏc™ˆ|> „–ÝŸ~úá¸Û ^özs}6ùÇÍ&K÷7÷?_^œAТ¿EÑ›ÉøåÝäý% '¸3JÄ&ŠÆW8=ÑÂ^WÛñ01I€\i P‹\ƒ…1E?ŠV«U¸: ¥šG½ããc·. ¢~ÊH1žP¿‘fÝ.<J§œE*bfРîa%)½ `F¢äzÑÒé:98Uabé–~¸ÍÍÍ]<mų¶„ÐÜJ[„®´m£8´®niïat‡ª}†ÄÐi Sïñ×â¢P×]nøí#N à[½™lhˆ;+b¼–è>tº¾¾Ñ>c8+0¥´ïi Ô4ñ™K$ÛžXØÄ7Õ 5YšëÎ,1{ ÞûÕ@ wvtL”á"±©>ÑLJh~Ö–HÜrpÓJÿ3°)ŠûC]ûÉ®¢›@*?H9 ù‚ã„s¯'æSµÔÎ_ž{  µþéí)oÍV’˜ÈÅǦL»¼¥«–’wU|[±“~Uœ·÷„«¾Ë)o÷/oš¯çÝz˜Ë`0òòdì8°Iöy q±AŒšLÑ&L1A (ô =‚žÅùÚ2 K,Y@šù=«íÝ6:hiymªRhs¨d™»åîßKÏJQœ²éǘ ö1ÎãS¼…¢÷­³•y2™ÜßOæ$bŠ11L_¿ž~,×vnÍ;jtÒqeo:‘nÑýÆÚí[Û€œ') ÆÆäÍ¡YáÏw™ýÓÚUã[·7éTWg«R Â}|Ò8²ø­üCä°m³@6<”RÉçÑæ+ËÚø|ØH‰Ÿb Sxdu;fìhlJ ø›rL,f£(‰Wcù nÙÐy\&ý–BÐs¶á> ŒE|—±·ÃŸþQ”šù†Í i˜K»ùË8á·9îE°Íù~Ñ‘{7 …â¬çì¬75!´—ƒu!(¸åxNÐ÷¹¾M=u;zä ™¢òaåܻ¶BÆÙ3þú_‘Hœ&*òpÆÎÁu{ÎîÉY/ªª ¼S/ëᄳÜ]<V—ÂÊd~súެéOMá 122"Aù¾0³ÄÄ™`ó,iÛôå}3¸Jårï—o9yž””|÷MÏßé"3S&(‰Dê®ÝÚðû2?»¦´é3yÙÚܬÆú´ý\4†Oˆ¥ÈzwKË’0¼£TŠÓô¯Ÿ™7‡¾!ŒL6‚W.]¶¨À0aÓ}F 84x´÷¶O}Àìq´gжJ;6:""‚á˜÷áÉ-?Nö—µ…¤Äz˜Jnk^%uŒ/w[3Yã騂¯YA£ÍL•ŽOMé׈ÐaHGQt2-^ª|^'X•ÊÊܸùyPY ÛöØÎVtdÈò'ûäÜ ÛLlš±Îà퇩ÌmÏ72š6u뜳0X—ˆÈÈ™ÏC×Ågú¯×WqQ"1Mù; S¦f²Æ‘ÙÖS“wâÁ(·O›”S®NHaœ}y*ËlŸ¨J45¬Ø0)HØA{ÃJótõ$Š&…|;hœ¥H hniSÈ:ú²Ã̓š^þ¾¬vøÏßvU%jÔwCÙÒߎ҇”¸Xel¢Âv[¢O²ÅAgÂ3æ½ • š›%JAdéÖ×ö±±L(äò!#Bµ$_¯Pþ k›Ôìø!9õ¬iX'c›Vľ‰màõk}ÁËÏ£j%;’¿äž}âè(Ç/ÑÕÿ18>y$/ç–¬ZÊʉ¼7OÍôê_J¥ï¦|¾k«ïQVÐó»/C^Š2ió›žPZµ‡h\•—Ls£Ì7üUÿ|u¬ng´‰Í੎­ë¿xr©3”HÿtÙß`å\ Ïk@q¦ ôý«©ÎuŽŽN­wf¾ô*“¿\÷J‹ë{²jãš·Õ0ÿ<ñ›HÌŽC8TGGG¯“÷HÕ=±|¥€ ‹#ƇÈ\µ!hq2}©zëAVtT m›x;–MÚòv¹–¾=äñŒ;p ã8L-¯µ3ퟑSøçI¸þ˜Lf>s†ðuHß_`Â,oLhQû°ÂÑ &ïÖäÇ;£ŠY“}ô}õ{ aÏÅq°ê©Cö*›-59‘o5(LXšmÖ; röÄ ÒD¸˜Òh±z´!Ì#1¬A§®Y"@þ;•ÍüWõº]#Žu4·N³ƒ’GeU³É`èÁ-Æõ;€cK~Ê@å’ÝÿÙÆLOCªËNˆ•ëè>úÃë»ÐëH±!¹8ƒ§‚j쉔[Ys“¦_Œ@†qv¦R13Rà ©WUwñE-Ê)*2„3vȳuD˜=!…RÂS9spL¹ü= 2×hA³%'üó•ù㯠‚X¸†ÊF[*º­È¹?A_I¨8@18+Î3D½œ…V³ú‰¿åujaG9šÀkéÂ!%CÒ„ UÁªöÕ7¬÷ããT¶}º ’>ÀèÂ4û¯tÆd’PÔya†SÝYeÙƒ2/VÂù& Ï%élã—ŸÝ[^.oöQ@@t`·ØV e›ÒýZ Þ{*‘«fìûkèv#GÑ•[õ?¢×%…~ͧ­Y"†oþ¹©·ãþGÏã9©Å2)[¨sÃýÑxïh•KHlÉÎgpÇ@¤»¨Àc&'ëòÊXÞgÇ¥l#­i%GÛZ¬×Z4óy^4¥ªÞôòù’1—” ‹Ë§©›wÄtfþ´ûJj›Y£=ÝòX8Å2L°…æ;+On°ò- …j*bˆnþðÁžaý¯{RG§•ábqÓ£c]«†ßrº½ô½±*€˜ÄdK4–¾¢_0 |] ~sMÙ/¿W,±3«Ñ³´´ô!^{*˜®7í>‰}P×ДrŠ‚H¼}"å«$ÏCãQ?Ùke"Btfr®ŠYò¶S¡y“ Ñ;²9ÄQAù[­Ò±«?–ŠXû«~içóXŶž¯iZŸRZ =¸-㼃ÃÙ’1™„+G‡ Q¸Ÿ‡t鮲‹Ç“Œ Pª[»„;ôßNc0DRÈ&°Q£|—ŸÙ÷ËÙ{þá‚×µ*8@©;’›;´s_ó_Ï©›K›vcB„¨}8xêgzyC«,µL„tžûYßç¾ÇÓmíÌ¡[•mÛÏÍåâÒš%^j ·– ¢ó‹5Q³Tw»qèèa¾  “öX¸ .ÇR2‹(íwÎtiTâ›ö„">õ9ŒycÏLçPNïÞ÷XiUÙƒÿqèßR™MùbÉ¡OP’L¼;ÀØT“˜¤RD4Í8Žc.GOa¥f¶ywU¼:± Bø¹¥E„¤­‚3ê3¬Ø|¡›Ç7·6‡RNèÀA ¢ŸõƒB•ÃA!’Rl«›v.ý\øißàÜ­YAåáA~ÛvnîÏŠ á¢aZP ¨@7„K v¬qÒ=lG“33Yð˜Å!\N8ì™vq 6Å!6zF.Fl×l¦Eö…•ì³ É%ðjQÛ°°r¦žM«{¿iÙ|à»`H&ö¦!p‚§¯w ÍOÈz¼ÓpcÂH1<>á€õȾȡ}#ˇòÓYKªº&«ü'ùšGüà4Uhh<¹bÕoK‰æ°gÇ¢â½%wö&Å-*\S±qv¦¹OA-É·¡§ÜèìútcÍÂë“7¶L®]xÄ?â±úÅbœœœr_]+nk9²)<玕ò:Z ©ë&”õRÛXf©™¹‡n®ÇáºÄµŸÿ=¬XûÄc±yXî‚=íPËòùÞŠ£–Áª ]¬À˜ØTŸ~¾7¦ž î…ty•„ì* Ùxæû\㨹W¬#êT£Õð‚‘¹èHÖ;€¤qî#[ªæd ø ×àʘ+ EK ªß¿h!|=XOdü?ŽØµí‡wžlÿ¢]ü¾Ûê}sSÄéÿ2›7A ££œJ ¹ëxœWyTg¿F#A%‚!"k ÊRdP)¥âR?QB°_©¸UA‘!"›@Xd"nhQ\¨ H€°™Ö ÜÂZDMJH&™÷¾H¼ÿß›s2™“9óüöç÷¼™Û¶ú.Y¼b±ššÚ¿-Þ;à¯ün^8^opÝUSÓ®óóÞøcü…HWg| @äŠý9js÷+ü¨ÿßoî>«X®¶ŠÄûóLnTXÁ(‘gÔ¶ÚÞ(7š^³ØÌìâõ³Ý[“‰_Œñ ˜4›Ábd²JÄ!‰>DË ë£>†s޴޽@p¦:á2L:P0äkÏN~0®ì÷µü;§F¢Ç ‡B †vˆvæœÅDò$Ú¹d2¹ÈL6\£™¤*&âJÐÁãoü£ét^L–ã|,B‡E›iæñ›gØ"¡E†Åý»\gúÕ¿{`q5~M4, ŠŽ/°ˆ§©»yçdâ?{¼o 235æ°Mnbh´DùtjPSßåŽãnÞgìð©ÅN néÊœbÀá À¥˜€Í(£#i´¨ÑhQ~Î`AáÈNÖXŒâü0kù°NÔ¾MÚ%TIyõYíà ŠN»¹çOüŸI;}?ò=Ó°ù¤pŽ“#•ꮘ•ššZÀb,}w" ¢h#˜’×/Ä•Xw3ŸßÞó˜ÛîÐjmßI±ê®5ï¨]Û]eÛicÕcý¸‹×Þã»kÁœ!Ý›9^§”“5ô³½¯kÙÅÅE( R±bØ[æiè‘R= UlockQtLockedFile::locklockU -e-isLockedQtLockedFile::isLockedisLockediiAQtLockedFile::WriteLockQtLockedFile::WriteLockLockMode-enum{eeAQtLockedFile::ReadLockQtLockedFile::ReadLockLockMode-enums]]AQtLockedFile::NoLockQtLockedFile::NoLockLockMode-enum{eeAQtLockedFile::LockModeQtLockedFile::LockModeLockMode-enum9==QtLockedFileQtLockedFileMQQLoading DocumentsLoading DocumentsMQQA non-GUI exampleA non-GUI exampleMQQA Trivial ExampleA Trivial Example v©j¢KÀ)èvp5 5initializeQtSingleApplication::initializeinitialize?iidQtSingleApplication::ididM!MactivationWindowQtSingleApplication::activationWindowactivationWindowEEactivateWindowQtSingleApplication::activateWindowactivateWindowUYYQtSingleApplicationQtSingleApplication{AyQ~QtLockedFileQtLockedFile::~QtLockedFiledtor.QtLockedFileI %]%unlockQtLockedFile::unlockunlock= UopenQtLockedFile::openopenU -e-lockModeQtLockedFile::lockModelockMode %”‹â{2¾%I-ImessageReceivedQtSingleCoreApplication::messageReceivedmessageReceivedr11isRunningQtSingleCoreApplication::isRunningisRunningGyidQtSingleCoreApplication::idideiiQtSingleCoreApplicationQtSingleCoreApplication&Y-YsetActivationWindowQtSingleApplication::setActivationWindowsetActivationWindowv9 9sendMessageQtSingleApplication::sendMessagesendMessageIImessageReceivedQtSingleApplication::messageReceivedmessageReceivedj11isRunningQtSingleApplication::isRunningisRunning -€-QUUSingle ApplicationSingle Application~99sendMessageQtSingleCoreApplication::sendMessagesendMessage kÙ²‹n=߬ òkìǾ饗ŽÒŠuk¯hP”%W8(USingle Application9sendMessage"ImessageReceived1isRunningid2iQtSingleCoreApplication*YsetActivationWindow9sendMessage"ImessageReceived1isRunning5initializeid$MactivationWindow EactivateWindow*YQtSingleApplicationA~QtLockedFile%unlock open -lockMode lock -isLocked 2iQtLockedFile::WriteLock0eQtLockedFile::ReadLock,]QtLockedFile::NoLock0eQtLockedFile::LockMode=QtLockedFile&QLoading Documents&QA non-GUI example&QA Trivial Example ýû&ý†ÔŸ0ŸAó(Uimages/qt-logo.png 9classic.css ]=qtsinglecoreapplication-example-console.htmlS)qtsingleapplication-example-loader.html<}qtsinglecoreapplication.htmlU-qtsingleapplication-example-trivial.html5index.html4mqtsingleapplication.html&Qqtlockedfile.html  ÄúôîèâÜÖÐÊÄ   ®Y !155indexNameIndexIndexTable0CREATE INDEX NameIndex ON IndexTable(Name)(!AAQindexFileNameIndexFileNameTable1CREATE INDEX FileNameIndex ON FileNameTable(Name)$!9AQindexFileIdIndexFileNameTable2CREATE INDEX FileIdIndex ON FileNameTable(FileId)merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html/qtsingleapplication.qhp000066400000000000000000000116571255273444100330140ustar00rootroot00000000000000 com.nokia.qtsolutions.qtsingleapplication_2.6 qdoc qt solutions qtsingleapplication qt solutions qtsingleapplication
qtlockedfile.html qtsingleapplication.html index.html qtsingleapplication-example-trivial.html qtsinglecoreapplication.html qtsingleapplication-example-loader.html qtsinglecoreapplication-example-console.html classic.css images/qt-logo.png qtsinglecoreapplication-example-console.html000066400000000000000000000130461255273444100370450ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html A non-GUI example
  Home

A non-GUI example

This example shows how to use the single-application functionality in a console application. It does not require the QtGui library at all.

The only differences from the GUI application usage demonstrated in the other examples are:

1) The .pro file should include qtsinglecoreapplication.pri instead of qtsingleapplication.pri

2) The class name is QtSingleCoreApplication instead of QtSingleApplication.

3) No calls are made regarding window activation, for obvious reasons.

console.pro:

 TEMPLATE   = app
 CONFIG    += console
 SOURCES   += main.cpp
 include(../../src/qtsinglecoreapplication.pri)
 QT -= gui

main.cpp:

 /****************************************************************************
 **
 ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 ** All rights reserved.
 ** Contact: Nokia Corporation (qt-info@nokia.com)
 **
 ** This file is part of a Qt Solutions component.
 **
 ** Commercial Usage
 ** Licensees holding valid Qt Commercial licenses may use this file in
 ** accordance with the Qt Solutions Commercial License Agreement provided
 ** with the Software or, alternatively, in accordance with the terms
 ** contained in a written agreement between you and Nokia.
 **
 ** GNU Lesser General Public License Usage
 ** Alternatively, this file may be used under the terms of the GNU Lesser
 ** General Public License version 2.1 as published by the Free Software
 ** Foundation and appearing in the file LICENSE.LGPL included in the
 ** packaging of this file.  Please review the following information to
 ** ensure the GNU Lesser General Public License version 2.1 requirements
 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
 **
 ** In addition, as a special exception, Nokia gives you certain
 ** additional rights. These rights are described in the Nokia Qt LGPL
 ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this
 ** package.
 **
 ** GNU General Public License Usage
 ** Alternatively, this file may be used under the terms of the GNU
 ** General Public License version 3.0 as published by the Free Software
 ** Foundation and appearing in the file LICENSE.GPL included in the
 ** packaging of this file.  Please review the following information to
 ** ensure the GNU General Public License version 3.0 requirements will be
 ** met: http://www.gnu.org/copyleft/gpl.html.
 **
 ** Please note Third Party Software included with Qt Solutions may impose
 ** additional restrictions and it is the user's responsibility to ensure
 ** that they have met the licensing requirements of the GPL, LGPL, or Qt
 ** Solutions Commercial license and the relevant license of the Third
 ** Party Software they are using.
 **
 ** If you are unsure which license is appropriate for your use, please
 ** contact Nokia at qt-info@nokia.com.
 **
 ****************************************************************************/

 #include "qtsinglecoreapplication.h"
 #include <QtCore/QDebug>

 void report(const QString& msg)
 {
     qDebug("[%i] %s", (int)QCoreApplication::applicationPid(), qPrintable(msg));
 }

 class MainClass : public QObject
 {
     Q_OBJECT
 public:
     MainClass()
         : QObject()
         {}

 public slots:
     void handleMessage(const QString& message)
         {
             report( "Message received: \"" + message + "\"");
         }
 };

 int main(int argc, char **argv)
 {
     report("Starting up");

     QtSingleCoreApplication app(argc, argv);

     if (app.isRunning()) {
         QString msg(QString("Hi master, I am %1.").arg(QCoreApplication::applicationPid()));
         bool sentok = app.sendMessage(msg);
         QString rep("Another instance is running, so I will exit.");
         rep += sentok ? " Message sent ok." : " Message sending failed.";
         report(rep);
         return 0;
     } else {
         report("No other instance is running; so I will.");
         MainClass mainObj;
         QObject::connect(&app, SIGNAL(messageReceived(const QString&)),
                          &mainObj, SLOT(handleMessage(const QString&)));
         return app.exec();
     }
 }

 #include "main.moc"


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
qtsinglecoreapplication-members.html000066400000000000000000000345441255273444100354120ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html List of All Members for QtSingleCoreApplication
  Home

List of All Members for QtSingleCoreApplication

This is the complete list of members for QtSingleCoreApplication, including inherited members.


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
qtsinglecoreapplication.html000066400000000000000000000217231255273444100337550ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/html QtSingleCoreApplication Class Reference
  Home

QtSingleCoreApplication Class Reference

A variant of the QtSingleApplication class for non-GUI applications. More...

 #include <QtSingleCoreApplication>

Inherits QCoreApplication.

Public Functions

Public Slots

  • bool sendMessage ( const QString & message, int timeout = 5000 )

Signals

Additional Inherited Members


Detailed Description

A variant of the QtSingleApplication class for non-GUI applications.

This class is a variant of QtSingleApplication suited for use in console (non-GUI) applications. It is an extension of QCoreApplication (instead of QApplication). It does not require the QtGui library.

The API and usage is identical to QtSingleApplication, except that functions relating to the "activation window" are not present, for obvious reasons. Please refer to the QtSingleApplication documentation for explanation of the usage.

A QtSingleCoreApplication instance can communicate to a QtSingleApplication instance if they share the same application id. Hence, this class can be used to create a light-weight command-line tool that sends commands to a GUI application.

See also QtSingleApplication.


Member Function Documentation

QtSingleCoreApplication::QtSingleCoreApplication ( int & argc, char ** argv )

Creates a QtSingleCoreApplication object. The application identifier will be QCoreApplication::applicationFilePath(). argc and argv are passed on to the QCoreAppliation constructor.

QtSingleCoreApplication::QtSingleCoreApplication ( const QString & appId, int & argc, char ** argv )

Creates a QtSingleCoreApplication object with the application identifier appId. argc and argv are passed on to the QCoreAppliation constructor.

QString QtSingleCoreApplication::id () const

Returns the application identifier. Two processes with the same identifier will be regarded as instances of the same application.

bool QtSingleCoreApplication::isRunning ()

Returns true if another instance of this application is running; otherwise false.

This function does not find instances of this application that are being run by a different user (on Windows: that are running in another session).

See also sendMessage().

void QtSingleCoreApplication::messageReceived ( const QString & message )   [signal]

This signal is emitted when the current instance receives a message from another instance of this application.

See also sendMessage().

bool QtSingleCoreApplication::sendMessage ( const QString & message, int timeout = 5000 )   [slot]

Tries to send the text message to the currently running instance. The QtSingleCoreApplication object in the running instance will emit the messageReceived() signal when it receives the message.

This function returns true if the message has been sent to, and processed by, the current instance. If there is no instance currently running, or if the running instance fails to process the message within timeout milliseconds, this function return false.

See also isRunning() and messageReceived().


Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies) Trademarks
Qt Solutions
merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/images/000077500000000000000000000000001255273444100265175ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/doc/images/qt-logo.png000066400000000000000000000077531255273444100306230ustar00rootroot00000000000000‰PNG  IHDR9C©Ã:u²IDATxœbüÿÿ?ÃÿÿbhÿÿJnÿÿJnÿÿJnÿÿJnÿÿJnÿÿJnÿÿ´Ô¡ ÄЄÇþ—«`šúˆ¯r'Q½úö( !! ¨ŠËN€ÿÿbÄ_üû÷‘‰‘pðÿûÿï?Ã?F&ˆ¨æFÿÿÂçÖÿÿ312þùû÷à•ãG.Ÿy÷í§ØG&Þ?ÿ}åeç—ãW•ãS•áS’à–ágbÄð’ë˜( ~ÿÿ™þýÿÇÄÈtë齸¾‚“gŽ0sÿVv`fcdøÀÄÈÀøŸáßßÿ˜™ØY8øØE¹$¥xdùUäùUex•$xd9D˜™˜ÐÌDr=#‰‰ÿÿ®ÿÿÿgdd|úö…U¾×£Çw9D„-¼þó 2üüþb8Œøÿïÿ¿¿ÿÿüþ÷ûÏ¿ßÿýebddcæàeá”â•—åS‘çW•áS–ä‘äcaBšÿÿÿý#Úõÿÿ®ÿþÿcfd®]Ðþèñ-Iµ\ _¿20110`x™‘………•‘êz†ß½ÿóú­w—þýûËÀÈÈÆÌÎÃÆ/Â).É#'˯"ǯ*Ë«,É+'Ì)ÎÊÄÆÌ@lYÿÿ®@}ýñ­fŠÍÛ¯Ÿ™™˜Í¼ÿñ 2üýÃ@d†‡$þ1üûûïÏHØÿÿÃÀÀÀÊÄÎÃÆ'Ä)&É#'ç,ϯ*˧,Å#/Â%ÁÆÌËXÿÿ®ÿþÿgfd¼óìþÛOï˜X8Y9þ±s2üÿG¬Cþ3üg@ fFff.ˆëÿ3üûý÷×ÓO÷|¸ù÷ÿv†ÿ ,Ìl¼%›•‰íï¿?fRŽöò¾_ÿ|bb`yýì—‰š3+Ô‡Œ,ÌŒ,Ä4â ÿÿ"Í­ÿÿ3°°2>{ð›•E4ÌÞ‡‰‰ùßÿ ˯N½ÿþ¶œˆ´ƒ‡Ô¦ý+×ÙÂÀÀ‘òQefdþñ•áÏ›?6:&£þýÿûþÇ›÷?ß|†¨„ÿÿ"=\ßÿn¤¢£$¡ðÿÿFFfFæÿ ÿ/¼<ÆÍÆóíû/.þÌâ,«le```d`b``0”´º{HTóOØÅWƒl0ÿÿ"­`ddøó›éóëßf¦ ÿýcfbb`dx÷ýÕ›oÏ y…‘‰APŒõâý› ,Ì,ÿýeebWÒaúá,©ðûïˆQܬ¼±º…LŒL>Ü<ùd158ÿÿ"!\ÿÿg`bbøõã?Ã7F]u¨ Æ?Þ~ûý…‰‘é?Ãÿÿÿÿóñ³¼xÿæÃ× žƒŠÖß!Èÿÿ"1\™~|ûÏðŸU^\šÿ¾üúøûï/VîÿÿÿýÿÏÀÁÅüùÇ×_? p @J$OG½œ¹%/ZÞ-«š1êã÷‹ÎOæfãýþï‘ÿÿ"9 üúñŸ™U„_ˆÚXùÏÀÀðýÏ׿ÿÿÂÛ.llŒÿüúúã¬ð”—úòûÅñ ÇàM€o>­¼5á矬LlÜl¼ÄØÿÿ”“1€0 m’ŠÒ00ðÿw¢„TVx€å“OþÚ ‘bµ¥ÑýýGB”È8ÂGt‘UÕ´ÙXp¢lóÅIöëüÒÿÿ”–I ×ÿ¿×¶ñR/‚ùÁ@2ä× Y{» ]«“€d9#u–¬lÉe+â}ÇN6ÿÿ¢ÉXfò£Jÿÿ"Õ­ÿ™˜ÿÿÿûûJ¬13²002³øÿ ŒÈ¤Á@‘Kÿÿ"Å­ŒÐz‹áïŸo?¿1000@{µ ¬ÌlÈýÏ¿ÿ™`éä?ï¿ßÿÁ2Ùÿÿ"¹ŽecgdøûëÝç HÝ.fFfˆ³þþùÏÀÄÂɆèå}þõñϿߌŒŒ”Œøÿÿ"٭윌 ž½yÁí0200ð°ñ³0³Ac™‘ñ×Ïì¬ì<œ\po¿½üûï/…ã.ÿÿ"Á­Î?;#ûß›!Íäÿhågâdáþ÷ÿddîû·¼\<|\¼§300<ù|ÿ?jóŒôÿÿ"-½þûÇÀÂöŸU€åü« ŒŒL9D„8Eÿþû iˆúð[ZPŒ‡ƒç?¬zïý5fFä6ʨ?™™ˆ oÿÿ"½Ìbú')Ã~öÖåÏß?3311ügø÷ÿ/ «² Ö¯¿˜˜ÿýczÿú²Ãß¿˜™>ýøpçývfŽÿÿÃLŒÌ~ÿgþõíÏ'"³ÿÿ"Ù­ÿü—QdùæÁ¡Ë' Ãi öò¾¿ÿüâà`þü–áÍ¿'?ÈHÛ…—ÇžyÄÁÊþûïï?ÿ200üÿÏ Æ%©)hþé1Ÿ.‡7?‡àŸÿ†.ÿÿ"Í­ŒŒ 3ˆ2²Šý¹yÄVfFfGyOÕð‡/ŸÙõ:Á?ÍÃÄéÿÿÿLLÌ [ï,ýÿï?/?ËÛÏï^}|Ã:`luX¸-åtàNîÿþ Xÿÿ"½¿ÅÀð÷ß_Ck¾ÍǶî>w…™ù÷Ÿß©:»éÍæ«7WlšSÔÉÀÀðçÿofFæcOv{²“‘ODŠé÷Ÿ7톚ÂÀÀÅÁ)*$ÀÈÄ@dÿÿ"¹ÏÍÈÈðç7ƒˆ$£‚1CRgɉi[¤…Å!½.f&v_#†ÿÿýûÿ—•‰íɧ{='JX˜Xþÿc`aÿgäÆÕº¹]R\ØÛÌ…å?Ó§_ïï¾»vàѦ·ß_°2±ìÿÿ"g|€‘‘áçÚfœîÛ•®(mª¡ )\!­&&&F¦ÓÏö·Ë{ûí ÷¿ÿÿb“aáýÚ~>qéci.ŽO?ßøñößÿÜl¼Ää-ÿÿ"sÜ…‘‘áÇ¿æ<Ϟݛçn%î›á‘h«mÆÈÈ)tûN–­¾6ƒ›•âPˆ–ß¿þ³0³Hˆñ~þýæã—ÌŒ,ú|ëןhmÂÿØF>ÿÿÿÏÂÄÊÃÆ1Ó:ÿÿ¢´ýÊÄÄðçÏ19Æßÿ_/ر†á÷¿ßÿþÿccæÈ7kŸä±žŸ]èÏÿßÛ¯ŒŒŒ¿ÿýå’’ãSaÀÑÞÿÿ¢B[ûß?¶ºö|}kfž¼~‘…á?ÉkF¶/¿>9*øq°pýÅQÿÿ¢( @##ïŸÿe”™ÿ1| ›QXænäÈÏÅû÷ÿŸç_þúûƒ‰ #Æ¡³p7½ýþB]X?F·çÔÿÿ¢‚[aÎý'§ÌþKîãô›ù+ž ðqòüþ÷ëÛï/ÌŒ,,L¬ Œ L Ìðáö¿ÿþþþûë7tªƒ‘…‰ÅDÊ¡Úz /ÿÿÿÿ°#300ÿÿÂíVˆ·‰nCœËÄÈ")"üçïß/¿?110q°pýûÿ÷ï¿¿þþþýïl†‡_‚GV’WNŽOUž_UIPSCØ…‰õ?Ã\e``ÿÿÂ=_ðR(2r-dúŒ‰‘‘‘á?ÿ_¿ÿù™šûóŸá?+7Ÿ8Œ$œŸŠ¼€šŸŠ$¯¼§ +Â:†xBÿÿÂêVFn^†?¿ÿ³þcbdd@êyÀÒÄ‚¿ÿÿþþûûÏßßþÿf```abãaå㔆L»)ð«Êñ«JñÈ sI°2±¡Ò¤!#3Áš ÿÿÂ>Ç ™^š´y^~o —(·µ?+33d:óïŸÈ.cåf…L©ÉÊò©(¨Éñ©Hñ*sJ`ΠMg222’Ú¥ÿÿž˜™þýû—ç›ÄÇÁ—15ëý·÷,lŒÌ ¬Ül¼"<’ void report(const QString& msg) { qDebug("[%i] %s", (int)QCoreApplication::applicationPid(), qPrintable(msg)); } class MainClass : public QObject { Q_OBJECT public: MainClass() : QObject() {} public slots: void handleMessage(const QString& message) { report( "Message received: \"" + message + "\""); } }; int main(int argc, char **argv) { report("Starting up"); QtSingleCoreApplication app(argc, argv); if (app.isRunning()) { QString msg(QString("Hi master, I am %1.").arg(QCoreApplication::applicationPid())); bool sentok = app.sendMessage(msg); QString rep("Another instance is running, so I will exit."); rep += sentok ? " Message sent ok." : " Message sending failed."; report(rep); return 0; } else { report("No other instance is running; so I will."); MainClass mainObj; QObject::connect(&app, SIGNAL(messageReceived(const QString&)), &mainObj, SLOT(handleMessage(const QString&))); return app.exec(); } } #include "main.moc" merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/examples.pro000066400000000000000000000001111255273444100306540ustar00rootroot00000000000000TEMPLATE = subdirs SUBDIRS = trivial \ loader \ console merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/000077500000000000000000000000001255273444100275715ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file1.qsl000066400000000000000000000000071255273444100313070ustar00rootroot00000000000000File 1 merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/file2.qsl000066400000000000000000000000071255273444100313100ustar00rootroot00000000000000File 2 merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.pro000066400000000000000000000001211255273444100315530ustar00rootroot00000000000000TEMPLATE = app include(../../src/qtsingleapplication.pri) SOURCES += main.cpp merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/loader.qdoc000066400000000000000000000075111255273444100317130ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ /*! \page qtsingleapplication-example-loader.html \title Loading Documents The application in this example loads or prints the documents passed as commandline parameters to further instances of this application. \quotefromfile loader/main.cpp \printuntil }; The user interface in this application is a QMainWindow subclass with a QMdiArea as the central widget. It implements a slot \c handleMessage() that will be connected to the messageReceived() signal of the QtSingleApplication class. \printuntil } The MainWindow constructor creates a minimal user interface. \printto case Print: The handleMessage() slot interprets the message passed in as a filename that can be prepended with \e /print to indicate that the file should just be printed rather than loaded. \printto #include Loading the file will also activate the window. \printto mw The \c main entry point function creates a QtSingleApplication object, and creates a message to send to a running instance of the application. If the message was sent successfully the process exits immediately. \printuntil } If the message could not be sent the application starts up. Note that \c false is passed to the call to setActivationWindow() to prevent automatic activation for every message received, e.g. when the application should just print a file. Instead, the message handling function determines whether activation is requested, and signals that by emitting the needToShow() signal. This is then simply connected directly to QtSingleApplication's activateWindow() slot. */ merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/loader/main.cpp000066400000000000000000000105611255273444100312240ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include #include #include #include #include #include #include #include class MainWindow : public QMainWindow { Q_OBJECT public: MainWindow(); public slots: void handleMessage(const QString& message); signals: void needToShow(); private: QMdiArea *workspace; }; MainWindow::MainWindow() { workspace = new QMdiArea(this); setCentralWidget(workspace); } void MainWindow::handleMessage(const QString& message) { enum Action { Nothing, Open, Print } action; action = Nothing; QString filename = message; if (message.toLower().startsWith("/print ")) { filename = filename.mid(7); action = Print; } else if (!message.isEmpty()) { action = Open; } if (action == Nothing) { emit needToShow(); return; } QFile file(filename); QString contents; if (file.open(QIODevice::ReadOnly)) contents = file.readAll(); else contents = "[[Error: Could not load file " + filename + "]]"; QTextEdit *view = new QTextEdit; view->setPlainText(contents); switch(action) { case Print: { QPrinter printer; view->print(&printer); delete view; } break; case Open: { workspace->addSubWindow(view); view->setWindowTitle(message); view->show(); emit needToShow(); } break; default: break; }; } #include "main.moc" int main(int argc, char **argv) { QtSingleApplication instance("File loader QtSingleApplication example", argc, argv); QString message; for (int a = 1; a < argc; ++a) { message += argv[a]; if (a < argc-1) message += " "; } if (instance.sendMessage(message)) return 0; MainWindow mw; mw.handleMessage(message); mw.show(); QObject::connect(&instance, SIGNAL(messageReceived(const QString&)), &mw, SLOT(handleMessage(const QString&))); instance.setActivationWindow(&mw, false); QObject::connect(&mw, SIGNAL(needToShow()), &instance, SLOT(activateWindow())); return instance.exec(); } merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/000077500000000000000000000000001255273444100277755ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/main.cpp000066400000000000000000000056201255273444100314300ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include #include class TextEdit : public QTextEdit { Q_OBJECT public: TextEdit(QWidget *parent = 0) : QTextEdit(parent) {} public slots: void append(const QString &str) { QTextEdit::append(str); } }; #include "main.moc" int main(int argc, char **argv) { QtSingleApplication instance(argc, argv); if (instance.sendMessage("Wake up!")) return 0; TextEdit logview; logview.setReadOnly(true); logview.show(); instance.setActivationWindow(&logview); QObject::connect(&instance, SIGNAL(messageReceived(const QString&)), &logview, SLOT(append(const QString&))); return instance.exec(); } merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.pro000066400000000000000000000001211255273444100321630ustar00rootroot00000000000000TEMPLATE = app include(../../src/qtsingleapplication.pri) SOURCES += main.cpp merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/examples/trivial/trivial.qdoc000066400000000000000000000070451255273444100323250ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ /*! \page qtsingleapplication-example-trivial.html \title A Trivial Example The application in this example has a log-view that displays messages sent by further instances of the same application. The example demonstrates the use of the QtSingleApplication class to detect and communicate with a running instance of the application using the sendMessage() API. The messageReceived() signal is used to display received messages in a QTextEdit log. \quotefromfile trivial/main.cpp \printuntil instance The example has only the \c main entry point function. A QtSingleApplication object is created immediately. \printuntil return If another instance of this application is already running, sendMessage() will succeed, and this instance just exits immediately. \printuntil show() Otherwise the instance continues as normal and creates the user interface. \printuntil return instance.exec(); The \c logview object is also set as the application's activation window. Every time a message is received, the window will be raised and activated automatically. The messageReceived() signal is also connected to the QTextEdit's append() slot. Every message received from further instances of this application will be displayed in the log. Finally the event loop is entered. */ merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/qtsingleapplication.pro000066400000000000000000000002031255273444100312740ustar00rootroot00000000000000TEMPLATE=subdirs CONFIG += ordered include(common.pri) qtsingleapplication-uselib:SUBDIRS=buildlib SUBDIRS+=examples QT += widgets merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/000077500000000000000000000000001255273444100252745ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/QtLockedFile000066400000000000000000000000321255273444100275200ustar00rootroot00000000000000#include "qtlockedfile.h" merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/QtSingleApplication000066400000000000000000000000411255273444100311240ustar00rootroot00000000000000#include "qtsingleapplication.h" merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.cpp000066400000000000000000000153251255273444100303210ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include "qtlocalpeer.h" #include #include #include #if defined(Q_OS_WIN) #include #include typedef BOOL(WINAPI*PProcessIdToSessionId)(DWORD,DWORD*); static PProcessIdToSessionId pProcessIdToSessionId = 0; #endif #if defined(Q_OS_UNIX) #include #include #endif #include #include namespace QtLP_Private { #include "qtlockedfile.cpp" #if defined(Q_OS_WIN) #include "qtlockedfile_win.cpp" #else #include "qtlockedfile_unix.cpp" #endif } const char* QtLocalPeer::ack = "ack"; QtLocalPeer::QtLocalPeer(QObject* parent, const QString &appId) : QObject(parent), id(appId) { QString prefix = id; if (id.isEmpty()) { id = QCoreApplication::applicationFilePath(); #if defined(Q_OS_WIN) id = id.toLower(); #endif prefix = id.section(QLatin1Char('/'), -1); } prefix.remove(QRegExp("[^a-zA-Z]")); prefix.truncate(6); QByteArray idc = id.toUtf8(); quint16 idNum = qChecksum(idc.constData(), idc.size()); socketName = QLatin1String("qtsingleapp-") + prefix + QLatin1Char('-') + QString::number(idNum, 16); #if defined(Q_OS_WIN) if (!pProcessIdToSessionId) { QLibrary lib("kernel32"); pProcessIdToSessionId = (PProcessIdToSessionId)lib.resolve("ProcessIdToSessionId"); } if (pProcessIdToSessionId) { DWORD sessionId = 0; pProcessIdToSessionId(GetCurrentProcessId(), &sessionId); socketName += QLatin1Char('-') + QString::number(sessionId, 16); } #else socketName += QLatin1Char('-') + QString::number(getuid(), 16); #endif server = new QLocalServer(this); QString lockName = QDir(QDir::tempPath()).absolutePath() + QLatin1Char('/') + socketName + QLatin1String("-lockfile"); lockFile.setFileName(lockName); lockFile.open(QIODevice::ReadWrite); } bool QtLocalPeer::isClient() { if (lockFile.isLocked()) return false; if (!lockFile.lock(QtLP_Private::QtLockedFile::WriteLock, false)) return true; bool res = server->listen(socketName); #if defined(Q_OS_UNIX) && (QT_VERSION >= QT_VERSION_CHECK(4,5,0)) // ### Workaround if (!res && server->serverError() == QAbstractSocket::AddressInUseError) { QFile::remove(QDir::cleanPath(QDir::tempPath())+QLatin1Char('/')+socketName); res = server->listen(socketName); } #endif if (!res) qWarning("QtSingleCoreApplication: listen on local socket failed, %s", qPrintable(server->errorString())); QObject::connect(server, SIGNAL(newConnection()), SLOT(receiveConnection())); return false; } bool QtLocalPeer::sendMessage(const QString &message, int timeout) { if (!isClient()) return false; QLocalSocket socket; bool connOk = false; for(int i = 0; i < 2; i++) { // Try twice, in case the other instance is just starting up socket.connectToServer(socketName); connOk = socket.waitForConnected(timeout/2); if (connOk || i) break; int ms = 250; #if defined(Q_OS_WIN) Sleep(DWORD(ms)); #else struct timespec ts = { ms / 1000, (ms % 1000) * 1000 * 1000 }; nanosleep(&ts, NULL); #endif } if (!connOk) return false; QByteArray uMsg(message.toUtf8()); QDataStream ds(&socket); ds.writeBytes(uMsg.constData(), uMsg.size()); bool res = socket.waitForBytesWritten(timeout); res &= socket.waitForReadyRead(timeout); // wait for ack res &= (socket.read(qstrlen(ack)) == ack); return res; } void QtLocalPeer::receiveConnection() { QLocalSocket* socket = server->nextPendingConnection(); if (!socket) return; while (socket->bytesAvailable() < (int)sizeof(quint32)) socket->waitForReadyRead(); QDataStream ds(socket); QByteArray uMsg; quint32 remaining; ds >> remaining; uMsg.resize(remaining); int got = 0; char* uMsgBuf = uMsg.data(); do { got = ds.readRawData(uMsgBuf, remaining); remaining -= got; uMsgBuf += got; } while (remaining && got >= 0 && socket->waitForReadyRead(2000)); if (got < 0) { qWarning() << "QtLocalPeer: Message reception failed" << socket->errorString(); delete socket; return; } QString message(QString::fromUtf8(uMsg)); socket->write(ack, qstrlen(ack)); socket->waitForBytesWritten(1000); delete socket; emit messageReceived(message); //### (might take a long time to return) } merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlocalpeer.h000066400000000000000000000055621255273444100277700ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include #include #include namespace QtLP_Private { #include "qtlockedfile.h" } class QtLocalPeer : public QObject { Q_OBJECT public: QtLocalPeer(QObject *parent = 0, const QString &appId = QString()); bool isClient(); bool sendMessage(const QString &message, int timeout); QString applicationId() const { return id; } Q_SIGNALS: void messageReceived(const QString &message); protected Q_SLOTS: void receiveConnection(); protected: QString id; QString socketName; QLocalServer* server; QtLP_Private::QtLockedFile lockFile; private: static const char* ack; }; merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.cpp000066400000000000000000000143361255273444100304550ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include "qtlockedfile.h" /*! \class QtLockedFile \brief The QtLockedFile class extends QFile with advisory locking functions. A file may be locked in read or write mode. Multiple instances of \e QtLockedFile, created in multiple processes running on the same machine, may have a file locked in read mode. Exactly one instance may have it locked in write mode. A read and a write lock cannot exist simultaneously on the same file. The file locks are advisory. This means that nothing prevents another process from manipulating a locked file using QFile or file system functions offered by the OS. Serialization is only guaranteed if all processes that access the file use QLockedFile. Also, while holding a lock on a file, a process must not open the same file again (through any API), or locks can be unexpectedly lost. The lock provided by an instance of \e QtLockedFile is released whenever the program terminates. This is true even when the program crashes and no destructors are called. */ /*! \enum QtLockedFile::LockMode This enum describes the available lock modes. \value ReadLock A read lock. \value WriteLock A write lock. \value NoLock Neither a read lock nor a write lock. */ /*! Constructs an unlocked \e QtLockedFile object. This constructor behaves in the same way as \e QFile::QFile(). \sa QFile::QFile() */ QtLockedFile::QtLockedFile() : QFile() { #ifdef Q_OS_WIN wmutex = 0; rmutex = 0; #endif m_lock_mode = NoLock; } /*! Constructs an unlocked QtLockedFile object with file \a name. This constructor behaves in the same way as \e QFile::QFile(const QString&). \sa QFile::QFile() */ QtLockedFile::QtLockedFile(const QString &name) : QFile(name) { #ifdef Q_OS_WIN wmutex = 0; rmutex = 0; #endif m_lock_mode = NoLock; } /*! Opens the file in OpenMode \a mode. This is identical to QFile::open(), with the one exception that the Truncate mode flag is disallowed. Truncation would conflict with the advisory file locking, since the file would be modified before the write lock is obtained. If truncation is required, use resize(0) after obtaining the write lock. Returns true if successful; otherwise false. \sa QFile::open(), QFile::resize() */ bool QtLockedFile::open(OpenMode mode) { if (mode & QIODevice::Truncate) { qWarning("QtLockedFile::open(): Truncate mode not allowed."); return false; } return QFile::open(mode); } /*! Returns \e true if this object has a in read or write lock; otherwise returns \e false. \sa lockMode() */ bool QtLockedFile::isLocked() const { return m_lock_mode != NoLock; } /*! Returns the type of lock currently held by this object, or \e QtLockedFile::NoLock. \sa isLocked() */ QtLockedFile::LockMode QtLockedFile::lockMode() const { return m_lock_mode; } /*! \fn bool QtLockedFile::lock(LockMode mode, bool block = true) Obtains a lock of type \a mode. The file must be opened before it can be locked. If \a block is true, this function will block until the lock is aquired. If \a block is false, this function returns \e false immediately if the lock cannot be aquired. If this object already has a lock of type \a mode, this function returns \e true immediately. If this object has a lock of a different type than \a mode, the lock is first released and then a new lock is obtained. This function returns \e true if, after it executes, the file is locked by this object, and \e false otherwise. \sa unlock(), isLocked(), lockMode() */ /*! \fn bool QtLockedFile::unlock() Releases a lock. If the object has no lock, this function returns immediately. This function returns \e true if, after it executes, the file is not locked by this object, and \e false otherwise. \sa lock(), isLocked(), lockMode() */ /*! \fn QtLockedFile::~QtLockedFile() Destroys the \e QtLockedFile object. If any locks were held, they are released. */ merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile.h000066400000000000000000000066661255273444100301310ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #ifndef QTLOCKEDFILE_H #define QTLOCKEDFILE_H #include #ifdef Q_OS_WIN #include #endif #if defined(Q_WS_WIN) # if !defined(QT_QTLOCKEDFILE_EXPORT) && !defined(QT_QTLOCKEDFILE_IMPORT) # define QT_QTLOCKEDFILE_EXPORT # elif defined(QT_QTLOCKEDFILE_IMPORT) # if defined(QT_QTLOCKEDFILE_EXPORT) # undef QT_QTLOCKEDFILE_EXPORT # endif # define QT_QTLOCKEDFILE_EXPORT __declspec(dllimport) # elif defined(QT_QTLOCKEDFILE_EXPORT) # undef QT_QTLOCKEDFILE_EXPORT # define QT_QTLOCKEDFILE_EXPORT __declspec(dllexport) # endif #else # define QT_QTLOCKEDFILE_EXPORT #endif class QT_QTLOCKEDFILE_EXPORT QtLockedFile : public QFile { public: enum LockMode { NoLock = 0, ReadLock, WriteLock }; QtLockedFile(); QtLockedFile(const QString &name); ~QtLockedFile(); bool open(OpenMode mode); bool lock(LockMode mode, bool block = true); bool unlock(); bool isLocked() const; LockMode lockMode() const; private: #ifdef Q_OS_WIN Qt::HANDLE wmutex; Qt::HANDLE rmutex; QVector rmutexes; QString mutexname; Qt::HANDLE getMutexHandle(int idx, bool doCreate); bool waitMutex(Qt::HANDLE mutex, bool doBlock); #endif LockMode m_lock_mode; }; #endif merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_unix.cpp000066400000000000000000000072101255273444100315110ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include #include #include #include #include "qtlockedfile.h" bool QtLockedFile::lock(LockMode mode, bool block) { if (!isOpen()) { qWarning("QtLockedFile::lock(): file is not opened"); return false; } if (mode == NoLock) return unlock(); if (mode == m_lock_mode) return true; if (m_lock_mode != NoLock) unlock(); struct flock fl; fl.l_whence = SEEK_SET; fl.l_start = 0; fl.l_len = 0; fl.l_type = (mode == ReadLock) ? F_RDLCK : F_WRLCK; int cmd = block ? F_SETLKW : F_SETLK; int ret = fcntl(handle(), cmd, &fl); if (ret == -1) { if (errno != EINTR && errno != EAGAIN) qWarning("QtLockedFile::lock(): fcntl: %s", strerror(errno)); return false; } m_lock_mode = mode; return true; } bool QtLockedFile::unlock() { if (!isOpen()) { qWarning("QtLockedFile::unlock(): file is not opened"); return false; } if (!isLocked()) return true; struct flock fl; fl.l_whence = SEEK_SET; fl.l_start = 0; fl.l_len = 0; fl.l_type = F_UNLCK; int ret = fcntl(handle(), F_SETLKW, &fl); if (ret == -1) { qWarning("QtLockedFile::lock(): fcntl: %s", strerror(errno)); return false; } m_lock_mode = NoLock; return true; } QtLockedFile::~QtLockedFile() { if (isOpen()) unlock(); } merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtlockedfile_win.cpp000066400000000000000000000152621255273444100313310ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include "qtlockedfile.h" #include #include #if QT_VERSION >= 0x050000 #define QT_WA(unicode,ansi) unicode #endif #define MUTEX_PREFIX "QtLockedFile mutex " // Maximum number of concurrent read locks. Must not be greater than MAXIMUM_WAIT_OBJECTS #define MAX_READERS MAXIMUM_WAIT_OBJECTS Qt::HANDLE QtLockedFile::getMutexHandle(int idx, bool doCreate) { if (mutexname.isEmpty()) { QFileInfo fi(*this); mutexname = QString::fromLatin1(MUTEX_PREFIX) + fi.absoluteFilePath().toLower(); } QString mname(mutexname); if (idx >= 0) mname += QString::number(idx); Qt::HANDLE mutex; if (doCreate) { QT_WA( { mutex = CreateMutexW(NULL, FALSE, (TCHAR*)mname.utf16()); }, { mutex = CreateMutexA(NULL, FALSE, mname.toLocal8Bit().constData()); } ); if (!mutex) { qErrnoWarning("QtLockedFile::lock(): CreateMutex failed"); return 0; } } else { QT_WA( { mutex = OpenMutexW(SYNCHRONIZE | MUTEX_MODIFY_STATE, FALSE, (TCHAR*)mname.utf16()); }, { mutex = OpenMutexA(SYNCHRONIZE | MUTEX_MODIFY_STATE, FALSE, mname.toLocal8Bit().constData()); } ); if (!mutex) { if (GetLastError() != ERROR_FILE_NOT_FOUND) qErrnoWarning("QtLockedFile::lock(): OpenMutex failed"); return 0; } } return mutex; } bool QtLockedFile::waitMutex(Qt::HANDLE mutex, bool doBlock) { Q_ASSERT(mutex); DWORD res = WaitForSingleObject(mutex, doBlock ? INFINITE : 0); switch (res) { case WAIT_OBJECT_0: case WAIT_ABANDONED: return true; break; case WAIT_TIMEOUT: break; default: qErrnoWarning("QtLockedFile::lock(): WaitForSingleObject failed"); } return false; } bool QtLockedFile::lock(LockMode mode, bool block) { if (!isOpen()) { qWarning("QtLockedFile::lock(): file is not opened"); return false; } if (mode == NoLock) return unlock(); if (mode == m_lock_mode) return true; if (m_lock_mode != NoLock) unlock(); if (!wmutex && !(wmutex = getMutexHandle(-1, true))) return false; if (!waitMutex(wmutex, block)) return false; if (mode == ReadLock) { int idx = 0; for (; idx < MAX_READERS; idx++) { rmutex = getMutexHandle(idx, false); if (!rmutex || waitMutex(rmutex, false)) break; CloseHandle(rmutex); } bool ok = true; if (idx >= MAX_READERS) { qWarning("QtLockedFile::lock(): too many readers"); rmutex = 0; ok = false; } else if (!rmutex) { rmutex = getMutexHandle(idx, true); if (!rmutex || !waitMutex(rmutex, false)) ok = false; } if (!ok && rmutex) { CloseHandle(rmutex); rmutex = 0; } ReleaseMutex(wmutex); if (!ok) return false; } else { Q_ASSERT(rmutexes.isEmpty()); for (int i = 0; i < MAX_READERS; i++) { Qt::HANDLE mutex = getMutexHandle(i, false); if (mutex) rmutexes.append(mutex); } if (rmutexes.size()) { DWORD res = WaitForMultipleObjects(rmutexes.size(), rmutexes.constData(), TRUE, block ? INFINITE : 0); if (res != WAIT_OBJECT_0 && res != WAIT_ABANDONED) { if (res != WAIT_TIMEOUT) qErrnoWarning("QtLockedFile::lock(): WaitForMultipleObjects failed"); m_lock_mode = WriteLock; // trick unlock() to clean up - semiyucky unlock(); return false; } } } m_lock_mode = mode; return true; } bool QtLockedFile::unlock() { if (!isOpen()) { qWarning("QtLockedFile::unlock(): file is not opened"); return false; } if (!isLocked()) return true; if (m_lock_mode == ReadLock) { ReleaseMutex(rmutex); CloseHandle(rmutex); rmutex = 0; } else { foreach(Qt::HANDLE mutex, rmutexes) { ReleaseMutex(mutex); CloseHandle(mutex); } rmutexes.clear(); ReleaseMutex(wmutex); } m_lock_mode = QtLockedFile::NoLock; return true; } QtLockedFile::~QtLockedFile() { if (isOpen()) unlock(); if (wmutex) CloseHandle(wmutex); } merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.cpp000066400000000000000000000267761255273444100320740ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include "qtsingleapplication.h" #include "qtlocalpeer.h" #include /*! \class QtSingleApplication qtsingleapplication.h \brief The QtSingleApplication class provides an API to detect and communicate with running instances of an application. This class allows you to create applications where only one instance should be running at a time. I.e., if the user tries to launch another instance, the already running instance will be activated instead. Another usecase is a client-server system, where the first started instance will assume the role of server, and the later instances will act as clients of that server. By default, the full path of the executable file is used to determine whether two processes are instances of the same application. You can also provide an explicit identifier string that will be compared instead. The application should create the QtSingleApplication object early in the startup phase, and call isRunning() or sendMessage() to find out if another instance of this application is already running. Startup parameters (e.g. the name of the file the user wanted this new instance to open) can be passed to the running instance in the sendMessage() function. If isRunning() or sendMessage() returns false, it means that no other instance is running, and this instance has assumed the role as the running instance. The application should continue with the initialization of the application user interface before entering the event loop with exec(), as normal. The messageReceived() signal will be emitted when the application receives messages from another instance of the same application. If isRunning() or sendMessage() returns true, another instance is already running, and the application should terminate or enter client mode. If a message is received it might be helpful to the user to raise the application so that it becomes visible. To facilitate this, QtSingleApplication provides the setActivationWindow() function and the activateWindow() slot. Here's an example that shows how to convert an existing application to use QtSingleApplication. It is very simple and does not make use of all QtSingleApplication's functionality (see the examples for that). \code // Original int main(int argc, char **argv) { QApplication app(argc, argv); MyMainWidget mmw; mmw.show(); return app.exec(); } // Single instance int main(int argc, char **argv) { QtSingleApplication app(argc, argv); if (app.isRunning()) return 0; MyMainWidget mmw; app.setActivationWindow(&mmw); mmw.show(); return app.exec(); } \endcode Once this QtSingleApplication instance is destroyed(for example, when the user quits), when the user next attempts to run the application this instance will not, of course, be encountered. The next instance to call isRunning() or sendMessage() will assume the role as the new running instance. For console (non-GUI) applications, QtSingleCoreApplication may be used instead of this class, to avoid the dependency on the QtGui library. \sa QtSingleCoreApplication */ void QtSingleApplication::sysInit(const QString &appId) { actWin = 0; peer = new QtLocalPeer(this, appId); connect(peer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&))); } /*! Creates a QtSingleApplication object. The application identifier will be QCoreApplication::applicationFilePath(). \a argc, \a argv, and \a GUIenabled are passed on to the QAppliation constructor. If you are creating a console application (i.e. setting \a GUIenabled to false), you may consider using QtSingleCoreApplication instead. */ QtSingleApplication::QtSingleApplication(int &argc, char **argv, bool GUIenabled) : QApplication(argc, argv, GUIenabled) { sysInit(); } /*! Creates a QtSingleApplication object with the application identifier \a appId. \a argc and \a argv are passed on to the QAppliation constructor. */ QtSingleApplication::QtSingleApplication(const QString &appId, int &argc, char **argv) : QApplication(argc, argv) { sysInit(appId); } /*! Creates a QtSingleApplication object. The application identifier will be QCoreApplication::applicationFilePath(). \a argc, \a argv, and \a type are passed on to the QAppliation constructor. */ #if 0 QtSingleApplication::QtSingleApplication(int &argc, char **argv, Type type) : QApplication(argc, argv, type) { sysInit(); } #endif #if defined(Q_WS_X11) /*! Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be QCoreApplication::applicationFilePath(). \a dpy, \a visual, and \a cmap are passed on to the QApplication constructor. */ QtSingleApplication::QtSingleApplication(Display* dpy, Qt::HANDLE visual, Qt::HANDLE cmap) : QApplication(dpy, visual, cmap) { sysInit(); } /*! Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be QCoreApplication::applicationFilePath(). \a dpy, \a argc, \a argv, \a visual, and \a cmap are passed on to the QApplication constructor. */ QtSingleApplication::QtSingleApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual, Qt::HANDLE cmap) : QApplication(dpy, argc, argv, visual, cmap) { sysInit(); } /*! Special constructor for X11, ref. the documentation of QApplication's corresponding constructor. The application identifier will be \a appId. \a dpy, \a argc, \a argv, \a visual, and \a cmap are passed on to the QApplication constructor. */ QtSingleApplication::QtSingleApplication(Display* dpy, const QString &appId, int argc, char **argv, Qt::HANDLE visual, Qt::HANDLE cmap) : QApplication(dpy, argc, argv, visual, cmap) { sysInit(appId); } #endif /*! Returns true if another instance of this application is running; otherwise false. This function does not find instances of this application that are being run by a different user (on Windows: that are running in another session). \sa sendMessage() */ bool QtSingleApplication::isRunning() { return peer->isClient(); } /*! Tries to send the text \a message to the currently running instance. The QtSingleApplication object in the running instance will emit the messageReceived() signal when it receives the message. This function returns true if the message has been sent to, and processed by, the current instance. If there is no instance currently running, or if the running instance fails to process the message within \a timeout milliseconds, this function return false. \sa isRunning(), messageReceived() */ bool QtSingleApplication::sendMessage(const QString &message, int timeout) { return peer->sendMessage(message, timeout); } /*! Returns the application identifier. Two processes with the same identifier will be regarded as instances of the same application. */ QString QtSingleApplication::id() const { return peer->applicationId(); } /*! Sets the activation window of this application to \a aw. The activation window is the widget that will be activated by activateWindow(). This is typically the application's main window. If \a activateOnMessage is true (the default), the window will be activated automatically every time a message is received, just prior to the messageReceived() signal being emitted. \sa activateWindow(), messageReceived() */ void QtSingleApplication::setActivationWindow(QWidget* aw, bool activateOnMessage) { actWin = aw; if (activateOnMessage) connect(peer, SIGNAL(messageReceived(const QString&)), this, SLOT(activateWindow())); else disconnect(peer, SIGNAL(messageReceived(const QString&)), this, SLOT(activateWindow())); } /*! Returns the applications activation window if one has been set by calling setActivationWindow(), otherwise returns 0. \sa setActivationWindow() */ QWidget* QtSingleApplication::activationWindow() const { return actWin; } /*! De-minimizes, raises, and activates this application's activation window. This function does nothing if no activation window has been set. This is a convenience function to show the user that this application instance has been activated when he has tried to start another instance. This function should typically be called in response to the messageReceived() signal. By default, that will happen automatically, if an activation window has been set. \sa setActivationWindow(), messageReceived(), initialize() */ void QtSingleApplication::activateWindow() { if (actWin) { qDebug() << "QtSingleApplication::activateWindow"; actWin->setWindowState(actWin->windowState() & ~Qt::WindowMinimized); actWin->raise(); actWin->activateWindow(); } } /*! \fn void QtSingleApplication::messageReceived(const QString& message) This signal is emitted when the current instance receives a \a message from another instance of this application. \sa sendMessage(), setActivationWindow(), activateWindow() */ /*! \fn void QtSingleApplication::initialize(bool dummy = true) \obsolete */ merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.h000066400000000000000000000077461255273444100315350ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include class QtLocalPeer; #if defined(Q_WS_WIN) # if !defined(QT_QTSINGLEAPPLICATION_EXPORT) && !defined(QT_QTSINGLEAPPLICATION_IMPORT) # define QT_QTSINGLEAPPLICATION_EXPORT # elif defined(QT_QTSINGLEAPPLICATION_IMPORT) # if defined(QT_QTSINGLEAPPLICATION_EXPORT) # undef QT_QTSINGLEAPPLICATION_EXPORT # endif # define QT_QTSINGLEAPPLICATION_EXPORT __declspec(dllimport) # elif defined(QT_QTSINGLEAPPLICATION_EXPORT) # undef QT_QTSINGLEAPPLICATION_EXPORT # define QT_QTSINGLEAPPLICATION_EXPORT __declspec(dllexport) # endif #else # define QT_QTSINGLEAPPLICATION_EXPORT #endif class QT_QTSINGLEAPPLICATION_EXPORT QtSingleApplication : public QApplication { Q_OBJECT public: QtSingleApplication(int &argc, char **argv, bool GUIenabled = true); QtSingleApplication(const QString &id, int &argc, char **argv); //QtSingleApplication(int &argc, char **argv, Type type); #if defined(Q_WS_X11) QtSingleApplication(Display* dpy, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); QtSingleApplication(Display *dpy, int &argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE cmap= 0); QtSingleApplication(Display* dpy, const QString &appId, int argc, char **argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0); #endif bool isRunning(); QString id() const; void setActivationWindow(QWidget* aw, bool activateOnMessage = true); QWidget* activationWindow() const; // Obsolete: void initialize(bool dummy = true) { isRunning(); Q_UNUSED(dummy) } public Q_SLOTS: bool sendMessage(const QString &message, int timeout = 5000); void activateWindow(); Q_SIGNALS: void messageReceived(const QString &message); private: void sysInit(const QString &appId = QString()); QtLocalPeer *peer; QWidget *actWin; }; merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsingleapplication.pri000066400000000000000000000010401255273444100320550ustar00rootroot00000000000000include(../common.pri) INCLUDEPATH += $$PWD DEPENDPATH += $$PWD QT *= network widgets qtsingleapplication-uselib:!qtsingleapplication-buildlib { LIBS += -L$$QTSINGLEAPPLICATION_LIBDIR -l$$QTSINGLEAPPLICATION_LIBNAME } else { SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h } win32 { contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSINGLEAPPLICATION_EXPORT else:qtsingleapplication-uselib:DEFINES += QT_QTSINGLEAPPLICATION_IMPORT } merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.cpp000066400000000000000000000127511255273444100327310ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include "qtsinglecoreapplication.h" #include "qtlocalpeer.h" /*! \class QtSingleCoreApplication qtsinglecoreapplication.h \brief A variant of the QtSingleApplication class for non-GUI applications. This class is a variant of QtSingleApplication suited for use in console (non-GUI) applications. It is an extension of QCoreApplication (instead of QApplication). It does not require the QtGui library. The API and usage is identical to QtSingleApplication, except that functions relating to the "activation window" are not present, for obvious reasons. Please refer to the QtSingleApplication documentation for explanation of the usage. A QtSingleCoreApplication instance can communicate to a QtSingleApplication instance if they share the same application id. Hence, this class can be used to create a light-weight command-line tool that sends commands to a GUI application. \sa QtSingleApplication */ /*! Creates a QtSingleCoreApplication object. The application identifier will be QCoreApplication::applicationFilePath(). \a argc and \a argv are passed on to the QCoreAppliation constructor. */ QtSingleCoreApplication::QtSingleCoreApplication(int &argc, char **argv) : QCoreApplication(argc, argv) { peer = new QtLocalPeer(this); connect(peer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&))); } /*! Creates a QtSingleCoreApplication object with the application identifier \a appId. \a argc and \a argv are passed on to the QCoreAppliation constructor. */ QtSingleCoreApplication::QtSingleCoreApplication(const QString &appId, int &argc, char **argv) : QCoreApplication(argc, argv) { peer = new QtLocalPeer(this, appId); connect(peer, SIGNAL(messageReceived(const QString&)), SIGNAL(messageReceived(const QString&))); } /*! Returns true if another instance of this application is running; otherwise false. This function does not find instances of this application that are being run by a different user (on Windows: that are running in another session). \sa sendMessage() */ bool QtSingleCoreApplication::isRunning() { return peer->isClient(); } /*! Tries to send the text \a message to the currently running instance. The QtSingleCoreApplication object in the running instance will emit the messageReceived() signal when it receives the message. This function returns true if the message has been sent to, and processed by, the current instance. If there is no instance currently running, or if the running instance fails to process the message within \a timeout milliseconds, this function return false. \sa isRunning(), messageReceived() */ bool QtSingleCoreApplication::sendMessage(const QString &message, int timeout) { return peer->sendMessage(message, timeout); } /*! Returns the application identifier. Two processes with the same identifier will be regarded as instances of the same application. */ QString QtSingleCoreApplication::id() const { return peer->applicationId(); } /*! \fn void QtSingleCoreApplication::messageReceived(const QString& message) This signal is emitted when the current instance receives a \a message from another instance of this application. \sa sendMessage() */ merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.h000066400000000000000000000052571255273444100324010ustar00rootroot00000000000000/**************************************************************************** ** ** Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). ** All rights reserved. ** Contact: Nokia Corporation (qt-info@nokia.com) ** ** This file is part of a Qt Solutions component. ** ** Commercial Usage ** Licensees holding valid Qt Commercial licenses may use this file in ** accordance with the Qt Solutions Commercial License Agreement provided ** with the Software or, alternatively, in accordance with the terms ** contained in a written agreement between you and Nokia. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 2.1 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 2.1 requirements ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. ** ** In addition, as a special exception, Nokia gives you certain ** additional rights. These rights are described in the Nokia Qt LGPL ** Exception version 1.1, included in the file LGPL_EXCEPTION.txt in this ** package. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 3.0 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. Please review the following information to ** ensure the GNU General Public License version 3.0 requirements will be ** met: http://www.gnu.org/copyleft/gpl.html. ** ** Please note Third Party Software included with Qt Solutions may impose ** additional restrictions and it is the user's responsibility to ensure ** that they have met the licensing requirements of the GPL, LGPL, or Qt ** Solutions Commercial license and the relevant license of the Third ** Party Software they are using. ** ** If you are unsure which license is appropriate for your use, please ** contact Nokia at qt-info@nokia.com. ** ****************************************************************************/ #include class QtLocalPeer; class QtSingleCoreApplication : public QCoreApplication { Q_OBJECT public: QtSingleCoreApplication(int &argc, char **argv); QtSingleCoreApplication(const QString &id, int &argc, char **argv); bool isRunning(); QString id() const; public Q_SLOTS: bool sendMessage(const QString &message, int timeout = 5000); Q_SIGNALS: void messageReceived(const QString &message); private: QtLocalPeer* peer; }; merkaartor-0.18.2/3rdparty/qtsingleapplication-2.6_1-opensource/src/qtsinglecoreapplication.pri000066400000000000000000000005041255273444100327320ustar00rootroot00000000000000INCLUDEPATH += $$PWD DEPENDPATH += $$PWD HEADERS += $$PWD/qtsinglecoreapplication.h $$PWD/qtlocalpeer.h SOURCES += $$PWD/qtsinglecoreapplication.cpp $$PWD/qtlocalpeer.cpp QT *= network win32:contains(TEMPLATE, lib):contains(CONFIG, shared) { DEFINES += QT_QTSINGLECOREAPPLICATION_EXPORT=__declspec(dllexport) } merkaartor-0.18.2/3rdparty/quazip-0.7/000077500000000000000000000000001255273444100173435ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/quazip-0.7/CMakeLists.txt000066400000000000000000000031531255273444100221050ustar00rootroot00000000000000project (QuaZip) cmake_minimum_required(VERSION 2.6) option(BUILD_WITH_QT4 "Build QuaZip with Qt4 no matter if Qt5 was found" OFF) if( NOT BUILD_WITH_QT4 ) # try Qt5 first, and prefer that if found find_package(Qt5Core QUIET) endif() if (Qt5Core_FOUND) set(QTCORE_LIBRARIES ${Qt5Core_LIBRARIES}) # if there is no QT_ROOT, try to deduce it from Qt QtCore include if ("${QT_ROOT}" STREQUAL "") set(QT_ROOT ${QT_QTCORE_INCLUDE_DIR}/../..) endif() include_directories(${Qt5Core_INCLUDE_DIRS}) macro(qt_wrap_cpp) qt5_wrap_cpp(${ARGN}) endmacro() else() set(qt_min_version "4.5.0") find_package(Qt4 REQUIRED) set(QT_USE_QTGUI false) include(${QT_USE_FILE}) include_directories(${QT_INCLUDES}) set(QTCORE_LIBRARIES ${QT_QTCORE_LIBRARY}) macro(qt_wrap_cpp) qt4_wrap_cpp(${ARGN}) endmacro() endif() # Use system zlib on unix and Qt ZLIB on Windows IF(UNIX) find_package(ZLIB REQUIRED) ELSE(UNIX) SET(ZLIB_INCLUDE_DIRS "${QT_ROOT}/src/3rdparty/zlib" CACHE STRING "Path to ZLIB headers of Qt") SET(ZLIB_LIBRARIES "") IF(NOT EXISTS "${ZLIB_INCLUDE_DIRS}/zlib.h") MESSAGE("Please specify a valid zlib include dir") ENDIF(NOT EXISTS "${ZLIB_INCLUDE_DIRS}/zlib.h") ENDIF(UNIX) # All build libraries are moved to this directory SET(LIBRARY_OUTPUT_PATH ${CMAKE_BINARY_DIR}) set(LIB_SUFFIX "" CACHE STRING "Define suffix of directory name (32/64)") set(LIB_DESTINATION "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE STRING "Library directory name" FORCE) add_subdirectory(quazip) install(FILES FindQuaZip.cmake DESTINATION ${CMAKE_ROOT}/Modules) merkaartor-0.18.2/3rdparty/quazip-0.7/COPYING000066400000000000000000000575061255273444100204130ustar00rootroot00000000000000 GNU LESSER GENERAL PUBLIC LICENSE Version 2.1, February 1999 Copyright (C) 1991, 1999 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. [This is the first released version of the Lesser GPL. It also counts as the successor of the GNU Library Public License, version 2, hence the version number 2.1.] 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 Lesser General Public License, applies to some specially designated software packages--typically libraries--of the Free Software Foundation and other authors who decide to use it. You can use it too, but we suggest you first think carefully about whether this license or the ordinary General Public License is the better strategy to use in any particular case, based on the explanations below. When we speak of free software, we are referring to freedom of use, 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 and use pieces of it in new free programs; and that you are informed that you can do these things. To protect your rights, we need to make restrictions that forbid distributors to deny you these rights or to ask you to surrender these 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 other code 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. We protect your rights with a two-step method: (1) we copyright the library, and (2) we offer you this license, which gives you legal permission to copy, distribute and/or modify the library. To protect each distributor, we want to make it very clear that there is no warranty for the free library. Also, if the library is modified by someone else and passed on, the recipients should know that what they have is not the original version, so that the original author's reputation will not be affected by problems that might be introduced by others. Finally, software patents pose a constant threat to the existence of any free program. We wish to make sure that a company cannot effectively restrict the users of a free program by obtaining a restrictive license from a patent holder. Therefore, we insist that any patent license obtained for a version of the library must be consistent with the full freedom of use specified in this license. Most GNU software, including some libraries, is covered by the ordinary GNU General Public License. This license, the GNU Lesser General Public License, applies to certain designated libraries, and is quite different from the ordinary General Public License. We use this license for certain libraries in order to permit linking those libraries into non-free programs. When a program is linked with a library, whether statically or using a shared library, the combination of the two is legally speaking a combined work, a derivative of the original library. The ordinary General Public License therefore permits such linking only if the entire combination fits its criteria of freedom. The Lesser General Public License permits more lax criteria for linking other code with the library. We call this license the "Lesser" General Public License because it does Less to protect the user's freedom than the ordinary General Public License. It also provides other free software developers Less of an advantage over competing non-free programs. These disadvantages are the reason we use the ordinary General Public License for many libraries. However, the Lesser license provides advantages in certain special circumstances. For example, on rare occasions, there may be a special need to encourage the widest possible use of a certain library, so that it becomes a de-facto standard. To achieve this, non-free programs must be allowed to use the library. A more frequent case is that a free library does the same job as widely used non-free libraries. In this case, there is little to gain by limiting the free library to free software only, so we use the Lesser General Public License. In other cases, permission to use a particular library in non-free programs enables a greater number of people to use a large body of free software. For example, permission to use the GNU C Library in non-free programs enables many more people to use the whole GNU operating system, as well as its variant, the GNU/Linux operating system. Although the Lesser General Public License is Less protective of the users' freedom, it does ensure that the user of a program that is linked with the Library has the freedom and the wherewithal to run that program using a modified version of the Library. 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, whereas the latter must be combined with the library in order to run. GNU LESSER GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License Agreement applies to any software library or other program which contains a notice placed by the copyright holder or other authorized party saying it may be distributed under the terms of this Lesser 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 combine 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) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (1) uses at run time a copy of the library already present on the user's computer system, rather than copying library functions into the executable, and (2) will operate properly with a modified version of the library, if the user installs one, as long as the modified version is interface-compatible with the version that the work was made with. c) 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. d) 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. e) 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 materials to be 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 with 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 Lesser 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 merkaartor-0.18.2/3rdparty/quazip-0.7/Doxyfile000066400000000000000000002156141255273444100210620ustar00rootroot00000000000000# Doxyfile 1.7.4 # This file describes the settings to be used by the documentation system # doxygen (www.doxygen.org) for a project. # # All text after a hash (#) is considered a comment and will be ignored. # The format is: # TAG = value [value, ...] # For lists items can also be appended using: # TAG += value [value, ...] # Values that contain spaces should be placed between quotes (" "). #--------------------------------------------------------------------------- # Project related configuration options #--------------------------------------------------------------------------- # This tag specifies the encoding used for all characters in the config file # that follow. The default is UTF-8 which is also the encoding used for all # text before the first occurrence of this tag. Doxygen uses libiconv (or the # iconv built into libc) for the transcoding. See # http://www.gnu.org/software/libiconv for the list of possible encodings. DOXYFILE_ENCODING = UTF-8 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded # by quotes) that should identify the project. PROJECT_NAME = QuaZIP # The PROJECT_NUMBER tag can be used to enter a project or revision number. # This could be handy for archiving the generated documentation or # if some version control system is used. PROJECT_NUMBER = quazip-0-7 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer # a quick idea about the purpose of the project. Keep the description short. PROJECT_BRIEF = # With the PROJECT_LOGO tag one can specify an logo or icon that is # included in the documentation. The maximum height of the logo should not # exceed 55 pixels and the maximum width should not exceed 200 pixels. # Doxygen will copy the logo to the output directory. PROJECT_LOGO = # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) # base path where the generated documentation will be put. # If a relative path is entered, it will be relative to the location # where doxygen was started. If left blank the current directory will be used. OUTPUT_DIRECTORY = doc # If the CREATE_SUBDIRS tag is set to YES, then doxygen will create # 4096 sub-directories (in 2 levels) under the output directory of each output # format and will distribute the generated files over these directories. # Enabling this option can be useful when feeding doxygen a huge amount of # source files, where putting all generated files in the same directory would # otherwise cause performance problems for the file system. CREATE_SUBDIRS = NO # The OUTPUT_LANGUAGE tag is used to specify the language in which all # documentation generated by doxygen is written. Doxygen will use this # information to generate all constant output in the proper language. # The default language is English, other supported languages are: # Afrikaans, Arabic, Brazilian, Catalan, Chinese, Chinese-Traditional, # Croatian, Czech, Danish, Dutch, Esperanto, Farsi, Finnish, French, German, # Greek, Hungarian, Italian, Japanese, Japanese-en (Japanese with English # messages), Korean, Korean-en, Lithuanian, Norwegian, Macedonian, Persian, # Polish, Portuguese, Romanian, Russian, Serbian, Serbian-Cyrillic, Slovak, # Slovene, Spanish, Swedish, Ukrainian, and Vietnamese. OUTPUT_LANGUAGE = English # If the BRIEF_MEMBER_DESC tag is set to YES (the default) Doxygen will # include brief member descriptions after the members that are listed in # the file and class documentation (similar to JavaDoc). # Set to NO to disable this. BRIEF_MEMBER_DESC = YES # If the REPEAT_BRIEF tag is set to YES (the default) Doxygen will prepend # the brief description of a member or function before the detailed description. # Note: if both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the # brief descriptions will be completely suppressed. REPEAT_BRIEF = YES # This tag implements a quasi-intelligent brief description abbreviator # that is used to form the text in various listings. Each string # in this list, if found as the leading text of the brief description, will be # stripped from the text and the result after processing the whole list, is # used as the annotated text. Otherwise, the brief description is used as-is. # If left blank, the following values are used ("$name" is automatically # replaced with the name of the entity): "The $name class" "The $name widget" # "The $name file" "is" "provides" "specifies" "contains" # "represents" "a" "an" "the" ABBREVIATE_BRIEF = # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then # Doxygen will generate a detailed section even if there is only a brief # description. ALWAYS_DETAILED_SEC = NO # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all # inherited members of a class in the documentation of that class as if those # members were ordinary class members. Constructors, destructors and assignment # operators of the base classes will not be shown. INLINE_INHERITED_MEMB = NO # If the FULL_PATH_NAMES tag is set to YES then Doxygen will prepend the full # path before files name in the file list and in the header files. If set # to NO the shortest path that makes the file name unique will be used. FULL_PATH_NAMES = YES # If the FULL_PATH_NAMES tag is set to YES then the STRIP_FROM_PATH tag # can be used to strip a user-defined part of the path. Stripping is # only done if one of the specified strings matches the left-hand part of # the path. The tag can be used to show relative paths in the file list. # If left blank the directory from which doxygen is run is used as the # path to strip. STRIP_FROM_PATH = # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of # the path mentioned in the documentation of a class, which tells # the reader which header file to include in order to use a class. # If left blank only the name of the header file containing the class # definition is used. Otherwise one should specify the include paths that # are normally passed to the compiler using the -I flag. STRIP_FROM_INC_PATH = # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter # (but less readable) file names. This can be useful if your file system # doesn't support long names like on DOS, Mac, or CD-ROM. SHORT_NAMES = NO # If the JAVADOC_AUTOBRIEF tag is set to YES then Doxygen # will interpret the first line (until the first dot) of a JavaDoc-style # comment as the brief description. If set to NO, the JavaDoc # comments will behave just like regular Qt-style comments # (thus requiring an explicit @brief command for a brief description.) JAVADOC_AUTOBRIEF = NO # If the QT_AUTOBRIEF tag is set to YES then Doxygen will # interpret the first line (until the first dot) of a Qt-style # comment as the brief description. If set to NO, the comments # will behave just like regular Qt-style comments (thus requiring # an explicit \brief command for a brief description.) QT_AUTOBRIEF = NO # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make Doxygen # treat a multi-line C++ special comment block (i.e. a block of //! or /// # comments) as a brief description. This used to be the default behaviour. # The new default is to treat a multi-line C++ comment block as a detailed # description. Set this tag to YES if you prefer the old behaviour instead. MULTILINE_CPP_IS_BRIEF = NO # If the INHERIT_DOCS tag is set to YES (the default) then an undocumented # member inherits the documentation from any documented member that it # re-implements. INHERIT_DOCS = YES # If the SEPARATE_MEMBER_PAGES tag is set to YES, then doxygen will produce # a new page for each member. If set to NO, the documentation of a member will # be part of the file/class/namespace that contains it. SEPARATE_MEMBER_PAGES = NO # The TAB_SIZE tag can be used to set the number of spaces in a tab. # Doxygen uses this value to replace tabs by spaces in code fragments. TAB_SIZE = 8 # This tag can be used to specify a number of aliases that acts # as commands in the documentation. An alias has the form "name=value". # For example adding "sideeffect=\par Side Effects:\n" will allow you to # put the command \sideeffect (or @sideeffect) in the documentation, which # will result in a user-defined paragraph with heading "Side Effects:". # You can put \n's in the value part of an alias to insert newlines. ALIASES = # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C # sources only. Doxygen will then generate output that is more tailored for C. # For instance, some of the names that are used will be different. The list # of all members will be omitted, etc. OPTIMIZE_OUTPUT_FOR_C = NO # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java # sources only. Doxygen will then generate output that is more tailored for # Java. For instance, namespaces will be presented as packages, qualified # scopes will look different, etc. OPTIMIZE_OUTPUT_JAVA = NO # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran # sources only. Doxygen will then generate output that is more tailored for # Fortran. OPTIMIZE_FOR_FORTRAN = NO # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL # sources. Doxygen will then generate output that is tailored for # VHDL. OPTIMIZE_OUTPUT_VHDL = NO # Doxygen selects the parser to use depending on the extension of the files it # parses. With this tag you can assign which parser to use for a given extension. # Doxygen has a built-in mapping, but you can override or extend it using this # tag. The format is ext=language, where ext is a file extension, and language # is one of the parsers supported by doxygen: IDL, Java, Javascript, CSharp, C, # C++, D, PHP, Objective-C, Python, Fortran, VHDL, C, C++. For instance to make # doxygen treat .inc files as Fortran files (default is PHP), and .f files as C # (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions # you also need to set FILE_PATTERNS otherwise the files are not read by doxygen. EXTENSION_MAPPING = # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want # to include (a tag file for) the STL sources as input, then you should # set this tag to YES in order to let doxygen match functions declarations and # definitions whose arguments contain STL classes (e.g. func(std::string); v.s. # func(std::string) {}). This also makes the inheritance and collaboration # diagrams that involve STL classes more complete and accurate. BUILTIN_STL_SUPPORT = NO # If you use Microsoft's C++/CLI language, you should set this option to YES to # enable parsing support. CPP_CLI_SUPPORT = NO # Set the SIP_SUPPORT tag to YES if your project consists of sip sources only. # Doxygen will parse them like normal C++ but will assume all classes use public # instead of private inheritance when no explicit protection keyword is present. SIP_SUPPORT = NO # For Microsoft's IDL there are propget and propput attributes to indicate getter # and setter methods for a property. Setting this option to YES (the default) # will make doxygen replace the get and set methods by a property in the # documentation. This will only work if the methods are indeed getting or # setting a simple type. If this is not the case, or you want to show the # methods anyway, you should set this option to NO. IDL_PROPERTY_SUPPORT = YES # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC # tag is set to YES, then doxygen will reuse the documentation of the first # member in the group (if any) for the other members of the group. By default # all members of a group must be documented explicitly. DISTRIBUTE_GROUP_DOC = NO # Set the SUBGROUPING tag to YES (the default) to allow class member groups of # the same type (for instance a group of public functions) to be put as a # subgroup of that type (e.g. under the Public Functions section). Set it to # NO to prevent subgrouping. Alternatively, this can be done per class using # the \nosubgrouping command. SUBGROUPING = YES # When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and # unions are shown inside the group in which they are included (e.g. using # @ingroup) instead of on a separate page (for HTML and Man pages) or # section (for LaTeX and RTF). INLINE_GROUPED_CLASSES = NO # When TYPEDEF_HIDES_STRUCT is enabled, a typedef of a struct, union, or enum # is documented as struct, union, or enum with the name of the typedef. So # typedef struct TypeS {} TypeT, will appear in the documentation as a struct # with name TypeT. When disabled the typedef will appear as a member of a file, # namespace, or class. And the struct will be named TypeS. This can typically # be useful for C code in case the coding convention dictates that all compound # types are typedef'ed and only the typedef is referenced, never the tag name. TYPEDEF_HIDES_STRUCT = NO # The SYMBOL_CACHE_SIZE determines the size of the internal cache use to # determine which symbols to keep in memory and which to flush to disk. # When the cache is full, less often used symbols will be written to disk. # For small to medium size projects (<1000 input files) the default value is # probably good enough. For larger projects a too small cache size can cause # doxygen to be busy swapping symbols to and from disk most of the time # causing a significant performance penalty. # If the system has enough physical memory increasing the cache will improve the # performance by keeping more symbols in memory. Note that the value works on # a logarithmic scale so increasing the size by one will roughly double the # memory usage. The cache size is given by this formula: # 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0, # corresponding to a cache size of 2^16 = 65536 symbols SYMBOL_CACHE_SIZE = 0 #--------------------------------------------------------------------------- # Build related configuration options #--------------------------------------------------------------------------- # If the EXTRACT_ALL tag is set to YES doxygen will assume all entities in # documentation are documented, even if no documentation was available. # Private class members and static file members will be hidden unless # the EXTRACT_PRIVATE and EXTRACT_STATIC tags are set to YES EXTRACT_ALL = NO # If the EXTRACT_PRIVATE tag is set to YES all private members of a class # will be included in the documentation. EXTRACT_PRIVATE = NO # If the EXTRACT_STATIC tag is set to YES all static members of a file # will be included in the documentation. EXTRACT_STATIC = NO # If the EXTRACT_LOCAL_CLASSES tag is set to YES classes (and structs) # defined locally in source files will be included in the documentation. # If set to NO only classes defined in header files are included. EXTRACT_LOCAL_CLASSES = YES # This flag is only useful for Objective-C code. When set to YES local # methods, which are defined in the implementation section but not in # the interface are included in the documentation. # If set to NO (the default) only methods in the interface are included. EXTRACT_LOCAL_METHODS = NO # If this flag is set to YES, the members of anonymous namespaces will be # extracted and appear in the documentation as a namespace called # 'anonymous_namespace{file}', where file will be replaced with the base # name of the file that contains the anonymous namespace. By default # anonymous namespaces are hidden. EXTRACT_ANON_NSPACES = NO # If the HIDE_UNDOC_MEMBERS tag is set to YES, Doxygen will hide all # undocumented members of documented classes, files or namespaces. # If set to NO (the default) these members will be included in the # various overviews, but no documentation section is generated. # This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_MEMBERS = NO # If the HIDE_UNDOC_CLASSES tag is set to YES, Doxygen will hide all # undocumented classes that are normally visible in the class hierarchy. # If set to NO (the default) these classes will be included in the various # overviews. This option has no effect if EXTRACT_ALL is enabled. HIDE_UNDOC_CLASSES = NO # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, Doxygen will hide all # friend (class|struct|union) declarations. # If set to NO (the default) these declarations will be included in the # documentation. HIDE_FRIEND_COMPOUNDS = NO # If the HIDE_IN_BODY_DOCS tag is set to YES, Doxygen will hide any # documentation blocks found inside the body of a function. # If set to NO (the default) these blocks will be appended to the # function's detailed documentation block. HIDE_IN_BODY_DOCS = NO # The INTERNAL_DOCS tag determines if documentation # that is typed after a \internal command is included. If the tag is set # to NO (the default) then the documentation will be excluded. # Set it to YES to include the internal documentation. INTERNAL_DOCS = NO # If the CASE_SENSE_NAMES tag is set to NO then Doxygen will only generate # file names in lower-case letters. If set to YES upper-case letters are also # allowed. This is useful if you have classes or files whose names only differ # in case and if your file system supports case sensitive file names. Windows # and Mac users are advised to set this option to NO. CASE_SENSE_NAMES = YES # If the HIDE_SCOPE_NAMES tag is set to NO (the default) then Doxygen # will show members with their full class and namespace scopes in the # documentation. If set to YES the scope will be hidden. HIDE_SCOPE_NAMES = NO # If the SHOW_INCLUDE_FILES tag is set to YES (the default) then Doxygen # will put a list of the files that are included by a file in the documentation # of that file. SHOW_INCLUDE_FILES = YES # If the FORCE_LOCAL_INCLUDES tag is set to YES then Doxygen # will list include files with double quotes in the documentation # rather than with sharp brackets. FORCE_LOCAL_INCLUDES = NO # If the INLINE_INFO tag is set to YES (the default) then a tag [inline] # is inserted in the documentation for inline members. INLINE_INFO = YES # If the SORT_MEMBER_DOCS tag is set to YES (the default) then doxygen # will sort the (detailed) documentation of file and class members # alphabetically by member name. If set to NO the members will appear in # declaration order. SORT_MEMBER_DOCS = NO # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the # brief documentation of file, namespace and class members alphabetically # by member name. If set to NO (the default) the members will appear in # declaration order. SORT_BRIEF_DOCS = NO # If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen # will sort the (brief and detailed) documentation of class members so that # constructors and destructors are listed first. If set to NO (the default) # the constructors will appear in the respective orders defined by # SORT_MEMBER_DOCS and SORT_BRIEF_DOCS. # This tag will be ignored for brief docs if SORT_BRIEF_DOCS is set to NO # and ignored for detailed docs if SORT_MEMBER_DOCS is set to NO. SORT_MEMBERS_CTORS_1ST = NO # If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the # hierarchy of group names into alphabetical order. If set to NO (the default) # the group names will appear in their defined order. SORT_GROUP_NAMES = NO # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be # sorted by fully-qualified names, including namespaces. If set to # NO (the default), the class list will be sorted only by class name, # not including the namespace part. # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. # Note: This option applies only to the class list, not to the # alphabetical list. SORT_BY_SCOPE_NAME = NO # If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to # do proper type resolution of all parameters of a function it will reject a # match between the prototype and the implementation of a member function even # if there is only one candidate or it is obvious which candidate to choose # by doing a simple string match. By disabling STRICT_PROTO_MATCHING doxygen # will still accept a match between prototype and implementation in such cases. STRICT_PROTO_MATCHING = NO # The GENERATE_TODOLIST tag can be used to enable (YES) or # disable (NO) the todo list. This list is created by putting \todo # commands in the documentation. GENERATE_TODOLIST = YES # The GENERATE_TESTLIST tag can be used to enable (YES) or # disable (NO) the test list. This list is created by putting \test # commands in the documentation. GENERATE_TESTLIST = YES # The GENERATE_BUGLIST tag can be used to enable (YES) or # disable (NO) the bug list. This list is created by putting \bug # commands in the documentation. GENERATE_BUGLIST = YES # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or # disable (NO) the deprecated list. This list is created by putting # \deprecated commands in the documentation. GENERATE_DEPRECATEDLIST= YES # The ENABLED_SECTIONS tag can be used to enable conditional # documentation sections, marked by \if sectionname ... \endif. ENABLED_SECTIONS = # The MAX_INITIALIZER_LINES tag determines the maximum number of lines # the initial value of a variable or macro consists of for it to appear in # the documentation. If the initializer consists of more lines than specified # here it will be hidden. Use a value of 0 to hide initializers completely. # The appearance of the initializer of individual variables and macros in the # documentation can be controlled using \showinitializer or \hideinitializer # command in the documentation regardless of this setting. MAX_INITIALIZER_LINES = 30 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated # at the bottom of the documentation of classes and structs. If set to YES the # list will mention the files that were used to generate the documentation. SHOW_USED_FILES = YES # If the sources in your project are distributed over multiple directories # then setting the SHOW_DIRECTORIES tag to YES will show the directory hierarchy # in the documentation. The default is NO. SHOW_DIRECTORIES = YES # Set the SHOW_FILES tag to NO to disable the generation of the Files page. # This will remove the Files entry from the Quick Index and from the # Folder Tree View (if specified). The default is YES. SHOW_FILES = YES # Set the SHOW_NAMESPACES tag to NO to disable the generation of the # Namespaces page. # This will remove the Namespaces entry from the Quick Index # and from the Folder Tree View (if specified). The default is YES. SHOW_NAMESPACES = YES # The FILE_VERSION_FILTER tag can be used to specify a program or script that # doxygen should invoke to get the current version for each file (typically from # the version control system). Doxygen will invoke the program by executing (via # popen()) the command , where is the value of # the FILE_VERSION_FILTER tag, and is the name of an input file # provided by doxygen. Whatever the program writes to standard output # is used as the file version. See the manual for examples. FILE_VERSION_FILTER = # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed # by doxygen. The layout file controls the global structure of the generated # output files in an output format independent way. The create the layout file # that represents doxygen's defaults, run doxygen with the -l option. # You can optionally specify a file name after the option, if omitted # DoxygenLayout.xml will be used as the name of the layout file. LAYOUT_FILE = #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- # The QUIET tag can be used to turn on/off the messages that are generated # by doxygen. Possible values are YES and NO. If left blank NO is used. QUIET = NO # The WARNINGS tag can be used to turn on/off the warning messages that are # generated by doxygen. Possible values are YES and NO. If left blank # NO is used. WARNINGS = YES # If WARN_IF_UNDOCUMENTED is set to YES, then doxygen will generate warnings # for undocumented members. If EXTRACT_ALL is set to YES then this flag will # automatically be disabled. WARN_IF_UNDOCUMENTED = YES # If WARN_IF_DOC_ERROR is set to YES, doxygen will generate warnings for # potential errors in the documentation, such as not documenting some # parameters in a documented function, or documenting parameters that # don't exist or using markup commands wrongly. WARN_IF_DOC_ERROR = YES # The WARN_NO_PARAMDOC option can be enabled to get warnings for # functions that are documented, but have no documentation for their parameters # or return value. If set to NO (the default) doxygen will only warn about # wrong or incomplete parameter documentation, but not about the absence of # documentation. WARN_NO_PARAMDOC = NO # The WARN_FORMAT tag determines the format of the warning messages that # doxygen can produce. The string should contain the $file, $line, and $text # tags, which will be replaced by the file and line number from which the # warning originated and the warning text. Optionally the format may contain # $version, which will be replaced by the version of the file (if it could # be obtained via FILE_VERSION_FILTER) WARN_FORMAT = "$file:$line: $text" # The WARN_LOGFILE tag can be used to specify a file to which warning # and error messages should be written. If left blank the output is written # to stderr. WARN_LOGFILE = #--------------------------------------------------------------------------- # configuration options related to the input files #--------------------------------------------------------------------------- # The INPUT tag can be used to specify the files and/or directories that contain # documented source files. You may enter file names like "myfile.cpp" or # directories like "/usr/src/myproject". Separate the files or directories # with spaces. INPUT = # This tag can be used to specify the character encoding of the source files # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is # also the default input encoding. Doxygen uses libiconv (or the iconv built # into libc) for the transcoding. See http://www.gnu.org/software/libiconv for # the list of possible encodings. INPUT_ENCODING = UTF-8 # If the value of the INPUT tag contains directories, you can use the # FILE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank the following patterns are tested: # *.c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh # *.hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py # *.f90 *.f *.for *.vhd *.vhdl FILE_PATTERNS = *.cpp \ *.h \ *.dox # The RECURSIVE tag can be used to turn specify whether or not subdirectories # should be searched for input files as well. Possible values are YES and NO. # If left blank NO is used. RECURSIVE = YES # The EXCLUDE tag can be used to specify files and/or directories that should # excluded from the INPUT source files. This way you can easily exclude a # subdirectory from a directory tree whose root is specified with the INPUT tag. EXCLUDE = quazip/unzip.h \ quazip/zip.h \ quazip/ioapi.h \ quazip/crypt.h \ qztest/ # The EXCLUDE_SYMLINKS tag can be used select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded # from the input. EXCLUDE_SYMLINKS = NO # If the value of the INPUT tag contains directories, you can use the # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude # certain files from those directories. Note that the wildcards are matched # against the file with absolute path, so to exclude all test directories # for example use the pattern */test/* EXCLUDE_PATTERNS = */.moc/* */release/* */debug/* */moc_*.cpp # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names # (namespaces, classes, functions, etc.) that should be excluded from the # output. The symbol name can be a fully qualified name, a word, or if the # wildcard * is used, a substring. Examples: ANamespace, AClass, # AClass::ANamespace, ANamespace::*Test EXCLUDE_SYMBOLS = # The EXAMPLE_PATH tag can be used to specify one or more files or # directories that contain example code fragments that are included (see # the \include command). EXAMPLE_PATH = # If the value of the EXAMPLE_PATH tag contains directories, you can use the # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp # and *.h) to filter out the source-files in the directories. If left # blank all files are included. EXAMPLE_PATTERNS = # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be # searched for input files to be used with the \include or \dontinclude # commands irrespective of the value of the RECURSIVE tag. # Possible values are YES and NO. If left blank NO is used. EXAMPLE_RECURSIVE = NO # The IMAGE_PATH tag can be used to specify one or more files or # directories that contain image that are included in the documentation (see # the \image command). IMAGE_PATH = # The INPUT_FILTER tag can be used to specify a program that doxygen should # invoke to filter for each input file. Doxygen will invoke the filter program # by executing (via popen()) the command , where # is the value of the INPUT_FILTER tag, and is the name of an # input file. Doxygen will then use the output that the filter program writes # to standard output. # If FILTER_PATTERNS is specified, this tag will be # ignored. INPUT_FILTER = # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern # basis. # Doxygen will compare the file name with each pattern and apply the # filter if there is a match. # The filters are a list of the form: # pattern=filter (like *.cpp=my_cpp_filter). See INPUT_FILTER for further # info on how filters are used. If FILTER_PATTERNS is empty or if # non of the patterns match the file name, INPUT_FILTER is applied. FILTER_PATTERNS = # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using # INPUT_FILTER) will be used to filter the input files when producing source # files to browse (i.e. when SOURCE_BROWSER is set to YES). FILTER_SOURCE_FILES = NO # The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file # pattern. A pattern will override the setting for FILTER_PATTERN (if any) # and it is also possible to disable source filtering for a specific pattern # using *.ext= (so without naming a filter). This option only has effect when # FILTER_SOURCE_FILES is enabled. FILTER_SOURCE_PATTERNS = #--------------------------------------------------------------------------- # configuration options related to source browsing #--------------------------------------------------------------------------- # If the SOURCE_BROWSER tag is set to YES then a list of source files will # be generated. Documented entities will be cross-referenced with these sources. # Note: To get rid of all source code in the generated output, make sure also # VERBATIM_HEADERS is set to NO. SOURCE_BROWSER = NO # Setting the INLINE_SOURCES tag to YES will include the body # of functions and classes directly in the documentation. INLINE_SOURCES = NO # Setting the STRIP_CODE_COMMENTS tag to YES (the default) will instruct # doxygen to hide any special comment blocks from generated source code # fragments. Normal C and C++ comments will always remain visible. STRIP_CODE_COMMENTS = YES # If the REFERENCED_BY_RELATION tag is set to YES # then for each documented function all documented # functions referencing it will be listed. REFERENCED_BY_RELATION = YES # If the REFERENCES_RELATION tag is set to YES # then for each documented function all documented entities # called/used by that function will be listed. REFERENCES_RELATION = YES # If the REFERENCES_LINK_SOURCE tag is set to YES (the default) # and SOURCE_BROWSER tag is set to YES, then the hyperlinks from # functions in REFERENCES_RELATION and REFERENCED_BY_RELATION lists will # link to the source code. # Otherwise they will link to the documentation. REFERENCES_LINK_SOURCE = YES # If the USE_HTAGS tag is set to YES then the references to source code # will point to the HTML generated by the htags(1) tool instead of doxygen # built-in source browser. The htags tool is part of GNU's global source # tagging system (see http://www.gnu.org/software/global/global.html). You # will need version 4.8.6 or higher. USE_HTAGS = NO # If the VERBATIM_HEADERS tag is set to YES (the default) then Doxygen # will generate a verbatim copy of the header file for each class for # which an include is specified. Set to NO to disable this. VERBATIM_HEADERS = YES #--------------------------------------------------------------------------- # configuration options related to the alphabetical class index #--------------------------------------------------------------------------- # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index # of all compounds will be generated. Enable this if the project # contains a lot of classes, structs, unions or interfaces. ALPHABETICAL_INDEX = NO # If the alphabetical index is enabled (see ALPHABETICAL_INDEX) then # the COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns # in which this list will be split (can be a number in the range [1..20]) COLS_IN_ALPHA_INDEX = 5 # In case all classes in a project start with a common prefix, all # classes will be put under the same header in the alphabetical index. # The IGNORE_PREFIX tag can be used to specify one or more prefixes that # should be ignored while generating the index headers. IGNORE_PREFIX = #--------------------------------------------------------------------------- # configuration options related to the HTML output #--------------------------------------------------------------------------- # If the GENERATE_HTML tag is set to YES (the default) Doxygen will # generate HTML output. GENERATE_HTML = YES # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `html' will be used as the default path. HTML_OUTPUT = html # The HTML_FILE_EXTENSION tag can be used to specify the file extension for # each generated HTML page (for example: .htm,.php,.asp). If it is left blank # doxygen will generate files with .html extension. HTML_FILE_EXTENSION = .html # The HTML_HEADER tag can be used to specify a personal HTML header for # each generated HTML page. If it is left blank doxygen will generate a # standard header. Note that when using a custom header you are responsible # for the proper inclusion of any scripts and style sheets that doxygen # needs, which is dependent on the configuration options used. # It is adviced to generate a default header using "doxygen -w html # header.html footer.html stylesheet.css YourConfigFile" and then modify # that header. Note that the header is subject to change so you typically # have to redo this when upgrading to a newer version of doxygen or when changing the value of configuration settings such as GENERATE_TREEVIEW! HTML_HEADER = # The HTML_FOOTER tag can be used to specify a personal HTML footer for # each generated HTML page. If it is left blank doxygen will generate a # standard footer. HTML_FOOTER = # The HTML_STYLESHEET tag can be used to specify a user-defined cascading # style sheet that is used by each HTML page. It can be used to # fine-tune the look of the HTML output. If the tag is left blank doxygen # will generate a default style sheet. Note that doxygen will try to copy # the style sheet file to the HTML output directory, so don't put your own # stylesheet in the HTML output directory as well, or it will be erased! HTML_STYLESHEET = # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or # other source files which should be copied to the HTML output directory. Note # that these files will be copied to the base HTML output directory. Use the # $relpath$ marker in the HTML_HEADER and/or HTML_FOOTER files to load these # files. In the HTML_STYLESHEET file, use the file name only. Also note that # the files will be copied as-is; there are no commands or markers available. HTML_EXTRA_FILES = # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. # Doxygen will adjust the colors in the stylesheet and background images # according to this color. Hue is specified as an angle on a colorwheel, # see http://en.wikipedia.org/wiki/Hue for more information. # For instance the value 0 represents red, 60 is yellow, 120 is green, # 180 is cyan, 240 is blue, 300 purple, and 360 is red again. # The allowed range is 0 to 359. HTML_COLORSTYLE_HUE = 220 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of # the colors in the HTML output. For a value of 0 the output will use # grayscales only. A value of 255 will produce the most vivid colors. HTML_COLORSTYLE_SAT = 100 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to # the luminance component of the colors in the HTML output. Values below # 100 gradually make the output lighter, whereas values above 100 make # the output darker. The value divided by 100 is the actual gamma applied, # so 80 represents a gamma of 0.8, The value 220 represents a gamma of 2.2, # and 100 does not change the gamma. HTML_COLORSTYLE_GAMMA = 80 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML # page will contain the date and time when the page was generated. Setting # this to NO can help when comparing the output of multiple runs. HTML_TIMESTAMP = YES # If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes, # files or namespaces will be aligned in HTML using tables. If set to # NO a bullet list will be used. HTML_ALIGN_MEMBERS = YES # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML # documentation will contain sections that can be hidden and shown after the # page has loaded. For this to work a browser that supports # JavaScript and DHTML is required (for instance Mozilla 1.0+, Firefox # Netscape 6.0+, Internet explorer 5.0+, Konqueror, or Safari). HTML_DYNAMIC_SECTIONS = NO # If the GENERATE_DOCSET tag is set to YES, additional index files # will be generated that can be used as input for Apple's Xcode 3 # integrated development environment, introduced with OSX 10.5 (Leopard). # To create a documentation set, doxygen will generate a Makefile in the # HTML output directory. Running make will produce the docset in that # directory and running "make install" will install the docset in # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find # it at startup. # See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html # for more information. GENERATE_DOCSET = NO # When GENERATE_DOCSET tag is set to YES, this tag determines the name of the # feed. A documentation feed provides an umbrella under which multiple # documentation sets from a single provider (such as a company or product suite) # can be grouped. DOCSET_FEEDNAME = "Doxygen generated docs" # When GENERATE_DOCSET tag is set to YES, this tag specifies a string that # should uniquely identify the documentation set bundle. This should be a # reverse domain-name style string, e.g. com.mycompany.MyDocSet. Doxygen # will append .docset to the name. DOCSET_BUNDLE_ID = org.doxygen.Project # When GENERATE_PUBLISHER_ID tag specifies a string that should uniquely identify # the documentation publisher. This should be a reverse domain-name style # string, e.g. com.mycompany.MyDocSet.documentation. DOCSET_PUBLISHER_ID = org.doxygen.Publisher # The GENERATE_PUBLISHER_NAME tag identifies the documentation publisher. DOCSET_PUBLISHER_NAME = Publisher # If the GENERATE_HTMLHELP tag is set to YES, additional index files # will be generated that can be used as input for tools like the # Microsoft HTML help workshop to generate a compiled HTML help file (.chm) # of the generated HTML documentation. GENERATE_HTMLHELP = NO # If the GENERATE_HTMLHELP tag is set to YES, the CHM_FILE tag can # be used to specify the file name of the resulting .chm file. You # can add a path in front of the file if the result should not be # written to the html output directory. CHM_FILE = # If the GENERATE_HTMLHELP tag is set to YES, the HHC_LOCATION tag can # be used to specify the location (absolute path including file name) of # the HTML help compiler (hhc.exe). If non-empty doxygen will try to run # the HTML help compiler on the generated index.hhp. HHC_LOCATION = # If the GENERATE_HTMLHELP tag is set to YES, the GENERATE_CHI flag # controls if a separate .chi index file is generated (YES) or that # it should be included in the master .chm file (NO). GENERATE_CHI = NO # If the GENERATE_HTMLHELP tag is set to YES, the CHM_INDEX_ENCODING # is used to encode HtmlHelp index (hhk), content (hhc) and project file # content. CHM_INDEX_ENCODING = # If the GENERATE_HTMLHELP tag is set to YES, the BINARY_TOC flag # controls whether a binary table of contents is generated (YES) or a # normal table of contents (NO) in the .chm file. BINARY_TOC = NO # The TOC_EXPAND flag can be set to YES to add extra items for group members # to the contents of the HTML help documentation and to the tree view. TOC_EXPAND = NO # If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and # QHP_VIRTUAL_FOLDER are set, an additional index file will be generated # that can be used as input for Qt's qhelpgenerator to generate a # Qt Compressed Help (.qch) of the generated HTML documentation. GENERATE_QHP = NO # If the QHG_LOCATION tag is specified, the QCH_FILE tag can # be used to specify the file name of the resulting .qch file. # The path specified is relative to the HTML output folder. QCH_FILE = # The QHP_NAMESPACE tag specifies the namespace to use when generating # Qt Help Project output. For more information please see # http://doc.trolltech.com/qthelpproject.html#namespace QHP_NAMESPACE = org.doxygen.Project # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating # Qt Help Project output. For more information please see # http://doc.trolltech.com/qthelpproject.html#virtual-folders QHP_VIRTUAL_FOLDER = doc # If QHP_CUST_FILTER_NAME is set, it specifies the name of a custom filter to # add. For more information please see # http://doc.trolltech.com/qthelpproject.html#custom-filters QHP_CUST_FILTER_NAME = # The QHP_CUST_FILT_ATTRS tag specifies the list of the attributes of the # custom filter to add. For more information please see # # Qt Help Project / Custom Filters. QHP_CUST_FILTER_ATTRS = # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this # project's # filter section matches. # # Qt Help Project / Filter Attributes. QHP_SECT_FILTER_ATTRS = # If the GENERATE_QHP tag is set to YES, the QHG_LOCATION tag can # be used to specify the location of Qt's qhelpgenerator. # If non-empty doxygen will try to run qhelpgenerator on the generated # .qhp file. QHG_LOCATION = # If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files # will be generated, which together with the HTML files, form an Eclipse help # plugin. To install this plugin and make it available under the help contents # menu in Eclipse, the contents of the directory containing the HTML and XML # files needs to be copied into the plugins directory of eclipse. The name of # the directory within the plugins directory should be the same as # the ECLIPSE_DOC_ID value. After copying Eclipse needs to be restarted before # the help appears. GENERATE_ECLIPSEHELP = NO # A unique identifier for the eclipse help plugin. When installing the plugin # the directory name containing the HTML and XML files should also have # this name. ECLIPSE_DOC_ID = org.doxygen.Project # The DISABLE_INDEX tag can be used to turn on/off the condensed index at # top of each HTML page. The value NO (the default) enables the index and # the value YES disables it. DISABLE_INDEX = NO # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values # (range [0,1..20]) that doxygen will group on one line in the generated HTML # documentation. Note that a value of 0 will completely suppress the enum # values from appearing in the overview section. ENUM_VALUES_PER_LINE = 4 # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index # structure should be generated to display hierarchical information. # If the tag value is set to YES, a side panel will be generated # containing a tree-like index structure (just like the one that # is generated for HTML Help). For this to work a browser that supports # JavaScript, DHTML, CSS and frames is required (i.e. any modern browser). # Windows users are probably better off using the HTML help feature. GENERATE_TREEVIEW = NO # By enabling USE_INLINE_TREES, doxygen will generate the Groups, Directories, # and Class Hierarchy pages using a tree view instead of an ordered list. USE_INLINE_TREES = NO # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be # used to set the initial width (in pixels) of the frame in which the tree # is shown. TREEVIEW_WIDTH = 250 # When the EXT_LINKS_IN_WINDOW option is set to YES doxygen will open # links to external symbols imported via tag files in a separate window. EXT_LINKS_IN_WINDOW = NO # Use this tag to change the font size of Latex formulas included # as images in the HTML documentation. The default is 10. Note that # when you change the font size after a successful doxygen run you need # to manually remove any form_*.png images from the HTML output directory # to force them to be regenerated. FORMULA_FONTSIZE = 10 # Use the FORMULA_TRANPARENT tag to determine whether or not the images # generated for formulas are transparent PNGs. Transparent PNGs are # not supported properly for IE 6.0, but are supported on all modern browsers. # Note that when changing this option you need to delete any form_*.png files # in the HTML output before the changes have effect. FORMULA_TRANSPARENT = YES # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax # (see http://www.mathjax.org) which uses client side Javascript for the # rendering instead of using prerendered bitmaps. Use this if you do not # have LaTeX installed or if you want to formulas look prettier in the HTML # output. When enabled you also need to install MathJax separately and # configure the path to it using the MATHJAX_RELPATH option. USE_MATHJAX = NO # When MathJax is enabled you need to specify the location relative to the # HTML output directory using the MATHJAX_RELPATH option. The destination # directory should contain the MathJax.js script. For instance, if the mathjax # directory is located at the same level as the HTML output directory, then # MATHJAX_RELPATH should be ../mathjax. The default value points to the # mathjax.org site, so you can quickly see the result without installing # MathJax, but it is strongly recommended to install a local copy of MathJax # before deployment. MATHJAX_RELPATH = http://www.mathjax.org/mathjax # When the SEARCHENGINE tag is enabled doxygen will generate a search box # for the HTML output. The underlying search engine uses javascript # and DHTML and should work on any modern browser. Note that when using # HTML help (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets # (GENERATE_DOCSET) there is already a search function so this one should # typically be disabled. For large projects the javascript based search engine # can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution. SEARCHENGINE = NO # When the SERVER_BASED_SEARCH tag is enabled the search engine will be # implemented using a PHP enabled web server instead of at the web client # using Javascript. Doxygen will generate the search PHP script and index # file to put on the web server. The advantage of the server # based approach is that it scales better to large projects and allows # full text search. The disadvantages are that it is more difficult to setup # and does not have live searching capabilities. SERVER_BASED_SEARCH = NO #--------------------------------------------------------------------------- # configuration options related to the LaTeX output #--------------------------------------------------------------------------- # If the GENERATE_LATEX tag is set to YES (the default) Doxygen will # generate Latex output. GENERATE_LATEX = YES # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `latex' will be used as the default path. LATEX_OUTPUT = latex # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be # invoked. If left blank `latex' will be used as the default command name. # Note that when enabling USE_PDFLATEX this option is only used for # generating bitmaps for formulas in the HTML output, but not in the # Makefile that is written to the output directory. LATEX_CMD_NAME = latex # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to # generate index for LaTeX. If left blank `makeindex' will be used as the # default command name. MAKEINDEX_CMD_NAME = makeindex # If the COMPACT_LATEX tag is set to YES Doxygen generates more compact # LaTeX documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_LATEX = NO # The PAPER_TYPE tag can be used to set the paper type that is used # by the printer. Possible values are: a4, letter, legal and # executive. If left blank a4wide will be used. PAPER_TYPE = a4wide # The EXTRA_PACKAGES tag can be to specify one or more names of LaTeX # packages that should be included in the LaTeX output. EXTRA_PACKAGES = # The LATEX_HEADER tag can be used to specify a personal LaTeX header for # the generated latex document. The header should contain everything until # the first chapter. If it is left blank doxygen will generate a # standard header. Notice: only use this tag if you know what you are doing! LATEX_HEADER = # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for # the generated latex document. The footer should contain everything after # the last chapter. If it is left blank doxygen will generate a # standard footer. Notice: only use this tag if you know what you are doing! LATEX_FOOTER = # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated # is prepared for conversion to pdf (using ps2pdf). The pdf file will # contain links (just like the HTML output) instead of page references # This makes the output suitable for online browsing using a pdf viewer. PDF_HYPERLINKS = NO # If the USE_PDFLATEX tag is set to YES, pdflatex will be used instead of # plain latex in the generated Makefile. Set this option to YES to get a # higher quality PDF documentation. USE_PDFLATEX = NO # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \\batchmode. # command to the generated LaTeX files. This will instruct LaTeX to keep # running if errors occur, instead of asking the user for help. # This option is also used when generating formulas in HTML. LATEX_BATCHMODE = NO # If LATEX_HIDE_INDICES is set to YES then doxygen will not # include the index chapters (such as File Index, Compound Index, etc.) # in the output. LATEX_HIDE_INDICES = NO # If LATEX_SOURCE_CODE is set to YES then doxygen will include # source code with syntax highlighting in the LaTeX output. # Note that which sources are shown also depends on other settings # such as SOURCE_BROWSER. LATEX_SOURCE_CODE = NO #--------------------------------------------------------------------------- # configuration options related to the RTF output #--------------------------------------------------------------------------- # If the GENERATE_RTF tag is set to YES Doxygen will generate RTF output # The RTF output is optimized for Word 97 and may not look very pretty with # other RTF readers or editors. GENERATE_RTF = NO # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `rtf' will be used as the default path. RTF_OUTPUT = rtf # If the COMPACT_RTF tag is set to YES Doxygen generates more compact # RTF documents. This may be useful for small projects and may help to # save some trees in general. COMPACT_RTF = NO # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated # will contain hyperlink fields. The RTF file will # contain links (just like the HTML output) instead of page references. # This makes the output suitable for online browsing using WORD or other # programs which support those fields. # Note: wordpad (write) and others do not support links. RTF_HYPERLINKS = NO # Load stylesheet definitions from file. Syntax is similar to doxygen's # config file, i.e. a series of assignments. You only have to provide # replacements, missing definitions are set to their default value. RTF_STYLESHEET_FILE = # Set optional variables used in the generation of an rtf document. # Syntax is similar to doxygen's config file. RTF_EXTENSIONS_FILE = #--------------------------------------------------------------------------- # configuration options related to the man page output #--------------------------------------------------------------------------- # If the GENERATE_MAN tag is set to YES (the default) Doxygen will # generate man pages GENERATE_MAN = NO # The MAN_OUTPUT tag is used to specify where the man pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `man' will be used as the default path. MAN_OUTPUT = man # The MAN_EXTENSION tag determines the extension that is added to # the generated man pages (default is the subroutine's section .3) MAN_EXTENSION = .3 # If the MAN_LINKS tag is set to YES and Doxygen generates man output, # then it will generate one additional man file for each entity # documented in the real man page(s). These additional files # only source the real man page, but without them the man command # would be unable to find the correct page. The default is NO. MAN_LINKS = NO #--------------------------------------------------------------------------- # configuration options related to the XML output #--------------------------------------------------------------------------- # If the GENERATE_XML tag is set to YES Doxygen will # generate an XML file that captures the structure of # the code including all documentation. GENERATE_XML = NO # The XML_OUTPUT tag is used to specify where the XML pages will be put. # If a relative path is entered the value of OUTPUT_DIRECTORY will be # put in front of it. If left blank `xml' will be used as the default path. XML_OUTPUT = xml # The XML_SCHEMA tag can be used to specify an XML schema, # which can be used by a validating XML parser to check the # syntax of the XML files. XML_SCHEMA = # The XML_DTD tag can be used to specify an XML DTD, # which can be used by a validating XML parser to check the # syntax of the XML files. XML_DTD = # If the XML_PROGRAMLISTING tag is set to YES Doxygen will # dump the program listings (including syntax highlighting # and cross-referencing information) to the XML output. Note that # enabling this will significantly increase the size of the XML output. XML_PROGRAMLISTING = YES #--------------------------------------------------------------------------- # configuration options for the AutoGen Definitions output #--------------------------------------------------------------------------- # If the GENERATE_AUTOGEN_DEF tag is set to YES Doxygen will # generate an AutoGen Definitions (see autogen.sf.net) file # that captures the structure of the code including all # documentation. Note that this feature is still experimental # and incomplete at the moment. GENERATE_AUTOGEN_DEF = NO #--------------------------------------------------------------------------- # configuration options related to the Perl module output #--------------------------------------------------------------------------- # If the GENERATE_PERLMOD tag is set to YES Doxygen will # generate a Perl module file that captures the structure of # the code including all documentation. Note that this # feature is still experimental and incomplete at the # moment. GENERATE_PERLMOD = NO # If the PERLMOD_LATEX tag is set to YES Doxygen will generate # the necessary Makefile rules, Perl scripts and LaTeX code to be able # to generate PDF and DVI output from the Perl module output. PERLMOD_LATEX = NO # If the PERLMOD_PRETTY tag is set to YES the Perl module output will be # nicely formatted so it can be parsed by a human reader. # This is useful # if you want to understand what is going on. # On the other hand, if this # tag is set to NO the size of the Perl module output will be much smaller # and Perl will parse it just the same. PERLMOD_PRETTY = YES # The names of the make variables in the generated doxyrules.make file # are prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. # This is useful so different doxyrules.make files included by the same # Makefile don't overwrite each other's variables. PERLMOD_MAKEVAR_PREFIX = #--------------------------------------------------------------------------- # Configuration options related to the preprocessor #--------------------------------------------------------------------------- # If the ENABLE_PREPROCESSING tag is set to YES (the default) Doxygen will # evaluate all C-preprocessor directives found in the sources and include # files. ENABLE_PREPROCESSING = YES # If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro # names in the source code. If set to NO (the default) only conditional # compilation will be performed. Macro expansion can be done in a controlled # way by setting EXPAND_ONLY_PREDEF to YES. MACRO_EXPANSION = NO # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES # then the macro expansion is limited to the macros specified with the # PREDEFINED and EXPAND_AS_DEFINED tags. EXPAND_ONLY_PREDEF = NO # If the SEARCH_INCLUDES tag is set to YES (the default) the includes files # pointed to by INCLUDE_PATH will be searched when a #include is found. SEARCH_INCLUDES = YES # The INCLUDE_PATH tag can be used to specify one or more directories that # contain include files that are not input files but should be processed by # the preprocessor. INCLUDE_PATH = # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard # patterns (like *.h and *.hpp) to filter out the header-files in the # directories. If left blank, the patterns specified with FILE_PATTERNS will # be used. INCLUDE_FILE_PATTERNS = # The PREDEFINED tag can be used to specify one or more macro names that # are defined before the preprocessor is started (similar to the -D option of # gcc). The argument of the tag is a list of macros of the form: name # or name=definition (no spaces). If the definition and the = are # omitted =1 is assumed. To prevent a macro definition from being # undefined via #undef or recursively expanded use the := operator # instead of the = operator. PREDEFINED = # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then # this tag can be used to specify a list of macro names that should be expanded. # The macro definition that is found in the sources will be used. # Use the PREDEFINED tag if you want to use a different macro definition that # overrules the definition found in the source code. EXPAND_AS_DEFINED = # If the SKIP_FUNCTION_MACROS tag is set to YES (the default) then # doxygen's preprocessor will remove all references to function-like macros # that are alone on a line, have an all uppercase name, and do not end with a # semicolon, because these will confuse the parser if not removed. SKIP_FUNCTION_MACROS = YES #--------------------------------------------------------------------------- # Configuration::additions related to external references #--------------------------------------------------------------------------- # The TAGFILES option can be used to specify one or more tagfiles. # Optionally an initial location of the external documentation # can be added for each tagfile. The format of a tag file without # this location is as follows: # # TAGFILES = file1 file2 ... # Adding location for the tag files is done as follows: # # TAGFILES = file1=loc1 "file2 = loc2" ... # where "loc1" and "loc2" can be relative or absolute paths or # URLs. If a location is present for each tag, the installdox tool # does not have to be run to correct the links. # Note that each tag file must have a unique name # (where the name does NOT include the path) # If a tag file is not located in the directory in which doxygen # is run, you must also specify the path to the tagfile here. TAGFILES = # When a file name is specified after GENERATE_TAGFILE, doxygen will create # a tag file that is based on the input files it reads. GENERATE_TAGFILE = # If the ALLEXTERNALS tag is set to YES all external classes will be listed # in the class index. If set to NO only the inherited external classes # will be listed. ALLEXTERNALS = NO # If the EXTERNAL_GROUPS tag is set to YES all external groups will be listed # in the modules index. If set to NO, only the current project's groups will # be listed. EXTERNAL_GROUPS = YES # The PERL_PATH should be the absolute path and name of the perl script # interpreter (i.e. the result of `which perl'). PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- # If the CLASS_DIAGRAMS tag is set to YES (the default) Doxygen will # generate a inheritance diagram (in HTML, RTF and LaTeX) for classes with base # or super classes. Setting the tag to NO turns the diagrams off. Note that # this option also works with HAVE_DOT disabled, but it is recommended to # install and use dot, since it yields more powerful graphs. CLASS_DIAGRAMS = YES # You can define message sequence charts within doxygen comments using the \msc # command. Doxygen will then run the mscgen tool (see # http://www.mcternan.me.uk/mscgen/) to produce the chart and insert it in the # documentation. The MSCGEN_PATH tag allows you to specify the directory where # the mscgen tool resides. If left empty the tool is assumed to be found in the # default search path. MSCGEN_PATH = # If set to YES, the inheritance and collaboration graphs will hide # inheritance and usage relations if the target is undocumented # or is not a class. HIDE_UNDOC_RELATIONS = YES # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is # available from the path. This tool is part of Graphviz, a graph visualization # toolkit from AT&T and Lucent Bell Labs. The other options in this section # have no effect if this option is set to NO (the default) HAVE_DOT = YES # The DOT_NUM_THREADS specifies the number of dot invocations doxygen is # allowed to run in parallel. When set to 0 (the default) doxygen will # base this on the number of processors available in the system. You can set it # explicitly to a value larger than 0 to get control over the balance # between CPU load and processing speed. DOT_NUM_THREADS = 0 # By default doxygen will write a font called Helvetica to the output # directory and reference it in all dot files that doxygen generates. # When you want a differently looking font you can specify the font name # using DOT_FONTNAME. You need to make sure dot is able to find the font, # which can be done by putting it in a standard location or by setting the # DOTFONTPATH environment variable or by setting DOT_FONTPATH to the directory # containing the font. DOT_FONTNAME = Helvetica # The DOT_FONTSIZE tag can be used to set the size of the font of dot graphs. # The default size is 10pt. DOT_FONTSIZE = 10 # By default doxygen will tell dot to use the output directory to look for the # FreeSans.ttf font (which doxygen will put there itself). If you specify a # different font using DOT_FONTNAME you can set the path where dot # can find it using this tag. DOT_FONTPATH = # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect inheritance relations. Setting this tag to YES will force the # the CLASS_DIAGRAMS tag to NO. CLASS_GRAPH = YES # If the COLLABORATION_GRAPH and HAVE_DOT tags are set to YES then doxygen # will generate a graph for each documented class showing the direct and # indirect implementation dependencies (inheritance, containment, and # class references variables) of the class with other documented classes. COLLABORATION_GRAPH = YES # If the GROUP_GRAPHS and HAVE_DOT tags are set to YES then doxygen # will generate a graph for groups, showing the direct groups dependencies GROUP_GRAPHS = YES # If the UML_LOOK tag is set to YES doxygen will generate inheritance and # collaboration diagrams in a style similar to the OMG's Unified Modeling # Language. UML_LOOK = NO # If set to YES, the inheritance and collaboration graphs will show the # relations between templates and their instances. TEMPLATE_RELATIONS = NO # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDE_GRAPH, and HAVE_DOT # tags are set to YES then doxygen will generate a graph for each documented # file showing the direct and indirect include dependencies of the file with # other documented files. INCLUDE_GRAPH = YES # If the ENABLE_PREPROCESSING, SEARCH_INCLUDES, INCLUDED_BY_GRAPH, and # HAVE_DOT tags are set to YES then doxygen will generate a graph for each # documented header file showing the documented files that directly or # indirectly include this file. INCLUDED_BY_GRAPH = YES # If the CALL_GRAPH and HAVE_DOT options are set to YES then # doxygen will generate a call dependency graph for every global function # or class method. Note that enabling this option will significantly increase # the time of a run. So in most cases it will be better to enable call graphs # for selected functions only using the \callgraph command. CALL_GRAPH = NO # If the CALLER_GRAPH and HAVE_DOT tags are set to YES then # doxygen will generate a caller dependency graph for every global function # or class method. Note that enabling this option will significantly increase # the time of a run. So in most cases it will be better to enable caller # graphs for selected functions only using the \callergraph command. CALLER_GRAPH = NO # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen # will generate a graphical hierarchy of all classes instead of a textual one. GRAPHICAL_HIERARCHY = YES # If the DIRECTORY_GRAPH, SHOW_DIRECTORIES and HAVE_DOT tags are set to YES # then doxygen will show the dependencies a directory has on other directories # in a graphical way. The dependency relations are determined by the #include # relations between the files in the directories. DIRECTORY_GRAPH = YES # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images # generated by dot. Possible values are svg, png, jpg, or gif. # If left blank png will be used. DOT_IMAGE_FORMAT = png # The tag DOT_PATH can be used to specify the path where the dot tool can be # found. If left blank, it is assumed the dot tool can be found in the path. DOT_PATH = # The DOTFILE_DIRS tag can be used to specify one or more directories that # contain dot files that are included in the documentation (see the # \dotfile command). DOTFILE_DIRS = # The MSCFILE_DIRS tag can be used to specify one or more directories that # contain msc files that are included in the documentation (see the # \mscfile command). MSCFILE_DIRS = # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of # nodes that will be shown in the graph. If the number of nodes in a graph # becomes larger than this value, doxygen will truncate the graph, which is # visualized by representing a node as a red box. Note that doxygen if the # number of direct children of the root node in a graph is already larger than # DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note # that the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH. DOT_GRAPH_MAX_NODES = 50 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the # graphs generated by dot. A depth value of 3 means that only nodes reachable # from the root by following a path via at most 3 edges will be shown. Nodes # that lay further from the root node will be omitted. Note that setting this # option to 1 or 2 may greatly reduce the computation time needed for large # code bases. Also note that the size of a graph can be further restricted by # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction. MAX_DOT_GRAPH_DEPTH = 0 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent # background. This is disabled by default, because dot on Windows does not # seem to support this out of the box. Warning: Depending on the platform used, # enabling this option may lead to badly anti-aliased labels on the edges of # a graph (i.e. they become hard to read). DOT_TRANSPARENT = NO # Set the DOT_MULTI_TARGETS tag to YES allow dot to generate multiple output # files in one run (i.e. multiple -o and -T options on the command line). This # makes dot run faster, but since only newer versions of dot (>1.8.10) # support this, this feature is disabled by default. DOT_MULTI_TARGETS = NO # If the GENERATE_LEGEND tag is set to YES (the default) Doxygen will # generate a legend page explaining the meaning of the various boxes and # arrows in the dot generated graphs. GENERATE_LEGEND = YES # If the DOT_CLEANUP tag is set to YES (the default) Doxygen will # remove the intermediate dot files that are used to generate # the various graphs. DOT_CLEANUP = YES merkaartor-0.18.2/3rdparty/quazip-0.7/FindQuaZip.cmake000066400000000000000000000031411255273444100223560ustar00rootroot00000000000000# QUAZIP_FOUND - QuaZip library was found # QUAZIP_INCLUDE_DIR - Path to QuaZip include dir # QUAZIP_INCLUDE_DIRS - Path to QuaZip and zlib include dir (combined from QUAZIP_INCLUDE_DIR + ZLIB_INCLUDE_DIR) # QUAZIP_LIBRARIES - List of QuaZip libraries # QUAZIP_ZLIB_INCLUDE_DIR - The include dir of zlib headers IF (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES) # in cache already SET(QUAZIP_FOUND TRUE) ELSE (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES) IF (WIN32) FIND_PATH(QUAZIP_LIBRARY_DIR WIN32_DEBUG_POSTFIX d NAMES libquazip.dll HINTS "C:/Programme/" "C:/Program Files" PATH_SUFFIXES QuaZip/lib ) FIND_LIBRARY(QUAZIP_LIBRARIES NAMES libquazip.dll HINTS ${QUAZIP_LIBRARY_DIR}) FIND_PATH(QUAZIP_INCLUDE_DIR NAMES quazip.h HINTS ${QUAZIP_LIBRARY_DIR}/../ PATH_SUFFIXES include/quazip) FIND_PATH(QUAZIP_ZLIB_INCLUDE_DIR NAMES zlib.h) ELSE(WIN32) FIND_PACKAGE(PkgConfig) # pkg_check_modules(PC_QCA2 QUIET qca2) pkg_check_modules(PC_QUAZIP quazip) FIND_LIBRARY(QUAZIP_LIBRARIES WIN32_DEBUG_POSTFIX d NAMES quazip HINTS /usr/lib /usr/lib64 ) FIND_PATH(QUAZIP_INCLUDE_DIR quazip.h HINTS /usr/include /usr/local/include PATH_SUFFIXES quazip ) FIND_PATH(QUAZIP_ZLIB_INCLUDE_DIR zlib.h HINTS /usr/include /usr/local/include) ENDIF (WIN32) INCLUDE(FindPackageHandleStandardArgs) SET(QUAZIP_INCLUDE_DIRS ${QUAZIP_INCLUDE_DIR} ${QUAZIP_ZLIB_INCLUDE_DIR}) find_package_handle_standard_args(QUAZIP DEFAULT_MSG QUAZIP_LIBRARIES QUAZIP_INCLUDE_DIR QUAZIP_ZLIB_INCLUDE_DIR QUAZIP_INCLUDE_DIRS) ENDIF (QUAZIP_INCLUDE_DIRS AND QUAZIP_LIBRARIES) merkaartor-0.18.2/3rdparty/quazip-0.7/NEWS.txt000066400000000000000000000145161255273444100206670ustar00rootroot00000000000000QuaZIP changes * 2014-07-24 0.7 * It is now possible to write ZIP files to sequential devices like sockets (only in mdCreate mode, so no self-extract, sorry). * A few zip64 fixes. * Several bug fixes and portability improvements. * 2014-02-09 0.6.2 * QuaZipNewInfo / QuaZipFileInfo64 now provide API to access/set NTFS time stamps - useful even on non-NTFS systems if you need more precise dates and times than default ones. * QuaZipNewInfo may now be initialized from QuaZipFileInfo64. * No more crashes when using QSaveFile as QIODevice for ZIP. * The new QuaZip::setAutoClose() method allows to leave the QIODevice open when you close the QuaZip instance. * qztest now depends on quazip, no longer breaking the build. * 2014-01-26 0.6.1 * Improved zip64 support. * A LOT more tests thanks to g++ --coverage / lcov. * JlCompress extraction methods now create files with default permissions if they are zero in the original archive. * Some QuaZipDir fixes (thanks to the new tests). * 2014-01-22 0.6 * Minizip updated to 1.1 (with all the necessary modifications re-done), and that means that... * the long-awaited zip64 support is now available! * A few rather minor fixes. * 2014-01-19 0.5.2 * Some minor bug fixes. * API to access file permissions subfield of the external attributes. * MS VS 2012 Express support. * API to set the default codec used to encode/decode file names (mainly for use by various wrappers such as JlCompress, when you don't have direct access to the underlying QuaZip instance). * 2013-03-02 0.5.1 * Lots of QuaZipDir fixes, thanks to all bug reporters. * Full Qt Creator support. * MS VS 2010 Express support. * Qt5 support (didn't need any source code changes anyway). * Lots of minor bug fixes. * 2012-09-07 0.5 * Added run_moc.bat files for building under Windows in case Qt integration is not available (e. g. VS 2008 Express). * Added the QuaZipDir class to simplify ZIP navigation in terms of directories. * Added the QuaGzipFile class for working with GZIP archives. It was added as a bonus since it has nothing to do with the main purpose of the library. It probably won't get any major improvements, although minor bug fixes are possible. * Added the QuaZIODevice class for working with zlib compression. It has nothing to do with the ZIP format, and therefore the same notice as for the QuaGzipFile applies. * The global comment is no longer erased when adding files to an archive. * Many bug fixes. * 2012-01-14 0.4.4 * Fixed isSequential() test that was causing open() failures on Unix. * Fixed sub-directory compressing in JlCompress. * Added MS VS 2008 solution, compatible with the binary Qt distribution (tested on MS VS 2008 Express, had to run MOC manually due to the lack of plugin in Express). * Fixed extracting directories in JlCompress. * Fixed JlCompress.h includes in the test suite, which used lowercase names thus breaking on case-sensitive systems. * Implemented missing QuaZipFile::getZip() that was only declared. * Fixed reopening closed files. * Fixed possible memory leak in case of open error. * 2011-09-09 0.4.3 * New test suite using QTestLib. * Fixed bytesAvailable(), pos() and atEnd(). * Added ZIP v1.0 support and disabling data descriptor for compatibility with some older software. * Fixed DLL export/import issues for some symbols. * Added QUAZIP_STATIC macro for compiling as a static library or directly including the source. * Added getFileNameList() and getFileInfoList() convenience functions. * Added some buffering to JlCompress to improve performance. * 2011-08-10 0.4.2 * Cmake patch (thanks to Bernhard Rosenkraenzer). * Symbian patch (thanks to Hamish Willee). * Documented the multiple files limitation of QuaZipFile. * Fixed relative paths handling in JlCompress. * Fixed linking to MinGW zlib. * 2011-05-26 0.4.1 * License statement updated to avoid confusion. GPL license removed for the very same reason. * Parts of original package are now clearly marked as modified, just as their license requires. * 2011-05-23 0.4 * QuaZip and QuaZipFile classes now use the Pimpl idiom. This means that future releases will probably be binary compatible with this one, but it also means that this one is binary incompatible with the old ones. * IO API has been rewritten using QIODevice instead of standard C library. Among other things it means that QuaZip now supports files up to 4 GB in size instead of 2 GB. * Added QuaZip methods allowing access to ZIP files represented by any seekable QIODevice implementation (QBuffer is a good example). * 2010-07-23 0.3 * Fixed getComment() for global comments. * Added some useful classes for calculating checksums (thanks to Adam Walczak). * Added some utility classes for working with whole directories (thanks to Roberto Pompermaier). It would be nice if someone documents these in English, though. * Probably fixed some problems with passwords (thanks to Vasiliy Sorokin). I didn't test it, though. * 2008-09-17 0.2.3 * Fixed license notices in sources. * SVN * Fixed a small bug in QuaZipFile::atEnd(). * 2007-01-16 0.2.2 * Added LGPL as alternative license. * Added FAQ documentation page. * 2006-03-21 0.2.1 * Fixed setCommentCodec() bug. * Fixed bug that set month 1-12 instead of 0-11, as specified in zip.h. * Added workaround for Qt's bug that caused wrong timestamps. * Few documentation fixes and cosmetic changes. * 2005-07-08 0.2 * Write support. * Extended QuaZipFile API, including size(), *pos() functions. * Support for comments encoding/decoding. * 2005-07-01 0.1 * Initial version. merkaartor-0.18.2/3rdparty/quazip-0.7/README.txt000066400000000000000000000044001255273444100210370ustar00rootroot00000000000000QuaZIP is the C++ wrapper for Gilles Vollant's ZIP/UNZIP package (AKA minizip) using Trolltech's Qt library. It uses existing ZIP/UNZIP package C code and therefore depends on the zlib library. Also, it depends on Qt 4. To compile it on UNIX dialect: $ cd quazip $ qmake $ make You must make sure that: * You have Qt 4 properly and fully installed (including tools and headers, not just library) * "qmake" command runs Qt 4's qmake, not some other version (you'll have to type full path to qmake otherwise). To install compiled shared library, just type: $ make install By default, it installs in /usr/local, but you may change it using $ qmake PREFIX=/wherever/you/want/to/install You do not have to compile and install QuaZIP to use it. You can just (and sometimes it may be the best way) add QuaZIP's source files to your project and use them. See doc/html or, if you do not have a browser, quazip/*.h and quazip/doc/* files for the more detailed documentation. For Windows, it's essentially the same, but you may have to adjust settings for different environments. If you want to include QuaZIP sources directly in your project or if you want to use QuaZIP compiled as a static library using "qmake CONFIG+=statliclib", you have to define the QUAZIP_STATIC macro, otherwise you're likely to run into problems as QuaZIP symbols will be marked as dllimported. Copyright notice: Copyright (C) 2005-2012 Sergey A. Tachenov This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser 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 See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant, see quazip/(un)zip.h files for details, basically it's zlib license. merkaartor-0.18.2/3rdparty/quazip-0.7/doc/000077500000000000000000000000001255273444100201105ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/000077500000000000000000000000001255273444100210545ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/JlCompress_8h_source.html000066400000000000000000000307431255273444100260110ustar00rootroot00000000000000 QuaZIP: quazip/JlCompress.h Source File
JlCompress.h
1 #ifndef JLCOMPRESSFOLDER_H_
2 #define JLCOMPRESSFOLDER_H_
3 
4 /*
5 Copyright (C) 2010 Roberto Pompermaier
6 Copyright (C) 2005-2014 Sergey A. Tachenov
7 
8 This file is part of QuaZIP.
9 
10 QuaZIP is free software: you can redistribute it and/or modify
11 it under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
14 
15 QuaZIP is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU Lesser General Public License for more details.
19 
20 You should have received a copy of the GNU Lesser General Public License
21 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
22 
23 See COPYING file for the full LGPL text.
24 
25 Original ZIP package is copyrighted by Gilles Vollant and contributors,
26 see quazip/(un)zip.h files for details. Basically it's the zlib license.
27 */
28 
29 #include "quazip.h"
30 #include "quazipfile.h"
31 #include "quazipfileinfo.h"
32 #include <QString>
33 #include <QDir>
34 #include <QFileInfo>
35 #include <QFile>
36 
38 
42 class QUAZIP_EXPORT JlCompress {
43 private:
45 
51  static bool compressFile(QuaZip* zip, QString fileName, QString fileDest);
53 
62  static bool compressSubDir(QuaZip* parentZip, QString dir, QString parentDir, bool recursive = true);
64 
70  static bool extractFile(QuaZip* zip, QString fileName, QString fileDest);
72 
76  static bool removeFile(QStringList listFile);
77 
78 public:
80 
85  static bool compressFile(QString fileCompressed, QString file);
87 
92  static bool compressFiles(QString fileCompressed, QStringList files);
94 
101  static bool compressDir(QString fileCompressed, QString dir = QString(), bool recursive = true);
102 
103 public:
105 
112  static QString extractFile(QString fileCompressed, QString fileName, QString fileDest = QString());
114 
121  static QStringList extractFiles(QString fileCompressed, QStringList files, QString dir = QString());
123 
129  static QStringList extractDir(QString fileCompressed, QString dir = QString());
131 
136  static QStringList getFileList(QString fileCompressed);
137 };
138 
139 #endif /* JLCOMPRESSFOLDER_H_ */
ZIP archive.
Definition: quazip.h:84
Utility class for typical operations.
Definition: JlCompress.h:42
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/annotated.html000066400000000000000000000153021255273444100237200ustar00rootroot00000000000000 QuaZIP: Class List
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
oCJlCompressUtility class for typical operations
oCQIODevice_descriptor
oCQuaAdler32Adler32 checksum
oCQuaChecksum32Checksum interface
oCQuaCrc32CRC32 checksum
oCQuaGzipFileGZIP file
oCQuaZIODeviceA class to compress/decompress QIODevice
oCQuaZipZIP archive
oCQuaZipDirProvides ZIP archive navigation
oCQuaZipFileA file inside ZIP archive
oCQuaZipFileInfoInformation about a file inside archive
oCQuaZipFileInfo64Information about a file inside archive (with zip64 support)
oCQuaZipFilePrivateThe implementation class for QuaZip
oCQuaZipNewInfoInformation about a file to be created
\CQuaZipPrivateAll the internal stuff for the QuaZip class
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/bc_s.png000066400000000000000000000012441255273444100224710ustar00rootroot00000000000000‰PNG  IHDR€_ kIDATxíËkQÆÏ¹É̤I&“¦mš&156*nÄ…”ܸR,4 +Hµ(U­b”ª1‚ŠˆJ.º(E·mßúhëJmKS'C›(‚èäÑ…¤ï &äÖþ ‡ïrÎåü3gö(z÷ýÒ&_9ó}’ÕŸ@‰mÚu ` Øh`ñ÷Ô¯  „ú&·ññ×Ù~“½—Üò‡ÎÝÑM4¸%‰3²§?Êêh)€ÿù™\ÄYi>Jb @gûßiÞˆú²Ñkg§ãê\è½­šEUæv+?E€î"pæÖÛB\ƒY&ðØó$vM+ê’Dn¼)}òþ:§Xoâ ƒ3ŠÚ¯'¯¿.‚fÁ0ìuŠ9òLýj€f6¸%«3Gf”Ô#Ôsm(,ùÃk*Ê’³Jª…¯¼JË¢o䆔¼u_~ °r]%%mnu]z°r5[ÍÆ°«Úò•Xeµ’†Iù<ÈèÐÅg@IÔÚÞàµë3‚:/<JÇ’ÐQ) ñ¹…tÚß÷(Mû\63éCgl!ýí;ÿ¸4Ùhâñ=÷Zë29­w’ÝÒ´·ˆV;ÊL3ƒj&7©·º½÷a!I†)ëë$-öÇÓú³›‹7tIV¾VàñÔübf¨8¡ÈƒB<﫵imnÿœÈ‡„ lߣù‡ÛD —#É5“­'Æ4?쬲øM’™›°»g¬‚|5Åçµ½GNdÓÐr|ô”Ã&„ì"7+'³@ 5‡G➑Džâɬ^;õã–.3Òr"ý_R³¿Â@²oI¾å$IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/bdwn.png000066400000000000000000000002231255273444100225110ustar00rootroot00000000000000‰PNG  IHDR5åZIDATxíË € DŸP–1ñlžmÀ r±j².e è†D[ØÉ¾ÙÏÔ¼µ¦ã´Þ|陣6€Všë3´Å?Ls'(}¬>+ žKó÷¥¿ch`‚ ^׃ÞnIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classJlCompress-members.html000066400000000000000000000107531255273444100265070ustar00rootroot00000000000000 QuaZIP: Member List
JlCompress Member List

This is the complete list of members for JlCompress, including all inherited members.

compressDir(QString fileCompressed, QString dir=QString(), bool recursive=true)JlCompressstatic
compressFile(QString fileCompressed, QString file)JlCompressstatic
compressFiles(QString fileCompressed, QStringList files)JlCompressstatic
extractDir(QString fileCompressed, QString dir=QString())JlCompressstatic
extractFile(QString fileCompressed, QString fileName, QString fileDest=QString())JlCompressstatic
extractFiles(QString fileCompressed, QStringList files, QString dir=QString())JlCompressstatic
getFileList(QString fileCompressed)JlCompressstatic
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classJlCompress.html000066400000000000000000000572371255273444100250670ustar00rootroot00000000000000 QuaZIP: JlCompress Class Reference

Utility class for typical operations. More...

#include <JlCompress.h>

Static Public Member Functions

static bool compressFile (QString fileCompressed, QString file)
 Compress a single file. More...
 
static bool compressFiles (QString fileCompressed, QStringList files)
 Compress a list of files. More...
 
static bool compressDir (QString fileCompressed, QString dir=QString(), bool recursive=true)
 Compress a whole directory. More...
 
static QString extractFile (QString fileCompressed, QString fileName, QString fileDest=QString())
 Extract a single file. More...
 
static QStringList extractFiles (QString fileCompressed, QStringList files, QString dir=QString())
 Extract a list of files. More...
 
static QStringList extractDir (QString fileCompressed, QString dir=QString())
 Extract a whole archive. More...
 
static QStringList getFileList (QString fileCompressed)
 Get the file list. More...
 

Detailed Description

Utility class for typical operations.

This class contains a number of useful static functions to perform simple operations, such as mass ZIP packing or extraction.

Member Function Documentation

bool JlCompress::compressFile ( QString  fileCompressed,
QString  file 
)
static

Compress a single file.

Parameters
fileCompressedThe name of the archive.
fileThe file to compress.
Returns
true if success, false otherwise.

OK Comprime il file fileName nel file fileCompressed. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare.

La funzione fallisce se:

  • non si riesce ad aprire l'oggetto zip;
  • la compressione del file fallisce;
  • non si riesce a chiudere l'oggetto zip;

References QuaZip::close(), QuaZip::getZipError(), QuaZip::mdCreate, and QuaZip::open().

bool JlCompress::compressFiles ( QString  fileCompressed,
QStringList  files 
)
static

Compress a list of files.

Parameters
fileCompressedThe name of the archive.
filesThe file list to compress.
Returns
true if success, false otherwise.

OK Comprime i file specificati in files nel file fileCompressed. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare.

La funzione fallisce se:

  • non si riesce ad aprire l'oggetto zip;
  • la compressione di un file fallisce;
  • non si riesce a chiudere l'oggetto zip;

References QuaZip::close(), QuaZip::getZipError(), QuaZip::mdCreate, and QuaZip::open().

bool JlCompress::compressDir ( QString  fileCompressed,
QString  dir = QString(),
bool  recursive = true 
)
static

Compress a whole directory.

Parameters
fileCompressedThe name of the archive.
dirThe directory to compress.
recursiveWhether to pack the subdirectories as well, or just regular files.
Returns
true if success, false otherwise.

OK Comprime la cartella dir nel file fileCompressed, se recursive e true allora comprime anche le sotto cartelle. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare.

La funzione fallisce se:

  • non si riesce ad aprire l'oggetto zip;
  • la compressione di un file fallisce;
  • non si riesce a chiudere l'oggetto zip;

References QuaZip::close(), QuaZip::getZipError(), QuaZip::mdCreate, and QuaZip::open().

QString JlCompress::extractFile ( QString  fileCompressed,
QString  fileName,
QString  fileDest = QString() 
)
static

Extract a single file.

Parameters
fileCompressedThe name of the archive.
fileNameThe file to extract.
fileDestThe destination file, assumed to be identical to file if left empty.
Returns
The list of the full paths of the files extracted, empty on failure.

OK Estrae il file fileName, contenuto nel file fileCompressed, con il nome fileDest. Se fileDest = "" allora il file viene estratto con lo stesso nome con cui e stato compresso. Se la funzione fallisce cancella il file che si e tentato di estrarre. Restituisce il nome assoluto del file estratto.

La funzione fallisce se:

  • non si riesce ad aprire l'oggetto zip;
  • l'estrazione del file fallisce;
  • non si riesce a chiudere l'oggetto zip;

References QuaZip::close(), QuaZip::getZipError(), QuaZip::mdUnzip, and QuaZip::open().

QStringList JlCompress::extractFiles ( QString  fileCompressed,
QStringList  files,
QString  dir = QString() 
)
static

Extract a list of files.

Parameters
fileCompressedThe name of the archive.
filesThe file list to extract.
dirThe directory to put the files to, the current directory if left empty.
Returns
The list of the full paths of the files extracted, empty on failure.

OK Estrae i file specificati in files, contenuti nel file fileCompressed, nella cartella dir. La struttura a cartelle del file compresso viene rispettata. Se dir = "" allora il file viene estratto nella cartella corrente. Se la funzione fallisce cancella i file che si e tentato di estrarre. Restituisce i nomi assoluti dei file estratti.

La funzione fallisce se:

  • non si riesce ad aprire l'oggetto zip;
  • l'estrazione di un file fallisce;
  • non si riesce a chiudere l'oggetto zip;

References QuaZip::close(), QuaZip::getZipError(), QuaZip::mdUnzip, and QuaZip::open().

QStringList JlCompress::extractDir ( QString  fileCompressed,
QString  dir = QString() 
)
static

Extract a whole archive.

Parameters
fileCompressedThe name of the archive.
dirThe directory to extract to, the current directory if left empty.
Returns
The list of the full paths of the files extracted, empty on failure.

OK Estrae il file fileCompressed nella cartella dir. Se dir = "" allora il file viene estratto nella cartella corrente. Se la funzione fallisce cancella i file che si e tentato di estrarre. Restituisce i nomi assoluti dei file estratti.

La funzione fallisce se:

  • non si riesce ad aprire l'oggetto zip;
  • la compressione di un file fallisce;
  • non si riesce a chiudere l'oggetto zip;

References QuaZip::close(), QuaZip::getCurrentFileName(), QuaZip::getZipError(), QuaZip::goToFirstFile(), QuaZip::goToNextFile(), QuaZip::mdUnzip, and QuaZip::open().

QStringList JlCompress::getFileList ( QString  fileCompressed)
static

Get the file list.

Returns
The list of the files in the archive, or, more precisely, the list of the entries, including both files and directories if they are present separately.

OK Restituisce la lista dei file resenti nel file compresso fileCompressed. Se la funzione fallisce, restituisce un elenco vuoto.

La funzione fallisce se:

  • non si riesce ad aprire l'oggetto zip;
  • la richiesta di informazioni di un file fallisce;
  • non si riesce a chiudere l'oggetto zip;

References QuaZip::close(), QuaZip::getCurrentFileInfo(), QuaZip::getZipError(), QuaZip::goToFirstFile(), QuaZip::goToNextFile(), QuaZip::mdUnzip, QuaZipFileInfo64::name, and QuaZip::open().


The documentation for this class was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaAdler32-members.html000066400000000000000000000072051255273444100262670ustar00rootroot00000000000000 QuaZIP: Member List
QuaAdler32 Member List

This is the complete list of members for QuaAdler32, including all inherited members.

calculate(const QByteArray &data)QuaAdler32virtual
QuaAdler32() (defined in QuaAdler32)QuaAdler32
reset()QuaAdler32virtual
update(const QByteArray &buf)QuaAdler32virtual
value()QuaAdler32virtual
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaAdler32.html000066400000000000000000000233571255273444100246450ustar00rootroot00000000000000 QuaZIP: QuaAdler32 Class Reference
QuaAdler32 Class Reference

Adler32 checksum. More...

#include <quazip/quaadler32.h>

Inheritance diagram for QuaAdler32:
Collaboration diagram for QuaAdler32:

Public Member Functions

quint32 calculate (const QByteArray &data)
 Calculates the checksum for data. More...
 
void reset ()
 Resets the calculation on a checksun for a stream.
 
void update (const QByteArray &buf)
 Updates the calculated checksum for the stream. More...
 
quint32 value ()
 Value of the checksum calculated for the stream passed throw update(). More...
 

Detailed Description

Adler32 checksum.

This class wrappers the adler32 function with the QuaChecksum32 interface. See QuaChecksum32 for more info.

Member Function Documentation

quint32 QuaAdler32::calculate ( const QByteArray &  data)
virtual

Calculates the checksum for data.

data source data

Returns
data checksum

This function has no efect on the value returned by value().

Implements QuaChecksum32.

void QuaAdler32::update ( const QByteArray &  buf)
virtual

Updates the calculated checksum for the stream.

buf next portion of data from the stream

Implements QuaChecksum32.

quint32 QuaAdler32::value ( )
virtual

Value of the checksum calculated for the stream passed throw update().

Returns
checksum

Implements QuaChecksum32.


The documentation for this class was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.map000066400000000000000000000002471255273444100271370ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.md5000066400000000000000000000000401255273444100270360ustar00rootroot00000000000000795e0a3b4a0bae2411933397a89b71a1merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaAdler32__coll__graph.png000066400000000000000000000074111255273444100271460ustar00rootroot00000000000000‰PNG  IHDR…p¿ç$ÁbKGDÿÿÿ ½§“¾IDATxœíyPgÀß„HÃ!…pA”J+‡zL8Fªä¾d"%"ÓhE KQXŠƒˆrZŽJ--±Š‚P‚Â7)ˆ r°d¿?¶¦1"V‚dƒûûƒÙ}²ûì³ïo÷}7K’ÅÁ0 0P^Þ`<æ]`>Ðæ]$g†††bccgffäUÍkHtt´xö)---uuu¾¾¾Ë^ÕkJsssYYÙs} ”••-cI¯5~~~Rlü@˜tù@˜t±H\.711ÑÚÚZ]]ÝÞÞ>##‚ EäyðàAPP©©©ººúÖ­[/^¼(~ ‡Ã1ŒÅ•Ç`0p8ÜâÖ•/‹ñ1==ýÞ{ïݼy333“N§'%%oß¾}nnî¥ò0™L[[[55µÒÒÒÖÖÖ€€€ÀÀÀË—//¢¤ågvv6!!ÁÐÐPCCÃÝÝýÞ½{€©©©ÐÐP‰¤­­Ìd2_:/,Aii©Td^( ™L† Háp8¦¦¦T*õ…ëJëïï/•ÙÕÕ™ôõõ½TB1}}}ÿeGdá‡~033kmm}øðaXX˜““ ÃÎÎÎ=== ÃÝÝÝ××wá$¾¾¾RË,Ƈ¾¾~CCƒT0''‡L&K6„ätmm­ÍêÕ«õõõ322Äynܸ!™dzzúþýûÿTÀ©S§ÌÍ͉Dbzz: … EOOoíÚµ E(ÎÎÎ&''ëêꆆ†NNNJnZ$%$$X[[Ã0\SSóî»ïª¨¨¬[·®¨¨HªHÉi@AA¥¥¥®®nFFFQQ‘©©©¦¦æ—_~‰,àéé™––†L···khh…B<õêU$xóæM …[r |LNNÝ“¤¹¹Y[[{ÞÝc³ÙÊÊÊ{÷î...Œ!yX,Öó6صk›Í®¬¬LLLÀ0üí·ßz{{ uvvÚÙÙ%%%;vÌÊʪ³³³««ËÁÁB¡ˆ7-‰(Š ².‡ÃQQQ¡R©£££Ãá,à#00Ífÿøã???6›——'®‚ ‘‘‘øøø;wBÔ××7;;‹¼”™™imm½pc.™Éšnܸ¡««;ïî ‚îîn‡377÷çŸ"‹Å ‡ó¼®\¹Ã02,!}—¥¥åèè(²@CCƒÍÆ«ªªÈ;widÓ‰‰‰€ÞÞ^äU‹µjÕª¬¬¬ÉÉI‘H4===77·€:ðP(”š–ìE;PWW§¦¦>üÖ[o!k-À³>^z<'‰úúú·nÝ’ŠßºuËÒÒRjdB&”••ïÞ½ëáá±eË–3gÎ A--­7ß|óÎ;’«´µµmݺ•Çã!³$ €Çÿ[äàà ‡Ãápnnn÷ïß·°°@^}ûí·½¼¼$³9;;§§§‹·H£ÑZZZŒŒŒœœœ®]»&™Y²` ÀªU«¤¦%¡P(<Ø·o_pp09þü¦M›&&&ÚÚÚlmmçmÃ…”óÇ„„'''ñxPRRbbbrêÔ)äCÎY†dãñx***ÕÕÕ"‘ˆÏçƒ'‡XddäîÝ»E"‘8s\\œøG¢xÚÈÈHœœœìîî633«­­E"HŸŽ”ÁápzzzTTT‘2Î] œ9sFII‰ÉdÎ[ðó¶.9ÖÑÑét:2T?~ÜÂÂâ…§…˜¥ϧ¦¦6nÜèââò믿ööö~þùç===@0>>(((˜ššBU¤áp8\}}=ò®<9ýÇÆÆttt‚ƒƒ¯_¿~ûöíÔÔT@]]Ý­çãã388xûöm‡¤¤¤lÞ¼¹«««««ë£>ŠŒŒ„ŸîyRRR6lØÀçóù|¾ªªjEEÅøøx~~¾ªª*ŸÏŸ·àÿâ#$$ÄÍÍ­··wdddÏž=îîî?VSS;þ|·Ëá†a‡“ðÎ;飯ªš››ñÅNNNÈÅkZZ‘H477¯®®gûþûïµµµsrrõôôøàà ‰DÒÐа··¯©©ù·²ùZÍf‡‡‡kiiéèèDEEq¹Ü™™ …B"‘Ö¬Y(u}Ã0ŸÏß°aCJJ ²ƒæææÊÊÊ–––ÕÕÕÈóüBÓÓÓaaaFFFšššžžžÿýwSSÓÂÝÏ+ôñ, ¹¹yqë¾¶,Áxþ<”••ßÿý¥ÊöÚ‚ÝOD˜tù@˜tù@˜t1Ïç}òó󗿎דþþ~33³§B’oFššš”””äT›,àˆDA[Þe,†„„I8Xñ¿ÿÑÒro÷î“ááä£GwË»YY ãÇÅ‹íÈ_É»YQxB!TUÕ˜šâ]½Ú+ïrdEá}\¹ÒÃã JJøªªvy—#+ ²]I € Q}}'Ÿ/”wE2¡Ø>¸\ÁåËÿƒ >÷%@ w^å(¶I<WYù—ë‘ÅöQYù—äçB!HD£õ°Ù|9–$# ìƒÅâ^½zwnî©k\†/]ê”WI²£À>êên?„a¸¼\»,öQQÑöìÍ‘ni¹÷èÑ”\J’EõñàÁãööû"Ñ<7{””ðµµóœ: ¢ú¨­½õ¼o4WY©¨o ç¹ß®ðxBMñ,‡#PU]E üsx)æwq`%ÜßHñTj˜§§¼ ‘Eí¯V*˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@²ü¼rSS“²²²¼÷TTLðx5yW‡’¥IeúþàÈȈP(LIIYªQtÊËËeɰßçtvv–=ÉÊyÚŒ,`ãºÀ|  ̺À| ‹eò133“——ññÇÇÄÄœ;wîeæ)¦¨¨ÈÅÅ¥¤¤äy ŒŒŒ¸¸¸ [¯ÜXŽßËàñx111D"1**ÊÐÐp``    ½½=++Kê g/†áÆÆF===´TB”ŸŸßØØÈãñ¬¬¬âããI$—Ë=qâN …öööqqqššš/Î%Ëq~‰Äììl###2™Œ<”ñ—_~yÙTCCC‰‰‰ cxxx©*¬®®njjJKK;wŽÎwß}øæ›oÆÇdz³³©T*›ÍÎÎÎ^ªÍ-Àrøhhhسgä© ªªðûï¿Kö*’ÓÍÍÍ‘‘‘ÞÞÞ’]Scc£µµõ–-[LLL‘ H$ºpáBhhèŽ;8ÐÝÝ-UAT*ÕËËËËË‹J¥"Õtqq¡Óéþþþ]]]t:}ÇŽ–––ZZZÞÞÞ}}}µµµ…‡‡“H¤½{÷¶¶¶¾Â6zÂ+÷ÁápX,Öúõë¥âó®Âãñ’““-,,Š‹‹cbbNŸ>ýøñcð¤³Ú¶mÀÑÑy\  ²²²´´4**êìÙ³¡¡¡T*U*aEEÅèèh^^ÞñãÇétzaa!/++KJJ²°°8zôhHHˆH$b2™ ›7oÆãñgÏžµ²²B–ìèè000X¢&YˆeÏŸ}9 ÃÏ<”•• âââtttôôô\.ÐÓÓ366æèèpttDŒÖÔÔ|úé§d2YGGÇÁÁ!**J*a}}ýÁƒõôôÌÌÌ¢££ÅGzTT”­­­ªª*2[^^îããSWWwðàA<ohh¨¤¤Äãñòóó«««>¼dÍñ|^ùx®®®®­­Í`0ììì$ã ÃÄÄD2"þå'0<<œ••ÅçóÅÏB466ÎÍÍ}òÉ'âF[·nÝøø¸äù'ý>|èíí-ž}ã7 ©üýý]]]/\¸––vòäIÀüA¥Rííí©T*‘H|ù½i–ãúÊÕÕµ¨¨ÈÆÆ9!Ž9òᇖ””ˆ/æææ”””&&&Y@šššššúÁÌÎÎÖ××D"FÛ¿ÿ®]»Å i4Zxx¸¾¾þ½{÷ÌÍÍ‘ø³wôÖ¬Y“mhhžôŸHœ@øg÷333}||Ö¯_¯££³}ûöK—.ÊËËkjjÒÓÓ%‰WÍrôWaaa,‹B¡´µµ ¤¥¥ …Â;wª««~ûí7WUU…,?;; A@ …H_Ïãñ:;;'''ÝÜÜV?ÁÕÕuxx˜Á`xzzæææ^¿~Åbµ¶¶þôÓORÉäÓ§O?zô¨¿¿?11ñ矖Z@$ååå 3™ÌŠŠ +++.—[PP®¢¢2ô„WßTËr~¨©©åççæææŽŒŒèêꆄ„tuu¥§§'''GDDäääÇÆÆ^»v  ®®“––¶zõê   mÛ¶%&&’Éd;;;ÉNÂD"Ñh´}ûöÍÎÎæææ2™Lssó¯¾újÿþý’DDDœ merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.md5000066400000000000000000000000401255273444100275470ustar00rootroot00000000000000795e0a3b4a0bae2411933397a89b71a1merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaAdler32__inherit__graph.png000066400000000000000000000074111255273444100276570ustar00rootroot00000000000000‰PNG  IHDR…p¿ç$ÁbKGDÿÿÿ ½§“¾IDATxœíyPgÀß„HÃ!…pA”J+‡zL8Fªä¾d"%"ÓhE KQXŠƒˆrZŽJ--±Š‚P‚Â7)ˆ r°d¿?¶¦1"V‚dƒûûƒÙ}²ûì³ïo÷}7K’ÅÁ0 0P^Þ`<æ]`>Ðæ]$g†††bccgffäUÍkHtt´xö)---uuu¾¾¾Ë^ÕkJsssYYÙs} ”••-cI¯5~~~Rlü@˜tù@˜t±H\.711ÑÚÚZ]]ÝÞÞ>##‚ EäyðàAPP©©©ººúÖ­[/^¼(~ ‡Ã1ŒÅ•Ç`0p8ÜâÖ•/‹ñ1==ýÞ{ïݼy333“N§'%%oß¾}nnî¥ò0™L[[[55µÒÒÒÖÖÖ€€€ÀÀÀË—//¢¤ågvv6!!ÁÐÐPCCÃÝÝýÞ½{€©©©ÐÐP‰¤­­Ìd2_:/,Aii©Td^( ™L† Háp8¦¦¦T*õ…ëJëïï/•ÙÕÕ™ôõõ½TB1}}}ÿeGdá‡~033kmm}øðaXX˜““ ÃÎÎÎ=== ÃÝÝÝ××wá$¾¾¾RË,Ƈ¾¾~CCƒT0''‡L&K6„ätmm­ÍêÕ«õõõ322Äynܸ!™dzzúþýûÿTÀ©S§ÌÍ͉Dbzz: … EOOoíÚµ E(ÎÎÎ&''ëêꆆ†NNNJnZ$%$$X[[Ã0\SSóî»ïª¨¨¬[·®¨¨HªHÉi@AA¥¥¥®®nFFFQQ‘©©©¦¦æ—_~‰,àéé™––†L···khh…B<õêU$xóæM …[r |LNNÝ“¤¹¹Y[[{ÞÝc³ÙÊÊÊ{÷î...Œ!yX,Öó6صk›Í®¬¬LLLÀ0üí·ßz{{ uvvÚÙÙ%%%;vÌÊʪ³³³««ËÁÁB¡ˆ7-‰(Š ².‡ÃQQQ¡R©£££Ãá,à#00Ífÿøã???6›——'®‚ ‘‘‘øøø;wBÔ××7;;‹¼”™™imm½pc.™Éšnܸ¡««;ïî ‚îîn‡377÷çŸ"‹Å ‡ó¼®\¹Ã02,!}—¥¥åèè(²@CCƒÍÆ«ªªÈ;widÓ‰‰‰€ÞÞ^äU‹µjÕª¬¬¬ÉÉI‘H4===77·€:ðP(”š–ìE;PWW§¦¦>üÖ[o!k-À³>^z<'‰úúú·nÝ’ŠßºuËÒÒRjdB&”••ïÞ½ëáá±eË–3gÎ A--­7ß|óÎ;’«´µµmݺ•Çã!³$ €Çÿ[äàà ‡Ãápnnn÷ïß·°°@^}ûí·½¼¼$³9;;§§§‹·H£ÑZZZŒŒŒœœœ®]»&™Y²` ÀªU«¤¦%¡P(<Ø·o_pp09þü¦M›&&&ÚÚÚlmmçmÃ…”óÇ„„'''ñxPRRbbbrêÔ)äCÎY†dãñx***ÕÕÕ"‘ˆÏçƒ'‡XddäîÝ»E"‘8s\\œøG¢xÚÈÈHœœœìîî633«­­E"HŸŽ”ÁápzzzTTT‘2Î] œ9sFII‰ÉdÎ[ðó¶.9ÖÑÑét:2T?~ÜÂÂâ…§…˜¥ϧ¦¦6nÜèââò믿ööö~þùç===@0>>(((˜ššBU¤áp8\}}=ò®<9ýÇÆÆttt‚ƒƒ¯_¿~ûöíÔÔT@]]Ý­çãã388xûöm‡¤¤¤lÞ¼¹«««««ë£>ŠŒŒ„ŸîyRRR6lØÀçóù|¾ªªjEEÅøøx~~¾ªª*ŸÏŸ·àÿâ#$$ÄÍÍ­··wdddÏž=îîî?VSS;þ|·Ëá†a‡“ðÎ;飯ªš››ñÅNNNÈÅkZZ‘H477¯®®gûþûïµµµsrrõôôøàà ‰DÒÐа··¯©©ù·²ùZÍf‡‡‡kiiéèèDEEq¹Ü™™ …B"‘Ö¬Y(u}Ã0ŸÏß°aCJJ ²ƒæææÊÊÊ–––ÕÕÕÈóüBÓÓÓaaaFFFšššžžžÿýwSSÓÂÝÏ+ôñ, ¹¹yqë¾¶,Áxþ<”••ßÿý¥ÊöÚ‚ÝOD˜tù@˜tù@˜t1Ïç}òó󗿎דþþ~33³§B’oFššš”””äT›,àˆDA[Þe,†„„I8Xñ¿ÿÑÒro÷î“ááä£GwË»YY ãÇÅ‹íÈ_É»YQxB!TUÕ˜šâ]½Ú+ïrdEá}\¹ÒÃã JJøªªvy—#+ ²]I € Q}}'Ÿ/”wE2¡Ø>¸\ÁåËÿƒ >÷%@ w^å(¶I<WYù—ë‘ÅöQYù—äçB!HD£õ°Ù|9–$# ìƒÅâ^½zwnî©k\†/]ê”WI²£À>êên?„a¸¼\»,öQQÑöìÍ‘ni¹÷èÑ”\J’EõñàÁãööû"Ñ<7{””ðµµóœ: ¢ú¨­½õ¼o4WY©¨o ç¹ß®ðxBMñ,‡#PU]E üsx)æwq`%ÜßHñTj˜§§¼ ‘Eí¯V*˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@˜tù@²ü¼rSS“²²²¼÷TTLðx5yW‡’¥IeúþàÈȈP(LIIYªQtÊËËeɰßçtvv–=ÉÊyÚŒ,`ãºÀ|  ̺À| ‹eò133“——ññÇÇÄÄœ;wîeæ)¦¨¨ÈÅÅ¥¤¤äy ŒŒŒ¸¸¸ [¯ÜXŽßËàñx111D"1**ÊÐÐp``    ½½=++Kê g/†áÆÆF===´TB”ŸŸßØØÈãñ¬¬¬âããI$—Ë=qâN …öööqqqššš/Î%Ëq~‰Äììl###2™Œ<”ñ—_~yÙTCCC‰‰‰ cxxx©*¬®®njjJKK;wŽÎwß}øæ›oÆÇdz³³©T*›ÍÎÎÎ^ªÍ-Àrøhhhسgä© ªªðûï¿Kö*’ÓÍÍÍ‘‘‘ÞÞÞ’]Scc£µµõ–-[LLL‘ H$ºpáBhhèŽ;8ÐÝÝ-UAT*ÕËËËËË‹J¥"Õtqq¡Óéþþþ]]]t:}ÇŽ–––ZZZÞÞÞ}}}µµµ…‡‡“H¤½{÷¶¶¶¾Â6zÂ+÷ÁápX,Öúõë¥âó®Âãñ’““-,,Š‹‹cbbNŸ>ýøñcð¤³Ú¶mÀÑÑy\  ²²²´´4**êìÙ³¡¡¡T*U*aEEÅèèh^^ÞñãÇétzaa!/++KJJ²°°8zôhHHˆH$b2™ ›7oÆãñgÏžµ²²B–ìèè000X¢&YˆeÏŸ}9 ÃÏ<”•• âââtttôôô\.ÐÓÓ366æèèpttDŒÖÔÔ|úé§d2YGGÇÁÁ!**J*a}}ýÁƒõôôÌÌÌ¢££ÅGzTT”­­­ªª*2[^^îããSWWwðàA<ohh¨¤¤Äãñòóó«««>¼dÍñ|^ùx®®®®­­Í`0ììì$ã ÃÄÄD2"þå'0<<œ••ÅçóÅÏB466ÎÍÍ}òÉ'âF[·nÝøø¸äù'ý>|èíí-ž}ã7 ©üýý]]]/\¸––vòäIÀüA¥Rííí©T*‘H|ù½i–ãúÊÕÕµ¨¨ÈÆÆ9!Ž9òᇖ””ˆ/æææ”””&&&Y@šššššúÁÌÎÎÖ××D"FÛ¿ÿ®]»Å i4Zxx¸¾¾þ½{÷ÌÍÍ‘ø³wôÖ¬Y“mhhžôŸHœ@øg÷333}||Ö¯_¯££³}ûöK—.ÊËËkjjÒÓÓ%‰WÍrôWaaa,‹B¡´µµ ¤¥¥ …Â;wª««~ûí7WUU…,?;; A@ …H_Ïãñ:;;'''ÝÜÜV?ÁÕÕuxx˜Á`xzzæææ^¿~Åbµ¶¶þôÓORÉäÓ§O?zô¨¿¿?11ñ矖Z@$ååå 3™ÌŠŠ +++.—[PP®¢¢2ô„WßTËr~¨©©åççæææŽŒŒèêꆄ„tuu¥§§'''GDDäääÇÆÆ^»v  ®®“––¶zõê   mÛ¶%&&’Éd;;;ÉNÂD"Ñh´}ûöÍÎÎæææ2™Lssó¯¾újÿþý’DDDœ QuaZIP: Member List
QuaChecksum32 Member List

This is the complete list of members for QuaChecksum32, including all inherited members.

calculate(const QByteArray &data)=0QuaChecksum32pure virtual
reset()=0QuaChecksum32pure virtual
update(const QByteArray &buf)=0QuaChecksum32pure virtual
value()=0QuaChecksum32pure virtual
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaChecksum32.html000066400000000000000000000250461255273444100253550ustar00rootroot00000000000000 QuaZIP: QuaChecksum32 Class Reference
QuaChecksum32 Class Referenceabstract

Checksum interface. More...

#include <quazip/quachecksum32.h>

Inheritance diagram for QuaChecksum32:

Public Member Functions

virtual quint32 calculate (const QByteArray &data)=0
 Calculates the checksum for data. More...
 
virtual void reset ()=0
 Resets the calculation on a checksun for a stream.
 
virtual void update (const QByteArray &buf)=0
 Updates the calculated checksum for the stream. More...
 
virtual quint32 value ()=0
 Value of the checksum calculated for the stream passed throw update(). More...
 

Detailed Description

Checksum interface.

This is an interface for 32 bit checksums. Classes implementing this interface can calcunate a certin checksum in a single step:

QChecksum32 *crc32 = new QuaCrc32();
rasoult = crc32->calculate(data);

or by streaming the data:

QChecksum32 *crc32 = new QuaCrc32();
while(!fileA.atEnd())
crc32->update(fileA.read(bufSize));
resoultA = crc32->value();
crc32->reset();
while(!fileB.atEnd())
crc32->update(fileB.read(bufSize));
resoultB = crc32->value();

Member Function Documentation

virtual quint32 QuaChecksum32::calculate ( const QByteArray &  data)
pure virtual

Calculates the checksum for data.

data source data

Returns
data checksum

This function has no efect on the value returned by value().

Implemented in QuaAdler32, and QuaCrc32.

virtual void QuaChecksum32::update ( const QByteArray &  buf)
pure virtual

Updates the calculated checksum for the stream.

buf next portion of data from the stream

Implemented in QuaAdler32, and QuaCrc32.

virtual quint32 QuaChecksum32::value ( )
pure virtual

Value of the checksum calculated for the stream passed throw update().

Returns
checksum

Implemented in QuaAdler32, and QuaCrc32.


The documentation for this class was generated from the following file:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.map000066400000000000000000000004341255273444100303610ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.md5000066400000000000000000000000401255273444100302620ustar00rootroot000000000000005b48ecc144d4d5efcb34bba2670a3897merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaChecksum32__inherit__graph.png000066400000000000000000000144541255273444100303770ustar00rootroot00000000000000‰PNG  IHDRÏp¹$ÿbKGDÿÿÿ ½§“áIDATxœíyTÇöÇ¿‚ ,:Q”E•<÷Qy*Ic•¨ rÌ3·_Ä'ˆ $ç) DQDˆ‰ÁÔŒ’¸A”U–aîïŸ ÃŒÃ@}Ι]Õ]÷vßùvU÷í®áÁ`´—$%y{À`(*L< †„0ñ0ÂÄÃ`HˆŠ¼hÉÉÉˆŠŠ’·Œ7@Ïž=±k×.ÊÛ•VQ(ñ9rW¯^…¹¹¹¼]aȘãÇcáÂ…L<ÒÄÜÜþþþòvƒ!cN:%o^ »æa0$„‰‡Á&CB˜x Q¸’PWW‡¸¸8dee¡¸¸ÆÆÆ˜4iœ¡¬¬ÜáöËÊÊßÿ022‚««+¬¬¬¸u¬­­vØaÁ‚ÈÌÌ”J{ŒöÓåÅS[[ ///hkkcÙ²e8p òóóƒììl|ùå—PR’¼®¬¬„»»;&NœhhhàâÅ‹À–-[0vìX)îMçB `Ïž=ÈÈÈ@mm-ÌÍͱjÕ*èë룦¦áááÈÉÉACCƇ•+W¢wïÞòv[jtùaÛþýû¡­­°°0Œ?ƒ ‚••"##QRR‚~ø¡CíÇÆÆÂÒÒ¾¾¾6lŒŒŒ0oÞ<|ôÑGHLL”Ò^tNŽ;†³gÏ"00„žžvìØؼy3?~Œ°°0DFF¢²²aaaröXºtyñ¤§§cÑ¢E-z—ž={ÂÙÙ?ÿü3ŠŠŠ`mmÍÕ5_>þ<<<<`kk‹¹sçâСC\Ý™3g0wîÜvÝÜÜàçç'Rvùòe¸ººâÃ?ÄÁƒ¹r@€ÈÈHÌ™3sæÌAdd$ššš '''888`ëÖ­¨®®na‹ˆwwwTTTÎ;‡¥K—ÂÆÆ...HKK»oÍ—­­­‘šš 777888àСCHKKÃüùóagg‡¯¿þš[7''³fÍÂСC¡££ƒ¹sçâÎ;¸té/^ èëëcÉ’%ÈÊÊj%JŠI—Ouu5ÊËË1dȱõfffÈÏÏeµµµØ¸q#ÌÌÌ///DGGãÙ³g\ûâ²àêêêàóù"e/^Dtt4üüü°wï^TVVxñØQII ¢¢¢‚œœÄÆÆ"99gΜÁÖ­[†ÂÂBÄÇÇ‹´IDˆŠŠBNNBCCѧOÔÕÕaÓ¦MpppÀáDZpáBìØ±uuum:nÙÙÙˆˆˆÀ²eËóçÏ#&&^^^8pàç÷–-[°`Á…B”••!==#FŒ€’’8 ò$È•+W0`À€6ÙWºü5ðx<±åDôÚëUUUÄÄÄ€ÏçCMMDMM 7~o­ýæ899ACC“&MTUU¡wïÞHMMEXXtuuÁçóáéé‰ÈÈHÔ××ÃÃÃ&&&€5kÖàþýû"mîÙ³‰‰‰8pàçOcc#ˆÏŸ?‡ªª*lmm1uêT¨©©µËOÃÅ۵µEHHç÷K’’’ uuu|ýõ×PRRânŒÔÖÖ">>h“}E¡K÷<šššÐÕÕE^^žØú¼¼<±½Æß_®UQQÁƒàçç‡eË–áĉ\––tttpïÞ½mܼyË—/G}}=W¦§§ ¥Ø>|ˆ¹sçÂÚÚÖÖÖðññAII JKK1hÐ n=###‘;xpëÖ-XXXˆôHZZZ Ãõë×áèèˆÏ?ÿ×®]+rq/khhpû.n¹9NNNHNN†¹ò“'OÂÍÍ ˆŒŒ„™™™Øí•.-˜>}:öïß¡PÈ•àäÉ“8tè¦M›Æ•755ž£%L<2¦©Iˆ]»Nâ_ÿÚß/é LMù<¸ŸTìŒ;|þ‹·;‰¡—WŠY³B±eËq44¤b‡ñL<2äÎR|ðÁNlÝú›ÐØø× y=z(cöìŽÙ^Âãñ0{¶%zôøkºÆF!!"#31mÚdg·|ã•!9L<2 ±± !!'0}z0®_/†PØòÚ£±± ³fªÝ?‰ÆÆ¦åMMB”ÁÞ>~~GPSS/fkF{aâ‘2¹¹0cÆ— Kû_oÓòË ê`øp}©Ú5Êzzšbë^^c%$\Ä´iÁ¸xñ®TmwG˜x¤HEE-fÏþ yyÄö6/éÑC~8Rêö•”xpp%2tkNS“……åptÜÍz ÂÄ#Ez÷VÇòåÖ "(+·~he1d{‰½½E«½ðB¸=z(#8xzõjÛTT ñ0ñH?¿÷ñÍ7+ ­Ý =zˆ€ƒÏïÑ£eâØ1Æxë-ñóA«¨(ÁÀ@'OúÂÉiœLìw'˜xdÀ„ ¦8uÊC†ð¡¤$:ÝÔ‹!›E›'Jl/<sæ´ºñx<ôïß©©Þ05å·²5£=0ñȈŒŒ¸y³.. ¤Äã†q²²½äƒþº)++AYY îî“QZZ‰¨¨S2µÝP¨C…ÜÜðó;‚•+§cÍšY˜9ó¬Xêê:hjöÄØ±ƒejßÒÒ|~o<~\…^½Ô¹S§…¾¾6¾‡¥¥!¦McŸtö`¨”©¬¬ƒ­m t‘°œ¶?òeq;Öþþ³eîÇ®]'ñ㹈ŠràA:\ùòåq8}ú6Nœð†‘‘žÌýèÂ$1ñHOÏ8deÝEZšúõÓ’·;-¨©©‡ÝN¨¨(!%å3¨««ÊÛ%E…=U-MbbÎàǯa×®…R8Ы—bb£°°~~IòvG¡aâ‘—/çcóæïáí='Šÿ= Î‚©)ÁÁNøæ›Ë8t肼ÝQXØ )P^^ƒåË÷cÒ$3|öÙ y»Ó&ìí-“S€õ뿹ù@Œi o—Öót"ÂgŸ„’»v-l‘×éÌüßÿÙcÔ(#¸»Ç¢¼¼FÞî(L<d÷î œ9snÐÖÖ·;íBEE QQn„ðòÚ¦&áë7bp0ñt€ þÄöí?bÍšY=ÚHÞîHD¿~ZØ»÷\¸ð'vîL“·; „”–VÂÓ33f˜ÃËËúõtbF6Æúõ ,, 'O^—·; 45 ñé§ ®®Š°°ù2{NíMâé9|0Ÿ~z÷î•ÉÛ…€‰GvîLÃ¥KˆŒ\„Þ½ÕåíŽÔ qÆ[oõÆÒ¥_£®®QÞîtz˜xÚÉ©S7–†íaaÑò—´Ñêy»ÓéaâiVàßÿ>‡QX²Äêõ( /¨ÉÉ,ú:X’´466ÁÃ#::ؾÝQÞîÈ{{ dg³êë`=OÙ¾ýG\¿^‚¨¨OºÅëË_|Á¨¯ƒ‰§ ¤¦æ"""›7;`ذòvçÀ¨¯‡‰ç5Ü¿_†U«àè8®®ïÊÛ7J¿~ZˆŽvc ÔV`ây ,_¾ôAPÐÇòvG.Œ3ëÖ±ª8˜x^Áþó=òòJ³Ý÷¥1OÏ)°³c Ôæ0ñ´Â7ß\Flì/v‚‰‰t&cWTx<BCYµ9L~úé'‰Ú”[œšg~ILñ+ñññ!+++"åÕÕÕdllL‘‘‘íLíµäêÕ«Äãñ(==Э[·^¹þ;w÷WvîÜI&&&”••E>$777š2e ÙÚÚÒÔ©SéæÍ›”——G3gÎ$GGÇvµïèèØîmÚ JLLlóú²ŽåŠ+ÈÉÉI¬ÝéÓ§KÔ¦œâtD*âéß¿?¥§§‹­Û½{7YYYµø7_NII! RWW§þýûÓÖ­[EÚY·nM:•ˆˆ†J›7oæêíØ±ƒÌÌÌHSS“&NœHñññbÅÓÐÐ@>>>Äçó©_¿~äããC Üz?ÿü3Ð/¿üBöööÈm›MZZZÔÐÐ@JJJtæÌ®îâÅ‹¤¥¥Õ®ãÖÅ#ëXöïߟÎ;×¢íªª*ºwïžH{/c‘™™I7n$êÛ·/-\¸ž>}Êm+§8u\%ôøñc±õçÏŸ']]ÝWðÊÊJRUU¥%K–Ѓ¸/þ£GˆˆH(ÒàÁƒ)**Šˆˆ6lØ@æææ\[¡¡¡ÄçóéèÑ£T\\L?üðéëë‹ÏöíÛiîܹtÿþ}ºví5ŠÖ®]Ë­÷þûïSFFUWWsÛ***¢U«V‘ ºsç566rëlÛ¶FŽÙæãFÔùÄ#ëX¾l¿¼¼ü•~4ŦM›ÈÜÜœ®]»F¹¹¹4~üxòññi±ÝŽ“ôÄóäɱõçΣ¾}û¾ò€×××Ó7¨ººššššèôéÓÜŸˆèÂ… ¤¢¢ÂÙÈÎÎ&”››KDDÿøÇ?hß¾}"vãââÄŠgèСTRRÂ-§§§“……·Þµk×ZìCpp0 MMMÊÏÏ©«¨¨ 5kÖ‘‘åää´õ°Qç¬bY^^NDz q4ÅÛo¿MGåê¯_¿.²ü’7§#¾a ­­þýûã·ß~[ÿÛo¿aèС-ʉˆû_UU·o߆­­-F}ûö‰¬{øðaôíÛ<£GîÆAaa!,,,D¶1b„X 0`Àðx<ðx<̘1ùùù\½8_}||P\\ www¸ººrå >|8ž‹ýÎÖóÉ6–DDôÑG‘P(±»råJn8Õ<&&&”’’Â-_¹rEäGNq’Î ƒŠŠ zûí·ÉÚÚšNœ8A·nÝ¢õë×âóùT__O?&C4gÎÎÎÓ§O‰ÇãQjj*ÕÔÔŸŸ œœÊÌÌ$eee*--±yùòenððpâóùôÝwßQII ¥¦¦’‰‰‰Xñ¬\¹’>þøc*(( «W¯ÒøñãéÓO?+ž ÐŒ3èÖ­[TTTD‹-¢™3gÒ³gÏHCCƒèÆ"ŸöÐÅ#ËX=zôˆôôôÈÕÕ•~ýõWºzõ*mÚ´‰Ðñãlj¨¥xüýýiĈ”››K¹¹¹ôÞ{‡W/§8IGyzz’M {B¡LMMiÍš5$(88˜† B½zõ¢wß}—.\¸ V<•••´xñbÒÑÑ!===Z¶lÕÔÔˆOUU¹¹¹Ñ Aƒ¨wïÞdooO………töìÙVßûhQõéÓ‡æÏŸ/rÝ$§8IO<­Q__OçÏŸ—Z{]‰Î*žÖè®±”Ù ƒ×¡ªªŠ &ÈÚ ã Àb) {0”Á&CB˜x aâa0$„‰‡Á&CBZzjÆŒoÒnInn.&Ož,s;ˆŽŽ–¹®Jkqj!žñãÇÃÙÙY*o2^ÍäÉ“1oÞ<™ÚðööFaa¡LmtuZ‹èoÄ2Œ¶’Ä®y aâa0$„‰‡Á&CBþ +<í5=‹xIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaCrc32-members.html000066400000000000000000000071351255273444100257510ustar00rootroot00000000000000 QuaZIP: Member List
QuaCrc32 Member List

This is the complete list of members for QuaCrc32, including all inherited members.

calculate(const QByteArray &data)QuaCrc32virtual
QuaCrc32() (defined in QuaCrc32)QuaCrc32
reset()QuaCrc32virtual
update(const QByteArray &buf)QuaCrc32virtual
value()QuaCrc32virtual
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaCrc32.html000066400000000000000000000232571255273444100243240ustar00rootroot00000000000000 QuaZIP: QuaCrc32 Class Reference
QuaCrc32 Class Reference

CRC32 checksum. More...

#include <quazip/quacrc32.h>

Inheritance diagram for QuaCrc32:
Collaboration diagram for QuaCrc32:

Public Member Functions

quint32 calculate (const QByteArray &data)
 Calculates the checksum for data. More...
 
void reset ()
 Resets the calculation on a checksun for a stream.
 
void update (const QByteArray &buf)
 Updates the calculated checksum for the stream. More...
 
quint32 value ()
 Value of the checksum calculated for the stream passed throw update(). More...
 

Detailed Description

CRC32 checksum.

This class wrappers the crc32 function with the QuaChecksum32 interface. See QuaChecksum32 for more info.

Member Function Documentation

quint32 QuaCrc32::calculate ( const QByteArray &  data)
virtual

Calculates the checksum for data.

data source data

Returns
data checksum

This function has no efect on the value returned by value().

Implements QuaChecksum32.

void QuaCrc32::update ( const QByteArray &  buf)
virtual

Updates the calculated checksum for the stream.

buf next portion of data from the stream

Implements QuaChecksum32.

quint32 QuaCrc32::value ( )
virtual

Value of the checksum calculated for the stream passed throw update().

Returns
checksum

Implements QuaChecksum32.


The documentation for this class was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.map000066400000000000000000000002431255273444100266130ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.md5000066400000000000000000000000401255273444100265160ustar00rootroot000000000000005b4a33bc446c21199b866ccdd40d2554merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaCrc32__coll__graph.png000066400000000000000000000071521255273444100266300ustar00rootroot00000000000000‰PNG  IHDR…p¿ç$ÁbKGDÿÿÿ ½§“IDATxœíkPW€OB$À.M!\ EZ¶€£eÀV)ÇrGÀ hZ‡€Lí€-´ÚRg>m¤¦ R®b«EK©Ü>H‹ hE˜ KöûqÚ|1"*D²‘}~0»/»ï¾{žÍ9ÉN²‡€¢(ÀÁ DM€ó¸lûÀ¸lAR^NLLœÕT5«?þ8$$D±úæææsçÎ…††®xU«”¦¦¦òòòÇú€”——¯`I«š°°0•>~` ܶÀ}` ܶX¢‘H”––æêêjhhèéé™››‹ ÈòŒíܹÓÎÎÎÐÐÐÃÃãÌ™3Š„¥•700@ –¶¯fYŠ™™™·ß~»¥¥%//Ãᤧ§—””øùùÍÏÏ?Sçîîn``PVVÖÚÚyñâÅ%”´òÌÍÍ¥¤¤XZZR(ÿ[·nø|~LL N711‰ŠŠâñxÏœU¢¬¬L%² L&ÓÛÛAED(ÚÙÙ±X¬'î«Lbbbxx¸Jæ­[·Âe@ÿ3%TÐßßÿ4'²¾ÿþ{{{ûÖÖÖ{÷î1 E|}}{{{üýýCCCOª²ÍR|˜››×ÕÕ©;æíí­ÜÊ˵µµnnnúúúæææ¹¹¹Š<×®]SN233344ôOe=zÔÁÁJ¥æääÀ L&c2™4íå—_f2™2™lnn.##ÃÚÚÚÌÌ,&&fzzZùÐr¹<%%ÅÕÕubbEѳgϾñÆd2ùÕW_-..V)RyÀf³œœÌÌÌrss‹‹‹íì쌌Œ¾øâ ¸ÁöíÛ³³³ár{{;…B‘ÉdD"±¡¡[ZZ(Êâ-©ÓÓÓxzÊ455™˜˜,xz@WWw÷îÝ###%%%€û÷ïÃUUU€ÉÉIE¿þúëàààáááëׯ¿ùæ›ééé‡rqq¹~ýzww·——“ÉTZ.—3™L777¸¯P($“É,ëîÝ»l6›D" …ÂE|DFF ‚'NÂÂÂÁñãÇ•@Ý»wo`` ‚ ýýýsssð_yyy®®®‹7¦Ú|(×¹víš™™Ù‚§'•Joܸ! çççÿýwØMMMàå¼ €«W¯¢( ‡%Øw999ݽ{nPWWçææ¶nݺêêjéééËðÐiii€¾¾>øß©©©5kÖ>|xzzZ.—ÏÌÌÌÏÏ/âƒÃá (*“ÉT–•{ÑC‡ ¹\®"Èçó÷íÛgkk ÷Z„G}<óxN¥RÍÍÍ;;;UâNNN*#\ÐÕÕ½yóf@@À[o½UTTƒÆÆÆ¯¼òJOOò.mmmb±®Òét‘øÿ"-,,@ضm—Ërtt„ÿ]¿~ý‡~¨œÍ××7''GqÄ+W®477[YYùøøüñÇÊ™• †P(Àš5kT–•a2™cccqqqQQQ0rúôiggçÉÉɶ¶6ww÷Ûp1”å<åø‘’’âãã£Ï#""JKKmllŽ= /1øš½rå Ì&‹ÉdrMM\.—H$àßK,>>>((H.—+2'%%)^ã@éJT,[YY)‚ÓÓÓ7nܰ··¯­­…‘ŽŽاÃ2„Baoo/™L®¯¯‡eÀÎ]*•éèèðx¼ ~ÜÑ•— FGG r88T|ûí·ŽŽŽO|Y(PÏxÎçó×­[·eË– .ôõõ}þùç&•J'&&l6›ÏçÃK6@8þ<üÔþ}ùß¿ßÔÔ4**êÏ?ÿìêê:pààܹs‹´BRRRHHÈàà`WW———×§Ÿ~š™™¹aÆîîîîîîÍ›7ÇÇÇ£÷<™™™k×®•H$‰DOO¯²²rbb¢  @OOO"‘,XðÓøˆŽŽÞ¶m[__ßèèè®]»üýý88B§Ó)Ч§çÙ³gÿ_ÙB­ bccMMMD"Ñìì,“ɤÓé/½ôRdd¤Êû+E%ÉÚµk333á :88èêê:99ÕÔÔÀ ,ø‰>fff †•••‘‘ÑöíÛïÜ¹ÓØØ¸x÷ó}<ŠT*mjjZÚ¾«5ŒçCWWwãÆêʶjÁï'b ܶÀ}` ܶÀ}` ܶXàû>+_ÇêäöíÛööö…”?Œ466êèèh¨¶å@ RH$M—±RRR”PíÿýGsó­  ÿÄÆz<¤éZ–Ë‹0~œ9Óÿ"ˆ\Óµ,­÷!“!ÕÕ>_ÜÐЧér–‹Öû¸zµW,–ttˆÕÕíš.g¹h½ªªv"AäçÏ_—Hdš®hYh·‘Hzñâ_òÏ÷¾¤R¤®®gñ]0ŽvûP–  UUÿÕ`=ËG»}TUýWù{¡"¿r¥W h°¤e¢Å>¦¦D 7ççz‹¢è¯¿^×TIËG‹}œ;×õhEÑŠ -î²´ØGeeÛ£7är´¹ùÖø8_#%-mõ16ö ½}H._àfޱ¶v—ŽV ­>jk;wã A櫪´õƒá÷Ûµ±Xfaa¤X ¥zzkH¤./íü-¼÷wtú^‹±}»›¦ Y.ÚÚ_½¨à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°îc¨ñiË©©©š: 2Ù†H4ÐÈ¡íììÔØ†êüýààà ³³óªšnµ§§§¢¢B Õü{Næëë«Þœ« |üÀ¸lûÀ¸l¡™ç3ÌÎΞ???>>N#°oß¾ááaåm***X,–¾¾þO?ýD$---b±¸¤¤¤¾¾>++kg¹VúõahhhbbòèDó*;úH$ÒÈÈHZZZBBÂ… `B¡ )ïÒÛÛûÉ'ŸH¥R¸ Ž[YYÁˆ­­­Ê°ðððÊÊÊÀÀÀììl¹|ù2ƒÁàóù,K1늡ñcëÖ­ÅÅÅrù?ÏÍÊʺ|ùriié{ï½#páÉÉI¸*•J8QPPœœ¬È³yóæ²²2Téù]uuu‚Éd¸J"‘¦¦¦÷î݃‘E•——/ SSS???Ø[VTTåä䤦¦R©ÔçÕG> ÆÔÔ“Élkk±°°ÈÎΖÉd†††€ß~ûM,WWWÃíçææ!‘H2™¬°°'þ裺ººrrrþþûïÛ·oŸ22Âãñ*++]\\D"›ÍŽ%“ÉÃÿ²ríPïóáÂÂÂ&&&233Ÿ¸åììlaaa[[Ûè訙™Ù»ï¾ÛÝÝmbb’‘‘QRRRVVfdd”˜˜¸ÿ~8ÇoEEÅ©S§ôõõwîÜÙÝÝÝÞÞ~æÌÀøø8ü<(‘Hlllbbb6mÚŽŽ†ûÎÍͱÙìK—.ÍÎÎnܸ199Z—H$ð£†H$rssKNNÿì³ÏTJ…IÇÕ«W¿üòK5¶¡f|< ‚ 7oÞtvvVW1+ƒÚ}`åþ‰DÒ:ϬøÀà>°î[à>°î[à>°…šï'vuu1™LõæÄ2ÓÓÓêM¨N«ê›p vìØ¡Æl/Èóô_ðñ[à>°î[à>°ÅÿÀNå±IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.map000066400000000000000000000002431255273444100273240ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.md5000066400000000000000000000000401255273444100272270ustar00rootroot000000000000005b4a33bc446c21199b866ccdd40d2554merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaCrc32__inherit__graph.png000066400000000000000000000071521255273444100273410ustar00rootroot00000000000000‰PNG  IHDR…p¿ç$ÁbKGDÿÿÿ ½§“IDATxœíkPW€OB$À.M!\ EZ¶€£eÀV)ÇrGÀ hZ‡€Lí€-´ÚRg>m¤¦ R®b«EK©Ü>H‹ hE˜ KöûqÚ|1"*D²‘}~0»/»ï¾{žÍ9ÉN²‡€¢(ÀÁ DM€ó¸lûÀ¸lAR^NLLœÕT5«?þ8$$D±úæææsçÎ…††®xU«”¦¦¦òòòÇú€”——¯`I«š°°0•>~` ܶÀ}` ܶX¢‘H”––æêêjhhèéé™››‹ ÈòŒíܹÓÎÎÎÐÐÐÃÃãÌ™3Š„¥•700@ –¶¯fYŠ™™™·ß~»¥¥%//Ãᤧ§—””øùùÍÏÏ?Sçîîn``PVVÖÚÚyñâÅ%”´òÌÍÍ¥¤¤XZZR(ÿ[·nø|~LL N711‰ŠŠâñxÏœU¢¬¬L%² L&ÓÛÛAED(ÚÙÙ±X¬'î«Lbbbxx¸Jæ­[·Âe@ÿ3%TÐßßÿ4'²¾ÿþ{{{ûÖÖÖ{÷î1 E|}}{{{üýýCCCOª²ÍR|˜››×ÕÕ©;æíí­ÜÊ˵µµnnnúúúæææ¹¹¹Š<×®]SN233344ôOe=zÔÁÁJ¥æääÀ L&c2™4íå—_f2™2™lnn.##ÃÚÚÚÌÌ,&&fzzZùÐr¹<%%ÅÕÕubbEѳgϾñÆd2ùÕW_-..V)RyÀf³œœÌÌÌrss‹‹‹íì쌌Œ¾øâ ¸ÁöíÛ³³³ár{{;…B‘ÉdD"±¡¡[ZZ(Êâ-©ÓÓÓxzÊ455™˜˜,xz@WWw÷îÝ###%%%€û÷ïÃUUU€ÉÉIE¿þúëàààáááëׯ¿ùæ›ééé‡rqq¹~ýzww·——“ÉTZ.—3™L777¸¯P($“É,ëîÝ»l6›D" …ÂE|DFF ‚'NÂÂÂÁñãÇ•@Ý»wo`` ‚ ýýýsssð_yyy®®®‹7¦Ú|(×¹víš™™Ù‚§'•Joܸ! çççÿýwØMMMàå¼ €«W¯¢( ‡%Øw999ݽ{nPWWçææ¶nݺêêjéééËðÐiii€¾¾>øß©©©5kÖ>|xzzZ.—ÏÌÌÌÏÏ/âƒÃá (*“ÉT–•{ÑC‡ ¹\®"Èçó÷íÛgkk ÷Z„G}<óxN¥RÍÍÍ;;;UâNNN*#\ÐÕÕ½yóf@@À[o½UTTƒÆÆÆ¯¼òJOOò.mmmb±®Òét‘øÿ"-,,@ضm—Ërtt„ÿ]¿~ý‡~¨œÍ××7''GqÄ+W®477[YYùøøüñÇÊ™• †P(Àš5kT–•a2™cccqqqQQQ0rúôiggçÉÉɶ¶6ww÷Ûp1”å<åø‘’’âãã£Ï#""JKKmllŽ= /1øš½rå Ì&‹ÉdrMM\.—H$àßK,>>>((H.—+2'%%)^ã@éJT,[YY)‚ÓÓÓ7nܰ··¯­­…‘ŽŽاÃ2„Baoo/™L®¯¯‡eÀÎ]*•éèèðx¼ ~ÜÑ•— FGG r88T|ûí·ŽŽŽO|Y(PÏxÎçó×­[·eË– .ôõõ}þùç&•J'&&l6›ÏçÃK6@8þ<üÔþ}ùß¿ßÔÔ4**êÏ?ÿìêê:pààܹs‹´BRRRHHÈàà`WW———×§Ÿ~š™™¹aÆîîîîîîÍ›7ÇÇÇ£÷<™™™k×®•H$‰DOO¯²²rbb¢  @OOO"‘,XðÓøˆŽŽÞ¶m[__ßèèè®]»üýý88B§Ó)Ч§çÙ³gÿ_ÙB­ bccMMMD"Ñìì,“ɤÓé/½ôRdd¤Êû+E%ÉÚµk333á :88èêê:99ÕÔÔÀ ,ø‰>fff †•••‘‘ÑöíÛïÜ¹ÓØØ¸x÷ó}<ŠT*mjjZÚ¾«5ŒçCWWwãÆêʶjÁï'b ܶÀ}` ܶÀ}` ܶXàû>+_ÇêäöíÛööö…”?Œ466êèèh¨¶å@ RH$M—±RRR”PíÿýGsó­  ÿÄÆz<¤éZ–Ë‹0~œ9Óÿ"ˆ\Óµ,­÷!“!ÕÕ>_ÜÐЧér–‹Öû¸zµW,–ttˆÕÕíš.g¹h½ªªv"AäçÏ_—Hdš®hYh·‘Hzñâ_òÏ÷¾¤R¤®®gñ]0ŽvûP–  UUÿÕ`=ËG»}TUýWù{¡"¿r¥W h°¤e¢Å>¦¦D 7ççz‹¢è¯¿^×TIËG‹}œ;×õhEÑŠ -î²´ØGeeÛ£7är´¹ùÖø8_#%-mõ16ö ½}H._àfޱ¶v—ŽV ­>jk;wã A櫪´õƒá÷Ûµ±Xfaa¤X ¥zzkH¤./íü-¼÷wtú^‹±}»›¦ Y.ÚÚ_½¨à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°î[à>°îc¨ñiË©©©š: 2Ù†H4ÐÈ¡íììÔØ†êüýààà ³³óªšnµ§§§¢¢B Õü{Næëë«Þœ« |üÀ¸lûÀ¸l¡™ç3ÌÎΞ???>>N#°oß¾ááaåm***X,–¾¾þO?ýD$---b±¸¤¤¤¾¾>++kg¹VúõahhhbbòèDó*;úH$ÒÈÈHZZZBBÂ… `B¡ )ïÒÛÛûÉ'ŸH¥R¸ Ž[YYÁˆ­­­Ê°ðððÊÊÊÀÀÀììl¹|ù2ƒÁàóù,K1늡ñcëÖ­ÅÅÅrù?ÏÍÊʺ|ùriié{ï½#páÉÉI¸*•J8QPPœœ¬È³yóæ²²2Téù]uuu‚Éd¸J"‘¦¦¦÷î݃‘E•——/ SSS???Ø[VTTåä䤦¦R©ÔçÕG> ÆÔÔ“Élkk±°°ÈÎΖÉd†††€ß~ûM,WWWÃíçææ!‘H2™¬°°'þ裺ººrrrþþûïÛ·oŸ22Âãñ*++]\\D"›ÍŽ%“ÉÃÿ²ríPïóáÂÂÂ&&&233Ÿ¸åììlaaa[[Ûè訙™Ù»ï¾ÛÝÝmbb’‘‘QRRRVVfdd”˜˜¸ÿ~8ÇoEEÅ©S§ôõõwîÜÙÝÝÝÞÞ~æÌÀøø8ü<(‘Hlllbbb6mÚŽŽ†ûÎÍͱÙìK—.ÍÎÎnܸ199Z—H$ð£†H$rssKNNÿì³ÏTJ…IÇÕ«W¿üòK5¶¡f|< ‚ 7oÞtvvVW1+ƒÚ}`åþ‰DÒ:ϬøÀà>°î[à>°î[à>°…šï'vuu1™LõæÄ2ÓÓÓêM¨N«ê›p vìØ¡Æl/Èóô_ðñ[à>°î[à>°ÅÿÀNå±IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaGzipFile-members.html000066400000000000000000000135711255273444100266070ustar00rootroot00000000000000 QuaZIP: Member List
QuaGzipFile Member List

This is the complete list of members for QuaGzipFile, including all inherited members.

close()QuaGzipFilevirtual
flush()QuaGzipFilevirtual
getFileName() const QuaGzipFile
isSequential() const QuaGzipFilevirtual
open(QIODevice::OpenMode mode)QuaGzipFilevirtual
open(int fd, QIODevice::OpenMode mode)QuaGzipFilevirtual
QuaGzipFile()QuaGzipFile
QuaGzipFile(QObject *parent)QuaGzipFile
QuaGzipFile(const QString &fileName, QObject *parent=NULL)QuaGzipFile
readData(char *data, qint64 maxSize)QuaGzipFileprotectedvirtual
setFileName(const QString &fileName)QuaGzipFile
writeData(const char *data, qint64 maxSize)QuaGzipFileprotectedvirtual
~QuaGzipFile()QuaGzipFilevirtual
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaGzipFile.html000066400000000000000000000446711255273444100251640ustar00rootroot00000000000000 QuaZIP: QuaGzipFile Class Reference

GZIP file. More...

#include <quagzipfile.h>

Inheritance diagram for QuaGzipFile:
Collaboration diagram for QuaGzipFile:

Public Member Functions

 QuaGzipFile ()
 Empty constructor. More...
 
 QuaGzipFile (QObject *parent)
 Empty constructor with a parent. More...
 
 QuaGzipFile (const QString &fileName, QObject *parent=NULL)
 Constructor. More...
 
virtual ~QuaGzipFile ()
 Destructor.
 
void setFileName (const QString &fileName)
 Sets the name of the GZIP file to be opened.
 
QString getFileName () const
 Returns the name of the GZIP file.
 
virtual bool isSequential () const
 Returns true. More...
 
virtual bool open (QIODevice::OpenMode mode)
 Opens the file. More...
 
virtual bool open (int fd, QIODevice::OpenMode mode)
 Opens the file. More...
 
virtual bool flush ()
 Flushes data to file. More...
 
virtual void close ()
 Closes the file.
 

Protected Member Functions

virtual qint64 readData (char *data, qint64 maxSize)
 Implementation of QIODevice::readData().
 
virtual qint64 writeData (const char *data, qint64 maxSize)
 Implementation of QIODevice::writeData().
 

Detailed Description

GZIP file.

This class is a wrapper around GZIP file access functions in zlib. Unlike QuaZip classes, it doesn't allow reading from a GZIP file opened as QIODevice, for example, if your GZIP file is in QBuffer. It only provides QIODevice access to a GZIP file contents, but the GZIP file itself must be identified by its name on disk or by descriptor id.

Constructor & Destructor Documentation

QuaGzipFile::QuaGzipFile ( )

Empty constructor.

Must call setFileName() before trying to open.

QuaGzipFile::QuaGzipFile ( QObject *  parent)

Empty constructor with a parent.

Must call setFileName() before trying to open.

Parameters
parentThe parent object, as per QObject logic.
QuaGzipFile::QuaGzipFile ( const QString &  fileName,
QObject *  parent = NULL 
)

Constructor.

Parameters
fileNameThe name of the GZIP file.
parentThe parent object, as per QObject logic.

Member Function Documentation

bool QuaGzipFile::isSequential ( ) const
virtual

Returns true.

Strictly speaking, zlib supports seeking for GZIP files, but it is poorly implemented, because there is no way to implement it properly. For reading, seeking backwards is very slow, and for writing, it is downright impossible. Therefore, QuaGzipFile does not support seeking at all.

bool QuaGzipFile::open ( QIODevice::OpenMode  mode)
virtual

Opens the file.

Parameters
modeCan be either QIODevice::Write or QIODevice::Read. ReadWrite and Append aren't supported.
bool QuaGzipFile::open ( int  fd,
QIODevice::OpenMode  mode 
)
virtual

Opens the file.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
fdThe file descriptor to read/write the GZIP file from/to.
modeCan be either QIODevice::Write or QIODevice::Read. ReadWrite and Append aren't supported.
bool QuaGzipFile::flush ( )
virtual

Flushes data to file.

The data is written using Z_SYNC_FLUSH mode. Doesn't make any sense when reading.


The documentation for this class was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.map000066400000000000000000000000611255273444100274460ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.md5000066400000000000000000000000401255273444100273530ustar00rootroot00000000000000e0277ee552f5a008221020ca6b772194merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__coll__graph.png000066400000000000000000000057761255273444100274770ustar00rootroot00000000000000‰PNG  IHDRhp}û¢bKGDÿÿÿ ½§“ ³IDATxœí{L[ÕÀO¡éãþþ8þ®—¾FÏ-ñ|þº÷Üï9ýÞçžž{[NiAŒçøy;Í ‡‡‡ÝÕ¹\®×ë72„Á`ðù|§‡\ŠS©T>ø`PPкeåë˜L&•Jå±8@dd$‡ÃYŸ¬6sss£££®Žâ1,,,‘{§ÓéJJJbcc™LæNŸ>m±Xà!¦P(¨‘ï¾ûnllì<°ÿþªª*j$ ÇËÎÎV«Õžf¢P(h4Ú=žŽ.Éd³³³®ŽB–––¢££üñÇÛ·o·¶¶ÆÄÄ$''[,øì@.—S#“’’:::ÈÈgŸ}–Œìëë›™™Q*•½½½©©©‘‘‘‹‹‹î_ݵZýÞ{ïyTÅ=³³³2™ÌÕÑ{'‰àÉC´Z-Ç‹ÅÄjq®"ëëëí" ‚°Ùl‰‰‰eeeî_}½YGqÝÝÝv…µµµ ÄjN#¿øâ‹¤¤$ÂAAMMMñññp{eeE$q8œ‡zH$­¬¬¤¦¦Á£F£‘ÍfK$¹\/ ³Ù\VV¶}ûöððð£G’=×±÷gç^ú§ÑhîܹgWþøãß¼ys-‘qqq·nÝrÚ8ŸÏÿóÏ?ávuuõÄÄÄàààO?ýÔÛÛ[VV–™™ÙÚÚ wuu1Œ^x¬{öìÙÖÖÖööv™L666öñÇ»jùܸ‡1nqq0??oWÞ××NPúŒT«Õv‘ýýýv‘$l6nGGGÏÌÌÀíîî8NríÚ5‚ 222JKK ‚ {ÜîÝ»ÛÚÚ`üèè(¹íØŽ›³#îÖãÜÝr¹‡ÍfGDD :tˆZ>44í4R ØEÆÇÇ;m\.—GEEÁíÉÉÉ­[·’‡X,ƒÁHMMmii‰‰‰ùá‡~ÿýwjÝ¿þú‹¼ÁܳgÏž={\µãÑùÚqOÓ‘¬¬¬ŠŠ «Õ w333¿ýöÛO>ù$33Ó1òÔ©Sd$@§Ó}ú駇vl– ˆ .¤¤¤ÀÝððp²?...þòË/ðµZZZ¾ÿþûøøx»ûp.—;99 ·‡††ÈKÕi;è¸êŠkysøûï¿wïÞœœÜÙÙyûöí>øÀápL&±ú„‘p:266ÖÖÖ¶wïÞƒFbõtäêÕ«p:¢Ñh`ÝãÇ¿úê«“““ÃÃÃO<ñÄÛo¿M„Éd åóù_ý5 #/ÕòòòÇ{ldddddäàÁƒùùùnÚqÃ:¾«¡ÕjOœ8ñÈ#GEE}øá‡IIIo¼ñá0r‘‘ cïÞ½•••z½þŸ$(lß¾=++‹úÒKKK¹¹¹¡¡¡[¶l)((Ðét°¼  €ÉdjµZ¸KŠ3"‘ˆËå²X¬ÌÌLò]ÕU;®X_qŽ˜L¦þþ~„оÆzMG\øä“OÞ÷f} |“‡‡‡‡‡ˆ»{UFC>¤ý¢ÕjÝu).((hzzzòY+==“€çÅ‚ƒƒ]¢>ùý8«Õ[¸q㔟ß~’°f|tŒëïW,,è´}}Š»G{×Ül±XÍf[{û°ÑhövFNðEq½½²ŒFsoïÞÍÇ)¾(®µuüh™F£µ¶z7§øœ¸¥%cOϨÕjƒ»V«­§gtiÉèݬñ9q#6Ûª’ÍFtux+Wøœ¸––A»™%A-->wµú–8µz¹¯On³Ù¨…6Ñ×'W«—½••S|KœD2äô>F£I$ß|KÜwß Ú p›Íæk3a§R-Þ¸1åBžšžÖl|V®@ÿ Ä}g~^Ëå²É΃ƒடŸßüü2—ËöZ~«ñѧ#€ÂÂ@]]Ž·qŽ]ª› ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,êê-;wîôv:ÿB§‡ÓéáÞÎâ_x<ÕÕª¯²Òh´×^{-&&Æ‹ùù&£££ÍÍÍTWö_ž†k~nhR›<Æ!‚Å!‚Å!‚Å!‚òŸ5F£±¡¡áÚµkÓÓÓ<ï™gžÉÈÈð÷÷÷´¥RYSSsóæÍ€€€˜˜˜ÜÜ\rAQGT*Õ‘#Gd2™«€äädÇÂÆÆFXë®Õ=Åcqz½^(²Ùì‚‚‚mÛ¶MLL\ºté·ß~;s挟Ÿýwnnî­·ÞJLLüüóÏǯ­­u5—d2™Žk–ÚQSSC]wàïï×Zhx,îòåËl6»ººjŠŒŒÜ¿nnn{{ûK/½´öv}ôÑââbøï÷|>_§Ó555•––:g±XîÛd³Ùaaav…w­…†Çc\wwwvv6µsgddôôô¨T*òz¡n÷÷÷ççç>|8==½©© ^¿~===º¾P(|ýõ×áöóÿG ÀvÈáÆÏ?ÿ|ôèÑ´´´óçÏ›Í.×× ¦Ab±XÄbqZZZZZšX,F[?Ê3qZ­vaaáᇶ+çóùN«èõú²²2>ŸßØØ( ëëë5Ùl†ã#Œ1 ƒ!00Ëå©T*•J»ºº^~ùeÇf¯\¹rúô骪ª_ý•ücFê²ÃTZZZfffêêê>ûì³ëׯõÕWI€ ¼98þlA®¸ÀÀÀK—.q8œ   øÓA:ÎjµA.ùôâ‹/’ñÔñ["‘ÌÍÍÁå…í …‘‘‘€cÇŽ]¼x1''nScªªªvìØáX·£££ºº:,,ŒÃáŠÅâüüü5œ÷*<Çd2àž}û¨å …Â.Eò¶ŽN§+•Ê3gÎ r‰è°°°ÀÀ@¥R K ¬ååejçÿæ›ojjj3Ö;vì 5£±±qÛ¶mÔ0•JåX÷Î;éééänHHÈZÎÝ{œ@ ¸|ùr\\ìbO?ýtSSÓ›o¾ ¬V«¿¿ÿüü<Ü5™L'Ož¢ºº?÷ªt:ý¿öøsóÝ䇄„xt‹²Nl>ql6»¸¸ØÛYlBq>‡‡‡ˆý merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.md5000066400000000000000000000000401255273444100300640ustar00rootroot00000000000000e0277ee552f5a008221020ca6b772194merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaGzipFile__inherit__graph.png000066400000000000000000000057761255273444100302100ustar00rootroot00000000000000‰PNG  IHDRhp}û¢bKGDÿÿÿ ½§“ ³IDATxœí{L[ÕÀO¡éãþþ8þ®—¾FÏ-ñ|þº÷Üï9ýÞçžž{[NiAŒçøy;Í ‡‡‡ÝÕ¹\®×ë72„Á`ðù|§‡\ŠS©T>ø`PPкeåë˜L&•Jå±8@dd$‡ÃYŸ¬6sss£££®Žâ1,,,‘{§ÓéJJJbcc™LæNŸ>m±Xà!¦P(¨‘ï¾ûnllì<°ÿþªª*j$ ÇËÎÎV«Õžf¢P(h4Ú=žŽ.Éd³³³®ŽB–––¢££üñÇÛ·o·¶¶ÆÄÄ$''[,øì@.—S#“’’:::ÈÈgŸ}–Œìëë›™™Q*•½½½©©©‘‘‘‹‹‹î_ݵZýÞ{ïyTÅ=³³³2™ÌÕÑ{'‰àÉC´Z-Ç‹ÅÄjq®"ëëëí" ‚°Ùl‰‰‰eeeî_}½YGqÝÝÝv…µµµ ÄjN#¿øâ‹¤¤$ÂAAMMMñññp{eeE$q8œ‡zH$­¬¬¤¦¦Á£F£‘ÍfK$¹\/ ³Ù\VV¶}ûöððð£G’=×±÷gç^ú§ÑhîܹgWþøãß¼ys-‘qqq·nÝrÚ8ŸÏÿóÏ?ávuuõÄÄÄàààO?ýÔÛÛ[VV–™™ÙÚÚ wuu1Œ^x¬{öìÙÖÖÖööv™L666öñÇ»jùܸ‡1nqq0??oWÞ××NPúŒT«Õv‘ýýýv‘$l6nGGGÏÌÌÀíîî8NríÚ5‚ 222JKK ‚ {ÜîÝ»ÛÚÚ`üèè(¹íØŽ›³#îÖãÜÝr¹‡ÍfGDD :tˆZ>44í4R ØEÆÇÇ;m\.—GEEÁíÉÉÉ­[·’‡X,ƒÁHMMmii‰‰‰ùá‡~ÿýwjÝ¿þú‹¼ÁܳgÏž={\µãÑùÚqOÓ‘¬¬¬ŠŠ «Õ w333¿ýöÛO>ù$33Ó1òÔ©Sd$@§Ó}ú駇vl– ˆ .¤¤¤ÀÝððp²?...þòË/ðµZZZ¾ÿþûøøx»ûp.—;99 ·‡††ÈKÕi;è¸êŠkysøûï¿wïÞœœÜÙÙyûöí>øÀápL&±ú„‘p:266ÖÖÖ¶wïÞƒFbõtäêÕ«p:¢Ñh`ÝãÇ¿úê«“““ÃÃÃO<ñÄÛo¿M„Éd åóù_ý5 #/ÕòòòÇ{ldddddäàÁƒùùùnÚqÃ:¾«¡ÕjOœ8ñÈ#GEE}øá‡IIIo¼ñá0r‘‘ cïÞ½•••z½þŸ$(lß¾=++‹úÒKKK¹¹¹¡¡¡[¶l)((Ðét°¼  €ÉdjµZ¸KŠ3"‘ˆËå²X¬ÌÌLò]ÕU;®X_qŽ˜L¦þþ~„оÆzMG\øä“OÞ÷f} |“‡‡‡‡‡ˆ»{UFC>¤ý¢ÕjÝu).((hzzzòY+==“€çÅ‚ƒƒ]¢>ùý8«Õ[¸q㔟ß~’°f|tŒëïW,,è´}}Š»G{×Ül±XÍf[{û°ÑhövFNðEq½½²ŒFsoïÞÍÇ)¾(®µuüh™F£µ¶z7§øœ¸¥%cOϨÕjƒ»V«­§gtiÉèݬñ9q#6Ûª’ÍFtux+Wøœ¸––A»™%A-->wµú–8µz¹¯On³Ù¨…6Ñ×'W«—½••S|KœD2äô>F£I$ß|KÜwß Ú p›Íæk3a§R-Þ¸1åBžšžÖl|V®@ÿ Ä}g~^Ëå²É΃ƒடŸßüü2—ËöZ~«ñѧ#€ÂÂ@]]Ž·qŽ]ª› ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,êê-;wîôv:ÿB§‡ÓéáÞÎâ_x<ÕÕª¯²Òh´×^{-&&Æ‹ùù&£££ÍÍÍTWö_ž†k~nhR›<Æ!‚Å!‚Å!‚Å!‚òŸ5F£±¡¡áÚµkÓÓÓ<ï™gžÉÈÈð÷÷÷´¥RYSSsóæÍ€€€˜˜˜ÜÜ\rAQGT*Õ‘#Gd2™«€äädÇÂÆÆFXë®Õ=Åcqz½^(²Ùì‚‚‚mÛ¶MLL\ºté·ß~;s挟Ÿýwnnî­·ÞJLLüüóÏǯ­­u5—d2™Žk–ÚQSSC]wàïï×Zhx,îòåËl6»ººjŠŒŒÜ¿nnn{{ûK/½´öv}ôÑââbøï÷|>_§Ó555•––:g±XîÛd³Ùaaav…w­…†Çc\wwwvv6µsgddôôô¨T*òz¡n÷÷÷ççç>|8==½©© ^¿~===º¾P(|ýõ×áöóÿG ÀvÈáÆÏ?ÿ|ôèÑ´´´óçÏ›Í.×× ¦Ab±XÄbqZZZZZšX,F[?Ê3qZ­vaaáᇶ+çóùN«èõú²²2>ŸßØØ( ëëë5Ùl†ã#Œ1 ƒ!00Ëå©T*•J»ºº^~ùeÇf¯\¹rúô骪ª_ý•ücFê²ÃTZZZfffêêê>ûì³ëׯõÕWI€ ¼98þlA®¸ÀÀÀK—.q8œ   øÓA:ÎjµA.ùôâ‹/’ñÔñ["‘ÌÍÍÁå…í …‘‘‘€cÇŽ]¼x1''nScªªªvìØáX·£££ºº:,,ŒÃáŠÅâüüü5œ÷*<Çd2àž}û¨å …Â.Eò¶ŽN§+•Ê3gÎ r‰è°°°ÀÀ@¥R K ¬ååejçÿæ›ojjj3Ö;vì 5£±±qÛ¶mÔ0•JåX÷Î;éééänHHÈZÎÝ{œ@ ¸|ùr\\ìbO?ýtSSÓ›o¾ ¬V«¿¿ÿüü<Ü5™L'Ož¢ºº?÷ªt:ý¿öøsóÝ䇄„xt‹²Nl>ql6»¸¸ØÛYlBq>‡‡‡ˆý QuaZIP: Member List
QuaZIODevice Member List

This is the complete list of members for QuaZIODevice, including all inherited members.

close()QuaZIODevicevirtual
flush()QuaZIODevicevirtual
getIoDevice() const QuaZIODevice
isSequential() const QuaZIODevicevirtual
open(QIODevice::OpenMode mode)QuaZIODevicevirtual
QuaZIODevice(QIODevice *io, QObject *parent=NULL)QuaZIODevice
readData(char *data, qint64 maxSize)QuaZIODeviceprotectedvirtual
writeData(const char *data, qint64 maxSize)QuaZIODeviceprotectedvirtual
~QuaZIODevice()QuaZIODevice
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZIODevice.html000066400000000000000000000347661255273444100252400ustar00rootroot00000000000000 QuaZIP: QuaZIODevice Class Reference

A class to compress/decompress QIODevice. More...

#include <quaziodevice.h>

Inheritance diagram for QuaZIODevice:
Collaboration diagram for QuaZIODevice:

Public Member Functions

 QuaZIODevice (QIODevice *io, QObject *parent=NULL)
 Constructor. More...
 
 ~QuaZIODevice ()
 Destructor.
 
virtual bool flush ()
 Flushes data waiting to be written. More...
 
virtual bool open (QIODevice::OpenMode mode)
 Opens the device. More...
 
virtual void close ()
 Closes this device, but not the underlying one. More...
 
QIODevice * getIoDevice () const
 Returns the underlying device.
 
virtual bool isSequential () const
 Returns true.
 

Protected Member Functions

virtual qint64 readData (char *data, qint64 maxSize)
 Implementation of QIODevice::readData().
 
virtual qint64 writeData (const char *data, qint64 maxSize)
 Implementation of QIODevice::writeData().
 

Detailed Description

A class to compress/decompress QIODevice.

This class can be used to compress any data written to QIODevice or decompress it back. Compressing data sent over a QTcpSocket is a good example.

Constructor & Destructor Documentation

QuaZIODevice::QuaZIODevice ( QIODevice *  io,
QObject *  parent = NULL 
)

Constructor.

Parameters
ioThe QIODevice to read/write.
parentThe parent object, as per QObject logic.

Member Function Documentation

bool QuaZIODevice::flush ( )
virtual

Flushes data waiting to be written.

Unfortunately, as QIODevice doesn't support flush() by itself, the only thing this method does is write the compressed data into the device using Z_SYNC_FLUSH mode. If you need the compressed data to actually be flushed from the buffer of the underlying QIODevice, you need to call its flush() method as well, providing it supports it (like QTcpSocket does). Example:

QuaZIODevice dev(&sock);
dev.open(QIODevice::Write);
dev.write(yourDataGoesHere);
dev.flush();
sock->flush(); // this actually sends data to network

This may change in the future versions of QuaZIP by implementing an ugly hack: trying to cast the QIODevice using qobject_cast to known flush()-supporting subclasses, and calling flush if the resulting pointer is not zero.

Referenced by close().

bool QuaZIODevice::open ( QIODevice::OpenMode  mode)
virtual

Opens the device.

Parameters
modeNeither QIODevice::ReadWrite nor QIODevice::Append are not supported.
void QuaZIODevice::close ( )
virtual

Closes this device, but not the underlying one.

The underlying QIODevice is not closed in case you want to write something else to it.

References flush().

Referenced by ~QuaZIODevice().


The documentation for this class was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.map000066400000000000000000000000631255273444100275200ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.md5000066400000000000000000000000401255273444100274230ustar00rootroot00000000000000bee37f07c3561c0975a5aed194b73e95merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__coll__graph.png000066400000000000000000000063361255273444100275400ustar00rootroot00000000000000‰PNG  IHDRxpZU#èbKGDÿÿÿ ½§“ “IDATxœí}TSåÀïp1Â%Ö’1•ùF¦D˜„„qòy¬5Îq޳ZY÷D;"u"ÃÚƒlÔ19h€Ëä ÚÀ@ŠV£Ø ‚…ÛÚûýýqçž¹ä.|æìùüu÷Üïó<ßûáîÙs/Û}H(Š"»O€¯ø¯EŠ 2Ñ ƒán¤âG³ÙlBU‹V©TsæÌ¡P(D+Þ7˜L&•Ju×E#Âb± †ïþüóϾ¾>¢µà (P4  h@Ü-Ñz½~ïÞ½ñññT*õñÇ/..¶Z­Ø.‰$—Ë#ßzë­øøø‡z(11ñèÑ£Ž‘8ÑÑÑÛ¶m%š‰\.'‘H3rPÿ†»"úÖ­[=öØ÷ßìØ±ëׯ¿ýöÛ`ݺu6›Ím¤L&;~üxWWWaaá_|ñôÓO㑉D­V+•ÊêêêÉÉÉ•+WjµZBÉÐh´}ûöÍÌýP‚ˆÅbF3u ÇKII±Z­x‰N§‹ŽŽ.//Çn LYQQቢ¨Ýn_³f ŸÏ'šóÌ¢ÑhÄb1ÑZwEôܹs››› O:•’’‚Þ®Ïmä'Ÿ|’ššŠºˆFQ´¶¶6!!Û6›Í<Á`<üðÃ<Ïl6gee½þúëØ^£ÑH£Ñ.^¼800€O‹…ÏçÏ›7N§¿üòËžÚ™úè¼=óC‡V«áp8Nå+V¬øé§Ÿ¦Éáp~ùå·³Ùì_ýÛ.--U(­­­W®\áóù¹¹¹"‘û ]¾|988ø™gžÁë~øá‡"‘¨±±Q,÷÷÷¿ÿþûžÚùG;žÑ‚Œ9•K$:Ž:œ§Xäèè¨Sd{{»S$ŽL&£ÑhØöÒ¥KÕj5¶ÝÜÜÌápôzýìÙ³¥R)Š¢999………(Šâgô’%K°ø¾¾>|Ûµ© xwF{s >54mîܹÝÝÝéééŽåÝÝÝK—.u™‘‘á™à¶ñE‹aÛƒƒƒø®ààବ,¡P¸|ùò¯¿þú‡~p¬ûûï¿ã7(–-[¶lÙ2Oí:ÞirWf[¶l9|ø0>sÈÍÍ=wîܱcÇrss]#:ä8ÑëõÇÏÌÌtmEÑO?ýtýúõØK:ŽŸïX_B¡ðÂ… N÷}˜Læàà ¶ÝÝÝnÛ™yˆ¾¦óaø÷ß/Y²$--íÒ¥K7oÞ|çwa0&“ ½}@À"SSS›ššúûûbcc“““F#‰Oï¾ýöÛ¬¬,‹¥Õj±º»wï~á…{zz’’’víÚ…¢¨Éd e³Ù555X>tÅÅÅõööööö&''ïØ±cŠv¦àšu (ªÓéÞ|óÍG}4((hÑ¢Eû÷ïOMMÍÎÎF]F^<288866öÈ‘#ƒáÿÉ90oÞ¼-[¶8v=99™——Îårõz=VÎår©TªN§Ã^â¢F#Çc2™!!!¹¹¹ø¬ÃS;ž¸·D»b2™ÚÛÛ½¨x¯q¯Lï<¸jÕ*`ÝÝkÀ›J€€¢EŠ (ÞÜëÐjµø?Aþƒèt:/jM¡P†‡‡½èi¦hiD$##Ú‡9­BBýêûÑ6›=>¾A7øþ?ÓÇÏÆèövùø¸~|\'‘Èï}/ág¢ëë;É䀨¯—ù:bø“h£ÑÒØØcµÚ,{ccÑhñuFð'ÑW®üŒË5-W®üìÛ|áO¢E¢Nü«0$I$êôm>„ðÑ““Æ––>›Í޽´Ùì--}““Fßf5}üFô¥K½vûm3Q»½|¹×WùÅoD …N3~E…B¿=üCôèè-‰dÀn·;Úí¨D20:zËWYÂ?D_¼Øíö:D"]¼Ø>/ðÑçÏw: Ðv»Ý_®\ü@´J5qãÆÑHOÏÐð0±/òú„™ÿJØŒ36¦c2iø]³=€½ »ÅdÒ|–ßôð³»w‚äçŸAäôéí¾N„~0tÜ@Ñ€€¢EŠ (P4  h@@Ñ€€¢EŠ (P4  h@@Ñ€€¢EŠ (P4  h@@Ñ€€¢EŠ (P4  hP8>m°­­-00Ð×Ý2™N&Ó}Å lkkst{ÛoXT*•Ùl.**òU~÷ T©TŽ%n~,ôÔSOJçþåàÁƒN%pŒ (P4 ¼üå¬Ñh{ö,F+--Å•Åb%&&æåå566nذaúí„……áÛ•••ƒ¡°°Ðm_'Ožtê«©© [¾‚F£aíÐét‡³gÏžúúú¼¼¼é§Âår§ïÞŒÑÍÍÍÛ¶ms}útIIÉõë׫««ÓÓÓ¯^½Š=g@&“Q(”ÄÄD¼®P(üî»ïŠ‹‹KKK‡††§v¦Vä/g®+¢(êi€ ¬ªªÚ½{wxx8¶*°^¯Ç÷–••EFFnÞ¼™PïNýqKSSÓk¯½Æ`0.\˜ŸŸ/•JW¯^=99yóæMAZ[[333?À_}õÕ… .X°`ß¾}±±±žÚ™~ª8„Çh*•&—ËW®\éX.—Ë£¢¢KðTÉd¥RyâĉþùÇiµŸk×®I¥ÒÊÊJ·k;â}9­è$—Ë/^ì6=¥RÉd2±í‘‘‘M›6á»fÏžM¡P’““¯^½-‘H***ëj4‹…mÏŸ?þüùžÚqÛõÔxóa˜‘‘qöìY‡ƒÂ‡^½zumm-~VÚl¶Y³fa/M&Ó8ðÄOX,–¦¦&¬ü¯¿þ:yòdQQÑ2¬¯+Vào£ÑxîÜ9Ç#ÇAQôÂ… ø"$!!!¥¥¥Ø4…IOOÿøãcbb/^ŒkÅY°`‚ r¹¼££cëÖ­žÚ!Š7CÇöíÛÇÇÇy<žL&S*•GŽ1›Íë×¯ÇæUß|óÁ`hhhÀâ-‹Õj%“Éf³à ‚ |ðÁÚµk£¢¢Æpíkbbâ7ÞJ¥J¥òÚµkt:=++ Ðjµãããccc===ï½÷žZ­~饗°])))æ·ß~Û»wïW_}… Hbb¢N§«©©yöÙgúZ·n]ee¥B¡P(}ô‘F£™¢¢ÜöšóçÏgggOgên4«««e2™J¥¢Óék×®ííí ãóù ®®nΜ9;wîÜ¿?ÖZ}}ýçŸþàƒnÞ¼¹···««ëË/¿œþ Ö×ððpDDDzzú‹/¾H¡PÛ/X F\\ÜÎ;ñ÷‡Á`(++kkk#‘HkÖ¬ÙµkV«¤¤¤µµµ¡¡{Þ6~Áb±XªªªZZZŒFãªU«öìÙƒ7žÚ™‚´´´ºº:üOî½hW¬Vkÿòå˽¨{ÿá*zÆîuÉdhy àM%@@Ñ€€¢EŠ 7—à<|÷=·‰NJJÊÉÉq\<âl6;))ɱÄÿë§À1P4  h@@Ñ€øêˆð§FIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.map000066400000000000000000000000631255273444100302310ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.md5000066400000000000000000000000401255273444100301340ustar00rootroot00000000000000bee37f07c3561c0975a5aed194b73e95merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZIODevice__inherit__graph.png000066400000000000000000000063361255273444100302510ustar00rootroot00000000000000‰PNG  IHDRxpZU#èbKGDÿÿÿ ½§“ “IDATxœí}TSåÀïp1Â%Ö’1•ùF¦D˜„„qòy¬5Îq޳ZY÷D;"u"ÃÚƒlÔ19h€Ëä ÚÀ@ŠV£Ø ‚…ÛÚûýýqçž¹ä.|æìùüu÷Üïó<ßûáîÙs/Û}H(Š"»O€¯ø¯EŠ 2Ñ ƒán¤âG³ÙlBU‹V©TsæÌ¡P(D+Þ7˜L&•Ju×E#Âb± †ïþüóϾ¾>¢µà (P4  h@Ü-Ñz½~ïÞ½ñññT*õñÇ/..¶Z­Ø.‰$—Ë#ßzë­øøø‡z(11ñèÑ£Ž‘8ÑÑÑÛ¶m%š‰\.'‘H3rPÿ†»"úÖ­[=öØ÷ßìØ±ëׯ¿ýöÛ`ݺu6›Ím¤L&;~üxWWWaaá_|ñôÓO㑉D­V+•ÊêêêÉÉÉ•+WjµZBÉÐh´}ûöÍÌýP‚ˆÅbF3u ÇKII±Z­x‰N§‹ŽŽ.//Çn LYQQቢ¨Ýn_³f ŸÏ'šóÌ¢ÑhÄb1ÑZwEôܹs››› O:•’’‚Þ®Ïmä'Ÿ|’ššŠºˆFQ´¶¶6!!Û6›Í<Á`<üðÃ<Ïl6gee½þúëØ^£ÑH£Ñ.^¼800€O‹…ÏçÏ›7N§¿üòËžÚ™úè¼=óC‡V«áp8Nå+V¬øé§Ÿ¦Éáp~ùå·³Ùì_ýÛ.--U(­­­W®\áóù¹¹¹"‘û ]¾|988ø™gžÁë~øá‡"‘¨±±Q,÷÷÷¿ÿþûžÚùG;žÑ‚Œ9•K$:Ž:œ§Xäèè¨Sd{{»S$ŽL&£ÑhØöÒ¥KÕj5¶ÝÜÜÌápôzýìÙ³¥R)Š¢999………(Šâgô’%K°ø¾¾>|Ûµ© xwF{s >54mîܹÝÝÝéééŽåÝÝÝK—.u™‘‘á™à¶ñE‹aÛƒƒƒø®ààବ,¡P¸|ùò¯¿þú‡~p¬ûûï¿ã7(–-[¶lÙ2Oí:ÞirWf[¶l9|ø0>sÈÍÍ=wîܱcÇrss]#:ä8ÑëõÇÏÌÌtmEÑO?ýtýúõØK:ŽŸïX_B¡ðÂ… N÷}˜Læàà ¶ÝÝÝnÛ™yˆ¾¦óaø÷ß/Y²$--íÒ¥K7oÞ|çwa0&“ ½}@À"SSS›ššúûûbcc“““F#‰Oï¾ýöÛ¬¬,‹¥Õj±º»wï~á…{zz’’’víÚ…¢¨Éd e³Ù555X>tÅÅÅõööööö&''ïØ±cŠv¦àšu (ªÓéÞ|óÍG}4((hÑ¢Eû÷ïOMMÍÎÎF]F^<288866öÈ‘#ƒáÿÉ90oÞ¼-[¶8v=99™——Îårõz=VÎår©TªN§Ã^â¢F#Çc2™!!!¹¹¹ø¬ÃS;ž¸·D»b2™ÚÛÛ½¨x¯q¯Lï<¸jÕ*`ÝÝkÀ›J€€¢EŠ (ÞÜëÐjµø?Aþƒèt:/jM¡P†‡‡½èi¦hiD$##Ú‡9­BBýêûÑ6›=>¾A7øþ?ÓÇÏÆèövùø¸~|\'‘Èï}/ág¢ëë;É䀨¯—ù:bø“h£ÑÒØØcµÚ,{ccÑhñuFð'ÑW®üŒË5-W®üìÛ|áO¢E¢Nü«0$I$êôm>„ðÑ““Æ––>›Í޽´Ùì--}““Fßf5}üFô¥K½vûm3Q»½|¹×WùÅoD …N3~E…B¿=üCôèè-‰dÀn·;Úí¨D20:zËWYÂ?D_¼Øíö:D"]¼Ø>/ðÑçÏw: Ðv»Ý_®\ü@´J5qãÆÑHOÏÐð0±/òú„™ÿJØŒ36¦c2iø]³=€½ »ÅdÒ|–ßôð³»w‚äçŸAäôéí¾N„~0tÜ@Ñ€€¢EŠ (P4  h@@Ñ€€¢EŠ (P4  h@@Ñ€€¢EŠ (P4  h@@Ñ€€¢EŠ (P4  hP8>m°­­-00Ð×Ý2™N&Ó}Å lkkst{ÛoXT*•Ùl.**òU~÷ T©TŽ%n~,ôÔSOJçþåàÁƒN%pŒ (P4 ¼üå¬Ñh{ö,F+--Å•Åb%&&æåå566nذaúí„……áÛ•••ƒ¡°°Ðm_'Ožtê«©© [¾‚F£aíÐét‡³gÏžúúú¼¼¼é§Âår§ïÞŒÑÍÍÍÛ¶ms}útIIÉõë׫««ÓÓÓ¯^½Š=g@&“Q(”ÄÄD¼®P(üî»ïŠ‹‹KKK‡††§v¦Vä/g®+¢(êi€ ¬ªªÚ½{wxx8¶*°^¯Ç÷–••EFFnÞ¼™PïNýqKSSÓk¯½Æ`0.\˜ŸŸ/•JW¯^=99yóæMAZ[[333?À_}õÕ… .X°`ß¾}±±±žÚ™~ª8„Çh*•&—ËW®\éX.—Ë£¢¢KðTÉd¥RyâĉþùÇiµŸk×®I¥ÒÊÊJ·k;â}9­è$—Ë/^ì6=¥RÉd2±í‘‘‘M›6á»fÏžM¡P’““¯^½-‘H***ëj4‹…mÏŸ?þüùžÚqÛõÔxóa˜‘‘qöìY‡ƒÂ‡^½zumm-~VÚl¶Y³fa/M&Ó8ðÄOX,–¦¦&¬ü¯¿þ:yòdQQÑ2¬¯+Vào£ÑxîÜ9Ç#ÇAQôÂ… ø"$!!!¥¥¥Ø4…IOOÿøãcbb/^ŒkÅY°`‚ r¹¼££cëÖ­žÚ!Š7CÇöíÛÇÇÇy<žL&S*•GŽ1›Íë×¯ÇæUß|óÁ`hhhÀâ-‹Õj%“Éf³à ‚ |ðÁÚµk£¢¢Æpíkbbâ7ÞJ¥J¥òÚµkt:=++ Ðjµãããccc===ï½÷žZ­~饗°])))æ·ß~Û»wïW_}… Hbb¢N§«©©yöÙgúZ·n]ee¥B¡P(}ô‘F£™¢¢ÜöšóçÏgggOgên4«««e2™J¥¢Óék×®ííí ãóù ®®nΜ9;wîÜ¿?ÖZ}}ýçŸþàƒnÞ¼¹···««ëË/¿œþ Ö×ððpDDDzzú‹/¾H¡PÛ/X F\\ÜÎ;ñ÷‡Á`(++kkk#‘HkÖ¬ÙµkV«¤¤¤µµµ¡¡{Þ6~Áb±XªªªZZZŒFãªU«öìÙƒ7žÚ™‚´´´ºº:üOî½hW¬Vkÿòå˽¨{ÿá*zÆîuÉdhy àM%@@Ñ€€¢EŠ 7—à<|÷=·‰NJJÊÉÉq\<âl6;))ɱÄÿë§À1P4  h@@Ñ€øêˆð§FIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZip-members.html000066400000000000000000000374141255273444100256420ustar00rootroot00000000000000 QuaZIP: Member List
QuaZip Member List

This is the complete list of members for QuaZip, including all inherited members.

CaseSensitivity enum nameQuaZip
close()QuaZip
Constants enum nameQuaZip
convertCaseSensitivity(CaseSensitivity cs)QuaZipstatic
csDefault enum valueQuaZip
csInsensitive enum valueQuaZip
csSensitive enum valueQuaZip
getComment() const QuaZip
getCommentCodec() const QuaZip
getCurrentFileInfo(QuaZipFileInfo *info) const QuaZip
getCurrentFileInfo(QuaZipFileInfo64 *info) const QuaZip
getCurrentFileName() const QuaZip
getEntriesCount() const QuaZip
getFileInfoList() const QuaZip
getFileInfoList64() const QuaZip
getFileNameCodec() const QuaZip
getFileNameList() const QuaZip
getIoDevice() const QuaZip
getMode() const QuaZip
getUnzFile()QuaZip
getZipError() const QuaZip
getZipFile()QuaZip
getZipName() const QuaZip
goToFirstFile()QuaZip
goToNextFile()QuaZip
hasCurrentFile() const QuaZip
isAutoClose() const QuaZip
isDataDescriptorWritingEnabled() const QuaZip
isOpen() const QuaZip
isZip64Enabled() const QuaZip
MAX_FILE_NAME_LENGTH enum valueQuaZip
mdAdd enum valueQuaZip
mdAppend enum valueQuaZip
mdCreate enum valueQuaZip
mdNotOpen enum valueQuaZip
mdUnzip enum valueQuaZip
Mode enum nameQuaZip
open(Mode mode, zlib_filefunc_def *ioApi=NULL)QuaZip
QuaZip()QuaZip
QuaZip(const QString &zipName)QuaZip
QuaZip(QIODevice *ioDevice)QuaZip
QuaZipPrivate (defined in QuaZip)QuaZipfriend
setAutoClose(bool autoClose) const QuaZip
setComment(const QString &comment)QuaZip
setCommentCodec(QTextCodec *commentCodec)QuaZip
setCommentCodec(const char *commentCodecName)QuaZip
setCurrentFile(const QString &fileName, CaseSensitivity cs=csDefault)QuaZip
setDataDescriptorWritingEnabled(bool enabled)QuaZip
setDefaultFileNameCodec(QTextCodec *codec)QuaZipstatic
setDefaultFileNameCodec(const char *codecName)QuaZipstatic
setFileNameCodec(QTextCodec *fileNameCodec)QuaZip
setFileNameCodec(const char *fileNameCodecName)QuaZip
setIoDevice(QIODevice *ioDevice)QuaZip
setZip64Enabled(bool zip64)QuaZip
setZipName(const QString &zipName)QuaZip
~QuaZip()QuaZip
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZip.html000066400000000000000000003042721255273444100242110ustar00rootroot00000000000000 QuaZIP: QuaZip Class Reference

ZIP archive. More...

#include <quazip/quazip.h>

Public Types

enum  Constants { MAX_FILE_NAME_LENGTH =256 }
 Useful constants. More...
 
enum  Mode {
  mdNotOpen, mdUnzip, mdCreate, mdAppend,
  mdAdd
}
 Open mode of the ZIP file. More...
 
enum  CaseSensitivity { csDefault =0, csSensitive =1, csInsensitive =2 }
 Case sensitivity for the file names. More...
 

Public Member Functions

 QuaZip ()
 Constructs QuaZip object. More...
 
 QuaZip (const QString &zipName)
 Constructs QuaZip object associated with ZIP file zipName.
 
 QuaZip (QIODevice *ioDevice)
 Constructs QuaZip object associated with ZIP file represented by ioDevice. More...
 
 ~QuaZip ()
 Destroys QuaZip object. More...
 
bool open (Mode mode, zlib_filefunc_def *ioApi=NULL)
 Opens ZIP file. More...
 
void close ()
 Closes ZIP file. More...
 
void setFileNameCodec (QTextCodec *fileNameCodec)
 Sets the codec used to encode/decode file names inside archive. More...
 
void setFileNameCodec (const char *fileNameCodecName)
 Sets the codec used to encode/decode file names inside archive. More...
 
QTextCodec * getFileNameCodec () const
 Returns the codec used to encode/decode comments inside archive.
 
void setCommentCodec (QTextCodec *commentCodec)
 Sets the codec used to encode/decode comments inside archive. More...
 
void setCommentCodec (const char *commentCodecName)
 Sets the codec used to encode/decode comments inside archive. More...
 
QTextCodec * getCommentCodec () const
 Returns the codec used to encode/decode comments inside archive.
 
QString getZipName () const
 Returns the name of the ZIP file. More...
 
void setZipName (const QString &zipName)
 Sets the name of the ZIP file. More...
 
QIODevice * getIoDevice () const
 Returns the device representing this ZIP file. More...
 
void setIoDevice (QIODevice *ioDevice)
 Sets the device representing the ZIP file. More...
 
Mode getMode () const
 Returns the mode in which ZIP file was opened.
 
bool isOpen () const
 Returns true if ZIP file is open, false otherwise.
 
int getZipError () const
 Returns the error code of the last operation. More...
 
int getEntriesCount () const
 Returns number of the entries in the ZIP central directory. More...
 
QString getComment () const
 Returns global comment in the ZIP file.
 
void setComment (const QString &comment)
 Sets the global comment in the ZIP file. More...
 
bool goToFirstFile ()
 Sets the current file to the first file in the archive. More...
 
bool goToNextFile ()
 Sets the current file to the next file in the archive. More...
 
bool setCurrentFile (const QString &fileName, CaseSensitivity cs=csDefault)
 Sets current file by its name. More...
 
bool hasCurrentFile () const
 Returns true if the current file has been set.
 
bool getCurrentFileInfo (QuaZipFileInfo *info) const
 Retrieves information about the current file. More...
 
bool getCurrentFileInfo (QuaZipFileInfo64 *info) const
 Retrieves information about the current file. More...
 
QString getCurrentFileName () const
 Returns the current file name. More...
 
unzFile getUnzFile ()
 Returns unzFile handle. More...
 
zipFile getZipFile ()
 Returns zipFile handle. More...
 
void setDataDescriptorWritingEnabled (bool enabled)
 Changes the data descriptor writing mode. More...
 
bool isDataDescriptorWritingEnabled () const
 Returns the data descriptor default writing mode. More...
 
QStringList getFileNameList () const
 Returns a list of files inside the archive. More...
 
QList< QuaZipFileInfogetFileInfoList () const
 Returns information list about all files inside the archive. More...
 
QList< QuaZipFileInfo64getFileInfoList64 () const
 Returns information list about all files inside the archive. More...
 
void setZip64Enabled (bool zip64)
 Enables the zip64 mode. More...
 
bool isZip64Enabled () const
 Returns whether the zip64 mode is enabled. More...
 
bool isAutoClose () const
 Returns the auto-close flag. More...
 
void setAutoClose (bool autoClose) const
 Sets or unsets the auto-close flag. More...
 

Static Public Member Functions

static Qt::CaseSensitivity convertCaseSensitivity (CaseSensitivity cs)
 Returns the actual case sensitivity for the specified QuaZIP one. More...
 
static void setDefaultFileNameCodec (QTextCodec *codec)
 Sets the default file name codec to use. More...
 
static void setDefaultFileNameCodec (const char *codecName)
 

Friends

class QuaZipPrivate
 

Detailed Description

ZIP archive.

This class implements basic interface to the ZIP archive. It can be used to read table contents of the ZIP archive and retreiving information about the files inside it.

You can also use this class to open files inside archive by passing pointer to the instance of this class to the constructor of the QuaZipFile class. But see QuaZipFile::QuaZipFile(QuaZip*, QObject*) for the possible pitfalls.

This class is indended to provide interface to the ZIP subpackage of the ZIP/UNZIP package as well as to the UNZIP subpackage. But currently it supports only UNZIP.

The use of this class is simple - just create instance using constructor, then set ZIP archive file name using setFile() function (if you did not passed the name to the constructor), then open() and then use different functions to work with it! Well, if you are paranoid, you may also wish to call close before destructing the instance, to check for errors on close.

You may also use getUnzFile() and getZipFile() functions to get the ZIP archive handle and use it with ZIP/UNZIP package API directly.

This class supports localized file names inside ZIP archive, but you have to set up proper codec with setCodec() function. By default, locale codec will be used, which is probably ok for UNIX systems, but will almost certainly fail with ZIP archives created in Windows. This is because Windows ZIP programs have strange habit of using DOS encoding for file names in ZIP archives. For example, ZIP archive with cyrillic names created in Windows will have file names in IBM866 encoding instead of WINDOWS-1251. I think that calling one function is not much trouble, but for true platform independency it would be nice to have some mechanism for file name encoding auto detection using locale information. Does anyone know a good way to do it?

Member Enumeration Documentation

Useful constants.

Enumerator
MAX_FILE_NAME_LENGTH 

Maximum file name length. Taken from UNZ_MAXFILENAMEINZIP constant in unzip.c.

Open mode of the ZIP file.

Enumerator
mdNotOpen 

ZIP file is not open. This is the initial mode.

mdUnzip 

ZIP file is open for reading files inside it.

mdCreate 

ZIP file was created with open() call.

mdAppend 

ZIP file was opened in append mode. This refers to APPEND_STATUS_CREATEAFTER mode in ZIP/UNZIP package and means that zip is appended to some existing file what is useful when that file contains self-extractor code. This is obviously not what you whant to use to add files to the existing ZIP archive.

mdAdd 

ZIP file was opened for adding files in the archive.

Case sensitivity for the file names.

This is what you specify when accessing files in the archive. Works perfectly fine with any characters thanks to Qt's great unicode support. This is different from ZIP/UNZIP API, where only US-ASCII characters was supported.

Enumerator
csDefault 

Default for platform. Case sensitive for UNIX, not for Windows.

csSensitive 

Case sensitive.

csInsensitive 

Case insensitive.

Constructor & Destructor Documentation

QuaZip::QuaZip ( )

Constructs QuaZip object.

Call setName() before opening constructed object.

QuaZip::QuaZip ( QIODevice *  ioDevice)

Constructs QuaZip object associated with ZIP file represented by ioDevice.

The IO device must be seekable, otherwise an error will occur when opening.

QuaZip::~QuaZip ( )

Destroys QuaZip object.

Calls close() if necessary.

References close(), and isOpen().

Member Function Documentation

Qt::CaseSensitivity QuaZip::convertCaseSensitivity ( QuaZip::CaseSensitivity  cs)
static

Returns the actual case sensitivity for the specified QuaZIP one.

Parameters
csThe value to convert.
Returns
If CaseSensitivity::csDefault, then returns the default file name case sensitivity for the platform. Otherwise, just returns the appropriate value from the Qt::CaseSensitivity enum.

References csDefault, and csSensitive.

Referenced by QuaZipDir::exists(), and setCurrentFile().

bool QuaZip::open ( Mode  mode,
zlib_filefunc_def *  ioApi = NULL 
)

Opens ZIP file.

Argument mode specifies open mode of the ZIP archive. See Mode for details. Note that there is zipOpen2() function in the ZIP/UNZIP API which accepts globalcomment argument, but it does not use it anywhere, so this open() function does not have this argument. See setComment() if you need to set global comment.

If the ZIP file is accessed via explicitly set QIODevice, then this device is opened in the necessary mode. If the device was already opened by some other means, then QuaZIP checks if the open mode is compatible to the mode needed for the requested operation. If necessary, seeking is performed to position the device properly.

Returns
true if successful, false otherwise.
Note
ZIP/UNZIP API open calls do not return error code - they just return NULL indicating an error. But to make things easier, quazip.h header defines additional error code UNZ_ERROROPEN and getZipError() will return it if the open call of the ZIP/UNZIP API returns NULL.

Argument ioApi specifies IO function set for ZIP/UNZIP package to use. See unzip.h, zip.h and ioapi.h for details. Note that IO API for QuaZip is different from the original package. The file path argument was changed to be of type voidpf, and QuaZip passes a QIODevice pointer there. This QIODevice is either set explicitly via setIoDevice() or the QuaZip(QIODevice*) constructor, or it is created internally when opening the archive by its file name. The default API (qioapi.cpp) just delegates everything to the QIODevice API. Not only this allows to use a QIODevice instead of file name, but also has a nice side effect of raising the file size limit from 2G to 4G (in non-zip64 archives).

Note
If the zip64 support is needed, the ioApi argument must be NULL because due to the backwards compatibility issues it can be used to provide a 32-bit API only.
If the no-auto-close feature is used, then the ioApi argument should be NULL because the old API doesn't support the 'fake close' operation, causing slight memory leaks and other possible troubles (like closing the output device in case when an error occurs during opening).

In short: just forget about the ioApi argument and you'll be fine.

References isOpen(), mdAdd, mdAppend, mdCreate, mdUnzip, QuaZipPrivate::unzFile_f, and QuaZipPrivate::zipFile_f.

Referenced by JlCompress::compressDir(), JlCompress::compressFile(), JlCompress::compressFiles(), JlCompress::extractDir(), JlCompress::extractFile(), JlCompress::extractFiles(), JlCompress::getFileList(), and QuaZipFile::open().

void QuaZip::close ( )

Closes ZIP file.

Call getZipError() to determine if the close was successful.

If the file was opened by name, then the underlying QIODevice is closed and deleted.

If the underlying QIODevice was set explicitly using setIoDevice() or the appropriate constructor, then it is closed if the auto-close flag is set (which it is by default). Call setAutoClose() to clear the auto-close flag if this behavior is undesirable.

Since Qt 5.1, the QSaveFile was introduced. It breaks the QIODevice API by making close() private and crashing the application if it is called from the base class where it is public. It is an excellent example of poor design that illustrates why you should never ever break an is-a relationship between the base class and a subclass. QuaZIP works around this bug by checking if the QIODevice is an instance of QSaveFile, using qobject_cast<>, and if it is, calls QSaveFile::commit() instead of close(). It is a really ugly hack, but at least it makes your programs work instead of crashing. Note that if the auto-close flag is cleared, then this is a non-issue, and commit() isn't called.

References mdAdd, mdAppend, mdCreate, mdNotOpen, mdUnzip, QuaZipPrivate::unzFile_f, and QuaZipPrivate::zipFile_f.

Referenced by QuaZipFile::close(), JlCompress::compressDir(), JlCompress::compressFile(), JlCompress::compressFiles(), JlCompress::extractDir(), JlCompress::extractFile(), JlCompress::extractFiles(), JlCompress::getFileList(), QuaZipFile::open(), and ~QuaZip().

void QuaZip::setFileNameCodec ( QTextCodec *  fileNameCodec)

Sets the codec used to encode/decode file names inside archive.

This is necessary to access files in the ZIP archive created under Windows with non-latin characters in file names. For example, file names with cyrillic letters will be in IBM866 encoding.

void QuaZip::setFileNameCodec ( const char *  fileNameCodecName)

Sets the codec used to encode/decode file names inside archive.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling setFileNameCodec(QTextCodec::codecForName(codecName));

void QuaZip::setCommentCodec ( QTextCodec *  commentCodec)

Sets the codec used to encode/decode comments inside archive.

This codec defaults to locale codec, which is probably ok.

void QuaZip::setCommentCodec ( const char *  commentCodecName)

Sets the codec used to encode/decode comments inside archive.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling setCommentCodec(QTextCodec::codecForName(codecName));

QString QuaZip::getZipName ( ) const

Returns the name of the ZIP file.

Returns null string if no ZIP file name has been set, for example when the QuaZip instance is set up to use a QIODevice instead.

See Also
setZipName(), setIoDevice(), getIoDevice()

Referenced by QuaZipFile::getZipName().

void QuaZip::setZipName ( const QString &  zipName)

Sets the name of the ZIP file.

Does nothing if the ZIP file is open.

Does not reset error code returned by getZipError().

See Also
setIoDevice(), getIoDevice(), getZipName()

References isOpen().

QIODevice * QuaZip::getIoDevice ( ) const

Returns the device representing this ZIP file.

Returns null string if no device has been set explicitly, for example when opening a ZIP file by name.

See Also
setIoDevice(), getZipName(), setZipName()
void QuaZip::setIoDevice ( QIODevice *  ioDevice)

Sets the device representing the ZIP file.

Does nothing if the ZIP file is open.

Does not reset error code returned by getZipError().

See Also
getIoDevice(), getZipName(), setZipName()

References isOpen().

int QuaZip::getZipError ( ) const

Returns the error code of the last operation.

Returns UNZ_OK if the last operation was successful.

Error code resets to UNZ_OK every time you call any function that accesses something inside ZIP archive, even if it is const (like getEntriesCount()). open() and close() calls reset error code too. See documentation for the specific functions for details on error detection.

Referenced by QuaZipFile::close(), JlCompress::compressDir(), JlCompress::compressFile(), JlCompress::compressFiles(), JlCompress::extractDir(), JlCompress::extractFile(), JlCompress::extractFiles(), QuaZipFile::getActualFileName(), QuaZipFile::getFileInfo(), JlCompress::getFileList(), and QuaZipFile::open().

int QuaZip::getEntriesCount ( ) const

Returns number of the entries in the ZIP central directory.

Returns negative error code in the case of error. The same error code will be returned by subsequent getZipError() call.

References mdUnzip, and QuaZipPrivate::unzFile_f.

void QuaZip::setComment ( const QString &  comment)

Sets the global comment in the ZIP file.

The comment will be written to the archive on close operation. QuaZip makes a distinction between a null QByteArray() comment and an empty "" comment in the QuaZip::mdAdd mode. A null comment is the default and it means "don't change the comment". An empty comment removes the original comment.

See Also
open()
bool QuaZip::goToFirstFile ( )

Sets the current file to the first file in the archive.

Returns true on success, false otherwise. Call getZipError() to get the error code.

References mdUnzip, and QuaZipPrivate::unzFile_f.

Referenced by JlCompress::extractDir(), and JlCompress::getFileList().

bool QuaZip::goToNextFile ( )

Sets the current file to the next file in the archive.

Returns true on success, false otherwise. Call getZipError() to determine if there was an error.

Should be used only in QuaZip::mdUnzip mode.

Note
If the end of file was reached, getZipError() will return UNZ_OK instead of UNZ_END_OF_LIST_OF_FILE. This is to make things like this easier:
for(bool more=zip.goToFirstFile(); more; more=zip.goToNextFile()) {
// do something
}
if(zip.getZipError()==UNZ_OK) {
// ok, there was no error
}

References mdUnzip, and QuaZipPrivate::unzFile_f.

Referenced by JlCompress::extractDir(), JlCompress::getFileList(), and setCurrentFile().

bool QuaZip::setCurrentFile ( const QString &  fileName,
CaseSensitivity  cs = csDefault 
)

Sets current file by its name.

Returns true if successful, false otherwise. Argument cs specifies case sensitivity of the file name. Call getZipError() in the case of a failure to get error code.

This is not a wrapper to unzLocateFile() function. That is because I had to implement locale-specific case-insensitive comparison.

Here are the differences from the original implementation:

  • If the file was not found, error code is UNZ_OK, not UNZ_END_OF_LIST_OF_FILE (see also goToNextFile()).
  • If this function fails, it unsets the current file rather than resetting it back to what it was before the call.

If fileName is null string then this function unsets the current file and return true. Note that you should close the file first if it is open! See QuaZipFile::QuaZipFile(QuaZip*,QObject*) for the details.

Should be used only in QuaZip::mdUnzip mode.

See Also
setFileNameCodec(), CaseSensitivity

References convertCaseSensitivity(), getCurrentFileName(), goToNextFile(), MAX_FILE_NAME_LENGTH, mdUnzip, and QuaZipPrivate::unzFile_f.

Referenced by QuaZipFile::open().

bool QuaZip::getCurrentFileInfo ( QuaZipFileInfo info) const

Retrieves information about the current file.

Fills the structure pointed by info. Returns true on success, false otherwise. In the latter case structure pointed by info remains untouched. If there was an error, getZipError() returns error code.

Should be used only in QuaZip::mdUnzip mode.

Does nothing and returns false in any of the following cases.

  • ZIP is not open;
  • ZIP does not have current file.

In both cases getZipError() returns UNZ_OK since there is no ZIP/UNZIP API call.

This overload doesn't support zip64, but will work OK on zip64 archives except that if one of the sizes (compressed or uncompressed) is greater than 0xFFFFFFFFu, it will be set to exactly 0xFFFFFFFFu.

See Also
getCurrentFileInfo(QuaZipFileInfo64* info)const
QuaZipFileInfo64::toQuaZipFileInfo(QuaZipFileInfo&)const

References QuaZipFileInfo64::toQuaZipFileInfo().

Referenced by QuaZipFile::getFileInfo(), and JlCompress::getFileList().

bool QuaZip::getCurrentFileInfo ( QuaZipFileInfo64 info) const

Retrieves information about the current file.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

This function supports zip64. If the archive doesn't use zip64, it is completely equivalent to getCurrentFileInfo(QuaZipFileInfo* info) except for the argument type.

See Also

References QuaZipFileInfo64::comment, QuaZipFileInfo64::compressedSize, QuaZipFileInfo64::crc, QuaZipFileInfo64::dateTime, QuaZipFileInfo64::diskNumberStart, QuaZipFileInfo64::externalAttr, QuaZipFileInfo64::extra, QuaZipFileInfo64::flags, hasCurrentFile(), QuaZipFileInfo64::internalAttr, isOpen(), mdUnzip, QuaZipFileInfo64::method, QuaZipFileInfo64::name, QuaZipFileInfo64::uncompressedSize, QuaZipPrivate::unzFile_f, QuaZipFileInfo64::versionCreated, and QuaZipFileInfo64::versionNeeded.

QString QuaZip::getCurrentFileName ( ) const

Returns the current file name.

Equivalent to calling getCurrentFileInfo() and then getting name field of the QuaZipFileInfo structure, but faster and more convenient.

Should be used only in QuaZip::mdUnzip mode.

References hasCurrentFile(), isOpen(), MAX_FILE_NAME_LENGTH, mdUnzip, and QuaZipPrivate::unzFile_f.

Referenced by JlCompress::extractDir(), QuaZipFile::getActualFileName(), and setCurrentFile().

unzFile QuaZip::getUnzFile ( )

Returns unzFile handle.

You can use this handle to directly call UNZIP part of the ZIP/UNZIP package functions (see unzip.h).

Warning
When using the handle returned by this function, please keep in mind that QuaZip class is unable to detect any changes you make in the ZIP file state (e. g. changing current file, or closing the handle). So please do not do anything with this handle that is possible to do with the functions of this class. Or at least return the handle in the original state before calling some another function of this class (including implicit destructor calls and calls from the QuaZipFile objects that refer to this QuaZip instance!). So if you have changed the current file in the ZIP archive - then change it back or you may experience some strange behavior or even crashes.

References QuaZipPrivate::unzFile_f.

Referenced by QuaZipFile::atEnd(), QuaZipFile::close(), QuaZipFile::csize(), QuaZipFile::open(), QuaZipFile::pos(), QuaZipFile::readData(), and QuaZipFile::usize().

zipFile QuaZip::getZipFile ( )

Returns zipFile handle.

You can use this handle to directly call ZIP part of the ZIP/UNZIP package functions (see zip.h). Warnings about the getUnzFile() function also apply to this function.

References QuaZipPrivate::zipFile_f.

Referenced by QuaZipFile::close(), QuaZipFile::open(), and QuaZipFile::writeData().

void QuaZip::setDataDescriptorWritingEnabled ( bool  enabled)

Changes the data descriptor writing mode.

According to the ZIP format specification, a file inside archive may have a data descriptor immediately following the file data. This is reflected by a special flag in the local file header and in the central directory. By default, QuaZIP sets this flag and writes the data descriptor unless both method and level were set to 0, in which case it operates in 1.0-compatible mode and never writes data descriptors.

By setting this flag to false, it is possible to disable data descriptor writing, thus increasing compatibility with archive readers that don't understand this feature of the ZIP file format.

Setting this flag affects all the QuaZipFile instances that are opened after this flag is set.

The data descriptor writing mode is enabled by default.

Note that if the ZIP archive is written into a QIODevice for which QIODevice::isSequential() returns true, then the data descriptor is mandatory and will be written even if this flag is set to false.

Parameters
enabledIf true, enable local descriptor writing, disable it otherwise.
See Also
QuaZipFile::isDataDescriptorWritingEnabled()
bool QuaZip::isDataDescriptorWritingEnabled ( ) const

Returns the data descriptor default writing mode.

See Also
setDataDescriptorWritingEnabled()

Referenced by QuaZipFile::open().

QStringList QuaZip::getFileNameList ( ) const

Returns a list of files inside the archive.

Returns
A list of file names or an empty list if there was an error or if the archive is empty (call getZipError() to figure out which).
See Also
getFileInfoList()
QList< QuaZipFileInfo > QuaZip::getFileInfoList ( ) const

Returns information list about all files inside the archive.

Returns
A list of QuaZipFileInfo objects or an empty list if there was an error or if the archive is empty (call getZipError() to figure out which).

This function doesn't support zip64, but will still work with zip64 archives, converting results using QuaZipFileInfo64::toQuaZipFileInfo(). If all file sizes are below 4 GB, it will work just fine.

See Also
getFileNameList()
getFileInfoList64()
QList< QuaZipFileInfo64 > QuaZip::getFileInfoList64 ( ) const

Returns information list about all files inside the archive.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

This function supports zip64.

See Also
getFileNameList()
getFileInfoList()
void QuaZip::setZip64Enabled ( bool  zip64)

Enables the zip64 mode.

Parameters
zip64If true, the zip64 mode is enabled, disabled otherwise.

Once this is enabled, all new files (until the mode is disabled again) will be created in the zip64 mode, thus enabling the ability to write files larger than 4 GB. By default, the zip64 mode is off due to compatibility reasons.

Note that this does not affect the ability to read zip64 archives in any way.

See Also
isZip64Enabled()
bool QuaZip::isZip64Enabled ( ) const

Returns whether the zip64 mode is enabled.

Returns
true if and only if the zip64 mode is enabled.
See Also
setZip64Enabled()

Referenced by QuaZipFile::open().

bool QuaZip::isAutoClose ( ) const

Returns the auto-close flag.

See Also
setAutoClose()
void QuaZip::setAutoClose ( bool  autoClose) const

Sets or unsets the auto-close flag.

By default, QuaZIP opens the underlying QIODevice when open() is called, and closes it when close() is called. In some cases, when the device is set explicitly using setIoDevice(), it may be desirable to leave the device open. If the auto-close flag is unset using this method, then the device isn't closed automatically if it was set explicitly.

If it is needed to clear this flag, it is recommended to do so before opening the archive because otherwise QuaZIP may close the device during the open() call if an error is encountered after the device is opened.

If the device was not set explicitly, but rather the setZipName() or the appropriate constructor was used to set the ZIP file name instead, then the auto-close flag has no effect, and the internal device is closed nevertheless because there is no other way to close it.

See Also
isAutoClose()
setIoDevice()
void QuaZip::setDefaultFileNameCodec ( QTextCodec *  codec)
static

Sets the default file name codec to use.

The default codec is used by the constructors, so calling this function won't affect the QuaZip instances already created at that moment.

The codec specified here can be overriden by calling setFileNameCodec(). If neither function is called, QTextCodec::codecForLocale() will be used to decode or encode file names. Use this function with caution if the application uses other libraries that depend on QuaZIP. Those libraries can either call this function by themselves, thus overriding your setting or can rely on the default encoding, thus failing mysteriously if you change it. For these reasons, it isn't recommended to use this function if you are developing a library, not an application. Instead, ask your library users to call it in case they need specific encoding.

In most cases, using setFileNameCodec() instead is the right choice. However, if you depend on third-party code that uses QuaZIP, then the reasons stated above can actually become a reason to use this function in case the third-party code in question fails because it doesn't understand the encoding you need and doesn't provide a way to specify it. This applies to the JlCompress class as well, as it was contributed and doesn't support explicit encoding parameters.

In short: use setFileNameCodec() when you can, resort to setDefaultFileNameCodec() when you don't have access to the QuaZip instance.

Parameters
codecThe codec to use by default. If NULL, resets to default.

Referenced by setDefaultFileNameCodec().

void QuaZip::setDefaultFileNameCodec ( const char *  codecName)
static

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling setDefltFileNameCodec(QTextCodec::codecForName(codecName)).

References setDefaultFileNameCodec().


The documentation for this class was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipDir-members.html000066400000000000000000000251431255273444100262750ustar00rootroot00000000000000 QuaZIP: Member List
QuaZipDir Member List

This is the complete list of members for QuaZipDir, including all inherited members.

caseSensitivity() const QuaZipDir
cd(const QString &dirName)QuaZipDir
cdUp()QuaZipDir
count() const QuaZipDir
dirName() const QuaZipDir
entryInfoList(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryInfoList(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryInfoList64(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryInfoList64(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryList(const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
entryList(QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const QuaZipDir
exists(const QString &fileName) const QuaZipDir
exists() const QuaZipDir
filePath(const QString &fileName) const QuaZipDir
filter()QuaZipDir
isRoot() const QuaZipDir
nameFilters() const QuaZipDir
operator!=(const QuaZipDir &that)QuaZipDirinline
operator=(const QuaZipDir &that)QuaZipDir
operator==(const QuaZipDir &that)QuaZipDir
operator[](int pos) const QuaZipDir
path() const QuaZipDir
QuaZipDir(const QuaZipDir &that)QuaZipDir
QuaZipDir(QuaZip *zip, const QString &dir=QString())QuaZipDir
relativeFilePath(const QString &fileName) const QuaZipDir
setCaseSensitivity(QuaZip::CaseSensitivity caseSensitivity)QuaZipDir
setFilter(QDir::Filters filters)QuaZipDir
setNameFilters(const QStringList &nameFilters)QuaZipDir
setPath(const QString &path)QuaZipDir
setSorting(QDir::SortFlags sort)QuaZipDir
sorting() const QuaZipDir
~QuaZipDir()QuaZipDir
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipDir.html000066400000000000000000001301351255273444100246430ustar00rootroot00000000000000 QuaZIP: QuaZipDir Class Reference
QuaZipDir Class Reference

Provides ZIP archive navigation. More...

#include <quazipdir.h>

Public Member Functions

 QuaZipDir (const QuaZipDir &that)
 The copy constructor.
 
 QuaZipDir (QuaZip *zip, const QString &dir=QString())
 Constructs a QuaZipDir instance pointing to the specified directory. More...
 
 ~QuaZipDir ()
 Destructor.
 
bool operator== (const QuaZipDir &that)
 The assignment operator.
 
bool operator!= (const QuaZipDir &that)
 operator!= More...
 
QuaZipDiroperator= (const QuaZipDir &that)
 operator== More...
 
QString operator[] (int pos) const
 Returns the name of the entry at the specified position.
 
QuaZip::CaseSensitivity caseSensitivity () const
 Returns the current case sensitivity mode.
 
bool cd (const QString &dirName)
 Changes the 'current' directory. More...
 
bool cdUp ()
 Goes up.
 
uint count () const
 Returns the number of entries in the directory.
 
QString dirName () const
 Returns the current directory name. More...
 
QList< QuaZipFileInfoentryInfoList (const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entries in the directory. More...
 
QList< QuaZipFileInfoentryInfoList (QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entries in the directory. More...
 
QList< QuaZipFileInfo64entryInfoList64 (const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entries in the directory with zip64 support. More...
 
QList< QuaZipFileInfo64entryInfoList64 (QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entries in the directory with zip64 support. More...
 
QStringList entryList (const QStringList &nameFilters, QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entry names in the directory. More...
 
QStringList entryList (QDir::Filters filters=QDir::NoFilter, QDir::SortFlags sort=QDir::NoSort) const
 Returns the list of the entry names in the directory. More...
 
bool exists (const QString &fileName) const
 Returns true if the entry with the specified name exists. More...
 
bool exists () const
 Return true if the directory pointed by this QuaZipDir exists.
 
QString filePath (const QString &fileName) const
 Returns the full path to the specified file. More...
 
QDir::Filters filter ()
 Returns the default filter.
 
bool isRoot () const
 Returns if the QuaZipDir points to the root of the archive. More...
 
QStringList nameFilters () const
 Return the default name filter.
 
QString path () const
 Returns the path to the current dir. More...
 
QString relativeFilePath (const QString &fileName) const
 Returns the path to the specified file relative to the current dir. More...
 
void setCaseSensitivity (QuaZip::CaseSensitivity caseSensitivity)
 Sets the default case sensitivity mode.
 
void setFilter (QDir::Filters filters)
 Sets the default filter.
 
void setNameFilters (const QStringList &nameFilters)
 Sets the default name filter.
 
void setPath (const QString &path)
 Goes to the specified path. More...
 
void setSorting (QDir::SortFlags sort)
 Sets the default sorting mode.
 
QDir::SortFlags sorting () const
 Returns the default sorting mode.
 

Detailed Description

Provides ZIP archive navigation.

This class is modelled after QDir, and is designed to provide similar features for ZIP archives.

The only significant difference from QDir is that the root path is not '/', but an empty string since that's how the file paths are stored in the archive. However, QuaZipDir understands the paths starting with '/'. It is important in a few places:

  • In the cd() function.
  • In the constructor.
  • In the exists() function.
  • In the relativePath() function.

Note that since ZIP uses '/' on all platforms, the '\' separator is not supported.

Constructor & Destructor Documentation

QuaZipDir::QuaZipDir ( QuaZip zip,
const QString &  dir = QString() 
)

Constructs a QuaZipDir instance pointing to the specified directory.

If dir is not specified, points to the root of the archive. The same happens if the dir is "/".

Member Function Documentation

bool QuaZipDir::operator!= ( const QuaZipDir that)
inline

operator!=

Returns
true if either this and that use different QuaZip instances or if they point to different directories.
QuaZipDir & QuaZipDir::operator= ( const QuaZipDir that)

operator==

Returns
true if both this and that use the same QuaZip instance and point to the same directory.
bool QuaZipDir::cd ( const QString &  dirName)

Changes the 'current' directory.

If the path starts with '/', it is interpreted as an absolute path from the root of the archive. Otherwise, it is interpreted as a path relative to the current directory as was set by the previous cd() or the constructor.

Note that the subsequent path() call will not return a path starting with '/' in all cases.

References cd(), dirName(), exists(), isRoot(), and path().

Referenced by cd(), and cdUp().

QString QuaZipDir::dirName ( ) const

Returns the current directory name.

The name doesn't include the path.

Referenced by cd().

QList< QuaZipFileInfo > QuaZipDir::entryInfoList ( const QStringList &  nameFilters,
QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

Returns the list of the entries in the directory.

Parameters
nameFiltersThe list of file patterns to list, uses the same syntax as QDir.
filtersThe entry type filters, only Files and Dirs are accepted.
sortSorting mode.

Referenced by entryInfoList().

QList< QuaZipFileInfo > QuaZipDir::entryInfoList ( QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

Returns the list of the entries in the directory.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

The same as entryInfoList(QStringList(), filters, sort).

References entryInfoList().

QList< QuaZipFileInfo64 > QuaZipDir::entryInfoList64 ( const QStringList &  nameFilters,
QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

Returns the list of the entries in the directory with zip64 support.

Parameters
nameFiltersThe list of file patterns to list, uses the same syntax as QDir.
filtersThe entry type filters, only Files and Dirs are accepted.
sortSorting mode.

Referenced by entryInfoList64().

QList< QuaZipFileInfo64 > QuaZipDir::entryInfoList64 ( QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

Returns the list of the entries in the directory with zip64 support.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

The same as entryInfoList64(QStringList(), filters, sort).

References entryInfoList64().

QStringList QuaZipDir::entryList ( const QStringList &  nameFilters,
QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

Returns the list of the entry names in the directory.

The same as entryInfoList(nameFilters, filters, sort), but only returns entry names.

Referenced by count(), entryList(), exists(), and operator[]().

QStringList QuaZipDir::entryList ( QDir::Filters  filters = QDir::NoFilter,
QDir::SortFlags  sort = QDir::NoSort 
) const

Returns the list of the entry names in the directory.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

The same as entryList(QStringList(), filters, sort).

References entryList().

bool QuaZipDir::exists ( const QString &  fileName) const

Returns true if the entry with the specified name exists.

The ".." is considered to exist if the current directory is not root. The "." and "/" are considered to always exist. Paths starting with "/" are relative to the archive root, other paths are relative to the current dir.

References QuaZip::convertCaseSensitivity(), entryList(), filePath(), and isRoot().

QString QuaZipDir::filePath ( const QString &  fileName) const

Returns the full path to the specified file.

Doesn't check if the file actually exists.

Referenced by exists().

bool QuaZipDir::isRoot ( ) const

Returns if the QuaZipDir points to the root of the archive.

Not that the root path is the empty string, not '/'.

Referenced by cd(), and exists().

QString QuaZipDir::path ( ) const

Returns the path to the current dir.

The path never starts with '/', and the root path is an empty string.

Referenced by cd(), and setPath().

QString QuaZipDir::relativeFilePath ( const QString &  fileName) const

Returns the path to the specified file relative to the current dir.

This function is mostly useless, provided only for the sake of completeness.

Parameters
fileNameThe path to the file, should start with "/" if relative to the archive root.
Returns
Path relative to the current dir.
void QuaZipDir::setPath ( const QString &  path)

Goes to the specified path.

The difference from cd() is that this function never checks if the path actually exists and doesn't use relative paths, so it's possible to go to the root directory with setPath("").

Note that this function still chops the trailing and/or leading '/' and treats a single '/' as the root path (path() will still return an empty string).

References path().


The documentation for this class was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFile-members.html000066400000000000000000000262241255273444100264370ustar00rootroot00000000000000 QuaZIP: Member List
QuaZipFile Member List

This is the complete list of members for QuaZipFile, including all inherited members.

atEnd() const QuaZipFilevirtual
bytesAvailable() const QuaZipFilevirtual
close()QuaZipFilevirtual
csize() const QuaZipFile
getActualFileName() const QuaZipFile
getCaseSensitivity() const QuaZipFile
getFileInfo(QuaZipFileInfo *info)QuaZipFile
getFileInfo(QuaZipFileInfo64 *info)QuaZipFile
getFileName() const QuaZipFile
getZip() const QuaZipFile
getZipError() const QuaZipFile
getZipName() const QuaZipFile
isRaw() const QuaZipFile
isSequential() const QuaZipFilevirtual
open(OpenMode mode)QuaZipFilevirtual
open(OpenMode mode, const char *password)QuaZipFileinline
open(OpenMode mode, int *method, int *level, bool raw, const char *password=NULL)QuaZipFile
open(OpenMode mode, const QuaZipNewInfo &info, const char *password=NULL, quint32 crc=0, int method=Z_DEFLATED, int level=Z_DEFAULT_COMPRESSION, bool raw=false, int windowBits=-MAX_WBITS, int memLevel=DEF_MEM_LEVEL, int strategy=Z_DEFAULT_STRATEGY)QuaZipFile
pos() const QuaZipFilevirtual
QuaZipFile()QuaZipFile
QuaZipFile(QObject *parent)QuaZipFile
QuaZipFile(const QString &zipName, QObject *parent=NULL)QuaZipFile
QuaZipFile(const QString &zipName, const QString &fileName, QuaZip::CaseSensitivity cs=QuaZip::csDefault, QObject *parent=NULL)QuaZipFile
QuaZipFile(QuaZip *zip, QObject *parent=NULL)QuaZipFile
QuaZipFilePrivate (defined in QuaZipFile)QuaZipFilefriend
readData(char *data, qint64 maxSize)QuaZipFileprotected
setFileName(const QString &fileName, QuaZip::CaseSensitivity cs=QuaZip::csDefault)QuaZipFile
setZip(QuaZip *zip)QuaZipFile
setZipName(const QString &zipName)QuaZipFile
size() const QuaZipFilevirtual
usize() const QuaZipFile
writeData(const char *data, qint64 maxSize)QuaZipFileprotected
~QuaZipFile()QuaZipFilevirtual
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFile.html000066400000000000000000002327101255273444100250060ustar00rootroot00000000000000 QuaZIP: QuaZipFile Class Reference

A file inside ZIP archive. More...

#include <quazip/quazipfile.h>

Inheritance diagram for QuaZipFile:
Collaboration diagram for QuaZipFile:

Public Member Functions

 QuaZipFile ()
 Constructs a QuaZipFile instance. More...
 
 QuaZipFile (QObject *parent)
 Constructs a QuaZipFile instance. More...
 
 QuaZipFile (const QString &zipName, QObject *parent=NULL)
 Constructs a QuaZipFile instance. More...
 
 QuaZipFile (const QString &zipName, const QString &fileName, QuaZip::CaseSensitivity cs=QuaZip::csDefault, QObject *parent=NULL)
 Constructs a QuaZipFile instance. More...
 
 QuaZipFile (QuaZip *zip, QObject *parent=NULL)
 Constructs a QuaZipFile instance. More...
 
virtual ~QuaZipFile ()
 Destroys a QuaZipFile instance. More...
 
QString getZipName () const
 Returns the ZIP archive file name. More...
 
QuaZipgetZip () const
 Returns a pointer to the associated QuaZip object. More...
 
QString getFileName () const
 Returns file name. More...
 
QuaZip::CaseSensitivity getCaseSensitivity () const
 Returns case sensitivity of the file name. More...
 
QString getActualFileName () const
 Returns the actual file name in the archive. More...
 
void setZipName (const QString &zipName)
 Sets the ZIP archive file name. More...
 
bool isRaw () const
 Returns true if the file was opened in raw mode. More...
 
void setZip (QuaZip *zip)
 Binds to the existing QuaZip instance. More...
 
void setFileName (const QString &fileName, QuaZip::CaseSensitivity cs=QuaZip::csDefault)
 Sets the file name. More...
 
virtual bool open (OpenMode mode)
 Opens a file for reading. More...
 
bool open (OpenMode mode, const char *password)
 Opens a file for reading. More...
 
bool open (OpenMode mode, int *method, int *level, bool raw, const char *password=NULL)
 Opens a file for reading. More...
 
bool open (OpenMode mode, const QuaZipNewInfo &info, const char *password=NULL, quint32 crc=0, int method=Z_DEFLATED, int level=Z_DEFAULT_COMPRESSION, bool raw=false, int windowBits=-MAX_WBITS, int memLevel=DEF_MEM_LEVEL, int strategy=Z_DEFAULT_STRATEGY)
 Opens a file for writing. More...
 
virtual bool isSequential () const
 Returns true, but beware!
 
virtual qint64 pos () const
 Returns current position in the file. More...
 
virtual bool atEnd () const
 Returns true if the end of file was reached. More...
 
virtual qint64 size () const
 Returns file size. More...
 
qint64 csize () const
 Returns compressed file size. More...
 
qint64 usize () const
 Returns uncompressed file size. More...
 
bool getFileInfo (QuaZipFileInfo *info)
 Gets information about current file. More...
 
bool getFileInfo (QuaZipFileInfo64 *info)
 Gets information about current file with zip64 support. More...
 
virtual void close ()
 Closes the file. More...
 
int getZipError () const
 Returns the error code returned by the last ZIP/UNZIP API call.
 
virtual qint64 bytesAvailable () const
 Returns the number of bytes available for reading.
 

Protected Member Functions

qint64 readData (char *data, qint64 maxSize)
 Implementation of the QIODevice::readData().
 
qint64 writeData (const char *data, qint64 maxSize)
 Implementation of the QIODevice::writeData().
 

Friends

class QuaZipFilePrivate
 

Detailed Description

A file inside ZIP archive.

This is the most interesting class. Not only it provides C++ interface to the ZIP/UNZIP package, but also integrates it with Qt by subclassing QIODevice. This makes possible to access files inside ZIP archive using QTextStream or QDataStream, for example. Actually, this is the main purpose of the whole QuaZIP library.

You can either use existing QuaZip instance to create instance of this class or pass ZIP archive file name to this class, in which case it will create internal QuaZip object. See constructors' descriptions for details. Writing is only possible with the existing instance.

Note that due to the underlying library's limitation it is not possible to use multiple QuaZipFile instances to open several files in the same archive at the same time. If you need to write to multiple files in parallel, then you should write to temporary files first, then pack them all at once when you have finished writing. If you need to read multiple files inside the same archive in parallel, you should extract them all into a temporary directory first.

Sequential or random-access?

At the first thought, QuaZipFile has fixed size, the start and the end and should be therefore considered random-access device. But there is one major obstacle to making it random-access: ZIP/UNZIP API does not support seek() operation and the only way to implement it is through reopening the file and re-reading to the required position, but this is prohibitively slow.

Therefore, QuaZipFile is considered to be a sequential device. This has advantage of availability of the ungetChar() operation (QIODevice does not implement it properly for non-sequential devices unless they support seek()). Disadvantage is a somewhat strange behaviour of the size() and pos() functions. This should be kept in mind while using this class.

Constructor & Destructor Documentation

QuaZipFile::QuaZipFile ( )

Constructs a QuaZipFile instance.

You should use setZipName() and setFileName() or setZip() before trying to call open() on the constructed object.

QuaZipFile::QuaZipFile ( QObject *  parent)

Constructs a QuaZipFile instance.

parent argument specifies this object's parent object.

You should use setZipName() and setFileName() or setZip() before trying to call open() on the constructed object.

QuaZipFile::QuaZipFile ( const QString &  zipName,
QObject *  parent = NULL 
)

Constructs a QuaZipFile instance.

parent argument specifies this object's parent object and zipName specifies ZIP archive file name.

You should use setFileName() before trying to call open() on the constructed object.

QuaZipFile constructed by this constructor can be used for read only access. Use QuaZipFile(QuaZip*,QObject*) for writing.

QuaZipFile::QuaZipFile ( const QString &  zipName,
const QString &  fileName,
QuaZip::CaseSensitivity  cs = QuaZip::csDefault,
QObject *  parent = NULL 
)

Constructs a QuaZipFile instance.

parent argument specifies this object's parent object, zipName specifies ZIP archive file name and fileName and cs specify a name of the file to open inside archive.

QuaZipFile constructed by this constructor can be used for read only access. Use QuaZipFile(QuaZip*,QObject*) for writing.

See Also
QuaZip::setCurrentFile()
QuaZipFile::QuaZipFile ( QuaZip zip,
QObject *  parent = NULL 
)

Constructs a QuaZipFile instance.

parent argument specifies this object's parent object.

zip is the pointer to the existing QuaZip object. This QuaZipFile object then can be used to read current file in the zip or to write to the file inside it.

Warning
Using this constructor for reading current file can be tricky. Let's take the following example:
QuaZip zip("archive.zip");
zip.open(QuaZip::mdUnzip);
zip.setCurrentFile("file-in-archive");
QuaZipFile file(&zip);
file.open(QIODevice::ReadOnly);
// ok, now we can read from the file
file.read(somewhere, some);
zip.setCurrentFile("another-file-in-archive"); // oops...
QuaZipFile anotherFile(&zip);
anotherFile.open(QIODevice::ReadOnly);
anotherFile.read(somewhere, some); // this is still ok...
file.read(somewhere, some); // and this is NOT
So, what exactly happens here? When we change current file in the zip archive, file that references it becomes invalid (actually, as far as I understand ZIP/UNZIP sources, it becomes closed, but QuaZipFile has no means to detect it).

Summary: do not close zip object or change its current file as long as QuaZipFile is open. Even better - use another constructors which create internal QuaZip instances, one per object, and therefore do not cause unnecessary trouble. This constructor may be useful, though, if you already have a QuaZip instance and do not want to access several files at once. Good example:

QuaZip zip("archive.zip");
zip.open(QuaZip::mdUnzip);
// first, we need some information about archive itself
QByteArray comment=zip.getComment();
// and now we are going to access files inside it
QuaZipFile file(&zip);
for(bool more=zip.goToFirstFile(); more; more=zip.goToNextFile()) {
file.open(QIODevice::ReadOnly);
// do something cool with file here
file.close(); // do not forget to close!
}
zip.close();
QuaZipFile::~QuaZipFile ( )
virtual

Destroys a QuaZipFile instance.

Closes file if open, destructs internal QuaZip object (if it exists and is internal, of course).

References close().

Member Function Documentation

QString QuaZipFile::getZipName ( ) const

Returns the ZIP archive file name.

If this object was created by passing QuaZip pointer to the constructor, this function will return that QuaZip's file name (or null string if that object does not have file name yet).

Otherwise, returns associated ZIP archive file name or null string if there are no name set yet.

See Also
setZipName() getFileName()

References QuaZip::getZipName().

QuaZip * QuaZipFile::getZip ( ) const

Returns a pointer to the associated QuaZip object.

Returns NULL if there is no associated QuaZip or it is internal (so you will not mess with it).

QString QuaZipFile::getFileName ( ) const

Returns file name.

This function returns file name you passed to this object either by using QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*) or by calling setFileName(). Real name of the file may differ in case if you used case-insensitivity.

Returns null string if there is no file name set yet. This is the case when this QuaZipFile operates on the existing QuaZip object (constructor QuaZipFile(QuaZip*,QObject*) or setZip() was used).

See Also
getActualFileName
QuaZip::CaseSensitivity QuaZipFile::getCaseSensitivity ( ) const

Returns case sensitivity of the file name.

This function returns case sensitivity argument you passed to this object either by using QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*) or by calling setFileName().

Returns unpredictable value if getFileName() returns null string (this is the case when you did not used setFileName() or constructor above).

See Also
getFileName
QString QuaZipFile::getActualFileName ( ) const

Returns the actual file name in the archive.

This is not a ZIP archive file name, but a name of file inside archive. It is not necessary the same name that you have passed to the QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*), setFileName() or QuaZip::setCurrentFile() - this is the real file name inside archive, so it may differ in case if the file name search was case-insensitive.

Equivalent to calling getCurrentFileName() on the associated QuaZip object. Returns null string if there is no associated QuaZip object or if it does not have a current file yet. And this is the case if you called setFileName() but did not open the file yet. So this is perfectly fine:

QuaZipFile file("somezip.zip");
file.setFileName("somefile");
QString name=file.getName(); // name=="somefile"
QString actual=file.getActualFileName(); // actual is null string
file.open(QIODevice::ReadOnly);
QString actual=file.getActualFileName(); // actual can be "SoMeFiLe" on Windows
See Also
getZipName(), getFileName(), QuaZip::CaseSensitivity

References QuaZip::getCurrentFileName(), and QuaZip::getZipError().

void QuaZipFile::setZipName ( const QString &  zipName)

Sets the ZIP archive file name.

Automatically creates internal QuaZip object and destroys previously created internal QuaZip object, if any.

Will do nothing if this file is already open. You must close() it first.

bool QuaZipFile::isRaw ( ) const

Returns true if the file was opened in raw mode.

If the file is not open, the returned value is undefined.

See Also
open(OpenMode,int*,int*,bool,const char*)

Referenced by close().

void QuaZipFile::setZip ( QuaZip zip)

Binds to the existing QuaZip instance.

This function destroys internal QuaZip object, if any, and makes this QuaZipFile to use current file in the zip object for any further operations. See QuaZipFile(QuaZip*,QObject*) for the possible pitfalls.

Will do nothing if the file is currently open. You must close() it first.

void QuaZipFile::setFileName ( const QString &  fileName,
QuaZip::CaseSensitivity  cs = QuaZip::csDefault 
)

Sets the file name.

Will do nothing if at least one of the following conditions is met:

  • ZIP name has not been set yet (getZipName() returns null string).
  • This QuaZipFile is associated with external QuaZip. In this case you should call that QuaZip's setCurrentFile() function instead!
  • File is already open so setting the name is meaningless.
See Also
QuaZip::setCurrentFile
bool QuaZipFile::open ( OpenMode  mode)
virtual

Opens a file for reading.

Returns true on success, false otherwise. Call getZipError() to get error code.

Note
Since ZIP/UNZIP API provides buffered reading only, QuaZipFile does not support unbuffered reading. So do not pass QIODevice::Unbuffered flag in mode, or open will fail.
bool QuaZipFile::open ( OpenMode  mode,
const char *  password 
)
inline

Opens a file for reading.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument password specifies a password to decrypt the file. If it is NULL then this function behaves just like open(OpenMode).

bool QuaZipFile::open ( OpenMode  mode,
int *  method,
int *  level,
bool  raw,
const char *  password = NULL 
)

Opens a file for reading.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument password specifies a password to decrypt the file.

An integers pointed by method and level will receive codes of the compression method and level used. See unzip.h.

If raw is true then no decompression is performed.

method should not be NULL. level can be NULL if you don't want to know the compression level.

References QuaZip::close(), QuaZip::getMode(), QuaZip::getUnzFile(), QuaZip::getZipError(), QuaZip::hasCurrentFile(), QuaZip::mdUnzip, QuaZip::open(), and QuaZip::setCurrentFile().

bool QuaZipFile::open ( OpenMode  mode,
const QuaZipNewInfo info,
const char *  password = NULL,
quint32  crc = 0,
int  method = Z_DEFLATED,
int  level = Z_DEFAULT_COMPRESSION,
bool  raw = false,
int  windowBits = -MAX_WBITS,
int  memLevel = DEF_MEM_LEVEL,
int  strategy = Z_DEFAULT_STRATEGY 
)

Opens a file for writing.

info argument specifies information about file. It should at least specify a correct file name. Also, it is a good idea to specify correct timestamp (by default, current time will be used). See QuaZipNewInfo.

The password argument specifies the password for crypting. Pass NULL if you don't need any crypting. The crc argument was supposed to be used for crypting too, but then it turned out that it's false information, so you need to set it to 0 unless you want to use the raw mode (see below).

Arguments method and level specify compression method and level. The only method supported is Z_DEFLATED, but you may also specify 0 for no compression. If all of the files in the archive use both method 0 and either level 0 is explicitly specified or data descriptor writing is disabled with QuaZip::setDataDescriptorWritingEnabled(), then the resulting archive is supposed to be compatible with the 1.0 ZIP format version, should you need that. Except for this, level has no other effects with method 0.

If raw is true, no compression is performed. In this case, crc and uncompressedSize field of the info are required.

Arguments windowBits, memLevel, strategy provide zlib algorithms tuning. See deflateInit2() in zlib.

References QuaZipNewInfo::comment, QuaZipNewInfo::dateTime, QuaZipNewInfo::externalAttr, QuaZipNewInfo::extraGlobal, QuaZipNewInfo::extraLocal, QuaZip::getCommentCodec(), QuaZip::getFileNameCodec(), QuaZip::getMode(), QuaZip::getZipFile(), QuaZipNewInfo::internalAttr, QuaZip::isDataDescriptorWritingEnabled(), QuaZip::isZip64Enabled(), QuaZip::mdAdd, QuaZip::mdAppend, QuaZip::mdCreate, QuaZipNewInfo::name, and QuaZipNewInfo::uncompressedSize.

qint64 QuaZipFile::pos ( ) const
virtual

Returns current position in the file.

Implementation of the QIODevice::pos(). When reading, this function is a wrapper to the ZIP/UNZIP unztell(), therefore it is unable to keep track of the ungetChar() calls (which is non-virtual and therefore is dangerous to reimplement). So if you are using ungetChar() feature of the QIODevice, this function reports incorrect value until you get back characters which you ungot.

When writing, pos() returns number of bytes already written (uncompressed unless you use raw mode).

Note
Although QuaZipFile is a sequential device and therefore pos() should always return zero, it does not, because it would be misguiding. Keep this in mind.

This function returns -1 if the file or archive is not open.

Error code returned by getZipError() is not affected by this function call.

References QuaZip::getUnzFile().

Referenced by bytesAvailable().

bool QuaZipFile::atEnd ( ) const
virtual

Returns true if the end of file was reached.

This function returns false in the case of error. This means that you called this function on either not open file, or a file in the not open archive or even on a QuaZipFile instance that does not even have QuaZip instance associated. Do not do that because there is no means to determine whether false is returned because of error or because end of file was reached. Well, on the other side you may interpret false return value as "there is no file open to check for end of file and there is no end of file therefore".

When writing, this function always returns true (because you are always writing to the end of file).

Error code returned by getZipError() is not affected by this function call.

References QuaZip::getUnzFile().

qint64 QuaZipFile::size ( ) const
virtual

Returns file size.

This function returns csize() if the file is open for reading in raw mode, usize() if it is open for reading in normal mode and pos() if it is open for writing.

Returns -1 on error, call getZipError() to get error code.

Note
This function returns file size despite that QuaZipFile is considered to be sequential device, for which size() should return bytesAvailable() instead. But its name would be very misguiding otherwise, so just keep in mind this inconsistence.

References csize(), and usize().

Referenced by bytesAvailable().

qint64 QuaZipFile::csize ( ) const

Returns compressed file size.

Equivalent to calling getFileInfo() and then getting compressedSize field, but more convenient and faster.

File must be open for reading before calling this function.

Returns -1 on error, call getZipError() to get error code.

References QuaZip::getMode(), QuaZip::getUnzFile(), and QuaZip::mdUnzip.

Referenced by size().

qint64 QuaZipFile::usize ( ) const

Returns uncompressed file size.

Equivalent to calling getFileInfo() and then getting uncompressedSize field, but more convenient and faster. See getFileInfo() for a warning.

File must be open for reading before calling this function.

Returns -1 on error, call getZipError() to get error code.

References QuaZip::getMode(), QuaZip::getUnzFile(), and QuaZip::mdUnzip.

Referenced by size().

bool QuaZipFile::getFileInfo ( QuaZipFileInfo info)

Gets information about current file.

This function does the same thing as calling QuaZip::getCurrentFileInfo() on the associated QuaZip object, but you can not call getCurrentFileInfo() if the associated QuaZip is internal (because you do not have access to it), while you still can call this function in that case.

File must be open for reading before calling this function.

Returns
false in the case of an error.

This function doesn't support zip64, but will still work fine on zip64 archives if file sizes are below 4 GB, otherwise the values will be set as if converted using QuaZipFileInfo64::toQuaZipFileInfo().

See Also
getFileInfo(QuaZipFileInfo64*)

References QuaZipFileInfo64::toQuaZipFileInfo().

bool QuaZipFile::getFileInfo ( QuaZipFileInfo64 info)

Gets information about current file with zip64 support.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

See Also
getFileInfo(QuaZipFileInfo*)

References QuaZip::getCurrentFileInfo(), QuaZip::getMode(), QuaZip::getZipError(), and QuaZip::mdUnzip.

void QuaZipFile::close ( )
virtual

Closes the file.

Call getZipError() to determine if the close was successful.

References QuaZip::close(), QuaZip::getUnzFile(), QuaZip::getZipError(), QuaZip::getZipFile(), QuaZip::isOpen(), and isRaw().

Referenced by ~QuaZipFile().


The documentation for this class was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate-members.html000066400000000000000000000051701255273444100277670ustar00rootroot00000000000000 QuaZIP: Member List
QuaZipFilePrivate Member List

This is the complete list of members for QuaZipFilePrivate, including all inherited members.

QuaZipFile (defined in QuaZipFilePrivate)QuaZipFilePrivatefriend
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFilePrivate.html000066400000000000000000000064351255273444100263440ustar00rootroot00000000000000 QuaZIP: QuaZipFilePrivate Class Reference
QuaZipFilePrivate Class Reference

The implementation class for QuaZip. More...

Friends

class QuaZipFile
 

Detailed Description

The implementation class for QuaZip.


The documentation for this class was generated from the following file:
  • quazip/quazipfile.cpp
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.map000066400000000000000000000000571255273444100273040ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.md5000066400000000000000000000000401255273444100272040ustar00rootroot000000000000000f27cd2f62b73e752c173777f208a383merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFile__coll__graph.png000066400000000000000000000054661255273444100273240ustar00rootroot00000000000000‰PNG  IHDR`pn,âôbKGDÿÿÿ ½§“ ëIDATxœí{LS×ÀO¡–n\¡6ò¹F„Pâðˆ`fbB\DaÉfÇâLЬèX"SŒÓ4,jËŒ‚¨ ˜€ D™Ò:X¤ +ƒŽµõöy\sw¹ŽíÑ›ì|þ:÷ô{N¿ç“sϽ·´A15îN€í A H.ý@¥RFw¥Âx<žH$¢'Òh4~ø¡··÷¬gÅL&“F£™R $$D(ÎnV,â?þèéé¡× 5 ‚€ApEÁ`(**ŠŽŽæóùŸ~úé‘#G¬V+ù‡ÃQ«ÕôÈo¾ù&::úƒ>X¾|¹T*¥GR„……eeeiµZg3Q«ÕÇ…!8A£©©ixx˜˜–ñññððð„„„›7o¾|ùR¡PDDD$%%Y­Vò¹W¥RÑ#ëêê¨Èµk×R‘­­­CCC©©©!!!cccÓ¿;­Vûí·ß:Õdz†‡‡›ššè5N ‹Åñññä Iôz}XXXyy91QÐT‘ŒH‚ ìv{BB‚D"qm`3Å Z°`A}}=£òôéÓñññÄÄaOùã?&&&‚‚¨ªªŠ%Ëf³Y, …Âùóç‹Åb³ÙœššúÕW_‘¯â8ŽaXMMJ¥"O‹Å"‘H.\(¶oßNÍDÇ~¦£ çÖ N÷æÍ›˜˜FýÒ¥KŸ?þ>‘111/^¼˜´s‘HôêÕ+²\ZZÚ×××ÑÑq÷îÝÆÆF‰D’‘‘¡P(H³·oßæñxŸ}öÕö‡~P(µµµMMM½½½‡žª§Æ €“kÐØØ`dd„QßÚÚ*èó‚ŒÔjµŒÈ¶¶6F$E{{;†ad9<<|hhˆ,×××ÇÄÄ ___¥RIDzzúÞ½{ ‚ fÐâÅ‹«««ÉøžžªìØÏ4£#&›AÌGéÁ0lÁ‚ÉÉÉôúÎÎÎðððI#SRR‘±±±“v®R©-ZD–ûûû©—üüüx<^jjª\.ˆˆ¸qãÆ“'OèmÿýwêjÉ’%K–,™ª§Æ \¸Ìgff:tÈf³‘‡?ÿüóÑ£G322#‹ô_ýµxñ⤤¤[·n½|ùò»ï¾…B“ÉÄ8qÈHò2ßÛÛ[]]¹zõjlj‰—ù{÷î‘—yNG¶Ý½{÷_|ÑßßßÕÕ·k×.‚ L&Ó¼yóD"ÑO?ýD†Q§XqqqTTTwwwww÷êÕ«óòò¦éÇ©SÌiAAèõú={ö|òÉ'>>>‹-Ú·o_bbâ–-[‡•…Šäñx‘‘‘%%%F£ñÝÓX¸paff&ý­ÇÇÇsrræÍ›ŸŸo0Èúüü|>Ÿ¯×ë‚p‹ÅAAA~~~ÔUlª~þ]AŽ˜L¦¶¶6²ÿ÷2?^^^+V¬˜‘®ØzX…€A@‚ A H泘N§£>ôû¢×ë5y{{Îb>Lú))anÌÁÇLJ~È!Xóý ›Í] xúô ‡Ç¿üIó{â5¨­M=:jÕ·¶ªáѳ‹]½ÚÁåzÌ™ãqõj»»sù¶ÂqKmm—Õj³Xìµµ]8nqwFï`‹ ÆÆ_))8nilüÕ½ùP°EBÑAý Ãá(î͇‚‚ÆÇñ††›ÍNÚlö††žñqܽY‘°BЭ[Ývû„» »¸}»Û]ùÐa… ¹¼ƒq7F„\Ί³Ìý‚´Ú¿[[Uv»^i·­­*­öoweEá~A55“Þ7s8œšš®Ùχû]¹ÒÁX€Hìv;îÝ,H£{úôõ‚@W×ëÁAÝìgEǹ?=Ï8##ú  ŒZ€È{EŸ9䡇‡ÇÈÈßAA˜ÛòcÕÓ<  à"àìÙlw'òî_ƒX ‚€A@‚ A H$ ‚€A@‚ A H$ ‚€A@‚ A H$ ‚€A@‚ A H$}—––///7&Ãå ¸\ðòòjii¡;anUj6›‹‹‹Ý•ŸÛ9pà€F£¡×Lò%εk×ÎR:ìãÀŒ´A@‚ A .~ÓÇñ‹/*•ÊÁÁÁ°°°5kÖ¤§§{zz:ÕIRR’c¥L&Û¶m[SS“k­4ÍôÍÅAF£±°°ðüüüàà྾¾óçÏ?zôèĉNLI…BA•­V«X, äóùŽûÅ1(++£ïmðôô„¶r W]ºt ðÒÒRRGHHÈòåËsrrjkk?ÿüó÷ïÇßߟ*WVVƽ{÷úùùåççOßÃ0z[h+×pe ª¯¯ÏÊÊ¢OŸôôô††FCôr[[[^^Þ† 6mÚTUUÅèðÙ³g—/_–H$†Q­ÈÂýû÷·oßž––vêÔ)‹eÊߊÓß‹Âjµ–——§¥¥¥¥¥•——»¶'‰Ó‚ôzýèèèÇ̨‰D}}}“61‰D$Éd²ÂÂÂŠŠ NGU*•~ùå—QQQŽm¯]»väÈ©TúðáCÊ,Žãoiзj¤#—ˇ††Îž={òäÉÇ_¸pÁÙÁ—iÇ]œ ‚˜jòòò:þ¼P(ôöö&ÿ£€Á`À°w?r*++ Þºuë¤m CBB;v쨬¬ÌÎÎ&Ëô©TêØ¶®®®´´Ôßß_(”——çåå97Nñù|µZ½lÙ2z½Z­fdIýЊËå œ8qâíÛ·Œ4›››•JeeeåTûf“v¡¡¡ÔŽÜ2™,88˜Æx€"yóæÍ¦M›¨C__ß÷ WfPJJÊ¥K—bbbÈ)sèСU«VUUUQ³Àf³yzzŽŒŒ‡&“iÿþýû÷ï_¹r¥Åb©««#ëÿüóÏï¿ÿ¾¸¸˜šMŽ |ôÑG€×¯_8•§ŸŸ_ii)©’\œ«K‹tvvöèè¨X,noo ,))1›Í7näóù€;wîÆêêj2Þb±X­V.—k6›É…€üÿ/Ç_·n]hhè( Æ{•••i4š/^TVV®_¿Þ©<ããã+**†‡‡ûí·¢¢¢k×®¹0XWfÇ;wîÜ… Μ9£ÑhÁ¶mÛº»»¥R©D"ÉÍÍ=}ú´L&Û¹sgss3€Ïç–””Ì;wëÖ­ÉÉÉEEE¿üò‹R©T*•”G™LF?LIIÙ³gŽãÉÉÉ™™™Nå™››[VV–——Çáp \섟d^¹reË–-®Ý†Z­ÖÞÞÞˆˆÚNʌ߿III—/_Þ¼y3U3cÏb\.wí°ö>¬úúú:u_þ/Á^A†}ýõ×î΂łX ‚€A˜äFQ,Ï~¬e‚ ¸¸¸ôôô©>=ø/ ‰âââè5ìÚÜ„… 5 ‚€Aø´üQôm™tIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.map000066400000000000000000000000571255273444100300150ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.md5000066400000000000000000000000401255273444100277150ustar00rootroot000000000000000f27cd2f62b73e752c173777f208a383merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipFile__inherit__graph.png000066400000000000000000000054661255273444100300350ustar00rootroot00000000000000‰PNG  IHDR`pn,âôbKGDÿÿÿ ½§“ ëIDATxœí{LS×ÀO¡–n\¡6ò¹F„Pâðˆ`fbB\DaÉfÇâLЬèX"SŒÓ4,jËŒ‚¨ ˜€ D™Ò:X¤ +ƒŽµõöy\sw¹ŽíÑ›ì|þ:÷ô{N¿ç“sϽ·´A15îN€í A H.ý@¥RFw¥Âx<žH$¢'Òh4~ø¡··÷¬gÅL&“F£™R $$D(ÎnV,â?þèéé¡× 5 ‚€ApEÁ`(**ŠŽŽæóùŸ~úé‘#G¬V+ù‡ÃQ«ÕôÈo¾ù&::úƒ>X¾|¹T*¥GR„……eeeiµZg3Q«ÕÇ…!8A£©©ixx˜˜–ñññððð„„„›7o¾|ùR¡PDDD$%%Y­Vò¹W¥RÑ#ëêê¨Èµk×R‘­­­CCC©©©!!!cccÓ¿;­Vûí·ß:Õdz†‡‡›ššè5N ‹Åñññä Iôz}XXXyy91QÐT‘ŒH‚ ìv{BB‚D"qm`3Å Z°`A}}=£òôéÓñññÄÄaOùã?&&&‚‚¨ªªŠ%Ëf³Y, …Âùóç‹Åb³ÙœššúÕW_‘¯â8ŽaXMMJ¥"O‹Å"‘H.\(¶oßNÍDÇ~¦£ çÖ N÷æÍ›˜˜FýÒ¥KŸ?þ>‘111/^¼˜´s‘HôêÕ+²\ZZÚ×××ÑÑq÷îÝÆÆF‰D’‘‘¡P(H³·oßæñxŸ}öÕö‡~P(µµµMMM½½½‡žª§Æ €“kÐØØ`dd„QßÚÚ*èó‚ŒÔjµŒÈ¶¶6F$E{{;†ad9<<|hhˆ,×××ÇÄÄ ___¥RIDzzúÞ½{ ‚ fÐâÅ‹«««ÉøžžªìØÏ4£#&›AÌGéÁ0lÁ‚ÉÉÉôúÎÎÎðððI#SRR‘±±±“v®R©-ZD–ûûû©—üüüx<^jjª\.ˆˆ¸qãÆ“'OèmÿýwêjÉ’%K–,™ª§Æ \¸Ìgff:tÈf³‘‡?ÿüóÑ£G322#‹ô_ýµxñ⤤¤[·n½|ùò»ï¾…B“ÉÄ8qÈHò2ßÛÛ[]]¹zõjlj‰—ù{÷î‘—yNG¶Ý½{÷_|ÑßßßÕÕ·k×.‚ L&Ó¼yóD"ÑO?ýD†Q§XqqqTTTwwwww÷êÕ«óòò¦éÇ©SÌiAAèõú={ö|òÉ'>>>‹-Ú·o_bbâ–-[‡•…Šäñx‘‘‘%%%F£ñÝÓX¸paff&ý­ÇÇÇsrræÍ›ŸŸo0Èúüü|>Ÿ¯×ë‚p‹ÅAAA~~~ÔUlª~þ]AŽ˜L¦¶¶6²ÿ÷2?^^^+V¬˜‘®ØzX…€A@‚ A H泘N§£>ôû¢×ë5y{{Îb>Lú))anÌÁÇLJ~È!Xóý ›Í] xúô ‡Ç¿üIó{â5¨­M=:jÕ·¶ªáѳ‹]½ÚÁåzÌ™ãqõj»»sù¶ÂqKmm—Õj³Xìµµ]8nqwFï`‹ ÆÆ_))8nilüÕ½ùP°EBÑAý Ãá(î͇‚‚ÆÇñ††›ÍNÚlö††žñqܽY‘°BЭ[Ývû„» »¸}»Û]ùÐa… ¹¼ƒq7F„\Ί³Ìý‚´Ú¿[[Uv»^i·­­*­öoweEá~A55“Þ7s8œšš®Ùχû]¹ÒÁX€Hìv;îÝ,H£{úôõ‚@W×ëÁAÝìgEǹ?=Ï8##ú  ŒZ€È{EŸ9䡇‡ÇÈÈßAA˜ÛòcÕÓ<  à"àìÙlw'òî_ƒX ‚€A@‚ A H$ ‚€A@‚ A H$ ‚€A@‚ A H$ ‚€A@‚ A H$}—––///7&Ãå ¸\ðòòjii¡;anUj6›‹‹‹Ý•ŸÛ9pà€F£¡×Lò%εk×ÎR:ìãÀŒ´A@‚ A .~ÓÇñ‹/*•ÊÁÁÁ°°°5kÖ¤§§{zz:ÕIRR’c¥L&Û¶m[SS“k­4ÍôÍÅAF£±°°ðüüüàà྾¾óçÏ?zôèĉNLI…BA•­V«X, äóùŽûÅ1(++£ïmðôô„¶r W]ºt ðÒÒRRGHHÈòåËsrrjkk?ÿüó÷ïÇßߟ*WVVƽ{÷úùùåççOßÃ0z[h+×pe ª¯¯ÏÊÊ¢OŸôôô††FCôr[[[^^Þ† 6mÚTUUÅèðÙ³g—/_–H$†Q­ÈÂýû÷·oßž––vêÔ)‹eÊߊÓß‹Âjµ–——§¥¥¥¥¥•——»¶'‰Ó‚ôzýèèèÇ̨‰D}}}“61‰D$Éd²ÂÂÂŠŠ NGU*•~ùå—QQQŽm¯]»väÈ©TúðáCÊ,Žãoiзj¤#—ˇ††Îž={òäÉÇ_¸pÁÙÁ—iÇ]œ ‚˜jòòò:þ¼P(ôöö&ÿ£€Á`À°w?r*++ Þºuë¤m CBB;v쨬¬ÌÎÎ&Ëô©TêØ¶®®®´´Ôßß_(”——çåå97Nñù|µZ½lÙ2z½Z­fdIýЊËå œ8qâíÛ·Œ4›››•JeeeåTûf“v¡¡¡ÔŽÜ2™,88˜Æx€"yóæÍ¦M›¨C__ß÷ WfPJJÊ¥K—bbbÈ)sèСU«VUUUQ³Àf³yzzŽŒŒ‡&“iÿþýû÷ï_¹r¥Åb©««#ëÿüóÏï¿ÿ¾¸¸˜šMŽ |ôÑG€×¯_8•§ŸŸ_ii)©’\œ«K‹tvvöèè¨X,noo ,))1›Í7näóù€;wîÆêêj2Þb±X­V.—k6›É…€üÿ/Ç_·n]hhè( Æ{•••i4š/^TVV®_¿Þ©<ããã+**†‡‡ûí·¢¢¢k×®¹0XWfÇ;wîÜ… Μ9£ÑhÁ¶mÛº»»¥R©D"ÉÍÍ=}ú´L&Û¹sgss3€Ïç–””Ì;wëÖ­ÉÉÉEEE¿üò‹R©T*•”G™LF?LIIÙ³gŽãÉÉÉ™™™Nå™››[VV–——Çáp \섟d^¹reË–-®Ý†Z­ÖÞÞÞˆˆÚNʌ߿III—/_Þ¼y3U3cÏb\.wí°ö>¬úúú:u_þ/Á^A†}ýõ×î΂łX ‚€A˜äFQ,Ï~¬e‚ ¸¸¸ôôô©>=ø/ ‰âââè5ìÚÜ„… 5 ‚€Aø´üQôm™tIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipPrivate-members.html000066400000000000000000000060731255273444100271720ustar00rootroot00000000000000 QuaZIP: Member List
QuaZipPrivate Member List

This is the complete list of members for QuaZipPrivate, including all inherited members.

QuaZip (defined in QuaZipPrivate)QuaZipPrivatefriend
unzFile_fQuaZipPrivate
zipFile_fQuaZipPrivate
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classQuaZipPrivate.html000066400000000000000000000064251255273444100255430ustar00rootroot00000000000000 QuaZIP: QuaZipPrivate Class Reference
QuaZipPrivate Class Reference

All the internal stuff for the QuaZip class. More...

Friends

class QuaZip
 

Detailed Description

All the internal stuff for the QuaZip class.


The documentation for this class was generated from the following file:
  • quazip/quazip.cpp
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/classes.html000066400000000000000000000110121255273444100233720ustar00rootroot00000000000000 QuaZIP: Class Index
Class Index
J | Q
  J  
QuaAdler32   QuaZIODevice   QuaZipFileInfo   QuaZipPrivate   
QuaChecksum32   QuaZip   QuaZipFileInfo64   
JlCompress   QuaCrc32   QuaZipDir   QuaZipFilePrivate   
  Q  
QuaGzipFile   QuaZipFile   QuaZipNewInfo   
QIODevice_descriptor   
J | Q
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/closed.png000066400000000000000000000002041255273444100230270ustar00rootroot00000000000000‰PNG  IHDR à‘KIDATxíÝm @!†ÑGk™É7À-`&séts¦Àñþòð@åk}ª2€… P%Á_Ëþ¿N² .:0Dk¥‹Â›x" Ö›)¡xÒ5õIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339.html000066400000000000000000000214711255273444100272360ustar00rootroot00000000000000 QuaZIP: quazip Directory Reference
quazip Directory Reference
Directory dependency graph for quazip:
quazip

Files

file  JlCompress.cpp
 
file  JlCompress.h [code]
 
file  qioapi.cpp
 
file  quaadler32.cpp
 
file  quaadler32.h [code]
 
file  quachecksum32.h [code]
 
file  quacrc32.cpp
 
file  quacrc32.h [code]
 
file  quagzipfile.cpp
 
file  quagzipfile.h [code]
 
file  quaziodevice.cpp
 
file  quaziodevice.h [code]
 
file  quazip.cpp
 
file  quazip.h [code]
 
file  quazip_global.h [code]
 
file  quazipdir.cpp
 
file  quazipdir.h [code]
 
file  quazipfile.cpp
 
file  quazipfile.h [code]
 
file  quazipfileinfo.cpp
 
file  quazipfileinfo.h [code]
 
file  quazipnewinfo.cpp
 
file  quazipnewinfo.h [code]
 
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.map000066400000000000000000000002411255273444100276670ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5000066400000000000000000000000401255273444100275740ustar00rootroot00000000000000b521f3e7499357b3270e414f244f2effmerkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/dir_94f3fdea1a650ed21d35813cdb37a339_dep.png000066400000000000000000000021731255273444100277040ustar00rootroot00000000000000‰PNG  IHDRS;¶7bKGDÿÿÿ ½§“0IDATxœí›QH[WÇÿÎìf¬s6‰Q’Åf饲ÒWú >´£/Cª¦k‰›¡ —'QW!í2ë:R+aH«mÁu‰"T±¥‚ ÖÍV*”Ö†2”¬}FL‚xö f&&µ­ß5kø~pàÜsï9ç;?NnçKŽB€¡`àLGM°LBX&!Šä†X,¯×‹H$’‰x^ Ìf3ªªªÖßI  \žS E²6!„è_·3—––¡ɧâúõ~Ølµ)ïñ;“–IË$„eÂ2 a™„°LBX&!,“–IË$„eÂ2 a™„°LBX&!Y#3˜†Z“ѲFf~þv8Í!kdj4p:¿Ïh ²É\^^Fo﨨øFcÚññ[P«sÖ}$“¯oÜFeåèõo£¬L‡®®ÿ$étoÅKaá›ñ~kÇX­Œ Áby;w¢¥åkD£Q¹– ÅQ/W¯^‚Ûí¹s`±|„ÉÉ œ8ñù†ýÂáy;V#G¬ðz‡á÷Án·Âj­GAÁàÊ´õõŸB¥R§ëòånx½Ãxö,»Ý •Jƒæf'Ù“‘mg^¼èÁ©S?àðáOPT¤ÃÁƒ£­­}Ã~’¤Äøø]œ=ëAQ‘ƒ07÷OÂs}}=˜™ù gÎt¥ËårÃd2cïÞ ´µµc`àçÍ-jdÛ™°{÷‡ m»v•§|vmî˜$I˜ž~‡ãK,,„Q^¾gÝóSS“8¾££¿B©T¦Ád2Çëfsfgg^v/…l;S¯7àÞ½» m÷ïO%\¯žÑƒ³ñ¶Hd6[ ›06ö'Üîî„> a44Ô¡»»:á¹1ßO˜ŸŸCO'Þ/"‹A’$D"‹èèXyÇ…Ã󀦦¯pôè8p rÃZ[¦11ñ;\®oPSc¥^f"É9>ŸO¡ØTyò$&Z[¿%%¥bÛ¶w„Ų_ôöþûäÉïD~þvQZj×® %ÌÙÞÞ)T*µ0ŒÂíîÕÕŸ ­¶P„BB’$ ¥R™Pnß~cµîñ\Fc‰Ðh DCC£7½®+WVü¤JÉINvíïïGmm­,é1À4öí3Ëžz#ç<«é1)r„9Ù•’¬”™—÷.Ž·où¼[*sÇŽ÷¶$»N«-DgçÙçI&+wf¦`™„°LBX&!,“–IË$„eÂ2 a™„°LBX&!,“–IË$$íQo__ÏVÆñÚpçÎéo&Ÿ ùý~‘›››ñÿtÿŸKqqñ‹¨1¯ ¨QÂ2 a™„( d:ˆ,á·ÌååבIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/doxygen.css000066400000000000000000000565771255273444100232670ustar00rootroot00000000000000/* The standard CSS for doxygen 1.8.6 */ body, table, div, p, dl { font: 400 14px/22px Roboto,sans-serif; } /* @group Heading Levels */ h1.groupheader { font-size: 150%; } .title { font: 400 14px/28px Roboto,sans-serif; font-size: 150%; font-weight: bold; margin: 10px 2px; } h2.groupheader { border-bottom: 1px solid #879ECB; color: #354C7B; font-size: 150%; font-weight: normal; margin-top: 1.75em; padding-top: 8px; padding-bottom: 4px; width: 100%; } h3.groupheader { font-size: 100%; } h1, h2, h3, h4, h5, h6 { -webkit-transition: text-shadow 0.5s linear; -moz-transition: text-shadow 0.5s linear; -ms-transition: text-shadow 0.5s linear; -o-transition: text-shadow 0.5s linear; transition: text-shadow 0.5s linear; margin-right: 15px; } h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { text-shadow: 0 0 15px cyan; } dt { font-weight: bold; } div.multicol { -moz-column-gap: 1em; -webkit-column-gap: 1em; -moz-column-count: 3; -webkit-column-count: 3; } p.startli, p.startdd { margin-top: 2px; } p.starttd { margin-top: 0px; } p.endli { margin-bottom: 0px; } p.enddd { margin-bottom: 4px; } p.endtd { margin-bottom: 2px; } /* @end */ caption { font-weight: bold; } span.legend { font-size: 70%; text-align: center; } h3.version { font-size: 90%; text-align: center; } div.qindex, div.navtab{ background-color: #EBEFF6; border: 1px solid #A3B4D7; text-align: center; } div.qindex, div.navpath { width: 100%; line-height: 140%; } div.navtab { margin-right: 15px; } /* @group Link Styling */ a { color: #3D578C; font-weight: normal; text-decoration: none; } .contents a:visited { color: #4665A2; } a:hover { text-decoration: underline; } a.qindex { font-weight: bold; } a.qindexHL { font-weight: bold; background-color: #9CAFD4; color: #ffffff; border: 1px double #869DCA; } .contents a.qindexHL:visited { color: #ffffff; } a.el { font-weight: bold; } a.elRef { } a.code, a.code:visited, a.line, a.line:visited { color: #4665A2; } a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { color: #4665A2; } /* @end */ dl.el { margin-left: -1cm; } pre.fragment { border: 1px solid #C4CFE5; background-color: #FBFCFD; padding: 4px 6px; margin: 4px 8px 4px 2px; overflow: auto; word-wrap: break-word; font-size: 9pt; line-height: 125%; font-family: monospace, fixed; font-size: 105%; } div.fragment { padding: 4px 6px; margin: 4px 8px 4px 2px; background-color: #FBFCFD; border: 1px solid #C4CFE5; } div.line { font-family: monospace, fixed; font-size: 13px; min-height: 13px; line-height: 1.0; text-wrap: unrestricted; white-space: -moz-pre-wrap; /* Moz */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: pre-wrap; /* CSS3 */ word-wrap: break-word; /* IE 5.5+ */ text-indent: -53px; padding-left: 53px; padding-bottom: 0px; margin: 0px; -webkit-transition-property: background-color, box-shadow; -webkit-transition-duration: 0.5s; -moz-transition-property: background-color, box-shadow; -moz-transition-duration: 0.5s; -ms-transition-property: background-color, box-shadow; -ms-transition-duration: 0.5s; -o-transition-property: background-color, box-shadow; -o-transition-duration: 0.5s; transition-property: background-color, box-shadow; transition-duration: 0.5s; } div.line.glow { background-color: cyan; box-shadow: 0 0 10px cyan; } span.lineno { padding-right: 4px; text-align: right; border-right: 2px solid #0F0; background-color: #E8E8E8; white-space: pre; } span.lineno a { background-color: #D8D8D8; } span.lineno a:hover { background-color: #C8C8C8; } div.ah { background-color: black; font-weight: bold; color: #ffffff; margin-bottom: 3px; margin-top: 3px; padding: 0.2em; border: solid thin #333; border-radius: 0.5em; -webkit-border-radius: .5em; -moz-border-radius: .5em; box-shadow: 2px 2px 3px #999; -webkit-box-shadow: 2px 2px 3px #999; -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000); } div.groupHeader { margin-left: 16px; margin-top: 12px; font-weight: bold; } div.groupText { margin-left: 16px; font-style: italic; } body { background-color: white; color: black; margin: 0; } div.contents { margin-top: 10px; margin-left: 12px; margin-right: 8px; } td.indexkey { background-color: #EBEFF6; font-weight: bold; border: 1px solid #C4CFE5; margin: 2px 0px 2px 0; padding: 2px 10px; white-space: nowrap; vertical-align: top; } td.indexvalue { background-color: #EBEFF6; border: 1px solid #C4CFE5; padding: 2px 10px; margin: 2px 0px; } tr.memlist { background-color: #EEF1F7; } p.formulaDsp { text-align: center; } img.formulaDsp { } img.formulaInl { vertical-align: middle; } div.center { text-align: center; margin-top: 0px; margin-bottom: 0px; padding: 0px; } div.center img { border: 0px; } address.footer { text-align: right; padding-right: 12px; } img.footer { border: 0px; vertical-align: middle; } /* @group Code Colorization */ 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 } span.vhdldigit { color: #ff00ff } span.vhdlchar { color: #000000 } span.vhdlkeyword { color: #700070 } span.vhdllogic { color: #ff0000 } blockquote { background-color: #F7F8FB; border-left: 2px solid #9CAFD4; margin: 0 24px 0 4px; padding: 0 12px 0 16px; } /* @end */ /* .search { color: #003399; font-weight: bold; } form.search { margin-bottom: 0px; margin-top: 0px; } input.search { font-size: 75%; color: #000080; font-weight: normal; background-color: #e8eef2; } */ td.tiny { font-size: 75%; } .dirtab { padding: 4px; border-collapse: collapse; border: 1px solid #A3B4D7; } th.dirtab { background: #EBEFF6; font-weight: bold; } hr { height: 0px; border: none; border-top: 1px solid #4A6AAA; } hr.footer { height: 1px; } /* @group Member Descriptions */ table.memberdecls { border-spacing: 0px; padding: 0px; } .memberdecls td, .fieldtable tr { -webkit-transition-property: background-color, box-shadow; -webkit-transition-duration: 0.5s; -moz-transition-property: background-color, box-shadow; -moz-transition-duration: 0.5s; -ms-transition-property: background-color, box-shadow; -ms-transition-duration: 0.5s; -o-transition-property: background-color, box-shadow; -o-transition-duration: 0.5s; transition-property: background-color, box-shadow; transition-duration: 0.5s; } .memberdecls td.glow, .fieldtable tr.glow { background-color: cyan; box-shadow: 0 0 15px cyan; } .mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { background-color: #F9FAFC; border: none; margin: 4px; padding: 1px 0 0 8px; } .mdescLeft, .mdescRight { padding: 0px 8px 4px 8px; color: #555; } .memSeparator { border-bottom: 1px solid #DEE4F0; line-height: 1px; margin: 0px; padding: 0px; } .memItemLeft, .memTemplItemLeft { white-space: nowrap; } .memItemRight { width: 100%; } .memTemplParams { color: #4665A2; white-space: nowrap; font-size: 80%; } /* @end */ /* @group Member Details */ /* Styles for detailed member documentation */ .memtemplate { font-size: 80%; color: #4665A2; font-weight: normal; margin-left: 9px; } .memnav { background-color: #EBEFF6; border: 1px solid #A3B4D7; text-align: center; margin: 2px; margin-right: 15px; padding: 2px; } .mempage { width: 100%; } .memitem { padding: 0; margin-bottom: 10px; margin-right: 5px; -webkit-transition: box-shadow 0.5s linear; -moz-transition: box-shadow 0.5s linear; -ms-transition: box-shadow 0.5s linear; -o-transition: box-shadow 0.5s linear; transition: box-shadow 0.5s linear; display: table !important; width: 100%; } .memitem.glow { box-shadow: 0 0 15px cyan; } .memname { font-weight: bold; margin-left: 6px; } .memname td { vertical-align: bottom; } .memproto, dl.reflist dt { border-top: 1px solid #A8B8D9; border-left: 1px solid #A8B8D9; border-right: 1px solid #A8B8D9; padding: 6px 0px 6px 0px; color: #253555; font-weight: bold; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); background-image:url('nav_f.png'); background-repeat:repeat-x; background-color: #E2E8F2; /* opera specific markup */ box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); border-top-right-radius: 4px; border-top-left-radius: 4px; /* firefox specific markup */ -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; -moz-border-radius-topright: 4px; -moz-border-radius-topleft: 4px; /* webkit specific markup */ -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); -webkit-border-top-right-radius: 4px; -webkit-border-top-left-radius: 4px; } .memdoc, dl.reflist dd { border-bottom: 1px solid #A8B8D9; border-left: 1px solid #A8B8D9; border-right: 1px solid #A8B8D9; padding: 6px 10px 2px 10px; background-color: #FBFCFD; border-top-width: 0; background-image:url('nav_g.png'); background-repeat:repeat-x; background-color: #FFFFFF; /* opera specific markup */ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); /* firefox specific markup */ -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; /* webkit specific markup */ -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px; -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); } dl.reflist dt { padding: 5px; } dl.reflist dd { margin: 0px 0px 10px 0px; padding: 5px; } .paramkey { text-align: right; } .paramtype { white-space: nowrap; } .paramname { color: #602020; white-space: nowrap; } .paramname em { font-style: normal; } .paramname code { line-height: 14px; } .params, .retval, .exception, .tparams { margin-left: 0px; padding-left: 0px; } .params .paramname, .retval .paramname { font-weight: bold; vertical-align: top; } .params .paramtype { font-style: italic; vertical-align: top; } .params .paramdir { font-family: "courier new",courier,monospace; vertical-align: top; } table.mlabels { border-spacing: 0px; } td.mlabels-left { width: 100%; padding: 0px; } td.mlabels-right { vertical-align: bottom; padding: 0px; white-space: nowrap; } span.mlabels { margin-left: 8px; } span.mlabel { background-color: #728DC1; border-top:1px solid #5373B4; border-left:1px solid #5373B4; border-right:1px solid #C4CFE5; border-bottom:1px solid #C4CFE5; text-shadow: none; color: white; margin-right: 4px; padding: 2px 3px; border-radius: 3px; font-size: 7pt; white-space: nowrap; vertical-align: middle; } /* @end */ /* these are for tree view when not used as main index */ div.directory { margin: 10px 0px; border-top: 1px solid #A8B8D9; border-bottom: 1px solid #A8B8D9; width: 100%; } .directory table { border-collapse:collapse; } .directory td { margin: 0px; padding: 0px; vertical-align: top; } .directory td.entry { white-space: nowrap; padding-right: 6px; padding-top: 3px; } .directory td.entry a { outline:none; } .directory td.entry a img { border: none; } .directory td.desc { width: 100%; padding-left: 6px; padding-right: 6px; padding-top: 3px; border-left: 1px solid rgba(0,0,0,0.05); } .directory tr.even { padding-left: 6px; background-color: #F7F8FB; } .directory img { vertical-align: -30%; } .directory .levels { white-space: nowrap; width: 100%; text-align: right; font-size: 9pt; } .directory .levels span { cursor: pointer; padding-left: 2px; padding-right: 2px; color: #3D578C; } div.dynheader { margin-top: 8px; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } address { font-style: normal; color: #2A3D61; } table.doxtable { border-collapse:collapse; margin-top: 4px; margin-bottom: 4px; } table.doxtable td, table.doxtable th { border: 1px solid #2D4068; padding: 3px 7px 2px; } table.doxtable th { background-color: #374F7F; color: #FFFFFF; font-size: 110%; padding-bottom: 4px; padding-top: 5px; } table.fieldtable { /*width: 100%;*/ margin-bottom: 10px; border: 1px solid #A8B8D9; border-spacing: 0px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); } .fieldtable td, .fieldtable th { padding: 3px 7px 2px; } .fieldtable td.fieldtype, .fieldtable td.fieldname { white-space: nowrap; border-right: 1px solid #A8B8D9; border-bottom: 1px solid #A8B8D9; vertical-align: top; } .fieldtable td.fieldname { padding-top: 3px; } .fieldtable td.fielddoc { border-bottom: 1px solid #A8B8D9; /*width: 100%;*/ } .fieldtable td.fielddoc p:first-child { margin-top: 0px; } .fieldtable td.fielddoc p:last-child { margin-bottom: 2px; } .fieldtable tr:last-child td { border-bottom: none; } .fieldtable th { background-image:url('nav_f.png'); background-repeat:repeat-x; background-color: #E2E8F2; font-size: 90%; color: #253555; padding-bottom: 4px; padding-top: 5px; text-align:left; -moz-border-radius-topleft: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-left-radius: 4px; -webkit-border-top-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom: 1px solid #A8B8D9; } .tabsearch { top: 0px; left: 10px; height: 36px; background-image: url('tab_b.png'); z-index: 101; overflow: hidden; font-size: 13px; } .navpath ul { font-size: 11px; background-image:url('tab_b.png'); background-repeat:repeat-x; background-position: 0 -5px; height:30px; line-height:30px; color:#8AA0CC; border:solid 1px #C2CDE4; overflow:hidden; margin:0px; padding:0px; } .navpath li { list-style-type:none; float:left; padding-left:10px; padding-right:15px; background-image:url('bc_s.png'); background-repeat:no-repeat; background-position:right; color:#364D7C; } .navpath li.navelem a { height:32px; display:block; text-decoration: none; outline: none; color: #283A5D; font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); text-decoration: none; } .navpath li.navelem a:hover { color:#6884BD; } .navpath li.footer { list-style-type:none; float:right; padding-left:10px; padding-right:15px; background-image:none; background-repeat:no-repeat; background-position:right; color:#364D7C; font-size: 8pt; } div.summary { float: right; font-size: 8pt; padding-right: 5px; width: 50%; text-align: right; } div.summary a { white-space: nowrap; } div.ingroups { font-size: 8pt; width: 50%; text-align: left; } div.ingroups a { white-space: nowrap; } div.header { background-image:url('nav_h.png'); background-repeat:repeat-x; background-color: #F9FAFC; margin: 0px; border-bottom: 1px solid #C4CFE5; } div.headertitle { padding: 5px 5px 5px 10px; } dl { padding: 0 0 0 10px; } /* dl.note, dl.warning, dl.attention, dl.pre, dl.post, dl.invariant, dl.deprecated, dl.todo, dl.test, dl.bug */ dl.section { margin-left: 0px; padding-left: 0px; } dl.note { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #D0C000; } dl.warning, dl.attention { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #FF0000; } dl.pre, dl.post, dl.invariant { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #00D000; } dl.deprecated { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #505050; } dl.todo { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #00C0E0; } dl.test { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #3030E0; } dl.bug { margin-left:-7px; padding-left: 3px; border-left:4px solid; border-color: #C08050; } dl.section dd { margin-bottom: 6px; } #projectlogo { text-align: center; vertical-align: bottom; border-collapse: separate; } #projectlogo img { border: 0px none; } #projectname { font: 300% Tahoma, Arial,sans-serif; margin: 0px; padding: 2px 0px; } #projectbrief { font: 120% Tahoma, Arial,sans-serif; margin: 0px; padding: 0px; } #projectnumber { font: 50% Tahoma, Arial,sans-serif; margin: 0px; padding: 0px; } #titlearea { padding: 0px; margin: 0px; width: 100%; border-bottom: 1px solid #5373B4; } .image { text-align: center; } .dotgraph { text-align: center; } .mscgraph { text-align: center; } .diagraph { text-align: center; } .caption { font-weight: bold; } div.zoom { border: 1px solid #90A5CE; } dl.citelist { margin-bottom:50px; } dl.citelist dt { color:#334975; float:left; font-weight:bold; margin-right:10px; padding:5px; } dl.citelist dd { margin:2px 0; padding:5px 0; } div.toc { padding: 14px 25px; background-color: #F4F6FA; border: 1px solid #D8DFEE; border-radius: 7px 7px 7px 7px; float: right; height: auto; margin: 0 20px 10px 10px; width: 200px; } div.toc li { background: url("bdwn.png") no-repeat scroll 0 5px transparent; font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; margin-top: 5px; padding-left: 10px; padding-top: 2px; } div.toc h3 { font: bold 12px/1.2 Arial,FreeSans,sans-serif; color: #4665A2; border-bottom: 0 none; margin: 0; } div.toc ul { list-style: none outside none; border: medium none; padding: 0px; } div.toc li.level1 { margin-left: 0px; } div.toc li.level2 { margin-left: 15px; } div.toc li.level3 { margin-left: 30px; } div.toc li.level4 { margin-left: 45px; } .inherit_header { font-weight: bold; color: gray; cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .inherit_header td { padding: 6px 0px 2px 5px; } .inherit { display: none; } tr.heading h2 { margin-top: 12px; margin-bottom: 4px; } /* tooltip related style info */ .ttc { position: absolute; display: none; } #powerTip { cursor: default; white-space: nowrap; background-color: white; border: 1px solid gray; border-radius: 4px 4px 4px 4px; box-shadow: 1px 1px 7px gray; display: none; font-size: smaller; max-width: 80%; opacity: 0.9; padding: 1ex 1em 1em; position: absolute; z-index: 2147483647; } #powerTip div.ttdoc { color: grey; font-style: italic; } #powerTip div.ttname a { font-weight: bold; } #powerTip div.ttname { font-weight: bold; } #powerTip div.ttdeci { color: #006318; } #powerTip div { margin: 0px; padding: 0px; font: 12px/16px Roboto,sans-serif; } #powerTip:before, #powerTip:after { content: ""; position: absolute; margin: 0px; } #powerTip.n:after, #powerTip.n:before, #powerTip.s:after, #powerTip.s:before, #powerTip.w:after, #powerTip.w:before, #powerTip.e:after, #powerTip.e:before, #powerTip.ne:after, #powerTip.ne:before, #powerTip.se:after, #powerTip.se:before, #powerTip.nw:after, #powerTip.nw:before, #powerTip.sw:after, #powerTip.sw:before { border: solid transparent; content: " "; height: 0; width: 0; position: absolute; } #powerTip.n:after, #powerTip.s:after, #powerTip.w:after, #powerTip.e:after, #powerTip.nw:after, #powerTip.ne:after, #powerTip.sw:after, #powerTip.se:after { border-color: rgba(255, 255, 255, 0); } #powerTip.n:before, #powerTip.s:before, #powerTip.w:before, #powerTip.e:before, #powerTip.nw:before, #powerTip.ne:before, #powerTip.sw:before, #powerTip.se:before { border-color: rgba(128, 128, 128, 0); } #powerTip.n:after, #powerTip.n:before, #powerTip.ne:after, #powerTip.ne:before, #powerTip.nw:after, #powerTip.nw:before { top: 100%; } #powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { border-top-color: #ffffff; border-width: 10px; margin: 0px -10px; } #powerTip.n:before { border-top-color: #808080; border-width: 11px; margin: 0px -11px; } #powerTip.n:after, #powerTip.n:before { left: 50%; } #powerTip.nw:after, #powerTip.nw:before { right: 14px; } #powerTip.ne:after, #powerTip.ne:before { left: 14px; } #powerTip.s:after, #powerTip.s:before, #powerTip.se:after, #powerTip.se:before, #powerTip.sw:after, #powerTip.sw:before { bottom: 100%; } #powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { border-bottom-color: #ffffff; border-width: 10px; margin: 0px -10px; } #powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { border-bottom-color: #808080; border-width: 11px; margin: 0px -11px; } #powerTip.s:after, #powerTip.s:before { left: 50%; } #powerTip.sw:after, #powerTip.sw:before { right: 14px; } #powerTip.se:after, #powerTip.se:before { left: 14px; } #powerTip.e:after, #powerTip.e:before { left: 100%; } #powerTip.e:after { border-left-color: #ffffff; border-width: 10px; top: 50%; margin-top: -10px; } #powerTip.e:before { border-left-color: #808080; border-width: 11px; top: 50%; margin-top: -11px; } #powerTip.w:after, #powerTip.w:before { right: 100%; } #powerTip.w:after { border-right-color: #ffffff; border-width: 10px; top: 50%; margin-top: -10px; } #powerTip.w:before { border-right-color: #808080; border-width: 11px; top: 50%; margin-top: -11px; } @media print { #top { display: none; } #side-nav { display: none; } #nav-path { display: none; } body { overflow:visible; } h1, h2, h3, h4, h5, h6 { page-break-after: avoid; } .summary { display: none; } .memitem { page-break-inside: avoid; } #doc-content { margin-left:0 !important; height:auto !important; width:auto !important; overflow:inherit; display:inline; } } merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/doxygen.png000066400000000000000000000073031255273444100232420ustar00rootroot00000000000000‰PNG  IHDRh ;ˆØŠIDATxí]y\•Õº~45%TL Q”PE"q–Û11±]8a„w*©¨(*â" ˆzÀè`8 ¨‰¢mÅ,’òà„p$%”œBó(8k†Ü÷ýÜû6lòö»§k÷Ç÷[ÏÞß·Ö;?k½ëßÕÕÕPxÑêÏ't´ÏùÈ€zÀÇÅ3_€Q4€g@œmÿ ¾ò‰âci‰ôçÿ{ ðÇð¬ù~½Á€4:õHcÂü ðŸÁ³„ª'ÕPÆæ P7^h،♠zb„cóP¨„ 3‚† Ò}çÿO²qÁºNkÝTÛ(É?d Ç~z<’«4Óǡ؞Þv­zµÙ¦õ¬ZâdÛ,Ë6Ók±]Fz< ¾ZçƒsÕ?ìƒsUø2SÉåwê1”c`[ì—}%ѽ.Ô¼6‚BLZ˜û!F8[ ¹…×TéÛ— »Þ#gó]å:vžu?‡vèbÙR˜?wùŽŸ¾ÊÐgbÑÉÌÕ$kF~Ê;عÆ•¢ïX®?ÉèlÆÙôõà»Nʪ¼­,ìHC§gAz•ÆlÓº­gÑú ]œjÎñåM…3ÓÚæoÒ³'=‘$Ò÷f}G•ŸS_‡öèco.Êȹ :ó£ Ãds®Ù:1=¼{ƒå9?÷ý…zqÛvîÓi‰D’p¿Ë šmÙíoÛâýaÖüEqÒµwÌ}¿~{òj€ç{ôºŸFNëí[ëOq·ÇOSúXO]°>‚‚muæÄ¾e¤“5Ë{¨JÕ¯£(›´«bÂçû’ÍlÓÅ}žïú`éUÞy„ac§Á†ÔCºŠóAkl‘±y¥†ô¢ùôs÷Aø¬7ÄõôoJ±äÄ ù.¥Be. Z¬Ð×ÇÈöå¹­ù'Ù-PëìŠyF.ž‚žÝÚ€lp&.êˆð•jò7’re’z19»ã§HGíø%œüq°ïüz׈c¬_k_")ŸHJnÐÑ~ˆÐÖ˜á´äÕ5 µÁq€ÿ5#¸·îà¶+9T‘‚ ðŽ÷Rܸrz“Ï´Ì =Ï…{ðáO£Èf ¡Íwg|Ž’Ü/¢Þ$÷¯¢ëðúÀ;¿à¨Ö™âÒÆ­]¯ÜW"Þ/< ‡÷DÏà°½üB}çyIEc^—ƒ=[V“Ýh²ëMä$l];Kû®¸ýr¦È*Åò ÿtÒõ$]•MŸ÷´;×I€1èó!‚œõ¸M õ¨(fÌæ<ÁÎÎò5~z¿ù¶ž mÌêÕ >–âÚ©âëˆIÎÞçz;ãu[i·eç^ÆÜÙÓ³NÞëF6B\}7†»+üŽÓ,Ã'a ½˜-yHY¿,‘^—ñfú~ß?Hcø¸…¸ñó{Z+4\såƒû·¯Ù·nߣð«íFÆ¡sغëû§D¾?ò<–Ævkx0ÅM±ælذÁIÓxÿd”žÜÉ÷EE»AªM«g*È£YEí7Û™^[uíý®v[wGå†=Ed¼n×¶ÆæÖÅl¡'¨pGÚk+‹æ¢À¬¨C8ªâš2 dz3H£ß ¡¨BÒûSÃÅù[wŘ ~xpçútÁæmö¤Å£¥iQæ­‰AB1ÉfÙ‰›4u¹ïìIÒ]Ë6äò%ÿ†† 1t.’NJph¬zÌ ÎR1Ž"3-"¸‡‹&ìó°1âüžìó[:‡ï„¼‘……N m–“W0®_èÜœ ×õ6ùò&»)Æìꦬýæ}¬ñ~»{múù]z½£M•ºP~^Îá:eQTÙ_*7ÕÄ9É8—·Ëï 3°¶47E•î¿u÷“SÉ»U¯ _ NíºôW¬e¸ÄNÓ|»;™¿;ŒæÅd"ȉôøòÞµõï¾®½"èÄ´ÖMM+bYµ‘_ÉæEÝüÎ]P»¹XKÐI½Þ¥oE<_¹(„EP±Œ|mÇÁ¡‘Ý,ŠÓ©ººZ±Îߺ§×kÝ,kÍMš`Äø…jzeU»æ ™Át3ÓÀ½˜6—ÒöùË·r¨¹Ñ}““wö:Χùë¼ ¿|‚TܵÉQˆKßç_ÁâÀ™œ”pÑÐóໃ¼Ydâ0!®àa –øöçW$ÃÁ‘Á$/\¬$ð 2ÞímÞLH‹Ÿ èd£HVÜ,:ò½»RÍZšJ­a„z*>‹_…NT(ù‚^SVF­U¹8ñEþôñ܈óùnd;«®8™\C]ø=Èêm¬Æ:‚´ÆbãDd=Áãßžˆ‹UU5O‹|]þð®Pèêv‰á\]2ßìÿ"yÈ[ïyʧz£g{Y«{„Ùø5©ÿ;w{N3é­nâĨw§Á¢ÍK¢Ý­ûÏ29Id¿’ì y)ìPÞò8ŒÅ©¯‰±@mPÔñwjl,6 áhWÕ˜d öà uõmÁp®.™á£Ç…twöR x­BδYcŒxg*vo  yò‘•“[¬?ÜVœ˜0ÒN¡O난~Žó’¯·h#´Hkýœ±8kÓß^Àq@]àÓ“ø,56´¯÷Í-κU»n…[>]@nîøÏœp›[œ6# €4tën¯:ŽÒþ}…—8äT9_žY$/´G’K™©ù†•(óÑ’Mø©`ŸÉdѺ;ùO‹B Ó&P{qöhJÉ+Úé–§¦l2«MïöÝ_1ÑÓ«’t¸½±l€ëØya ¦ô©«®½ÆL^¬žêñš¸ùy.¾Û½Š[ u/]½‹iS}øN>²e1™q‡jfÚ&¢©iT\=kÏ›ÀXô-.84V5ðu!TE˜ þ.ŒOH´¶4—zwTr.ï‰¦Ë xõµ·œÖ„HÆù£žÈHùg Ñhñ’T$ßyq¸zþ¨p¿´ë< q•ró÷š‰wÿÍÑð–I]´–æI²é²˜sÂ"×:Õ–bÕ¦“ÈÙL6¢9VÊÓWž§<æ;”3?ý©Mê3AV#µ±ËÞ¯‘ž K£UrÝ9!›qát¦H£Ù+6ÇV…/TS^pÃùqgLP'Ú5E ‚–ÀÞºîÄ Ën"2|Ÿ;®W»Îý"Ö¬TwÖâµtúŽO'› á+W Ã+¦âZÌ–<ÕÆ&nOÝ,IŠ£06.ÁZ.Çñúøh*INÚ’Oe½ÉgBXÐÔZóäøä9èü“hÒíDSš¥¡Ê µA¯/Ôc¸ö“`A§¯"zå|‘ €ÅŸ¨ú;HÍ#‚Î|%ÄOˆƒ«OàÌÉÐÜD ž mÜðâc–ƤÉÂqm¶uË&~÷núÒË £ÇÏ€ZÕj =«_n[‡‡÷nN§ÏÝ$_¾bE˜‚€Õ)ù8¾?6‘lú“ÍÙæÖ}#bW( œ³d-®•p&¡ý’œÖa”"9öõņÐ$’Ú›AÜ!ä;ÐÑõè{~á¹8‘ÛÞ£1ÛÓÉ0ž`²#´kÒuäNÅÖ Q¹bhæ ”8ûÓMáŽa›•¿”w±h²¢®qŠæ°(bK ‚’Z¾Ò%ÐÆémáãÖË(Éý‚ÛJ)@> þ›7% ï{y Á“¾ÆÒîohfòô>{pÿ.­_Î%±ÉèägëlZØ\B2B #™¸ÚüÒºp‚hÝšü®[¥Ü<‹#SpñÌA7’ãØHƒt4:Ÿ|g¨tÓL¶*($Æ©»ì…®ù’ó÷$;b›ÔÙ`=¶£¦M„MÌÄ5ò«·Ç¾“H·ÌH.¼žHeAîº5}r­dõ¨±)ÀT};€Q5iÖ2…O0ü…0óñÃ;óæ,Š´²µ냔}g‘£]‹7å9ˆà©_{üèîêžC>úhê{Ž .ÈìðIIð€?[Kswz6Òuíý¬;µ€ç§OåâJÉa˶zv°éd† ¤µâ‚l´é舊«Åüy¾c÷ÁèÖÍ'ràúÅ™TWÕôÓ°¡L €|ʽŒ¼ì­høBã ÝTëî'ò]Kø£ìâÏ(=¹Kx €¿ LÌ,Pý¤Êµu‡¹…׈ §Å¾÷à1Ý«Äý;¿pGDäxZYÛ kfæ6¸ùóæ7®œ®þ6·ÕoÚ¾ÔH~ò®Þ¸â 8Uø“p<ºw3¡a£ÏÑ’‘3èÏ"€bˆ-ÎܺÏ_ªÅ]+ËM©zü°s“f-êçhÇãÑýÊãôÿ5}ZQNb{Ó?å%ÿ\SUõعIÓæ}~}p[œoÔÄ„êÐMMZáNÅå@>Œ„²á6(?¡Åé âK½+ü?À%ÝÝ·/Ç1‚9áUø?B)”ÕèâÞlÈÒêÏ @=àùÄÞžk­®ÅIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/dynsections.js000066400000000000000000000056471255273444100237700ustar00rootroot00000000000000function toggleVisibility(linkObj) { var base = $(linkObj).attr('id'); var summary = $('#'+base+'-summary'); var content = $('#'+base+'-content'); var trigger = $('#'+base+'-trigger'); var src=$(trigger).attr('src'); if (content.is(':visible')===true) { content.hide(); summary.show(); $(linkObj).addClass('closed').removeClass('opened'); $(trigger).attr('src',src.substring(0,src.length-8)+'closed.png'); } else { content.show(); summary.hide(); $(linkObj).removeClass('closed').addClass('opened'); $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); } return false; } function updateStripes() { $('table.directory tr'). removeClass('even').filter(':visible:even').addClass('even'); } function toggleLevel(level) { $('table.directory tr').each(function(){ var l = this.id.split('_').length-1; var i = $('#img'+this.id.substring(3)); var a = $('#arr'+this.id.substring(3)); if (l QuaZIP: QuaZip FAQ
QuaZIP  quazip-0-7
QuaZip FAQ

Q. Is there any way to use QuaZipFile in Qt where you are supposed to use normal (non-zipped) file, but not through QIODevice API?

A. Usually not. For example, if you are passing file name to some database driver (like SQLite), Qt usually just passes this name down to the 3rd-party library, which is usually does not know anything about QIODevice and therefore there is no way to pass QuaZipFile as normal file. However, if we are talking about some place where you pass file name, and then indirectly use QFile to open it, then it is a good idea to make overloaded method, which accepts a QIODevice pointer. Then you would be able to pass QuaZipFile as well as many other nice things such as QBuffer or QProcess.

Q. Can QuaZIP handle files larger than 4GB? What about zip64 standard?

A. Starting with version 0.6, QuaZIP uses Minizip 1.1 with zip64 support which should handle large files perfectly. The zip64 support in Minizip looks like it's not 100% conforming to the standard, but 3rd party tools seem to have no problem with the resulting archives.

Q. Can QuaZIP write archives to a sequential QIODevice like QTcpSocket?

A. Not yet. It is not supported by vanilla Minizip (the back-end QuaZIP uses), although theoretically possible according to the ZIP standard. It would require some Minizip modifications that would allow it to detect non-seekable I/O and produce necessary output structures. QuaZIP already writes data descriptor which is necessary for non-seekable I/O. The only thing that is apparently left is to make Minizip fill local headers with correct values and forget about seeking after closing the file.

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/files.html000066400000000000000000000144661255273444100230570ustar00rootroot00000000000000 QuaZIP: File List
File List
Here is a list of all documented files with brief descriptions:
[detail level 12]
\-quazip
 o*JlCompress.h
 o*quaadler32.h
 o*quachecksum32.h
 o*quacrc32.h
 o*quagzipfile.h
 o*quaziodevice.h
 o*quazip.h
 o*quazip_global.h
 o*quazipdir.h
 o*quazipfile.h
 o*quazipfileinfo.h
 \*quazipnewinfo.h
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2blank.png000066400000000000000000000001261255273444100234520ustar00rootroot00000000000000‰PNG  IHDRɪ|IDATxíݱðøScOx@ –¨y}IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2cl.png000066400000000000000000000007051255273444100227640ustar00rootroot00000000000000‰PNG  IHDRÚ}\ˆŒIDATxíÝ;H#AÇño4Љႇ œ„K‰‡‚á ’ê,m„ØØ vÚžJ°²¹ÚÎþî‚§ XY ÅB|dr³cvo—˜Ä°Ý ù0Ã’™3ÿͤõ”Ëe×´¸Éõ¯1XÞ8Œ‰nQˆ88ööÖ§3*rbñ¯¢û-$¨‚þ´˜“P1Žè@Z…-# Ïú01ÑÏÎêÄ1HkKŸ w¶O@¥ªÈóñ!f§ñu˜åác÷;’sá×Bý[E´Añ±—Í\ß>°ùý¿ÏËÊÂ]–P€zØf| Íñ¯“+Ù´gð5…b  i5ümM³œ_æÍq,ÒcŽõèoÓd´ !¶äò©ô•,ôðÀ{¹¨µYß,€zTÍ8H]𤕘ï7¼»/òó8ËQæ !F€~6ãá?Y ÀA@ŨÁ.@ƒ¶TäÄYïŠËë±r‘µ8Ð*·é>€Šçÿ?€×þŸe[6«xÂIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2doc.png000066400000000000000000000013521255273444100231320ustar00rootroot00000000000000‰PNG  IHDRÚ}\ˆ±IDATxíMOS[…Ÿžsúa?-XZ(PD4‚ AWbu`b 77wäHFÆCËÔÂÿà/`vo„ˆAPòq‹P @ ­ûÝè980 îà¤+»§Ýy×^ïZï9SW¹\83g‰3'°Nâçl¹¸_b¯p ïåûÆVÜÖ¡€Ÿ×"¬Ö†X€d]Ðà3“ÉÃÄÌ™xŸ ßMàœ[<çSPkvc—hÈ'…™˜^Åm™hØ7 `Û™¦ èÀåráq›‘œ¾!daeKŸþÆÕ˜:Ì*³_דâèi?I–eP*B7Ÿ¿åô!¹Ýgr6Ër6oKbëþãðôrI”ËTˆüªŒ¨xóö=›ù¢&‰(e+ßóÄkýÇ`ëÁÜb.“¸ÐW×w0¥°jÑzN™¬|©WEãµ¢a¯6[öX†AkÓù*/œ¨‰€ÉY­ ÿV’§–u²jÂ>1W *½·°PGŽzÿ¨/Eg{ ŸÇâaoŠÁVú:è¿™¤1$ôR§W,–ªà¨@ŠË56¾ÀÔÜ-¾,mê¸Î/æè¹– òr5¥T*S(Vf8ö9u’ Õ£w›ùóa=Í<{Ò¡UŒ÷r¯+ÉådDÏF$è°…£é¿`zþ»ÎúöN‘µÜ®0Q3£~_^Ëóâ¯N=ˆvpTà±LžT}ˆîkq†Òm<¼ÎÓ?Zh¿X£ï_þÝ¥[)ƒ `gêÃa_Ô*äÔ2`'=õ´Fÿ2EâÁPú ÷»›l=8‹Wv°%THqÉ¿<"¤ïG¾ÆxH{#ÆÖ«aÔJÕÞ‡—m‹„ çñKsÿàñVŠØ¡°·MâÒ^ TÁ– Ý›r¥ß½ømüÿ_™?ªWİ÷#uIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2folderclosed.png000066400000000000000000000011501255273444100250260ustar00rootroot00000000000000‰PNG  IHDRÚ}\ˆ/IDATxí]MOÔ@~ÚúuØlp]ö¿#›Å]PYECˆ\9ù¼yÑß`ÖÄÿàÿÀÉxóâ¢C &=qÐÄ£—vZçv¶3m؃‡vžLûNç}Þ÷}Þ½ZA@n° OäNp ’xóþK°ññ€xÜj”°8sÑ€“ “€œ_¼[Âíæ§ïD'‚•yye+ø¼û 7#rNŸlïük* ¾0Ь_d«_(àñÖ±àôz=ñxõv§÷h©‰z¹€šØP-äóä’̪uý¼$»\DãJc—B4¯ãÝÖ.:£Ï-ÑÏß}µŠLEíºþ #—ûáºÀÏgN;BŠ€6ïýñ䬜…ö@’Ðåñp&™h>p9¤™EEά¨ÎÊ‘" u¥n€$R"?{¹<˜…ë…%PNtâ$‰ß¶±úá+^<é"§2 ªDq”q´\¬«Ò™a–Œ‘©Aÿ€"Ôµ ™êŸèP£}#Eàz{û.8i îp³ê(ADwD¦E<ê¬cE¦$ HdÊÄ ”.:Ù GŽ-`ŒL‚ý¾'¢‰Ä<¤CIª½;ÙÇTZd±i};>èôß‚z×;K×§8t ¤Ž q”:uvÿv•Ý›¬²ÙvEân{„M·FXg¼ÌfZÖ¨°¹‰*›ßÌß©±ù©:›j–YqèÜë#3çÏSøWøÿÿÑr'ø Ôùù‚ ©¡IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2folderopen.png000066400000000000000000000011251255273444100245200ustar00rootroot00000000000000‰PNG  IHDRÚ}\ˆIDATxí]?oÓPÿ9iš4i°;ii“¶‰ZЉ‘‰ÀÀ7`bèÔÙ¬Øù,HìU'ô$*Tµ]‚T¡DPÚÄ6wÏ}‰;¡C; a¿ÓߟûÝïîž¼jAÀ­InSþ}€9H“ÓŽ|?íÁ÷ =_ÊÆŠ­†¥Àue*;¯YEäsYäæB¢Ÿ¿þÄ—£sÙ½½ÙŒ† É«›©ÀYÇq !GÇ¿v̇¹ÑØ®š °Œ‚ÔF¹}q¥b]÷7í·0)Úd›¾ÿð-èº}Pfä£ÖY{4™ÑÂ@}úæôñ2ÛüÔ—ñúåNŒI‚ÁǃcçÁº%£¬UаI³mc±ô˜å¼ÔÆüÈ>é¸xþt9Æ$µý OæVE*õU´Ì‚ç#ž×ˆ•ïûr@l$øPÿrHaaÇ¥ ²›dZ®rè‘ãqI„o¼øT\Ž,tªj2FAxv-LŸp׌p TÄI/ \¥sfí½; jViTƒèú¤o^cpÅü¼ûû»Ïb]”€¢¤<†aþÕœ²“ßÓ˜y“£§9:Œîù+À³€ñà,E žf³6éNˆÄE£KU}Ü^;¶ØnZ¢uß­US4— ѬëbížN¶.Úk¦ØjTÄöº%µªâ i¯VÄÊÝò§™ Èù¸)ùÿG€™òºJ@T x”IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2lastnode.png000066400000000000000000000001261255273444100241740ustar00rootroot00000000000000‰PNG  IHDRɪ|IDATxíݱðøScOx@ –¨y}IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2link.png000066400000000000000000000013521255273444100233220ustar00rootroot00000000000000‰PNG  IHDRÚ}\ˆ±IDATxíMOS[…Ÿžsúa?-XZ(PD4‚ AWbu`b 77wäHFÆCËÔÂÿà/`vo„ˆAPòq‹P @ ­ûÝè980 îà¤+»§Ýy×^ïZï9SW¹\83g‰3'°Nâçl¹¸_b¯p ïåûÆVÜÖ¡€Ÿ×"¬Ö†X€d]Ðà3“ÉÃÄÌ™xŸ ßMàœ[<çSPkvc—hÈ'…™˜^Åm™hØ7 `Û™¦ èÀåráq›‘œ¾!daeKŸþÆÕ˜:Ì*³_דâèi?I–eP*B7Ÿ¿åô!¹Ýgr6Ër6oKbëþãðôrI”ËTˆüªŒ¨xóö=›ù¢&‰(e+ßóÄkýÇ`ëÁÜb.“¸ÐW×w0¥°jÑzN™¬|©WEãµ¢a¯6[öX†AkÓù*/œ¨‰€ÉY­ ÿV’§–u²jÂ>1W *½·°PGŽzÿ¨/Eg{ ŸÇâaoŠÁVú:è¿™¤1$ôR§W,–ªà¨@ŠË56¾ÀÔÜ-¾,mê¸Î/æè¹– òr5¥T*S(Vf8ö9u’ Õ£w›ùóa=Í<{Ò¡UŒ÷r¯+ÉådDÏF$è°…£é¿`zþ»ÎúöN‘µÜ®0Q3£~_^Ëóâ¯N=ˆvpTà±LžT}ˆîkq†Òm<¼ÎÓ?Zh¿X£ï_þÝ¥[)ƒ `gêÃa_Ô*äÔ2`'=õ´Fÿ2EâÁPú ÷»›l=8‹Wv°%THqÉ¿<"¤ïG¾ÆxH{#ÆÖ«aÔJÕÞ‡—m‹„ çñKsÿàñVŠØ¡°·MâÒ^ TÁ– Ý›r¥ß½ømüÿ_™?ªWİ÷#uIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2mlastnode.png000066400000000000000000000003661255273444100243570ustar00rootroot00000000000000‰PNG  IHDRɪ|½IDATxíÝ!NAÅñ¤‡à\ ÷à Um@`Ô5iÒ`ëh ‚ÅW7] b§ÝˆŠ&oföÍd¾YÔ4 üšcø ‡€´‹Åòù3v=¼]†§µ\B… I¿‹=B·™B¡®;¸k´µ W°ÍN@vyÍÑÖ4ãß÷]ÈâYìã§|M}]ÔÚx6a }ôdׇØYüú¨>¤||5?Ó>|žB"¡î'¡IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2mnode.png000066400000000000000000000003661255273444100234730ustar00rootroot00000000000000‰PNG  IHDRɪ|½IDATxíÝ!NAÅñ¤‡à\ ÷à Um@`Ô5iÒ`ëh ‚ÅW7] b§ÝˆŠ&oföÍd¾YÔ4 üšcø ‡€´‹Åòù3v=¼]†§µ\B… I¿‹=B·™B¡®;¸k´µ W°ÍN@vyÍÑÖ4ãß÷]ÈâYìã§|M}]ÔÚx6a }ôdׇØYüú¨>¤||5?Ó>|žB"¡î'¡IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2mo.png000066400000000000000000000006231255273444100230000ustar00rootroot00000000000000‰PNG  IHDRÚ}\ˆZIDATxí1Kû@ÆiƒØB…Ò¡(h¬"EÄI'ÁoàªèÚ©ßÀáâä 8ùçR-‚â B«TPˆï]z¥B’3 _Þã’»ç}ŸË]VÇ÷}€ÌÈdIæ®i쟯JØ–b¸šÍÃõ+º™|KÂ…°,[Pï\ʘMÆ¢#€ä…F`JݤìÛk³úA±àþè?ØY4ck6"¹Z)ê¸0SHM¨@ï㋺WÖmo¼4èHJ¨Àÿö+…QobŒút ¤ú’*Ð~êè8_+3Y-ñðÜå½÷ ˜PwA¶+^ý}ºì£+xìhÏ•MAE]€TD~EÞߴ^R)`ÖAùŸÏ9©pÔq-Û¾õÛ3tÝÊÆ›ˆÃTÐHÈ)€ ½Š’ICªxëd#1ôú§é€ m@Vüý?Zæßgo_½3-³\IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2node.png000066400000000000000000000001261255273444100233100ustar00rootroot00000000000000‰PNG  IHDRɪ|IDATxíݱðøScOx@ –¨y}IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2ns.png000066400000000000000000000006041255273444100230040ustar00rootroot00000000000000‰PNG  IHDRÚ}\ˆKIDATxíÝ1K1Àñ­ž ØG•â‚n‚Šà ‚âælÁE¿€‹“ (nºêââêäࢋƒÐMAá@°‹ µât¾ÄK¡à%Ü•Û ý]BIïå%áuÍ…a™€,e × v¯ç¥«ˆi‹º¨Õö–î\tòòuénÄ0ã æÜÉoV\Ì$G.&@Y=ÆË%$um·¢ûÛ6–'Úß«9Qó\bÙ)²º0Ðë-Zœ¥TèHÍ`pÀcsm µö5:>Áë‡Þ¦I µØ ‚F‹Çà]» ›jg—ìoÏáõ©[ œõ š­onë €Ô¬¨vqõ„?\Ðç”  6»øüÒTe ÃÉéŸeç ÀÅlQ ¡c”€ª¬ü3*d€ÅWTMÏ\rÿÿh6™ø1±F ‹°fžIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2plastnode.png000066400000000000000000000003451255273444100243570ustar00rootroot00000000000000‰PNG  IHDRɪ|¬IDATxí=QF‘Ø¥D«ÔkÄ:‰F©PK؃=V@§Õ³ Õ8SHxñÌ0bnrróŠ{ò½¿¾’$ ÀÏTŠP  ö¼X¬OÛd6êìòð"°²S´±O¥B€(¡àQé)š+YĈ ÒªËRÉÐ>VtÉsˆm9(ê„䜥k‚-@ȧ-Ü$ó b Ò[he ¿Kp-ôl|CùÿApRG'rÍ­aIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2pnode.png000066400000000000000000000003451255273444100234730ustar00rootroot00000000000000‰PNG  IHDRɪ|¬IDATxí=QF‘Ø¥D«ÔkÄ:‰F©PK؃=V@§Õ³ Õ8SHxñÌ0bnrróŠ{ò½¿¾’$ ÀÏTŠP  ö¼X¬OÛd6êìòð"°²S´±O¥B€(¡àQé)š+YĈ ÒªËRÉÐ>VtÉsˆm9(ê„䜥k‚-@ȧ-Ü$ó b Ò[he ¿Kp-ôl|CùÿApRG'rÍ­aIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2splitbar.png000066400000000000000000000004721255273444100242070ustar00rootroot00000000000000‰PNG  IHDRM¸¿IDATxíÝ¡JCa‡ñç(˜ ëƒ%±Ø4 b±È˜Í¶3˜v^Á±˜…ãó–ŽELƒõ…¥•³ ,ÿb;íç{Ã/¼ðÞÀaYÕ¯åóøq:¼º¹›\òIIIIIIIIIIIIIIIIII-Òçl¹›«õ抢è_t/Ï»ã£ÑíYQVõðêäíã÷´×ùY¬Úÿµ§¦ivók¾_íåýÛ£I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$I@$ýC[Vì=ü[„fÆIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/ftv2vertline.png000066400000000000000000000001261255273444100242130ustar00rootroot00000000000000‰PNG  IHDRɪ|IDATxíݱðøScOx@ –¨y}IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions.html000066400000000000000000000105071255273444100237550ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- a -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_b.html000066400000000000000000000105201255273444100242510ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- b -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_c.html000066400000000000000000000164271255273444100242660ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- c -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_d.html000066400000000000000000000115701255273444100242610ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- d -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_e.html000066400000000000000000000134401255273444100242600ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- e -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_enum.html000066400000000000000000000054511255273444100250030ustar00rootroot00000000000000 QuaZIP: Class Members - Enumerations
 
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_eval.html000066400000000000000000000073161255273444100247700ustar00rootroot00000000000000 QuaZIP: Class Members - Enumerator
 
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_f.html000066400000000000000000000115501255273444100242610ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- f -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_func.html000066400000000000000000000500361255273444100247710ustar00rootroot00000000000000 QuaZIP: Class Members - Functions
 

- a -

- b -

- c -

- d -

- e -

- f -

- g -

- h -

- i -

- n -

- o -

- p -

- q -

- r -

- s -

- t -

- u -

- v -

- w -

- ~ -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_g.html000066400000000000000000000173551255273444100242730ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- g -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_h.html000066400000000000000000000105101255273444100242560ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- h -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_i.html000066400000000000000000000127731255273444100242740ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- i -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_m.html000066400000000000000000000125341255273444100242730ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- m -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_n.html000066400000000000000000000112161255273444100242700ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- n -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_o.html000066400000000000000000000120421255273444100242670ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- o -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_p.html000066400000000000000000000106611255273444100242750ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- p -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_q.html000066400000000000000000000116241255273444100242760ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- q -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_r.html000066400000000000000000000116551255273444100243030ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- r -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_s.html000066400000000000000000000166171255273444100243070ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- s -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_t.html000066400000000000000000000105371255273444100243030ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- t -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_u.html000066400000000000000000000120711255273444100242770ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- u -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_v.html000066400000000000000000000117241255273444100243040ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- v -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_vars.html000066400000000000000000000175651255273444100250230ustar00rootroot00000000000000 QuaZIP: Class Members - Variables
 

- c -

- d -

- e -

- f -

- i -

- m -

- n -

- u -

- v -

- z -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_w.html000066400000000000000000000110131255273444100242740ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- w -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_z.html000066400000000000000000000105171255273444100243070ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- z -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/functions_~.html000066400000000000000000000114331255273444100243110ustar00rootroot00000000000000 QuaZIP: Class Members
Here is a list of all documented class members with links to the class documentation for each member:

- ~ -

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/graph_legend.html000066400000000000000000000137161255273444100243710ustar00rootroot00000000000000 QuaZIP: Graph Legend
QuaZIP  quazip-0-7
Graph Legend

This page explains how to interpret the graphs that are generated by doxygen.

Consider the following example:

/*! Invisible class because of truncation */
class Invisible { };
/*! Truncated class, inheritance relation is hidden */
class Truncated : public Invisible { };
/* Class not documented with doxygen comments */
class Undocumented { };
/*! Class that is inherited using public inheritance */
class PublicBase : public Truncated { };
/*! A template class */
template<class T> class Templ { };
/*! Class that is inherited using protected inheritance */
class ProtectedBase { };
/*! Class that is inherited using private inheritance */
class PrivateBase { };
/*! Class that is used by the Inherited class */
class Used { };
/*! Super class that inherits a number of other classes */
class Inherited : public PublicBase,
protected ProtectedBase,
private PrivateBase,
public Undocumented,
public Templ<int>
{
private:
Used *m_usedClass;
};

This will result in the following graph:

The boxes in the above graph have the following meaning:

  • A filled gray box represents the struct or class for which the graph is generated.
  • A box with a black border denotes a documented struct or class.
  • A box with a grey border denotes an undocumented struct or class.
  • A box with a red border denotes a documented struct or class forwhich not all inheritance/containment relations are shown. A graph is truncated if it does not fit within the specified boundaries.

The arrows have the following meaning:

  • A dark blue arrow is used to visualize a public inheritance relation between two classes.
  • A dark green arrow is used for protected inheritance.
  • A dark red arrow is used for private inheritance.
  • A purple dashed arrow is used if a class is contained or used by another class. The arrow is labeled with the variable(s) through which the pointed class or struct is accessible.
  • A yellow dashed arrow denotes a relation between a template instance and the template class it was instantiated from. The arrow is labeled with the template parameters of the instance.
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/graph_legend.md5000066400000000000000000000000401255273444100240740ustar00rootroot00000000000000387ff8eb65306fa251338d3c9bd7bfffmerkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/graph_legend.png000066400000000000000000000466371255273444100242210ustar00rootroot00000000000000‰PNG  IHDR«ÛJ¦ØbKGDÿÿÿ ½§“ IDATxœìÝy\TåþðÏ ²*  ‹("ˆš»¸€f@êÕ[Zbj–vÝZÔ,—ÌÊnéÏ53KÓ›v]s+—R PÄAEPYdg˜åûûƒ˜+² 8Ùïûõâ¥gæÌ9ßsž³|ç™ç<ˆˆŒ1ÆcŒéžÃb¡#`Œ1Æc¬6œ¬2ÆcŒ1ÅÉ*cŒ1ÆÓYœ¬2ÆcŒ1e¨Ö\?ÿ lÛ¦åPš©V­€Í›gg¡#aŒ1ÖÍ›7·oß:ŒÁÓÓ›6m:ŒfG¤VoÀÅ‹À AMR3sø0pð`Å>dŒ1Æš˜H$‚··7œœœ„¥YKKKCTT¸“%;¬^Í*P‘¨:¤ÅXš)‘HècŒµp ,@ WšhÕ¡C‡0qâD¡Ãh–¸Í*cŒ1ÆÓYœ¬2ÆcŒ1ÅÉ*cŒ1ÆÓYœ¬2ÆcŒ1¥ñdõÀ‰Dµþ]¿~]Ó«lR‰‰‰ñCSŒ1Æš!]¸‡?Ë}Vâgš§~ojz饗‘‘HNNÆàÁƒUÓжm[M¯²A’’’0`Àdgg cŒ1¦ktý^}ŸÕLãɪ‰‰ LLLEEE€öíÛkz5¦T*‘““#tŒ1ƘÎÑõ{x}ô=~V³&o³ZY½ gggìܹ³JuÿÓÕÿ"‘ûö탧§'Ú´iƒµk×är9–/_gggØÚÚâ7ÞÀãÇUŸ;qâz÷î SSSØÛÛcõêÕoooU^™L†E‹¡]»v°³³Ã¢E‹ “É P(°nÝ:¸»»ÃÜÜC† Á¥K—´ºcŒ1]VÛ=¨¸gÿøãðôô„­­-V¯^={öÀÕÕ–––øôÓOüï^„®]»ÂÎÎóæÍƒT*U+†G¡¤¤ä™·ESËaÚ%ØV_}õvíÚ…Þ½{×;ïÑ£GqñâE¬]»K–,Ann.6n܈_~ù'OžÄ¹sç•+W ñÊ+¯ OŸ>HHHÀúõë±téRû ›6mÂúõë±fÍÄÇÇcÙ²eX¼x±vvcŒ1¦j»gV ÁåË—±zõj,]º'Nœ@LL Ö­[‡+VTùusË–-8qâŽ?Žßÿ]U±T›+W®`Ú´iðòòB~~þ3oË7àêêŠÅ‹#99ù™—Ç´„Ô1aBÅ_%$$ÐÓ«¨|-&&¦Æyžž@çÎ#"¢òòr@ ÔµkW:räˆj¾[·n©¦¥R)ݾ}›ŠŠŠH¡PPXX˜ês5ÅäááAªéàà`êÕ«¹»»ÓÎ;«Ì»k×®jŸ¯@tð úó3Æc€6â>TÓý’¨ö{f庢££‰è÷ì§§Ÿ¼WæDD$77·jë---¥Ý»wÓ€¨wïÞ´mÛ6*,,ltüO»ÿ>-_¾œiìØ±túôiR(õ~îilX~ÀÔuHãmVÕåááQãëTغ‰D¢z-55]ºtQM{zzÂÓÓ`dd„øøxÌœ9EEEõÖÞ¦¤¤ÀÞÞ¾Êk–––(//G¯^½ª¼Þ³gÏ:—ÅcŒ5gµÝ3+™››øß=ûéé'=y÷ðð@zzz•÷CBB0eÊŒ5 ß~û-ú÷ï¯ñyðùçŸcÙ²e8zô(¾üòKÌ;!!!prrÒèºXãÖ àéƒV.—îß¿_m^±¸z˜HIIQM_¿~]Õ  ´´X´h¢££±eË–:c±±±ABBˆD„¼¼Æc¬9ªížÙ ªÿÇÇÇ«*§*ÙÚÚ¢[·nˆŒŒÄ… ª<›¢i™™™ˆ‹‹Czz:úôé£zP‹ OðA¬¬¬»wïFAA6mÚ¤Öç¦NŠeË–!66±±±xï½÷šš J¥(//‡‘‘JKK±|ùrmY+U>%ãÇÇÒ¥K‘ššŠ˜˜Œ9›7oÆœ9s°hÑ"ááÇ8uêT•v9Œ1ÆXKSÛ=³1æÏŸÄÄD\¹rü1^ýõ*ï?÷Üs8wîŽ9‚;wîÀÝÝ3fÌÀµk×4±)P*•8sæ Æooo.\¸€ýû÷ÃÆÆF#ë` Vk-´Y}ÒŠ+ÈÊÊŠ:wîLAAAÕÚ¬&$$T›.++£… ’ƒƒYZZÒ¤I“(//O5߆ ¨M›6äääD[¶l¡I“&‘Éd2:t(™™™©æ-(( éÓ§“µµ5µmÛ–fÍšEÅÅÅ$—ËiݺuäææF­[·¦AƒQTT·YeŒ1¦7 á6«µÝ3+×UÓ=ûééÊeoß¾\\\ÈÆÆ†æÎK¥¥¥u¶5ÍËË£ 6PçÎ)%%¥Qñ?éçŸ&oooÚ·oI¥Ò:ç­·YÕšC"¢‰>-0°âßC‡4+7"pðàÿö!cŒ1Ö„D"<ˆ@º%&&¢K—.5>§¢¥R ¥R CÃg{ôF&“ÕØ–¶1:„‰'6z›X­ ö€cŒ1ÆXcˆÅâŸgi(M%ªL»o³ÊcŒ±–ųgÏ: ¦'8YeŒ1ÆX“²³³ÃÖ­[…ƒé NVcŒ1ƘÎâd•1ÆcŒé,NVcŒ1ƘÎâd•1ÆcŒé,õ»®JJþó-†Ò8D„ìbl͸.Æc¬&¡¡¡ZªTÓ$")@FÆG¢>MªÅªS/Ãsrt°›‰ “®Xhé‡èÌí° ©ÐáTg`tè tŒ1ÆZ('''üG+›êô!^Ú t$ ãìì,tÍ’z#Xé°W_Ý‚ÈȬ_?“'{ cŒ1ÆžEYpÄÿ0¶:"&¬ÃzÝf5'§—.%B$~ù…«ßcŒ1½—þkE¢ iG …é½NV uæ cŒ1ÆžEÒNJ€”ÿŸµtz¬>|JeE+1Ž».pDŒ1Æk´â û@€€ì¨Š×X‹¦·ÉjjjnÞ¼Ê&· …‡_8*ÆcŒ5Zê!@üijßbCàÞaáâa:Ao“Õ  ?ah(RMââî#)é‘€Q1Æc¬Ñ’wJÙÿ¦•2 i—pñ0 ·Éê— “)«¼&‘üÝŽ•1Æcz%?È¿UËëqMÓz™¬Þ¾ý))ÙÕ^—ÉÜ€1ÆÓG©±Qõ×ÅF@êÁ¦‡é ½LVý5‰A復æ 6ö~GÄcŒ±Æ£ŠŸû•åÕßR–ÿÝ+€^w ÏžÞ%«D„C‡®@&SÔø>7`Œ1ÆôLΠ$­ö÷KÒ€œ«MÓ)z—¬^»–‚¬¬‚Z߯l PÙ¥cŒ1Æt\êþš›TUÌÃZ$½KVýõOÖÜ Ò£G…¸|9©‰"bŒ1ÆX£‘HÚSs€JÊr yOż¬ÅÑ»dõøñ?¡TŒŒ kýDøí·¡CeŒ1ÆX}²/å9€HˆkþIivÅ ¬Å1¬ݲté?›[¬š¾w/çÏ'`òdï*ó Щ©CcŒ1ÆXCYx½VW}-3´âßv/<5oצ‰‰éU¥§Ž»Ž9sváÁƒ¯……1Æcšp>°âß¡‡„ƒé‚Ãz× €1ÆcŒµœ¬2ÆcŒ1ÅÉ*cŒ1ÆÓYœ¬2ÆcŒ1ÅÉ*cŒ1ÆÓYœ¬2ÆcŒ1¥wý¬2Æc¬™ëþ©Ð0ÂÉ*cŒ1Æt‹U¡#`:„›0ÆcŒ1ÅÉ*cŒ1ÆÓYœ¬2ÆcLï%&&B$ ÓNVcŒ1¦÷¬¬¬°dÉ’zçKJJ‚MDÄ4…“UÆcŒé=¬^½ºÞù”J%rrrš "¦)œ¬2ÆcLoÿüs$%%aêÔ©øòË/áé鉴´´-‡i'«Œ1ÆÓ9¶VÆèÖ­"##qáÂ<~ü¸ÁË‹Ÿ-ÍÉÌÌD\\ÒÓÓѧO˜˜˜<ÓòXãp²ÊcŒ1óœ›Î;‡#GŽàÎ;pwwÇŒ3píÚ5,¿¨¨¨Æ×•J%Μ9ƒqãÆÁÛÛD„ .`ÿþýÜå•@8YeŒ1ƘÎêÞ½;¶nÝŠ„„xyyaâĉHMMmôò:v숡C‡ÖÚîõ×_ÅòåË1aÂ$%%áßÿþ·ª9†ˆˆHè žÅ±c×1gÎ.Ó'''tîÜYkË_¼x1Ö­[§µåk['»Š“²DÂò ´yþë{ùÖ¦¶ü¨Z²zÿþ}”——ãСCMXKsñâE|ýõ×Z]—¡~ Äýû÷µºŽ””,X°ƒ ÒêzØÿlذAë_ÊÊÊ`aa'''­®‡iVZZÊÊÊ´ºŽ””x{{ãƒ>ÐêzXÍ´}þ7Çò­+?ªµÍê„ ´PKFDM¶..Cö$ooo>&šÐáÇ›d=ÆÆÆ°µµm’u1ÍÈÊÊj’õ899ñ9/¦8ÿ›[ùÖ•q›UÆcŒ1¦³8YeŒ1Æc:‹“UÆcŒ1¦³8YeŒ1Æc:K#ɪH$ªògii‰1cÆ 99¹ÞÏ&&&B$ª¹kŠ'ß«k¾úâ±¶¶F`` =z¤þFµ0ÏR†ºêÉc†‰†ièñÐóS[1r™ÖO$!11Qí×Õ!DÙë’æ²ý¨vN=ùwýúu­Çð,û²¹”ƒ6iãü¯‹&ËDc5«‘‘‘ÈÈÈÀƒ¥R‰×_]S‹‡••–,YÒ¨x‚ƒƒ‘žžŽ¹sçj,žæHSe˜””›gŽGSË©ÄÇDÃ4äxhèùY“Æ”7—){Vš¾Îè«—^z ÈÈÈ@dd$¨¦322àåå%p„uS÷Äå­Ÿ46ܪ­­-Ú·o°··Ç?üGGGÀÂÂâ™—occƒÕ«W7:ž5kÖ`ìØ±ÏGs¦©2T*•ÈÉÉyæx4µœJ|L4LCއ†žŸ5iLys™²g¥é댾211‰‰  ¨¨Tç–>P÷Äå­Ÿ´ÖfÕÀÀ —Ë«U×T5¼oß>tîܶ¶¶xûí·QRRRåý'?#—˱|ùr8;;ÃÖÖo¼ñ?~\o|8}ñÅDDTPP@FFFôÖ[oQzz:íÝ»—PVV‘±±1mݺ•222hÇŽdhhHEEEDD´fÍzå•WèÞ½{C}úô¡>úHí}Õ˜ýÛPÚ,ÃQ£FÑÙ³g©¨¨ˆ¦L™B/¼ðݽ{—bbb¨{÷îôùçŸW+o¢Ú÷[]eÙålذìììèÈ‘#ôàÁ:yò$988¨>¯ËÇ:xð`ƒÊ«¡ºŽ†ׯ_Wíë³³3)•J"" "’Éduî熔wM1êR™M˜0&L˜Ð Ï4Tll,ÅÆÆª=?JHH¨÷uôꫯR^^ýðÀrrrê=Ïj»&4ä<zMš4‰ hûö퀩  €¶mÛF(;;›ˆê?^jÚ&M^gÔÕÐrkŒg9þjÚ'Dõï_uÊ©rÙUîùµÝ;*]¾|™Þ|óM²µµ¥ÔsCÊûIÁÁÁdggG‹-¢¤¤¤†î:mŸÿY¾:çc¯š87êÈ]i,Y}òO"‘аaÃT¯N²S%WW×Z“Õ®]»Ò‘#GTóߺu«ÊôÓñ U÷ùçŸcÙ²e8zô(¾üòKÌ;!!!prrjвtM}çc¯Ú>7š´ŸU¹\¸ÿ~µ÷Tÿ‡‹‹K­Ëqpp@JJŠjúúõëX¹re­ó›ššbæÌ™HKKCVVJKKˆE‹!::[¶lQÍ[ZZ ¥R‰Ã‡#77ÿú׿0vìXäææ¨hÄ"!//QQQjï}WyÒ·k×HJJR½w÷î]tèСÆÏÕ¶ßZ–µ-§cÇŽ¸qãF•yãââj]šQÛM`Ò¤IøùçŸqìØ1ôíÛWucªk?פ!û–Ë´~ÎÎÎÕº¨¹}û6 «Ý„Åâê·‡ºÎ³º® êœçuÝÔU_¹Õ´M YNC¯3Í&Ï‹§ïù•‰e%[[[tëÖ ‘‘‘¸páB½Ï¥ÔDÝò®Mff&âââžžŽ>}ú¨@ÓWêœÿ½6jûÜh’dÕÊÊ °{÷n`Ó¦MÕæùðј˜ˆ+W®àã?Æ´iÓj]ÞÔ©S±lÙ2ÄÆÆ"66ï½÷RSS«ÌóèÑ#<|ø>Ľ{÷°fÍ899ÁÖÖR©ååå022Bii)–/_(,,„H$B@@~ùå ¼¼‰¦¦¦€ñãÇcéÒ¥HMMELL FŽ‰Í›7khOé‰D‚‰'bÞ¼yHNNFll,>ùäL™2E5Oå¥@íûM²Tg9sæÌÁ¢E‹„‡âÔ©Søì³Ïª,‡‰¦€¼¼<,_¾o½õ–êõºös%uÊ»—iÃL›6 sçÎʼn'œœŒÐÐP¼þúëxã7`ll\ïçë:Ïêº&Ôuž«sP׳”›¦®3Í™&Ï‹ùóçW¹ç?Ý-ÞsÏ=‡sçÎáÈ‘#¸sçÜÝÝ1cÆ \»vM›R¥¼Ÿ¤T*qæÌŒ7ÞÞÞ "\¸pû÷ï×û.¯Ô9ÿ{mÔú¹Ñ€6µB-í ž´bÅ ²²²¢Î;SPPPµ¶¨ Ž;’}øá‡$•Jkm³ZVVF .$²´´¤I“&Q^^^•xžü‹ÅÔ³gOŠŠŠRͳaÃjÓ¦ 999Ñ–-[hÒ¤Idgg§Ú;w&###òðð    Õç húôédmmMmÛ¶¥Y³fQqq±ÚûJ—Û¬ÖU†5µóÉÍÍ¥©S§RÛ¶mÉÞÞž,X@¥¥¥$“ÉhèСdff¦š·¶ýVWY6d9r¹œÖ­[GnnnÔºuk4hEEEÕÚfU—Ž èh›Õ†5³fÍ"333UÃüJµí熔weŒºZ¦DºÙfU&“ÑÚµk©k×®ÔªU+êÔ©-[¶¬Ú¶=]þ•Óõgµ]ê»f×v¨+–š¦ë;^júœ&¯3êÒ×6«Ù¿OOW.{ûöíäââB6664wî\*--­³=i^^mذ:wîL)))õÆÜò~ÒÏ?ÿLÞÞÞ´oß>’J¥õì©Úéb›UuÏÿÆ\5qnÔÕfUDTµÁ¡C‡0qâÄZÛ1±gÓû—ËP¿ˆD"tèÖÖQù3›®wØÎªjŠrkŠã¯1Ñ¥K—Fߟ”J%”J% 5öÈM2™¬Ám\k¢íý¯«åû,êÈ]k§´cŒ1Æ4L,?s[Ôºh"Qeš×¤X1Æc¬å²°°ÀìÙ³…ƒéNVcŒ1Ö$ììì°uëV¡Ã`z†›0ÆcŒ  $[…T ‰™ $bHL¹±&œ¬2ÆcŒ5±Ò\9~u¤¬úº¡±b‰†¦04ÃÐXcK¶Cbb#3xdûã®õya'«Œ1ÆcM̤!LÛJPüHVåu¹T Hò"E­Ÿmoà…TË+ÚQgp²ª#ÊËåÈÏ/EaaÙßÿ–"?¿Ý»w€««­Ðá1ÆcLÃ:XãÖ¡GPÈÔëÊK$Áq9ö<ø2ƒR-G§;jMVýýý›2Žf­¸¸5ŠŠÌ¡PˆQR"C›6¯ à+” °° EERÈd5ƒzùå>زej£ÖËeØpii‘Ærc+*þŒF¡acRë¢+Và‡~: Áéñc<°°€ÜÀ@èpª¸yó&|}}µ¾žüüüjÃê:™LààD æŠÖ­„§ÉÃÒÒRëë ×È}@.—@¡0€L&\n¹ÜffEhÕªLQ6Oêžÿξ–¸¹/«ÞùD÷ ïÐý5;ü8±Tcå«+233k}¯Z²:pà@¼öÚkP(j¯~f SP`ìls€H±±éõ~ÎÀ@ŒAƒ:7x}\†£)qÁìJÅU¿­ŠH#2‚ ™ÀTi S¥)LȤâOi‚VÊV0%SRã~¨xíµ×0pà@MlB­>øà¤¥¥iuB0”Ëáù×_pËÉA¢»; › P—¯¯¯Öa°³³Óêòµ!))+W†âÞ½|¸»ÛÁÃÃTèšœ¥¥¥ÖËn„ õÎ#“ ´ÔååÉ P^.†T*†Lf©´âu…B¢ê_Ö--ÃÚºX¡7 êœÿJ9A© ¶C^¦¬u>±¡­í$ð÷{G3 IDAT[Û 6žç‹:å«o¬­­kM¾«`Å´ã·ßb°`Á”••×Z‹ú4‘H„«W?ƒ½½•–£c•’³“á³Æ™™+å5Îch`‘”¤„LQÑÖH$áâÒ‹èªÝ¤“U·gäHdÞ¼ ‘H„~³gcèGÁ€;öÖ9 …ßkÖü…B KKÄÆ®€?ý,”—_þ—/'$ˆÅ"ÈåJ(µ'N"‘Ë–Á;ïŒhª0›•òBÒ. 5ü1Ò" P^¨€™½JÉ ”WMÇDHtÙ>;Abª[¿5¡Ã|•h"£G÷ÄùóK1dHˆÅêý¤Ü©“-'ªMÌÕÆ‘K#ÑÁºŒ kþyR®C*—ªUˆkSkôèУ #e•ºŒ±D"µ~À‡GæÍ›B‡ÅžpûöŒ±V•¨J$9²''ª3æ9ÕhP2™R©¼ÖDU$ªHTW¬ljjÉ¥JÄîÏÂÉ9 Øãƒ?>OAÙcúÍqÀ¤Ý1p~<]7"6ÁÀX„áŸwĈ[r¢ €hR¶¶æØ·oV¯ž##Ã:/Ô‰ˆûö]ă›0JæÜÆ——]F'›NÔ_Cg 2Àâ‘‹ajÔò~ÎÔ®#F@)«øâ T(PžŽ½£G#ò«¯@ÜFPJ%aóæPŒ¹ÉÉÙªDH.WàÅ½ŽŽM™â ssãz牱X„-[¦bútŸ&ˆ¬y1ˆ<m:›`ä&7¼öFoqƒ×k¶0³7‚ã` ˆžÈEÅ"Xvl…ñû=ÑeLá×!Ü @ ññ1gÎ.$&fA.¯ù›lÿþqëVŠ‹¥èÚµ=FŒðÄóÏ{`À€N02⎴íQá#<¿þyÄgÆÿ¯µf­Ìpí}X˜X4atL…›{öDinn•—E"Ú=÷ÆnÙK‚k¹RR²ñÞ{{qýú=(•Uo3‰nßþ?˜š¶¼‡«tÍW_Â7ß„@.¯ù‹X ˆÅرc:üýù †¶œœŒkE /Ù`Ð"G¶âúÄ¿q3¡¸»·ÇéÓ 1ožD"‘꧘J­ZIðóÏïáÎU8uê¼új?ÄÆÞÇäÉÛàæ¶/½´ ›7‡"&& ü}C;lÍmq~ÉytïнÖV‰Þ¼ëLf™–‰Dpó÷‡Ø°ê8"BVl,vúùáÖ/¿\Ë´wïEøù­CLLZµDU,aРΜ¨ê©T33ãZ›¦‰Å"ˆñßÿ¾Å‰j òS¥ˆÙ“‰ã3â‘úGþ3-«ó‹m`hb€V¹ÂçSgNTŸÂ5«:àüù¼÷Þäå•@&S@,ãùç=°gÏÌjóæåãüùDDÄ#8ø23óagg_ß®ð÷÷°a°°h%ÀV4_ù¥ùxá«p#ý䊪 ‹$˜·2‡T.ÅŒ¡3ðaÀ‡pjã$P¤-WüÉ“86{6PÓåL$ˆà>z4Ö¯G+ê1 ¹ÉÌ,À‚ûöQ_¤ ÄøòËñ˜6mHÓÈ—`çÎóøñÇI1xpgDD$TyøW,ÁÈÈ{÷ÎÂàÁnF«;HIÈŒ)FjX>RÃò‘ŸZ†VV†pj‰n¶°õz†¦`(dJq’ZƒÃœ¬êˆœœ",XpgÏÞ|ùå8µÚݹó!!qGTÔ](•/¯ð÷ï/ôèá‘HÿûZ‘´£6ŽÂ¥äKªZT##Ìô‰ pàʬúmâ3ã1ºÇh|:æS p pÔ-‡´ ßyy”u<Å,ÃÜÞ/mߎv={6at-Ãիɘ>ýGäç—ÔÚ´©Ò¥KŸÂɉÛâ5µøø‡øî»Pý‰¶mÍðÎ;#0qâäåcÈ•P(*Ò±Xcc öïŸ: µnH*À¹e)({,‡¥K+¸ ³„Ë0K´ëÙ"5šfÆÉª®Ù·ï"¾þú ŽGGë}¶¸XŠÈÈDÇ!4ô622ÃÆÆ ƒ¹Áϯ¼`iÉ5V~i>ü¿öÇ{7P®(‡X$ÆwàfWQë $%NÆœÄÊ“+q)ù†¸ Á’‘K0ö¹±GÞ2ìùe<¸zµÞf1Ý'NÄÈ š(ª–cÆÓX¿þT½ó¹¹Ù!<|iDÄ*]¾œ„Í›Ï"4ôÜÜÚáÝwGàå—û@"ùßS=Ó§ïÀ¹s·¡T$ìÛ7ÞÞ ï绹*Î,ÇÝ3ypñµ‚¥Ký¥1âdµ9KMÍApp‚ƒãªÔºúø¸Ãß¿úõsU»-V¡°¬/n|ï^D`¿@œ}°ÆùÎ'žÇšß×àDÌ ôvî÷ýÞÇ”S` nÙÝhÓ•­[±j”òêý㊠*z×üþûðž?¿ZûV¦Ç_Ç‚ “ÉkìOZ"1À»ï¾€Å‹G ]Ë¢P(qäÈ5ìØ˜˜4øø¸cÆ _øùu«ñ×¶k×R0vì7hݺœƒ>}ZÖC‰“Ë`åÊMèt'«-EII9®]KÁ™3q8uê&îßÏCÛ¶f<ØíïäÕ íÚñÓìê(–cÉ/K0wÄ\tmßµÎy¯§]Ç†à øéÒOèØ¶#æ¾0³}g£•„/Šš–ÿ>ÿ|µ×ņ†0iÓÿؼ΃ YË’––‹Ù³w!66½Ææ'O.@ïÞÎDÖ2”•ɰwïEüøcÒÒr1n\̘ዞ=ëoK¿iSüüº¡[7‡&ˆTXJ!#º°¢ýix>Š–cÒ‰î0kÏþé NV[ªÔÔœ¿ÒŠCXØÈå tïîwøúºcÐ 7rCoMIz”„oB¿ÁÂÿKKÌ6ïû½+SôA“¶öí‹¢‡+&þ~°ªm—.è9e úάþÀ"ÓŽ;"pâÄŸ¸|9"T=X[›âæÍü‹Ž<~\‚;±k×I1eÊ Ì˜á —¶B‡¦3гdHÍýˆ|<ü³¤ Ø÷3ƒ³%\|-aÞÞ×Qœ¬2 ´´W¯¦ <<§OßDbb¬­[cèÐ.ðñq‡Ÿ_7´oÏOPkBfA&¾ÿã{|ú ”¤Ä´ÁÓðѨ`oi/thÍBðGáæþý±†þ9Š>Äåï¿Çë'O¶[7#lþ¢£S1nÜ·øàƒÑ­›æÎ݇ÒÒrÆï‡' b³’žž‡mÛþÀ—`ddˆ·ÞŠiÓ†¢m[3¡CÓ9ç>IArhìû˜ÃexE‚ÚºפêNVYu•µ®ñ8{ö6Š‹¥pwo/øúºÃÛ»s•†ù¬á J ðßÈÿbí©µÈ)ÊA`ÿ@|:æSt±ë"thzínH~}óMØxx`ìÖ­hÛ¥ ”r9Œia!¦þþ; [q m),,Ë/~GÇ68p`Äb23óñöÛ{•ˆíÛ§côhî‰Aþüó6n<ƒÐÐ[pq±ÁÛo?ñãûrÿµu(Î’ÁÈLÜâ‡.ÕCœ¬²º••ÉpåJ2ÂÃ+’ט˜4´nmŒÁƒÝàïï…#<áàÀ?e7–T.ÅÁ+±òäJ$f%btÑX>v9úuì'thz‰”J$üþ;:À@ò¿òSS±ëÅÑ=0#¾øBÀ›·ùóBhè-„„,ªòkŒRI »__÷:‡™fu#"„„ÜÂwß…âÊ•dôéã‚ùóýñ ÝZtÓ y™÷£ Q^¬@—p—hÍ'«¬až¬uýã¿PXX—¶ðóóB@€׺6Re·W_œøWS®r·WZwø0~_°ãvîDg??¡Ãiv~ùå*æÍû {öÌĈžB‡Ó¬Èd =­[ÿÀ_eÀϯÞ}wD‹îµ$[†{ó?¸\…L —áVð_×r÷I3ÆÉ*k<¹\‰èèßBDDzL±ƒ×DþÒêàd•5½ÊZ׈ˆxœ9‡k×R`ddˆþý]áë[‘¼ª3ÚJK•]”ïÎ~‡ïÎ}‡2Yþ5ô_X°NmxŸ©K)—cÿ¸q•”àõß~ƒ¡1Qj¨¬¬Bøù­ÅÐ¡îØ²eªÐá膇ڜ(Ê × ‘úGE‚ZœY³öFpöµ„ûض°íf*tˆL·p²Ê„—“S„ÈÈÄ¿“×XdeÂÙ¹­*q>܃«A±´ÛÏodž3‘Ÿ×¼†F~„nÜñ½:òSS±+ ='OÆðåË…G¯¦Lù’’áÌ™…°°àóS]5 ‡:sæ0ôèá(thMâáõ"œš{²Rlñ¾…ÌÌ|ØÙ™Ã×·«ª‡ ¡ÃÔ D„1'°ú÷Õˆ¼©ê«uLÏ1œÜ×áÄ;ïà^d$¦ÃÔ–ÛÊÕçÉáTçÏ÷:—œüß¿þÝì‡C%%!+¶íz´ø’Ã4‡“U¦_îÜyˆ8„‡Ç#*ê.”J‚—Wøûwƒ¿¿׺þ­²¯Ö“7O¢G‡ø0àCL8†bîVèiÒ‚ìò÷‡—^þñG¡ÃÑi5 §Êjöäp¨;Ú`Μæ9ª¼T‰ô‹H Ïǽóù(Ë“cüOžhÛ•+˜Æp²ÊôWq±‘‘= „†ÞFFÆcØØ˜aÐ 7øùuC@€,-[v;¨˜ô¬?³û/í‡S'Ì÷›Y¾³`"áÉ“Ò/]ÂÁ àÿÿ‡ž¯¿.t8:«¶áTY…–2jqÖ£G])„RNh÷\k¸øZÂe˜%,]¸ 3Ó(NVYó‘ššów×XqUj]+%è†~ý\›Õ £!RrRðuðר±fÆfx{øÛ˜ï7Ö¦<ÂX¥ˆU«½c¦ž:…6nnB‡£sx8ÕÚµ´áP/m¼„“¹p^1rT‡æ0l¥ó'&&¢K—.¨L}ý1<Ú·ìò§¦bw@z½ñ|—-:P9œªB¡ÄÉ“<œ*Ð|‡C•(v!%Ù2ôœÚ©w  ÖécÇŽQ=ÈØØ˜\]]i÷îݪ÷ÊËËiáÂ…dggG¶¶¶´páB*//'¹\Nk×®¥.]º™™ <˜öîÝ«Znûöí)22²Z,………”ššZcǧ^½z‘‰‰ µoßžV­Z¥VŒu½Çêuˆ“UÖ⥤dÓž=‘4kÖNrs[BööïÓ°a«iÅŠã~‡ÊËåB‡¨u ¥‚Ž]?FW$Ì Y=„Ž]?&tX‚9>g}ß§•äæ Š þøã/êÐaíÛwQèP~‡ÞxãêÐa ¶šº¬ß×%Ñ•Í÷éð„8úOŸk´kø :ûI2Ý Î%iQ÷ Mš4‰ hûö퀩  €¶mÛF(;;»ÎeÔ•¬‘±±1mݺ•222hÇŽdhhHEEEDD´fÍzå•WèÞ½{C}úô¡>úˆ6lØ@vvvtäÈzðà9B))uÿt­KäR%¥„=¦ð©ôÓè›tuëƒ&[7žª9­oº&•5˜2™ŒˆˆÎ;§ªÑ,))¡ððp"ª¨Ýܹs'PNN9::VY~^^ݾ}›<==i×®]UÖód›Õ™3gÒøñã«Õ–Ï›7ž{î¹*qUÆallLAAA¤T*©´´TµmuÅX_ü¬^‡ø±NÆÔdh(Æ€T}'fe",ì/„„ÜÂúõ¿ã³Ï~…‹K[U×XÆumONw²í„o^ûþßÿñ=¾ ý_‡|iƒ§á£QÁÞÒ^èµfè’%H‹ŒÄÉ÷ÞÃäcÇZDwVÑÑ©Xµê,@ïÞÎB‡£u•á9r ÆÆ½UV¢@zd!R##-¢eùr˜µ7‚ÓP 8zëWÏVVV€Ý»wãÕW_ŦM›Tï‰D"`ïÞ½6lÊËË!‘H`jZ1èËøñã±téR¬_¿ùùù˜5kú÷ï9sæ`Ñ¢E°´´ÄÀqýúu|öÙgªå®\¹žžž˜:u*Þy瘙™á×_ŦM›pâĉj1J¥R”——ÃÈÈ¥¥¥ø÷¿ÿ (,,¬7ƺÞcj:]f¬9ËtãÆ=Z¿þwU­k§Nµ®ß}Ò¬ž¤.(- !Éa¡Ï1¦©;¦R|f¼ÐaiM^r2mìÒ…ÂW¯:­+((¥AƒVЄ [H¡hm3kªzhjÈ•´gO$K…KmÙÓïhú¡_4Mû‹þÜ‘AÙwJ‰¨Y%"Z±bYYYQçÎ)((¨JÖƒRçÎÉÈȈ<<<(((Hõ^AAMŸ>¬­­©mÛ¶4kÖ,*..&¹\NëÖ­#777jݺ5 4ˆ¢¢¢ª,7%%…^}õUrpp sss0`;ö¿‡KŸnK»aÃjÓ¦ 999Ñ–-[hÒ¤IdggWoŒu½ÇêuˆûYeL ²³‹pñbâß#jÝB~~‰ªÖÕÇÇÏ?ï 33c¡Ã|&R¹¯ÄÊ“+‘˜•ˆÑ=FcùØåè×±ŸÐ¡i\ÌÞ½^º„óàÁB‡£5ï¿ÿBBšïpªÔŒ†CUÊ Igòà8Ø­¬ôÿÆêÀƒ0¦m …qq÷3gâpíZ ŒŒ Ñ¿¿+|}+’מ=„³Ñ”¤Äɘ“øâĸšrC܆`ÉÈ%ûÜX¡CÓ¨ã³gãÁµkx3$­þþɲ9iÎéêÛp¨ŠrBƵBØ÷5ƒ?„ÃZ ‡Z–/GÚù¤†?Fzd!d¥ Œù;ìûè~ÛYuÕד§#¬œ¬2&$¥’›Žˆˆx„‡ÇãâÅD@ïÞ.ð‚;zôpÔ›îr*Eß‹ÆÆøéÒOð´÷Ä¢aÒ€Iè÷J©øyòdŒüúkx½úªÐáhDsNU_†C-¼_Žäsy¸–‡×‹!6Á¡¿\|­àìk‰Övú}¾0¦!œ¬2¦KòòŠqþ|""â| ™™ù°³3‡¯oWU&B‡©¶Ä¬D|{ö[l Û†ö–í±Àf ÖÆ­…­Ñþøâ ÜØ»oœ> kWW¡Ãyf+VÇÿ{§N}€.]ô{<øøø‡øî»Pý s¼ýöó˜8q€ÎþRqcW&âfÁõyk8ûZ¢}ïÖü³?cÕq²Ê˜.»sç!BB⨨»P* ^^àïß þþ^zSëú0ÿ!6†lÄw羃‰Äï>ÿ.掘‹¶fm…­ÁååØ7v,Ɔ˜±¡þÖD†‡ßÁäÉÛ°fÍL™2Hèp-""Û·‡#$äºti‡wß—_î‰Ä@èÐê$—*a A¤gw1ÖÄ8YeL_KYÑÃ@hèmdd<† rƒŸ_7xÁÒR·ûíË.ÊÆwg¿Ãwç¾C™¬ ÿú/, X§6úõ€YNBöŽ…~sæ`ÈÂ…B‡Ó(YY…ðó[‹¡CݱeËT¡Ãi0…B‰#G®aÇŽÄĤÁÇÇ3føÂϯ›à_àòî–!5â1 ÓËáóIóï«–1-ãd•1}•ššów×XqUj]+%è†~ý\u¶;žbi1¶ŸßŽ g6 #?¯ x üݺ šÚ®ïÞÐeËxèœéW­$aÊ”ÿ )éΜùP¯š–”•ɰwïEüøcÒÒr1n\Ìœ9 =z8 “RAxøgî…ç#5,éR˜¶•Ày˜%†.uâšSÆž '«Œ5%%å¸v-gÎÄáÔ©›¸?mÛšað`7ÕˆZíÚYf52… û/ïÇÚSkq+ãþÑãøxôÇÔY?’¿£o½…Ì›7+º³²ÔŸ~I·ný«VÀÑ£óôf”ª¼¼büøcvî¼€’’rLžì3|áâ"lS’ˆ•÷’imÜLàìk —a–°íÖÍ  Æt'«Œ5G©©9?¤‡°°;ËèÞÝ>>îðõuÇ An04Ô;)áDÌ ¬þ}5"ïFªújÓsŒà?éÖ¥47;_x.>>ýÄðº,::ãÆ}‹ ðþûB‡S/]5z{ŒZÀÅ× æŒ„‡±æˆ“UÆš»ÒÒr\½š‚ððxœ>}‰‰Y°¶å}´) ·ßžý2… Ó‡LÇâ‘‹ÑÁªƒ ñ<-'>{FÂÀ¹s1èý÷…§ŠÊáT`åJÝiªP9êž=‘ÈË+d8Ô¼¤2ü<áZYÂi¨\|­à8ÈSÝiÓÍX ÇÉ*c¬fr¹ÑÑ)¾…ˆˆxܼ™ úöí/ŒÙŽŽM_»Y$-ÂŽó;°þôzdfabÿ‰øxôÇðhïÑä±<íÏ;qnùr¼väúö:µ–ÿüç7Ëug8U]5óF1ìz˜rSŒé&NVcêÉÊ*DXØ_ ¹…°°¿PPPQëZÙ5Ö°a]›4*——ãÀ•XõÛ*ÄgÆctÑødÌ'è:°Éb¨†¿NŸŽìøx¼yú4ŒÌ…‹^—†SmêáPó’Êþ/Ù •µðI:c¬Q8YeŒ5œB¡D\Üý¿%¸…›7ÓѪ•ýúu„¯¯;º7Yb¤$%NÆœÄÊ“+q)ù’ªÛ«±Ïm’õ?­$'»üüà:|8F~ýµ 1TÒ•áTŸÕݽÞyG;á*„ÌëEH «Ú9¿ß:W´{N7ººbŒ5'«Œ±g—]„‹UÉk~~‰ªÖÕÇÇÏ?ï 33c­Çñd·WÏ9>‡þ 0eàˆ›¶mJX~ž2c¾û/¿Ü¤ë®$ôpªM9jæ"Ü:œ´ ÈaÝÙ.¾–pÎó3Ö p²ÊÓ¬ÊZ׈ˆxœ9‡k×R`ddˆþý]áë[‘¼öì©Ýî®§]Ç†à øéÒOpië‚y/ÌÃlßÙh%ÑÎÏÍ59ûÙgˆ;|oñi‡­NõîÝ,/lÒáT+‡Cݱ#ééyM2jÂÉ\ÄÏË0K¸øZ¼ƒö¿1Æš '«Œ1íÊÉ)BddâßÉk,²² áìÜV•¸6‹I’ðMè7ø!üX˜X`ΰ9xßï}X™j¿;.Ey9öþã067ÇÄÇ›´;«mÛþÀÿý_Ó§ª«Ã¡2Æô'«Œ±¦£TbcÓððx\¼˜èÝÛ^ðñqGŽÿ™8«0 [ÎmÁ7¡ß@IJL< KF.ƒ•v»Hʾs{GÆ ÷ßÇÀ¹sµº®JM=œª¶†C}²sþ¢‡åüÅ à‡õk‰8YeŒ '/¯çÏ' ""ÁÁ·™™[[s ÖUÕÀ&Â.,+Ä~ÄÚSk‘S”ƒÀþøäŸÀ½»ÆÖñ´è;ðÇ_`ÒÑ£°ïÝ[këšv8ÕèèT|óM°F‡C-H“V<žÌëEö}Íá2Üãl 6àlõÿÛ»·˜¨ï4ŒãÏPè”Ê–Ö(©P“µº±(`1€‰]Q$ˆembOÙ¦!^TYÒxÕMªÁØMŒGqqŲ£‚¢Tšl£®Y¬%àìâGfa/”‰t¥âœ¿òý\‘ÿ̼óÎ\'¿™y_`"¬0ŽK—Údµž×ñã—uúôõôô*66B))1JI‰uÛ©«ÍnÓî3»µáïÔx£Qs'ÏUÁ¼M7Í ¯âWz{õ·?Vû?êOUUä¹_¥{zª'סV®jÔϧ;åo~b8ÿŒò 0Þ60/a€1Ý»gÓ©S& 9rQ­­¿(44Hqq”œ£ÔÔX™Í.=Gߨ«/~©3Íg<6öªoœUdr²æ|õ•[k÷ñä:Õ±µùØ/nöUøïÎàI„U/‡«WÛÆ:ßïÔõÑR‚M›6Þ¥Ó½¾±WÿyPïyOk’׸uìÕ¿SENŽþ¸m›ÞIKsKÍ>žZ§úôu¨³5iÒïž«Îí¦Ro¯‚£^ÜT¯ Â*€—Ïýûuî\³ªªÎëðáÔÒr[o¼¨™3':6j=Ò©Ú ?5h³u³ÊêÊ4>t¼VÏ^­å³–k¸¯ëãŽ|ñ….TTh‰Õª‘.ד<³NÕÕu¨ŽáüÇç¿fSô¼ÍúËX—{0äV¼ü®^mü#­óª©¹$»ý¿z÷Ý·”­ÄÄhÅÅM¯ïóM†o¼Ñ¨¯~­’š9ZŸ¥~¦Oâ?Qàð@§û´ÛlÚõá‡n6+ÓbqË8« jÇŽª¬ü³¢£Ã]ªõ´u¨YYÓµÐÁþ G?Õ> §×jû†óûklâë;ˬ°X†óp aÀ«¥«ë¡ÎžmÖñã—õÝw?¨±ñ†‚ƒÿèÔ599æ¹~|ÔöŸ6×k³u³ü|ü´*i•>ý©B‚œ›Ú7ÎjæçŸë+V8U£»Ö©ºcjW‡]–çõVÜHI0ëí™#åìú)/€!° àÕÖwêzâÄe=zQ÷îÙ®””X%&Fëý÷£äçç£ææfUUU X§³»SÖ6«jnÖè5ÓkZôö"Å…:m'Oªûûï¸b…K§«ee×d2IYYÎMIèîîÑ·ßþ¬¦¦{zóM͘¢˜˜~÷755UãÆ¸Þýùp| À­«†ŽÎΪ­½¬cÇþ¥£GM ¡>xG.üCVë_Ÿ]d˜¤I’®Kjs®“¤a&“l.þû5™|%ù¨·×æt#fÈf»¦‡¯=ó¾ÙÙÙ*++sú¹À „UCד§®uu§|YÞnË &‹ÅâíV -{ø¼À5vlˆ>ú(N%%K}ÛÛíž‚° Ã"¬À°«0,Â*8)))I---n¿ï@ZZZ”””äR OÔO"¬ÀK"((HÙÙÙ’¤ÖÖVÍŸ?ßË€çVà%a6›•››+IêééQgg§—;Ï#¬€›$%%ÉjµjÉ’%JKKSyyy¿ÛÏž=«Å‹kÞ¼yÚµk—ãºÝnWqq±ÒÓÓ•žž®ââbÙívÇGõ ÊÌÌÔáÇݯ\¹R’´páÂgÖéééQyy¹rrr4wî\­^½Z/^|︎° nT[[«­[·*//O%%%ºsçŽã¶ºº:•––*??_Û·owœŒîÝ»W­­­*))ÑÆÕÐРo¾ùÆñ8‹Å¢µk×jâĉŽkÛ¶m“$íÛ·Ïqm :Ú½{·rssµsçNåä䨸¸ØÓo¸aÜhÁ‚ Òœ9s$©ßGõ™™™ P||¼$9‚lee¥Ö¬Y£Q£F)22Ryyyª¯¯w<.77WS¦L‘¿¿ÿo>÷@u8 åË—+!!A!!!š>}ºãë`t¾Þn^%¡¡¡’$_ßÿÿ÷"I2™Lý®·µµ)##£ßµÀÀ@ÇßcÆŒÔsTÇn·k„ ý®GFFª&xaÜè×At0·™ÍfmÚ´I’¤»w画£ÃqûÓ‚ïóÔY¿~½®\¹¢¨¨(Ç}›››U¼¯€—%$$¨´´Tׯ_WSS“òóóµÿþA=¶««ë™uÒÒÒTTT¤“'Oª££CõõõÚ±c‡§^¸'«àeK—.Õ–-[´lÙ2™L&%&&*//O·nÝð1áááš QuaZIP: Class Hierarchy
Class Hierarchy

Go to the graphical class hierarchy

This inheritance list is sorted roughly, but not completely, alphabetically:
[detail level 12]
oCJlCompressUtility class for typical operations
oCQIODevice
|oCQuaGzipFileGZIP file
|oCQuaZIODeviceA class to compress/decompress QIODevice
|\CQuaZipFileA file inside ZIP archive
oCQIODevice_descriptor
oCQuaChecksum32Checksum interface
|oCQuaAdler32Adler32 checksum
|\CQuaCrc32CRC32 checksum
oCQuaZipZIP archive
oCQuaZipDirProvides ZIP archive navigation
oCQuaZipFileInfoInformation about a file inside archive
oCQuaZipFileInfo64Information about a file inside archive (with zip64 support)
oCQuaZipFilePrivateThe implementation class for QuaZip
oCQuaZipNewInfoInformation about a file to be created
\CQuaZipPrivateAll the internal stuff for the QuaZip class
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/index.html000066400000000000000000000224721255273444100230600ustar00rootroot00000000000000 QuaZIP: QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package
QuaZIP  quazip-0-7
QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package
Powered by SourceForge.net

Overview

QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit.

If you do not know what Qt is, you have two options:

The choice is yours, but if you are really interested in cross-platform (Windows/Linux/BSD/UNIX/Mac/Others) software development, I would definitely recommend you the latter ^_^

QuaZIP allows you to access files inside ZIP archives using QIODevice API, and - yes! - that means that you can also use QTextStream, QDataStream or whatever you would like to use on your zipped files.

QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both reading from and writing to ZIP archives.

Download QuaZIP

Downloads are available from QuaZIP project's page at SourceForge.net.

Platforms supported

QuaZIP has been currently tested on the following platforms:

  • linux-g++ (Ubuntu 11.10, Qt 4.7.4)
  • freebsd-g++ (Qt 4.0.0
  • hpux-acc (HP-UX 11.11)
  • hpux-g++ (HP-UX 11.11)
  • win32-g++ (MinGW)
  • win32-msvc2010 (MS VS 2010 Express, Qt 4.8.4)
  • win32-msvc2010 (Qt Creator, Qt 5.0.1)
  • win32-msvc2012 (Qt Creator, Qt 5.2.0)
  • some Symbian version, reportedly

No testing has been officially done on other systems. Of course, patches to make it work on any platform that it currently does not work on are always welcome!

What is new in this version of QuaZIP?

See the NEWS.txt file supplied with the distribution.

Requirements

Just zlib and Qt 4/5. Well, Qt 4 depends on zlib anyway, but you will need zlib headers to compile QuaZIP. With Qt5 sometimes you need the zlib library as well (on Windows, for example).

Building, testing and installing

Note
Instructions given in this section assume that you are using some UNIX dialect, but the build process should be very similar on win32-g++ platform too. On other platforms it's essentially the same process, maybe with some qmake adjustments not specific to QuaZIP itself.

To build the library, run:

$ cd /wherever/quazip/source/is/quazip-x.y.z/quazip
$ qmake [PREFIX=where-to-install]
$ make

Make sure that you have Qt 4/5 installed with all required headers and utilities (that is, including the 'dev' or 'devel' package on Linux) and that you run qmake utility of the Qt 4, not some other version you may have already installed (you may need to type full path to qmake like /usr/local/qt4/bin/qmake).

To reconfigure (with another PREFIX, for example), just run qmake with appropriate arguments again.

If you need to specify additional include path or libraries, use qmake features (see qmake reference in the Qt documentation). For example:

$ qmake LIBS+=-L/usr/local/zlib/lib INCLUDEPATH+=/usr/local/zlib/include

(note abscence of "-I" before the include path and the presence of "-L" before the lib path)

Also note that you may or may not need to define ZLIB_WINAPI (qmake DEFINES+=ZLIB_WINAPI) when linking to zlib on Windows, depending on how zlib was built (generally, if using zlibwapi.dll, this define is needed).

To install compiled library:

$ make install

By default, QuaZIP compiles as a DLL/SO, but you have other options:

  • Just copy appropriate source files to your project and use them, but you need to define QUAZIP_STATIC before including any QuaZIP headers (best done as a compiler option). This will save you from possible side effects of importing/exporting QuaZIP symbols.
  • Compile it as a static library using CONFIG += staticlib qmake option. QUAZIP_STATIC is defined automatically by qmake in this case.

Binary compatibility is guaranteed between minor releases starting with version 0.5, thanks to the Pimpl idiom. That is, the next binary incompatible version will be 1.x.

Testing

To check if QuaZIP's basic features work OK on your platform, you may wish to compile the test suite provided in test directory:

$ cd /wherever/quazip/source/is/quazip-x.y.z/qztest
$ qmake
$ make
$ ./qztest

Note that the test suite looks for the quazip library in the "quazip" folder of the project ("../quazip"), but you may wish to use LIBS for some systems (Windows often puts the library in the separate "debug" or "release" directory). If you wish to use the quazip version that's already installed, provide the appropriate path.

On some systems you may need to set PATH, LD_LIBRARY_PATH or SHLIB_PATH to get "qztest" to actually run.

If everything went fine, the test suite should report a lot of PASS messages. If something goes wrong, it will provide details and a warning that some tests failed.

Using

See usage page.

Authors and contacts

This wrapper has been written by Sergey A. Tachenov, AKA Alqualos. This is my first open source project, so it may suck, but I did not find anything like that, so I just had no other choice but to write it.

If you have anything to say to me about QuaZIP library, feel free to do so (read the QuaZip FAQ first, though). I can not promise, though, that I fix all the bugs you report in, add any features you want, or respond to your critics, or respond to your feedback at all. I may be busy, I may be tired of working on QuaZIP, I may be even dead already (you never know...).

To report bugs or to post ideas about what should be done, use SourceForge.net's trackers. If you want to send me a private message, use my e-mail address stach.nosp@m.enov.nosp@m.@gmai.nosp@m.l.co.nosp@m.m.

Do not use e-mail to report bugs, please. Reporting bugs and problems with the SourceForge.net's bug report system has that advantage that it is visible to public, and I can always search for open tickets that were created long ago. It is highly unlikely that I will search my mail for that kind of stuff, so if a bug reported by mail isn't fixed immediately, it will likely be forgotten forever.

Copyright (C) 2005-2014 Sergey A. Tachenov and contributors

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_0.map000066400000000000000000000003231255273444100246130ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_0.md5000066400000000000000000000000401255273444100245170ustar00rootroot00000000000000604c34fe4053b4b0723fa2c0961b67a6merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_0.png000066400000000000000000000024151255273444100246260ustar00rootroot00000000000000‰PNG  IHDRh%!¸;DbKGDÿÿÿ ½§“ÂIDAThí˜[(<}Çc-ÚÚvíæãÊ’„¢ÜdqArX[¤¸B,…œKQ܈B¸áÆ9\IHÄF¹˜äbÏ9egµ–Åf½¿Þmyÿ/ãeWï|®žùÎïðÌ·gŸß ¯¯¯€âó8Ø:ß eI(ãHBGGÜõìììðð°MR±g***rss­÷¯* wwwããã61»2==m-â+ð~Ðÿ¡Pø^¤zI(ãHBGÊ8’|Õ8…B ˆu9??/,, puu]XXøâFöÆ·TœV«ŽŽf0SSS{{{"‘heeå;ö²¯#_§­­-))itt^†‡‡_^^ööö¦¦¦~Çv6á[*nnn®ººÚZikkƒñíímII ›Íöõõ­««{|| 2>>æééÙÝÝ=11èááÑÒÒþî‹‹‹¡¡¡§ªªêéé Škkk~~~ÛÛÛ&“©¾¾žËår8œúúz“ÉX^^ŽŒŒtqq š˜˜€ ŠŸæõ-yyyyyy¯F.—ÃE,N§`öOSŠŠŠ’““•J%Š¢íííðô"‰ôz=¬S¡P¨×ëááïææ..d2™T*åñxíííPLOO___7 ===999'''(ŠÆÄÄ444 ggç¡¡¡‹‹‹±±1GGGƒÁ@(þù =ùïÃ0  ÓéÇ???Óh´ÃÃCx9??Ïãñ qp.–ËåpqEᬩ©)‡ù|þÅÅŒWWW£¢¢0 £Óé½½½:Îl6ßÝݽ¼¼Š~FBOÈüTnoo-‹»Ëd2¹\îÑÑ‘µ¸¿¿ûððpuuõòò uwvvc777NÇÅBBB`Àçó-³ø|> 4——‚ ‚¤¤¤¨Õj&“¹±±!•J}}}·¶¶E&™#‘HÔj5ŒµZ­««+n@fff__Ÿµ§“““&“‰Á`p¹\¦R© ®T*}||>¸/,1€L&óöö†±Å\6›-—Ëa9èt:©Tj4ÍfóÌÌ †aeee†Š$L c\BBBgg§F£‘Éd­­­7 ««kssS,ïìì (ÚÑÑÑßßßÕÕŸ3??¿ªªJ­V677}pßêêj…B±¿¿ßÔÔT\\Œ»›ÝØØx||Œ¢hZZÚàà ‚ `nnN¯×???ÓétƒA(’0L;==ÍÊÊòðð`±X………×××Ö=¢Ñhrss½½½ÝÜÜâââ–––,·0 ‹Å,ËËË«¦¦Æh4ÂÚ´ÔËû.>::êïïÏf³+++F#nG½^_ZZÊd2Y,Vyyùýý=ì†ÁÁÁNNN|>qqŽ$?Ûã¾Çìí³’B¡ yßOBO¨³*I~‡qîîî¶Îâ ¿Ã8‡344dë,Þð;Œ³C(ãHBGÊ8’|S©T###?ŸŠÝ¢R©‚‚‚ð*î…¸¶¶Ö¹Ù;‰ä_N„êq$¡Œ# eI(ãHòCƒ(4„÷IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_1.map000066400000000000000000000003161255273444100246160ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_1.md5000066400000000000000000000000401255273444100245200ustar00rootroot000000000000004f005cea63482f14ad91198af33b4e15merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_1.png000066400000000000000000000042771255273444100246370ustar00rootroot00000000000000‰PNG  IHDR£%.…YEbKGDÿÿÿ ½§“tIDATxœíœmH“ßǯeÚð¡4×Ô¥&êt¡¨heb%"JaQV&JY/J¨œiFŠô"2+2RÊF&b=@¥SIÔU”S³’†ÎtkNݾÿ7¿Ý¸Ü¦–éþt`à9×¹ν¯çœ{»•IJðT-Zè XX °bd±X1²X ¬Y¬†Å¦:«««éÆó] Ë?—Ë¥k×®‘··÷›I1VVVÒ‡(**ê¯ÇòoQUUE©©©3#QTTUVVþÕÂXþ=8ŽY{fd±X1²X ¬Y¬VŒ,VÜŠQ­VSvv6…††’££#­[·Ž.]ºḊC]]]SüÄb1…††’““­]»–.^¼8ÅoòËÇLJÒÒÒh``àëîêê²x°þÌgÎ…˜ßï0gb¡5kÖPSSPkk+åääPYY%$$N§³è×ÒÒB………ôæÍÊÍÍ¥òòrŠ7òkhh …BA}}}tçΦððpú£ÚéäɓڙéüzzzˆÇãÍCEf€ ’’’””dÊd–¬¬,lܸFý*• >>>(..ÆOA.—ÏØïæÍ›&ý@¯×cÓ¦MÈËË›U­Ö€\.‡™Ë¿`ÌGMD„ŠŠ S¦Ê9[ËÊÊ(//lllŒú(;;›ÊËËgí'‹©¬¬ÌlN‡C‡¦ºº:¦o||œÄb1¹¹¹ŸÏ'±XLããã´}ûv:~ü83N«Õ’‹‹ ÕÕÕmc”ŸŸOÞÞÞ´bÅ JKK3ZyÍÅ·„N§£¢¢"  '''ŠŽŽ¦¦¦¦Ŭ­­¥âr¹äëëK÷îÝ›¶NÃ|ž>}JÞÞÞTZZÊÌÏ`«©©¡ÀÀ@âóù”™™IZ­–Ö¯_ODDîîîLmCCC´ÿ~âñxäééIYYY4:::%Ç«W¯,^ƒaJ¢³]•J%ˆ&íX¾|9ó›aXá¦ó{ýú5ÜÜܦøM¦¥¥ÎÎÎL»°°;wîÄ—/_ÐÑÑððpäääàÁƒðöö†^¯ÔÔÔ@ `||ÜhE(**BPP::: “ɉ¬¬¬iã[âÊ•+àóùH$øöíêêê ˜œæbªT*,Y²ÅÅÅP(¸}û6/^ •Je±NÃ|¶lÙ‚gÏž¡­­Ée°%$$ ³³R©þþþ8sæŒÉ•1%%qqqèîîFGG‚ƒƒÆr¨T*‹×ÀYXçTŒß¿7iohhÇcŠ™©MúMæW1ŠD"( ¦ýäÉ„……A­VÃÁÁÍÍÍ€½{÷"77€ñö‰DÂø¿ÿÞ¨m.¾%PZZjÔw÷î]&§¹˜ƒƒƒ°µµÅåË—¡T*¡×ë122Ng±NÃ|:::¦ÌïWTTTÀßßŠÇÆÆ`ccƒ·oß2}‰Ähìä83Á’çd›vvv&wwwjkk3iokk#‘Hô[~sËåròóócÚ½½½äááÁÜuÇÇÇÓ§OŸÈÞÞž©ººšÔj5ÕÖÖRzzú”xŸ?&¡PÈ´W¯^M;vì˜6¾%¾~ýJaaaF}!!!ÓÆtqq¡çÏŸ“T*%OOOЉ‰¡—/_Ò¢E‹¦­“ˆL^s“}E"õõõMÓßßO:Îèúúûûµ”c¶ÌÙ™1%%…Î;gt÷›œœL÷ïß§‚‚JNN6ëwöìÙ)wÛjµš ióæÍfs ëׯÓÖ­[™>Gr¹œR*•$•J™zª««éÑ£Gaô†ÔÛÛË´ÛÚÚèÂ… 3Šojoo7ê{÷îÝ´15 éõzªªª¢ÁÁA:pàmÛ¶§­“ˆÈÖÖÖlMr¹œù¹³³“Á”1nnndccC===L_ww7­\¹rF9f©õòwî¦üøÀÀ@ÄÆÆâñãÇøøñ#N:"ŸÏ‡V«e–éÉÛ­Á/&&õõõèìì„D"APP¢££1::Êø544@¡P ¯¯/^¼@bb"<==144ÄÄËÌÌÄ®]»ÐÛÛ‹öövDFFâÈ‘#­V …B£msòö”ŸŸÈd2Èd2DGGãàÁƒ3ŠoŽ«W¯‚ÏçãáÇP(¨¯¯‡¯¯/“Ó\LF.—‹êêj  ¤¤\.Æb¿n·¦¶éØØXÈår477C("//±ŒŒ0¾ûöíC\\zzz “Éd4v¶Ðß>3P©T8q₃ƒÁåráçç‡Ó§O#&&{öìaŠùõì7ÙÏÞÞAAA8þ<~þüi4‰É////¤¤¤ ¿¿ß(Öðð0ÒÓÓáââWWWddd@­V3öŒŒ 8::¸'_ØÑÑQdeeA `Ù²eHNN†R©œq|SLLL ¨¨þþþppp@TT¤R)“ÓRÌŠŠ øùùÁÎÎ"‘555ÓÖ91Þºu «V­ÇÃÑ£G¡Ñh0>>Ž 6ÀÑÑ‘ñDjj*\]]ááácÇŽA£Ñü1rþ`ÄîÝ»‰ˆæì²±±1jmme>:`Y8ºººH(’‰·}^àp8TQQÁhlóó×vvv¬Y¦Åìõ,³cºï~j%ú•¥K—Ò¡C‡º “°bœ#¬ElÓÁç󩸸x¡Ë0 û‹ÕÀŠ‘Åj`ÅÈb5°bd±ÌÞÀôôôPIIÉ|ÖÂòcRŒ^^^TUUeµ°üÿbcccôÝödL~ò°ÿŸ‘Åz`ÅÈb5°bd±X1²X ÿ÷櫈(IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_10.map000066400000000000000000000003361255273444100247000ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_10.md5000066400000000000000000000000401255273444100246000ustar00rootroot00000000000000d889f16826d333fc4daa5af88fc833cfmerkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_10.png000066400000000000000000000027251255273444100247130ustar00rootroot00000000000000‰PNG  IHDRu%óè1bKGDÿÿÿ ½§“ŠIDAThíšKH]ǯú5Š6ÔhcÄT UQP³ …EcK7µ«VÐj}€vQQ)tQP´tQ$µ¾(-(bÅ…Æm‡l„|c¤ Áɤétbî·¾!ÞŒF££ýd~«3‡sÏ=ùsæÞ››øAoø_t—A_~ôåA_~ùyêîî¾R.7oÞ|ûö­»Ç9? †¬¬¬ó-ì2°±±1;;‹è‰ö/ ++k``༪º< h4Ä)¬¿ü"èË/‚¾ü"èË/¾ëk·Ûkkkoß¾-‹322Z[[NçI“øqa6›ýüüŽ9*,,ìÞ½{+++HŒ×$çƒúÚl¶ôôô¹¹¹¶¶¶ïß¿×ÕÕét:µZ½¿¿¢<7ÖÖÖ’’’òóó%É‹/Ž833c±X¶¶¶¦¦¦\.×ãÇ‘€ã$AX^^–J¥'âx¢¢¢¢¢"èçÏŸçää8NÖC’d|||WW—×±‡ÑÐÐóóçO¯‘€¥¥%öqss°··çóÔ KKKž‚Ÿþþ~Ïá>ö¯N§kjj `=!!!µµµ?~t1Ýí‘‘‘ÔÔÔàààèèè¶¶6$áôôôëׯ?}útíÚ5vcèõú¤¤$ Þ={FQ”g1LN§“‰Ÿ˜˜Éd>|`’†……q†yÑû˜û[uuµJ¥b÷·’’’ÞÞ^™LÖÑÑÁtMÓÂÉÉIfŠ_¿~êõz—Ëåp8Àý»µµ…aØää¤{òÃúwppP.—CýÍs bËåòÞÞÞÜÜ\ÆÃYҿׯ_gg±Z­‹‹‹Gkr–û[SSÓööö;wÆÆÆL&“\.ôèÑïß¿ËÊÊ$  §§‡ ö²Ž¢¨?þˆD"‡ÃÑÜÜ °Ùl­V«Ñh”Jå¶È\•••f³yaa¡¡¡ÁóvÔjµÕjmnnÖjµG× I’1 êëë×ÖÖŒFc~~~GG‡SûØ¿B’$«««oݺ”ÐØØ¨R©4 „ðÕ«W‰$!!A¯×³S¼yó&"""66¶³³óádžÁC~ZEú÷ýû÷qqqR©ôéÓ§‡ž¼!„b±˜$IÖãYMÓÙÙÙb±˜ ¢´´4<<üêÕ«v»ýhAÎl; Š¢ ƒoc99åôœ9Ëõ‘HÄ!XþêûÐÐÐ'Ož\t§â¯Öð®®®‹®âTüÕú^}ùEЗ_}ù…ãþayyùÝ»wç_Êÿoß¾qx‘ó0{U*à2™ ÑýÿŽÀÙ"¬¿ü"èË/‚¾ü"èË/ÿâ‚x@dIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_2.map000066400000000000000000000006551255273444100246250ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_2.md5000066400000000000000000000000401255273444100245210ustar00rootroot00000000000000523da2d6452a986d0a5cf8de4e711f1emerkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_2.png000066400000000000000000000110311255273444100246220ustar00rootroot00000000000000‰PNG  IHDRX²?÷bKGDÿÿÿ ½§“ÎIDATxœíyPSWßÇÏMHز4”Å$ EP*;Š}ß:í㿪ª*;;»¢¢B(š*¬¬¬sçÎ;w®¶¶ÖÓÓó›o¾ÄÅÅ=þœÇãݹs§££cÕªUÆT#/Y²dÉ’%K†,F§Ó¯]»¦“™••5kÖ¬ššâK¥... ±µµ¥ÓéiiiÄQ›7ož3gŽã©©©0S¥RíÙ³‡ÉdÒh´™3gæææ´kS(\.×ÝÝÝÍÍËå* ¸÷úõë ãæÍ›óçÏß±c,|ïÞ=…BA"‘þüóO˜yûöm‡!¯ŸŸÿJÎÇ ÆÃŒX,´µµéäÿý÷ß...z#•J©Tê×_ýüùsøíñâŽãÆ××÷È‘#8Ž'%%M™2˜‘‘áîî~æÌ™æææ‹/zyyéf÷îÝ‹-zöìYeeåôéÓ7mÚ÷Λ7ïÆr¹S©TMMMëÖ­ûôÓOU*UMMR©„»ÒÓÓƒƒƒ‡ü@`ƒ1|Á´··ëä—––ºººêLUU•\.W«Õ%%%ðÛãø­[·¬¬¬`U÷îÝðù|ÇY,ÖñãljšOœ8¡#˜€€€––˜¾víZHHÜ[YY©ÒÞ½{4­®®ŽÈ”H$7n|ï½÷Êˡü@ õa†áääD§Ó+**tò+**´sð—‹y©TªP(œ;wnhhèñãljyyy*•ÊÕÕðÐÐPìú766†„„ŦNªs®úúzOOO Ã0 ‹ŠŠª««ƒù:p¹Üæææ•+W.]ºæœ:ujòäÉíííwîÜ™6mš1×?¤Èc‡aöa"##U*ÜŒ‹‹;yò¤··wff&ü¥‡w><~Ázzz¬­­‹ŠŠ4Moo/ ¦¦F¥RyzzfddÈ^²~ýz&“©ÑhOœ8Aœn`fâĉ°Âq\,WUUiïÅq|ÅŠ÷ï߇éòòrØ]Ù¿?“ÉNÃBÐ-b†)‰DÂf³?þøãË—/ ‚-[¶ÜÝÝûûûÛÚÚÙÙÙ‰dÁ‚ðK,‹1 »té|z(//çñxd2¹µµ•¨öîÝ»p×Ï?ÿìîî~îܹ–––K—.ùùùéfíÚµ‹/®¯¯ðàAxxøš5kt³lÙ²¨¨(@ÐÔÔ´|ùò˜˜˜®®.;;»S§NUi1ä•"Á c˜‚Áq\.—'$$¼ÿþû666þþþIII‘‘‘Ÿþ9Žã;vìprrò÷÷/**"¾Ä... #++‹Ãḻ»ÿý÷ÑÑÑÚuj4ÿ7ªTª½{÷Nš4ÉÞÞ>""âÖ­[:‚‘J¥_}õ•³³óøñã¿ûî»îînÁÈd²+VLœ8ÑÑÑqþüùýõ—·WƒáÈ5ñ’ØØX€qÓû Eyyù‡~hê Ì †aùùùðc N?Â4P©ÔwL-zA‚A ­¸D€ÖV©P( EMM´ äæÇ¢A‚±t:;»¯^}¸dÉ 2Ù4·­­¡°U  …"@$¶J$=GG[++k$˜ÁA‚±\úú”ÙÙ8pµ§GÌ ô2´µZS[û¶P$uumJ¥Ã0oo‹æ·lY›M÷ñqut´ÕîÝ"ô‚c‰h4xaáÝÔÔó]]Ýj5Ža˜@ R0CÊ#*j ‹åÁfÓ}|ÜmFçZÞ1`,ŽââŠ;Š›šÄÍ?#þ Y éCò0 ¯F¡Päååõõõ™+š1Htt´L—•=MN>Ëç7iÍÃ¥RýèQSee#ìr<{ÖñæäñôéÓ£GŽìšÞe^ypyæÌ™E‹™1š1‡Ã9yòd}}ûöíç/_~H"ajµf`1kkJ¿àâbÏfÓ™L6Û“Éôðtu¥™*˜„„„ŒŒ SÕö@&“KJJ>úè#"çÁÀÙ æˆm,«T’ýýÿŸ_Ð+‰„ýç?ßM:qüx“Éa¨cN:;mçÛ·o YR£ÁétG¤³ƒžô› Ãi4¥««ܤP¬lm©z­QH$L(lÕàú@-Œ9qvîwvî/(ÈêêꩪjDÕÕÍÕÕ-·Èå}†ÙØP½½ 8²lîxH0–““]D„D„?‘#IÑãÇÍB¡ˆÏþäI[ww¿#D@ŒLwwwJJÊ•+Wž.2’mî@¯`LÆT>nÓ¦M³³³ËÏÏ/++‹‹‹ãp8W®\1"¤ÑçÍYÅ!,íÕdЂ`Èeh\.wÖ¬YÄ’n¸þÎÇÇçðáÃC«ÍêÕ«á(¶vÍŸ|ò ±ØX·m(:ëïÞôóó+++‰D+V¬ˆŒŒÄq|îܹsæÌ©®®®­­‰‰rõâðW8",cc*7:^ZZª]‰L&khhø'2233ýýýœœvíÚ3:¸)•Êäädƒáêê/‹µO­Ñh‚ƒƒ¡Öùó烂‚¬­­}}}srrt‚ÔN²³³\]]ÓÒÒrrr|||úé'XÀ$VqH0o ÆT>n°žÎÎÎ×FÀgŸ}&•J ÁK#¬n{÷î2eJee%ŸÏçr¹Ä©5 —Ë ÇÊårkkëÇ·´´dgg[YYÉåòAÃáp¤R)´?•J¥ðýÚ–\#´ŠC‚yë0R0#÷qëììÀAdüñÇ8ŽÃ®¼=èàÆf³Ïœ9s?~ ÓðÔРD À½ eß¾}b±X£ÑÈd2µZ=ˆ` B¡ÐIkß(ŽÐ* æ­ÃàN¿©|Üœ=<<?~¬}È;wf̘ÑÓÓ7¡G(‰ôß :¸5440™L¸700dƒµÍ™3g×®]Äy<Þ­[·&NœyóæMíšÎ„G E'­Í±ŠCX2ÚêfÆ$>n8Žûí· .Ôh4DÍk×®%nc€Öo9‘èàæççW\\ sîß¿û0 ¹\^]]mmm}ãÆ ì`ô÷÷?~œL&wttè øug×N›Ä*µ0oÆ +'''‹D¢¨¨¨+W®…B??¿/¾ø¢¯¯oåÊ•NNN€œœ©TzèÐ!X¾¿¿_¡PP©ÔÞÞÞmÛ¶d2`çÎ%%%ñññ¥¥¥•••)))‡Ú¹sç §^¸páæÍ›*++çΛ™™Ÿ””ôðáÇ®Y³¦¡¡(looÏf³7mÚôÃ?ôõõa]XX(•J …B±³³ÓðpP«Õ6l …ÍÍÍœ9s¦D"Ùºukjjª­­mõK ÿt–¶z†ÙÂà¦ðqƒùõõõ‹/öòòrpp ;þ†ÂX@"a11ApêëÛ [,´T~ö¬Çq …ìëëÆfÓY,‹ÎbÑ™LÉ¿z†­[·.""bäU½-ddd0ŒAæ^ w\Z÷î5lÝzæÁƒgćJµZ½úçé””Éúêê^‘Pcc§Fc2 |Ãã;Ï“•P§ßâ }ïÂ…ÿ+,¼»sg±XÜ­Tj”J5“©§Çïà`3u*cêT‘£-¡gÏ:Š‹ÔÖ^Õhp*ÕÊÇÇõM´Bc $K„D–,™ñ¯…/Tæ˜ò@ )ªººvâ­„„l|}Ý á?”·· ê¾ ŒåbcCãW¯>d±Œ|C¥ZÁA"G©T?}ÚFHèô黵µ­z%d¢ëx§@‚±t\\ìãâÂMX!…BÖ‘PWW|å%ì ݼ)lm•ìíÑk]`ÀÉÉ.<Ü/<ÜÈ‘Hz„ÂÖˆˆìá> 6¨–zp‰Ðøqv3føªÕ²!KZˆ ê葚o±'ÂÒäçç^ftlP‡Ä$F¤ø0#Á ^Ëp3 6¨ðØëׯ3 7Ðè7‘)> Á [2„ñtuu‰D¢üiÓ¦=zôHï!2™lÑ¢EÓ§O¯©©Ù·oßæÍ›ÛÚÚ`=:¾v4ÍÛÛ›ØÜ¿ÿ‰'JJJ /^¼Èãñ„B!á1TTT”””¤V«›››sssgÏžM"‘1MÇã3*Fêô#FÊÀ§78Žë˜$X[[?xð€Á`ØÚÚ2 €D"?~¼Þz´Ù½{wPPЪU«ÒÒÒ‚‚‚¿þú«Ž‘Õi4ŸÏ'“Éð])R©t×®]yyygÏžÁUþjaÆ3š6¨°ÂAŒNÁ¨‘"Á FÄÒ¥K·oßNŒ‰q8œS§N¥§§s8˜£R©MMMp³··766611±¼¼<++‹¨gþüùû÷ïǵf6æææ*•J;;;¸ }z½¼¼ˆ ÔÄ-Ù—_~ uëéé¹|ùr>ŸÈÈÈØ¶m[qqñ±cÇÜÜÜLr½è– 1"’““⢢6nÜèëë mPÝÝÝW®\)•J999‹/Ökƒš’’´lPãããüñGvöìÙC‡]¸pAçtÐèÔÇǰf͚ɓ'Ã|hDúË/¿Ðh4m#ÒììlhD ‹é´{Æ0ä¸b̆1J†¿yTí6½F§¸‰ŒHñaŒ’¡éýˆ×bôôþ·×uÈéý¨ƒ0=ï° * aH0„ Á €ƒ@ aH0„ ç0ˆ×‚aXPP‡Ç²¨åóù³gÏF6KcX¿~}cc£¹£UfÏž=øƒZÔ €ú0„ Á €ƒ@ aÿó5SÞ×áIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_3.map000066400000000000000000000007151255273444100246230ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_3.md5000066400000000000000000000000401255273444100245220ustar00rootroot000000000000005af371c9d0a20651df64f2334a568f18merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_3.png000066400000000000000000000161571255273444100246410ustar00rootroot00000000000000‰PNG  IHDR‹ŽrGÉbKGDÿÿÿ ½§“$IDATxœíÝ{TSgº?ðoCDªA1ŠŠ—ÊEE[iKµ¶Ê`‘‹xi—S/ÓÕªÓ°Ú%µ«ZèWé:²8£3íØªDG&TTŠ—åøSÄ€8ÖEŠà¥r á9PrH“`€@<ŸµöZÙ—÷ÝO›‡½ß½ßc6ÉÎÚ0Ƭ‡c6Œc6Œc6ÌÁÚ°eݺu¸v횵ðI&LÀW_}Õ¥2¾ À,I `æÌ™ðôô´v(6åÎ;8þ<ºúuæÀ,J  ##±±±ÖŦdff"..®Ë €û³aœ³aœ³aœ³aœ˜Õ544 )) pvvFHHRRRÐÒÒb‘ú æÏŸ¸¹¹aáÂ…(..6«lYYYÛ “SÇzºRgoãû˜UÕ××#$$‰©©©J¥(--Å–-[——‡¼¼<ØÛÛw»þ;wîॗ^BTTNž< øú믊óçÏcâĉ–‹Åظq£Ùû+((€···Ár‡.ÕÓgˆ1 @foŸ@¡¡¡ÔÒÒ¢·\¥R‘——¥§§÷(ž5kÖPdd$µ¶¶ê-çwèí·ßîQÝ¿€”JåS·S*•dé¯^FFF·êäSfUß}÷’““ þË2IIIØ·oŸÁ!ó¯çsrr'''¸»»#55U·.??ëÖ­38äÞ±cþøÇ?êæE"‘n4hÑÃõö×ÙÙÙ?~<$ Ö­[‡¦¦¦§¾ÏÎû›››‘˜˜ˆQ£FA"‘ 11ÍÍÍO­Ó80«©©©AUU® ÂÕ«W;­£¾¾‹-Bpp0”J%vìØM›6ááÇhjjÂÍ›71iÒ$Ýö*• *• "‘R©T·\­VC­V£±±QQQøýïorŸiiiÈÉÉL&Cnn®^ÂihhÐí£}zZ_ÆÎ;Q^^ŽÂÂBäççãäÉ“HNNî´ŒÅXô8„ÙÃŽqtçëÌ€ÌjÄb1ÜÜÜ —Ën°^.—Ãßßß`9u¸ÝU(B¡P`ÕªUP©T Ò­sssƒH$‚R©Ô-o/[]]áÇëÕ[RR‚””œ;wŽŽŽ&ãöóóÓ½ö÷÷ÇÝ»wuóJ¥¾¾¾eÊÊÊLÖwëÖ-¸»»ë-6l˜Éí-‰O˜U-]ºŸ}ö´Z­nY||<8€ÔÔTÄÇÇë–·JWTTè–566"66‰‰‰(**BZZšnÂÃÃñ׿þÕ`¿zó*• K—.Å?þñŒ=ºÓ˜•J¥îµB¡€‡‡‡™ïÖ8WWW(•JˆÕÕÕ8þ|ê4'fUÉÉɨªªÂœ9spüøq( øøø`É’%P«ÕX¹r%Äb1`ïÞ½¨««ÓòÚÔÔF¡PˆÆÆF|òÉ'Úú`ûöíøöÛo±qãF”””@.—ãÓO?ÅîÝ»1hÐ ]=ï¿ÿ>V®\‰°°°§Æ¼~ýz”••áâŋؼy3–-[Ö£Ï ** ›6mÂíÛ·QRR‚yóæa×®]=ªÓl]>i`¬èâe@¢¶K~6l É“'“H$"©TJü1………Q\\mÛ¶Äb1I¥RÊÎÎÖ;ßýòË/iøðáäééIiiiO‰D·¾¨¨ˆÂÃÃièСäïïOëׯ'•JEzq …BrttÔ›Œ»ïÙ³‡ÆG®®®´víZjllÔÕaê2`g}uuu´bÅ rqq¡#FÐêÕ«©¡¡¡KŸawûx80³(KÖh4(**ÂÌ™3-YÏ•••ÁÏϯËCnûfŽP(ì7_þŠcf:t(Ö¬Ycí0,Šcf’H$HOO·vÅ €1Æ €1Æ €1Æ €1Æc˜Ååç磦¦Æäz­¶íZµ½}ÿx*Î@péÒ¥n•ã˜E;wîÜ1²Æ"‘žGGoÔÖæ£±‘AÈ’ÆŽ‹Û·ow© 'Ö«®^­À?ÿY„#GŠpï^ üýÝñÖ[ÁˆŽžww±µÃ³yœ˜Å]¹r™™‘›[‚{÷jàë+A\\"#ƒ1fŒ‹µÃcp`qëÖ#:T™¬ EÆŽ˜˜iX° ãÇ»Y;|I׃ïååŠE‹¦r¾ à`£<¨Ç¿þuY׃ïêêŒÈÈ`ÄÄLÔ)žÖõN6¤¾^ììË8xð"ŠŠncðàA˜7ïÄÄLÇK/ùÂޞdžÙN\c£99ÅÈÉ)Æ?^Gk+aÞ¼= ¡¡Ïs¾ã0µ´´âÔ©kÉä8qâ*êëÕøÍoü= sçN°a܃ÏÚp ˆ/–C&kûoÿ~-¦O÷FDD æÏŸÂo˜Qœžq7o>Äÿÿú×eܹóÞÞ#Œˆˆ@<ÿ<÷à³Îñ}›VV]Ý€>ø^^#±}{”Yeî߯CVÖE~;;^|Ñû÷¯ÁéÓ?ýÒƒ_Š'O4xå• X° ¯¿>C‡¶jül`áЇ>¬Ç»ïþ—/ÿhµ­ëíì5j*+kðüónX¸0o½5ãÆ°B´Ìð1d).¾ƒ·ßÞšš'F¿ü@Û/ëJ¥#±wïJLš4º#d¶ˆ{Žú@fæEüö·ÁãÇ hn֚ܮµ•PW×È_~Ögø µ´´bÓ¦,ƒó}SˆZQRrååáí=²Obd¶zI}½ï¼³ûöÿ¥§ßœ®ìíí“SÜÛá1ÀÄÀ7Lü¸3×7ß”àÔ©ò.—Ój[qî\Ö®}­¢ê¹sçÎáÕW_…F£±v(¬ „B!Nž<‰Y³fé-7šÔj5† OO¾«¬»’“}±bÅcƒå7oÞ„··7†n²¬§§éuÖVQQFƒÌÌLk‡Âº 66ËMö8::bäH>í®‘#Ÿ1ˉcâDwH$+De9111ÖY÷0fÃ80fÃ80fÃ80fÃ,š””„€€8;;#$$)))hiiÑm#PVVfP.11xî¹ç0}út|þùçå:N^^^xûí·ñðáÃÇ]VV€Ç®7™Ó6ºë×m£ãÔ¾žÛœq»°¾¾!!!H$HMM…T*Eii)¶lÙ‚¼¼<äååÁÞÞÞd¹Q£Fá‹/¾€^¹~øAW®  ÞÞÞÐjµP(øË_þ‚àà`\¹rbq÷y%‹±qãÆn—ï-eepäH,Dx¸?>ÿ<ÚÚ!uKwÛ†¹*++õæ5 æÎ ooïNãá6€Œ(--¥ÒÒRc«LJHH ÐÐPjiiÑ[®R©ÈËË‹ÒÓÓé—‘‡¤T*Í.·{÷n£åˆˆZ[[iöìÙ”œœÜ¥X­éÔ©Stÿþ}“ë+*ª)-í$……¥»ûÈÓóäîþZ²$½£4-##ƒL4“Ìm–²yófòðð ·9¢¶÷’‘‘a¸ÜØÆÝInnn”——gt]ZZ…††êéø¡vVn×®]f´\»ýû÷ÓÔ©Suó†H"‘ÐÈ‘#)!!4 EFFÒ‡~¨ÛN­V“X,¦œœR*•ºFÝÜÜLÉÉÉäééI®®®´|ùrª®®~jýæ2–ªªjè?þãš5ësrwÿÛö¥ï8=Ë Àœ¶Ñño@Dó2™ŒiðàÁäææF)))Fë;{ö, 4ˆÎœ9£[fëm®ý½K騩©AUU® ÂÕ«W»\.00?ýôS§ûöóóÃ7tó;wîDyy9 ‘ŸŸ“'O"99ñññ8tèî <LJ““^ýu½úþüç?ãСCøþûïqêÔ)( lß¾ý©õwÕÏ?«°gϘ?'‚ƒ?EjêQ”—?47.ü,ênÛ訾¾‹-Bpp0”J%vìØM›6œ‹×××cùòåØºu+fϞݭxr›3Æ¢£Mujì캞kììì Õš>kÌ×_S§NÁÍÍ žžžøâ‹/˜˜ˆ-[¶àÝwßEaa!¦OŸŽàwÞƒƒþG°gϤ¤¤à…^ÐÕ×±A˜ª?%%ŬøþýïGøûßãÇo ¹¹€D­¶óÁB?ÿ¬ÂwßýO—>‹ÞPXx@×;¯zÒ6Q\\ OOO úè£.Ç×n ¶¹ÎX$ˆÅb¸¹¹A.—#<<Ü`½\.‡¿¿§å^{Ípð‹\.ÇÔ©S;Ý·R©„T*ÕÍߺu îîîzÛ 6 NNNˆŒŒDVV&Nœ™L†Ë—/Ôwûömøùùéæ'L˜€ &<µ~s}ýu **ê;,1ïLwîT#)©Ü/˜ŸÌ»Û6¨Ãƒª„B! V­Z•J…   ƒí>ŒcÇŽA.—wšPl±ÍuÊØùBwú6lØ@aaaz+‹/¦ýû÷ÓØ±ci×®]ºs‘ŽçU6lè´CfçÎF˵uÈ„††êuÈŒ3Fo»êêjºvíµGúøøÐþýûiöìÙºm:žùøøL&Ó­»|ù2m۶ͬúÍ‘Ÿ’Ž+¤„„ ’J“ÈÃãÿ:ú:›žå>sÚFûß ¹¹™ˆÚúJÚ÷óäÉrtt¤ììljmm¥ÆÆF½öpïÞ=’H$têÔ)£û·õ6×þ^zµ°¶¶–ÆO¯¼ò ;vŒ®_¿N›7o&$‘H¨©©IHÇ7Ó^.,,ŒrssI¡PÐáÇiÒ¤I4kÖ,R«ÕºrTYYIwïÞ¥Ó§OSdd$3†jjjtõ­[·Ž¢££éÖ­[T\\L3fÌ >ø€ˆˆšššÈÅÅ…üüüè›o¾Ñ•éøÇøä“OhÊ”)tåʺrå Íš5‹V­ZeVýæèØ ¨V7Ó‰¥ôþûßÒ¸q 4zô‡4fŒñdð,'sÚÆÃ‡ ýío£ÚÚZzë­·tû©®®&@@¹¹¹ÔÐÐ@III€ŠŠŠˆˆhÞ¼y´víZª¬¬4˜ˆ¸Íµ¿—^MDmtÆ 4yòd‰D$•Jéã?¦°°0Š‹‹Óòë¬Ú±œ““Mš4‰¶mÛFOž<Ñ{'OOOZºt©Az]]­X±‚\\\hĈ´zõjjhhЭ_½z59;;“J¥Ò-ëøÇP«Õ”@4lØ0Š×ë‘}ZýOcê2`míÊ̼@K–ü'ó!Ý6 „@d^ÛØ¶m‰Åb’J¥”­·Ÿ/¿ü’†Nžžž”––Fñññ$‘HˆÈ°mtœÚ×Ûr›k/ƀѧ·÷ÊNš4É'm7faæÌ™©ïYvúôiLœ8±ÓáÀwî<Æ‘#EÈʺ¥ò^ye<öí[Ów𙙉¸¸8i6ÝÂm£oddd 66VoyŸ<P(ò¸ <=‡cíÚ×°víkøé§J9R4`çÛ†uñCAû9w|ôÑ|k‡Á( Ș ãÀ˜ ãÀ˜ ãÀ˜ ãÀ˜ 3y ¶¶ÅÅü 5ÝU\\…K— ŸÃ®V«áêúNNN&ˆ„xcÎË܃Ñ[æÌ™cí˜MÏú3ëûƒÛ·kpðà€ƒƒÞh8Àô/57k¡PLì· `ÆŒX¼xq—GÌ1ëZ¼x1f̘a°Üè€Ì2Nœ(Å{ï} FköF  -m9"# G¼1fiœzÙ°lÙ_QQQƒ––§'‘h®^݆Áƒ…}³uÜ ØË¤R NœHÀË/‡]çÒpp°ÃoLá/?ë3ö[·nÝjí :GG,\ GGœ=«„©§A·¶Ôj 4-FvÁsωú6Pfsø åå]Å{ïíESS ´Zýgÿ *B\Ü ÈdrFKK[pp°Ã²e/êžýýz²² qðàNV¤Õ¶bûvÒÓOcäÈçpùò§v65µàǯC&“ãûïK@D˜3g¢£§áå—ý1hP÷]‡Ù&NýÀÑ£%°··Ãë¯O6»L]Ç_ANN1Nºgg^{m"bb¦ã7¿ñë¿;Çú?NÀýûµÉŠ!“ÉQXx îîÃðÆS3 S¦xZ;<Öq`îÞ­Fvvþë¿.àÆxþy7DD`Ñ¢iðòrµvx¬Ÿá0€µ_IÈÊ*Äýûµ˜2ÅÑÑÓðÛßA"yÎÚá±~€€ h¿’ “ãŸÿ¼„ÚÚFCLÌtDFñ G6Œ€ÑhZpæLÛ•„£GK Õ¶böì¶ËŠ ðmÈ6†€ klÔà‡þ¬¬Bœ>ý„¹s'#""¯¼2|‹-úeNGÇ1‰üñäÉ47WY5¶gÝ¡C‡Õ£:Lþ4c–ÐÒÒàÿ3–%tŸmOp¯ c6Œc6Œc6Œc6Œë—””„€€8;;#$$)))éø&§²²2³‡>›[OWêìk|€õ;õõõ D"Ajj*¤R)JKK±eËäåå!//ööݿŸ²²Ro^£Ñ`îܹðöö†X,ÆÆÍ®«  ÞÞÞ˺TÕc½(##ƒºÚÌ(44”ZZZô–«T*òòò¢ôôtK†H›7o&zðàA—Ê ¥RùÔí”Je—?sö‘‘Ñãzø€õ;ß}÷’““ þË2IIIØ·oŸÁaõ¯çsrr'''¸»»#55Õè¾Î;‡?ýéO8pàFŽiôÐ=;;ãLJD"ÁºuëÐÔÔôÔ÷ÐÙass31jÔ(H$$&&¢¹¹ù©uöN¬_©©©AUU® ÂÕ«W;­£¾¾‹-Bpp0”J%vìØM›6ááÇÛ-_¾[·nÅìÙ³MÖ—––†œœÈd2äææê%“††¨T*½éiý;wîDyy9 ‘ŸŸ“'O"99¹Ó2½ÆG#Œ™ÔÕS€êêj@=2º¾  €\]] «;Î755ѵk×H¥R‘V«¥3gÎ=\_±bÍ;—´Z­ÑzÚ_—””è½___"j; 76Éd2£õ´ó÷÷§ÊÊJÝ|^^šýµïÛ§Ü Èú±X 777Èår„‡‡¬—Ëåð÷÷7XNn5 …P(XµjT*‚‚‚ ¶?|ø0Ž;¹\;»Î„ýüüt¯ýýýq÷î]ݼR©„¯¯¯A™²²2“õݺu îîîzˆ Öi ½…OX¿³téR|öÙgÐjµºeñññ8pàRSS¯[Þ~¸]QQ¡[ÖØØˆØØX$&&¢¨¨iiizõWVVâ½÷ÞÃþýû!‘<ý!§J¥R÷Z¡PÀÃãÛï \]]¡T*AD "TWWãüùó=ª³»8°~'99UUU˜3gŽ?…B,Y²jµ+W®„X,ìÝ»uuuøê«¯t囚š Ñh  ÑØØˆO>ù@Û9?üîw¿C\\üýýQUU¥7³~ýz”••áâŋؼy3–-[Ö£÷…M›6áöíÛ())Á¼yó°k×®ÕÙm=>‰`¬ݹ HÔvÉoÆ 4yòd‰D$•Jéã?¦°°0Š‹‹#"¢mÛ¶‘X,&©TJÙÙÙzûùòË/iøðáäééIiiiO‰„ˆLŸ»ã—~üêÜ}Ïž=4nÜ8ruu¥µk×Rcc£®S—;먫«£+V‹‹ 1‚V¯^M ]ú|`¡>~ëU™™™ˆ‹‹³Øp`Fƒ¢¢"Ìœ9Ó"õu¦¬¬ ~~~ýr(³@ @FFbcc{TŸ°gŠP(ì“/¿­àÀ˜ C‡Åš5k¬F¯âÀ˜ ‰éééÖ£Wq`̆q`̆q`̆q`̆q`̆ñ` Ö«ÚÇô÷×Gb=Ëzþõå;Y¯R«Õ8zô¨ÞÀÖsöööxóÍ7!‰zT'Æl÷0fÃ80fÃ80fôvŒ1ëø_-¸5 XñIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_4.map000066400000000000000000000002661255273444100246250ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_4.md5000066400000000000000000000000401255273444100245230ustar00rootroot0000000000000013b45b42efd00a37b69aa1f1d8f765b2merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_4.png000066400000000000000000000021441255273444100246310ustar00rootroot00000000000000‰PNG  IHDRK% °ÀbKGDÿÿÿ ½§“IDAThíšÍKj]ƯoVq¬Ì ƒ šTiù”X¤ˆqÐ'FP¢ƒhà@$…y!Š&…£@(ˆÂ ‘:*C©Ad…&ƺƒ(®ŸuJ»½q~°aŸµÏÙëa»÷:*ˆïá÷¯=ƒÿœY,àÌbg þKœŸŸcxxÑhô_Ìç[P__«Õšç%Ÿ†N§]]]_6¹ïÄÅÅ‘¦Hø²²^p:ùÕ7åe±¤ƒÛ³XÀ™ÅÎ,pf± gf=<<`||())AKK Ìf3âñø§µy<^Ææ÷ûÁãñrÁÛd< Ùpww‡––ˆD"X,Èårœazz.— .— |>ÿÃúÁ`0á:‹A­VC&“aLLL|6…÷AIlllPšpVFGGI¥RQ<OˆßßßSuu5ÙívVzoa4I"‘ÐÕÕUNu‰²æï̉Yb±˜\.WÚ1›ÍF*•Š|>_‚nòõÎÎ555Qqq1‰Åb2›ÍiõÜn7Ðþþ~ŠÎKkk‹êê꨼¼œôz=E£Ñwç’W³nnn]__§?88 ¡P˜Õ¬p8L€t:r8 eå„Ãa’Édd2™Òê¼ôÕj5y½^:<<¤ÚÚZš››{w>ÙÌÊÙŸi“%"üú•ý1………8==…ÕjEEE¤R)àöö6á>ƒÁ…BÉÉɬz‹‹‹P(hmm…Éd‚Ãá`‘If>½Á3 ±X ÇƒŽŽŽ”qÇ¥R™§¿Þ½¼^/pæææ”û777±»» Çó¦ù …ⵯT*ؤ”‘œ¬¬ÞÞ^ÌÏÏãééé5¦Õj±¾¾‹Å­Vû)%.//_c‘HÝÝÝÃÉÉ l6[‚~0ÄÐÐÖÖÖ ‰ÞœÏç{í{½^H$’çö791kff¡PØÛÛƒ×ëEMM zzzFÑß߆a«««‡Ã _<>>"‹A  ‰`vvÀsI:J¥¡P(¡¥Ã`0Àï÷ãèèF£}}}¹H37¥Ñs™022B TTTDr¹œ¦¦¦¨½½4 -,,Ã0$—Ëi{{;á9KKK$ I*•’Íf#­VK"‘ˆèùóš±¥ÛàWVV¨ªªŠÊÊÊH¯×S$ywy/²ñøøH9ÓËFò‰û¾ä4Ì„@ @[[[¾ó%ü¨éÒÒR æMÿG™%‰`·Ûó¦ÿ£ÌÊ7œY,àÌbg 2¾.//å<¾ ÇÇÇ™“+/·ÛM|>?kÕüÓ[eeeÚ¢4åiŽŒpÿÏbg 8³XÀ™Å‚?ûêFÀ® merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_5.md5000066400000000000000000000000401255273444100245240ustar00rootroot0000000000000086e1c51cca39eddf06726d40685e328amerkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_5.png000066400000000000000000000022701255273444100246320ustar00rootroot00000000000000‰PNG  IHDR]%¯br8bKGDÿÿÿ ½§“mIDAThí™OH:[Ço¿^SAÄ 9ˆ0•M†AÑ?ZX‹HˆV-T¬h!E´¡ÿYPRAµ0‹VEQ´)Œ Ф0j5F-R´\D6¡F5o1<ñ·_þ|‘=˜ÏêÞsï¹çÜ/3çÎÕ$š¦G¿À…Ó§ N8±úóóó I%ÎÎÎFZ’Xç‘R©´Z­UUUß›X"¹½½µÙl,ØÏ  ªªj}}ý»²J<ëëë*•Šeäê N8œ.p8]àįËóós___IIIFF†T*}}ýÓE’`\]]%%%Åè•››ÛÚÚêóù˜¡O}crÅÂÓÓ“T*Å0lbb‚ ˆËËË¡¡!‹Åb±X’““c_Çãñ„Û///r¹\$¡(Úßßÿ{Ç““‘HôööF’äÌÌLyyùÅÅŠ¢±øÆýo …B¡ ?£§§G&“½¾¾†-EåææšÍæO}?B¯× …ÂûûûOgœNg¸ûþþ^]]m0â‹»¶¶­Cœº‹ÅÂ2šL&™Læt:Ãa"Û;;;¥¥¥ééé`||œå{||œ’’rxxéÅ4¶¶¶ ø|¾V« ƒt”.4M¯¬¬TTTDûîïïã8~ttô›½|™.ŸÏDz[­VÕÅï÷#¢Ñh\.×òò2 ò¹ðûý"‘Èh4²¼˜†\.'IÒf³åç猌@u±Ûí(ŠFûÖ××Põ§ºÄY_Ñå¦é_¿à…<55õüüÇñôôtÇ|>ŸÕétb±x``ê;55%‹F£qpppxx8ö$'''‹‹‹cŸ&]P‡£¶¶6Òîp8$I¤…þçÒ I’íííE•••EÎÙÜÜÜÝÝu8iʈH$.— :Çétmgå;qžÓÍÍÍ£££oooLW­V¯®®NLL¨ÕjÆÂœÙn·›é¥RÙÛÛ{vvf2™Âëx<žÎÎΕ• Ã>ŠÅ¼’$…Baôš¦çææ¢‡RRRâÙ^ܺ ¯×[WW···G’d^^^SSS0lkkCQ°´´ä÷û×÷P(ôòò‚ H `^„§§'€F£Q©T‰Ä+–N§»ºº²Ûíz½¾¥¥…1ú|>¯×ëv»onnºººâÛ œ8ê.EQÝÝÝEEEiiiA ÖÔÔ¨T*š¦ÇÆÆP%b{{;bzzšÇãá8n2™Ôj5†aô?¹³jçââbNNNVV–V« ,/Ç›››ïîî 5;–|å9 % Y­Öø|¡Ä¾·ÿT—¯¼!RYYù… &}oÌÌÌìèèHHè­ †af³9!¡´. „Ó§ N8ûÑõõõÂÂÂ÷§’(NOO!VÖ÷ÌMÿOÈÎÎféÀþ¿‘ƒ«/p8]àpºÀátó7ü€¹Ü !ÛIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_6.map000066400000000000000000000003341255273444100246230ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_6.md5000066400000000000000000000000401255273444100245250ustar00rootroot00000000000000e549a1a7ad10ce59ae8a49ce2b78b075merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_6.png000066400000000000000000000027241255273444100246370ustar00rootroot00000000000000‰PNG  IHDRu%óè1bKGDÿÿÿ ½§“‰IDAThíš_hRoÇ_s“¨Q¦î8]Qþ‰ öçbt3v!I×k*¦ƒ9*‰Èÿ¬­² "·Á.‚D¶®By!ŒvQxƒM…AˆÿÕÆÊÕÖ6Ôá¿Ééâü~rvªlªFÓÓÓSîÐ×ëõNOOK¥ÒCϪJðx<‡£¤¾‡ãSª*d2ÆCÖ_b!õ%R_b!õ%– õÝÚÚ2---uuu/_¾ÜÞÞ.w áp˜B¡TµŸðp8\ê* Ã*•ª®®®Ü×R œþaO‰DGGAf³Y Ç»\.—ËE¥R÷¿N,+ØÙlV"‘ðx<:>00°{ ÛíæñxhOMMÍžQûáÇv»}qqñàKýŒâýû÷.z½¾³³s{{»àI&“.\°Z­{Æ–bhhˆËåþúõkÏ™€P(Têj(Úý%0|w¤R©T*E{*©6›Íd2¡·êÉ“'F£ÝnGO´===ÝÖÖvâÄ ‡c6›1 ÎÍÍŽŽNNNÖ××cNúÔÔÔ¥K— Òjµ™L¦TJ¸e!—Ë 6› AÁ`Èår˜  Ån·7551Œ‘‘ÀåË— È„ÍÍ;¾>‹uöìY½^_É'[´ØûÙ¿€ÕÕUŒßãñ0 ôû_°ãñ8Fëïï_^^¶Ùlô>Çã<ïÅ‹˜(ÄH$Á`Ðëõ …§OŸÂ0 ðù| ¹\…,5<<|íÚµ¥¥%¿ßßÞÞþàÁxçþôôôlllLLL~ÿþÙ¿J¥R,G"¿ßßÜÜŒ$PÖþ­Pßµµ5Œßív³X,\}3™ÌÂÂB2™Ìçó333`ç U«Õ‰$ŸÏãêë÷û ¹ …Bï×€>àê+‰b±b»\®ÖÖV¸HßÏŸ?Ã0œÍf?:<›ÍR©Ô@ € N'’À.ë[öóN§744ø|>±XŒöû|>‘H„9ˆA£Ñ‚ÁàÍ›7“Éd[[zŽÓéüøñ£Ïç;v ¿R]¼x1D"Ñòò2b‡B!¡Pˆž†Û|ûöÃᆧOŸ.žÃårµµµÅ—~þü™Ïç2 ……öO%õW©T>{ö,ŸÏ#C…B199i6› âAzµïß¿#ÃT*%“É ×/_,KaX,vûöíwïÞATê^ȆƒAD‹ýƒœ§Â±óz½ÅsJ½¯6›M¥R£Ñ(2ŒD"e%*Ó×d2­¬¬\¹råÓ§OÁ`Ïç_¿~=N߸qƒN§Þ¾}Ç_½z…ÌÏd2Ùl–F£¥R©'Ož‰ ¿¿_.—‹D¢˜{Ý»w/ÏÏÏ ©Tª²òìîî\\\ôûýW¯^}ýúuYáµµµr¹\«Õ~ýú5>~øyTÑh”Ïçïp¡›áÙÙÙ²~€ )F§Ó¡%¥Àäÿ‰„¬¿ÄBêK,¤¾ÄBêK,•Ùó>÷¶‹IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_7.map000066400000000000000000000003631255273444100246260ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_7.md5000066400000000000000000000000401255273444100245260ustar00rootroot0000000000000068ee3638ad52bd74efb9f115337756e9merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_7.png000066400000000000000000000033441255273444100246370ustar00rootroot00000000000000‰PNG  IHDR…%㤽…bKGDÿÿÿ ½§“™IDAThíšoHS_ÇŸ5·2fmÎÝmšÕÚŠVKAò…õB½J¨țÔBH¥Ü¬´?B‰JQ4fÞ„Iˆá›bDᡬ1*v7S[ÍþæÖþä8¿7ƺ›:Eôþð~^óœóœóœóݹçÙÝ! ¡ +–:š õ ´Ô‚ÖƒZ¤‘êOž<éêêZ’P–![·n½yóf¼…AʯÊËËÍfsQQÑâ¶ùôé“Åb!í?ù|@QQQOOÏbEµ|éééQ©T$#}P ZjAëA-h=¨ÅüõMMM;vìàp8………íííSSSs„‘ §ÓÉ`0æí•Š»Ó霮!TYYÉáp準!I~• “““………†uttH¥R»Ý~þüy“Éd2™˜Lfêãx<žX9‰(•J‰DÂårOŸ>=³ãàà D"‰·¤¥¥Íê• _¾|yðàÁØØØ }BW®\¹wïÞÄÄÄþýû»ººV¯^M4¹\®üüü¡¡!™L6ŸéÑ¿”•••••¡ÙÐétÅÅÅSSS1‹ßï߸q£ÑhœÕw:š››³³³¿}û6kOÀq|ºVÇ×µ€î¡ëׯoÛ¶mxxøíÛ·z½ž°‡B¡‚‚‚™Çñøñãĉ橇H$2™L$£Á`(..Ž_O|¹¿¿_¡P¤§§‹D¢ööv’ï«W¯X,ÖÀÀ@¼QèëëÛ²e‹@ ¨«« …Bhš %yÆH$¢Óé0 :.‰Ü »»[.—óx¼ÎÎN„ŸÏ¡PHtðz½UUU|>?''§±±1 "„$É‹/ˆãããf³™(744ÔÖÖ.¶^¯¾ÿN²›ÍæÌÌ̤zø|>6›]SSãv»»»» þø|>‰DÒÖÖFò" J¥ÒápX,™LÖÚÚŠ«Õ:ÇŸ?’êÑÙÙyðàÁññq›Í–ŸŸæÌ” Ç¡C‡¼^ï;wàçÏŸ¤ó¡ÑhJJJ\.—ÍfËËËkmmýýû7ܸqC*•òx¼ªª*¯×‹êëëÛ¾};ѺzüøñƒdÌÊÊJªG8~ÿþ½ßïF£¤ˆ«««•Je4%y›Í[€L&CÉ~@ëïïOª‡\.÷x|ؽ{÷‘#GFGG×­[÷îÝ;4Ûó0FR=æsŸs¹\‘HdµZKJJâíV«U.—Ç[b{Çf³DZcÇü~ÿÎ;ãûôöö>{öÌjµ®X‘<ÙÛ¼y3QËån·›(ã8Nº0“¦L£££b±8V]»vmbŸììl`±X‰M_¿~F£R©”¨Êd2·ÛÍãñÀh4ŠD"hkk+--u8MMM¹¹¹~¿@8^¹reÒÍÀ<ó]FséÒ¥h4JTÕjõ£G:::Ôj5a!rßÏŸ?Õ`0X^^®×뇇‡ ClÇS[[ûðáC 曋øÀ€Ãá ö.uˆó;Ö‹%±ÏtŸ …L&sdd„¨º\®œœ‡#ˆóÑh4==ýõë×õõõ P(ZZZæêß`æá.\˜˜˜Ø»wïóçÏǦM›***B¡ÐÑ£G¹\.Ü¿ßçóÅ^&‡ÃáH$Âf³ƒÁàÅ‹`rrjjjT*•\.Ÿˆƒ4WCCƒÓé|óæMssseeåœâ}›âÚµk™™™¹¹¹ƒA­Vc†¦ù+é&¸{÷î† ²²²êêêˆôRί|>_uu5ÇãóùZ­6 „ûƒT&Ýç¿~ý:|ø0ŸÏ‹Å'Ož$‡Ã'Nœ …b±8–t‘ô˜u2ßMJ8Že~ B*_þ¿$Õc!ß_±Ùì]»v-à€ËJ¿O\³fÍñãÇ—:ŠE…Òz`f4—:ŠE…Òz,Ch=¨­µ õ IÞ_ŒŒÜ¾}{ñCYn %±’¾œ:ujÑ[¾¬_¿ž´ÿäÿ'Ò,-ôýA-h=¨­µ õ ÿ-6½'1hïŽIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_8.map000066400000000000000000000003321255273444100246230ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_8.md5000066400000000000000000000000401255273444100245270ustar00rootroot0000000000000002515861175708d2c0f029465604a2a2merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_8.png000066400000000000000000000033541255273444100246410ustar00rootroot00000000000000‰PNG  IHDR‹%rabKGDÿÿÿ ½§“¡IDATxœíœmHSmÇÿË¢#§­¥†«µI#‚²b$~ˆFAPjë僣Œ>TPÍÒHƒŠAÅ¢–MG°,(FA4)°1‚böÂbVÂhn¬½u=z<¸v¶åK>>÷œûºÏùï:ÿÝ/î ˆˆ Ffzçýí ÿ˜Y‚afa†™…!˜ù|A‹Å‚ëׯÏt.ŒY@^^ÚÛÛ¡P(’úxÍÒÓÓƒwïÞ¡ªªjÚ“cÌ.z{{±ÿ~áf€ªª*ôôôLkbŒÙ‡H$JÙÇÖ, Á0³0ÃÌ 3 C0Sj–`0ˆ¦¦&¬^½‰Z­—.]B,›´¶H$Jy¸Ýî´ ³?Ñ™Œfaa!¶oߎ÷ïßó^Ÿöl"ån([ÆÆÆ Õj!—Ëa2™ R©ðæÍœ={6› 6› 999¬ïõzÚ‘H:J¥R©§N¬500¥R™Ÿ?~V:|šD„/_¾ ¥¥ûöíCÒµÙæËÇðð0´Z-FGG'¥“ÄCmm-ÕÖÖòu¥ääÉ“´iÓ&ŠÅb ñ@ @Ë–-£ÎÎάô2ÑÒÒBeeeôõë׬î@.—+ãu.—‹R”G¦Çã!ôýû÷¬òJ6ùe2›Í|]=S6 uuu¡µµ5iô(((@SSîܹ“4üþÞ~øð!*++‘ŸŸÒÒR˜L&ÞÏêïïÇ•+WÐÝÝE‹ñNV«+V¬€\.ÇÑ£G‡3>Cºé!Âh4bñâÅËå0ˆF£)µÆë‹Å8ݧOŸB¡PàÖ­[ÜçìܹÇçî ‡Ã(**£GÒÖdÆ €’’’?Î1kø,”íÈâóù}ûö·ÿÅ‹T\\œôm˜Øöûý$‹É`0Çã¡®®.4røý~R*•tñâE^ñsNGN§“I­VÓ¹sç¸oŽÝn§±±±„#òêŒsùòeÚµk}úô‰­]»–NŸ>¤é÷ûÉívSMM ­_¿>AkÛ¶môìÙ3²Ûíœö½{÷H¡PÐÏŸ?‰ˆÈjµRYYE£Ñ´5áYÒå(¤Y¦Ô,£££¼ý$“ÉÒš%ÓÛ·o)P<§çÏŸóï ¤Óé(óꌟ;®ßl6“Z­&¢_Åà;úúúÒšE£Ñ×ëåÚ6›Ö¬Yë™››KÕÕÕ\î¿ç4Q; RAA½|ù’ˆˆvïÞMÍÍÍkÂg–t9 %Y¦d+•JQRR»ÝŽÍ›7'õÛívh4š¤8MxIO,ÃétâàÁƒ¨¬¬Lºþþýûxüø1ìv;æÍK?ƒVTTpç‡k»\.¨Õê¤{ÜnwJ½> ´´4!VXX˜Qs"|5ÈÏÏÇŽ;`±X°råJôõõáõëׄÕ$›'Ë”­YöîÝ‹óçÏ#s1½^îîn˜L&èõz.>¾•þüù3 …B¨««ƒÑhÄÐÐ:::ô½^/>Œ»wïB.—gÌÇårqçN§eeeül “Éàr¹@D "ø|> f¥‘››Ë×ëõ°X,xðàÖ­[Ç=SM¦#ÇtL™YZ[[122‚-[¶àÉ“'p:X¾|9öìÙƒ?~àÀJ¥€Û·oÃï÷ãÚµkÜýáp‘Hb±¡Pmmm~mÉÀ`0 ¾¾### ÇŽƒÛíÆ«W¯¸mìd¨©©Ass3>~ü‡Ã­[·¢½½}Ršãèt:ø|>´µµÁ`0pñL5€@ 0#9˜º­3ѯmò‰'hÕªU”——G*•ŠÎœ9CÕÕÕT__ODD.\ ©TJ*•ЬVk¼{õêU*..¦òòrêèè ½^Or¹œ›KS|k›7oÒÒ¥KI&“Ñ‘#G( q:©¶ÎéÖ,~¿Ÿ¨¨¨ˆ.\H 3jòiñ­7I"‘P Hˆ§ªI4¥7’D"”£PfÍ"ú÷‚êêê`Ê^QˆD"â¶{Ó‰ÛíFEEx‹!‘H³ÙÌy`3óv¿X,ž£0¦—9÷Câ‚ pèС¿ÆœdΙE.—£³³óo§1'™sfaLÌ, Á0³0ÃÌÂLÊ߆†‡‡qãÆ™Ì…1Ëá5Kyy9z{{ÙôHNN–,YÂÛÇû\ƒöÿYÂafa†™…!f†`þþþȲK¥ž¨IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_9.map000066400000000000000000000003321255273444100246240ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_9.md5000066400000000000000000000000401255273444100245300ustar00rootroot00000000000000055970acedfd4e5fb689663f28ac64eemerkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherit_graph_9.png000066400000000000000000000032651255273444100246430ustar00rootroot00000000000000‰PNG  IHDR}%à?qèbKGDÿÿÿ ½§“jIDAThíšmHS]ÀÏ67”.cnzJ/²Y …ÜÓ@ÂdC”‚È—–E‘.È-‹Ee¨B}Xö†AVh"‚„ûAÕF™Øª;]fÖ(³›kÃvÙ<χû°æu›¶|¼âsŸÎùß{Îùïǹçþçä@Ë’Ãe:ÿ)¬wf`½3ëâhý®®®«W¯2’Ê fãÆ—/_phõLEE…ÕjÍÏÏ_ÚÄV2?~´Ùl4ÏôýÈÏÏïìì\ª¬V>•••´ {¾3ëXïÌÀzg†Ø½{½ÞúúúM›6!’››ÛØØè÷ûÿtN8†‡‡9NôQåå塼CæMcxx8ÒUá¾}û‰yþ¹„©gÂÏŸ?sssQmjj’ÉdCCC§OŸÆ0 Ã0·ðy\.W°M’¤F£ÉÈȉD'Nœˆ>°«««££cÏž=±åÿG|þüùÎ;>|XÌIálÊËË©­ƒÁPPPà÷ûƒdznݺÖÖÖyÇFÂh4¦¥¥}ýúuÞ;555b±ØårQ‡Ã1÷³,€Ãáˆtõ/'ïèè˜;Ús]]]­ÑhmÕ°ÛíÁ —ËC5]ºtI(Ž….ªP(‚ç†a999ýýý‚$YWWg4ù|>A/^,))ù×Âlï½½½B’$©8íaâñxCCCT·»»›J) a½ÇRψD"©T:88H‹* Ú˃jÇ‹‹‹7oÞ|ëÖ­Ð{º»»{zznß¾Íå†O&33“j(ŠñññÐKµµµJ¥òСC0¤¶MMM¥J#µZýþý{¥R¹jÕª/^X,–;w*•J‹ÅÒÛÛ[ZZvÅ´´4ŸÏŸ{éË—/@@&“Q]¹\NKiÄXGVUU?>P]­V{ïÞ½¦¦&­VKE¨šòÓ§OTwzzº¢¢âøñã&“)8Ëå:räÈÝ»wQ´µÝ8ŽSF~gÏå¶µµ=}úôÚµkÁ õÌM›ÍÆårKJJÌf3Žã*•jûöí†Y,–HÞ#í@JJ Çs:Twdd$===ÒÍÑ íÿ¾W§¦¦6lØPXXØÓÓóîÝ;£Ñ@QÔçóMLLnÞ¼955µk×.j ‚ 8ÎãÇ©ª000!,..Öét®ÙÐΙÂÂB‡ÃñüùóÌÌÌ3gÎÀ9åÇ•+W¨âê=z´¬¬lttôÕ«W[¶l©­­…Þ¿AµZM>‚deeg³ÏZ›v¾ïÝ»·¨¨Èét¾~ý:++‹J) ‹YÏ@=^¯ÏÎÎŽ—Éd§NÚ¶m[ee%„°¡¡A$Éd2³Ù\²¥¥E,¯^½Úd2iµZEa„ŸÔiÞoܸ±víÚ¤¤$NG4ï333jµ:¸Ûí®®®NLL”H$‡¦Þœ?~üˆ‹‹khh€z½^@P__ÿÛŸxÿþýûþýû%Ijjê±cÇ–®ž‰„Ïç³Z­± Ë_ÎË„E{¯FB äåå-â„+˜eýw1¡PXSSÃtÿ ËÚ;Š¢­­­LgñŸ°¬½¯`XïÌÀzgÖ;3„ùÝÃét†~ífùK^¾|&J«çëêê–<±•Ïš5khžéÿ/Ʋ4°ç;3°Þ™õÎ ¬wføràB.4”íIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/inherits.html000066400000000000000000000134121255273444100235700ustar00rootroot00000000000000 QuaZIP: Class Hierarchy
Class Hierarchy
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/nav_f.png000066400000000000000000000002311255273444100226470ustar00rootroot00000000000000‰PNG  IHDR8³»`IDATxíÝK€ EÑ–·[†øBÑmkâÄÂH—prÓ¼.‚Žó‚ꎤR6Z VI±E‚5j³„lóš›iI˜¬ÞêçJ0ŒÑÑ/Žû›™uøñóÞ¿6sH ÝõyIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/nav_g.png000066400000000000000000000001361255273444100226540ustar00rootroot00000000000000‰PNG  IHDRô1%IDATxíÝ;±{¥3Â𯆓,1íIuäÁÃ<«—Q¬IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/nav_h.png000066400000000000000000000001421255273444100226520ustar00rootroot00000000000000‰PNG  IHDR ,é@)IDATxíÝA @BQ­³šÛ›Ð¢Žáà) )ëý éaÅèÜ¿Æo‡RlÐßIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/open.png000066400000000000000000000001731255273444100225240ustar00rootroot00000000000000‰PNG  IHDR à‘BIDATxíÝÁ €0 Ð׬ՙ\Àº€39—b!©9{|ðI>$#Àß´ý8/¨ÄØzƒ/Ï>2À[ÎgiU,/¬~¼Ï\ Ä9Ù¸IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/pages.html000066400000000000000000000045371255273444100230520ustar00rootroot00000000000000 QuaZIP: Related Pages
QuaZIP  quazip-0-7
Related Pages
Here is a list of all related documentation pages:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quaadler32_8h_source.html000066400000000000000000000260571255273444100256760ustar00rootroot00000000000000 QuaZIP: quazip/quaadler32.h Source File
quaadler32.h
1 #ifndef QUAADLER32_H
2 #define QUAADLER32_H
3 
4 /*
5 Copyright (C) 2010 Adam Walczak
6 Copyright (C) 2005-2014 Sergey A. Tachenov
7 
8 This file is part of QuaZIP.
9 
10 QuaZIP is free software: you can redistribute it and/or modify
11 it under the terms of the GNU Lesser General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
14 
15 QuaZIP is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU Lesser General Public License for more details.
19 
20 You should have received a copy of the GNU Lesser General Public License
21 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
22 
23 See COPYING file for the full LGPL text.
24 
25 Original ZIP package is copyrighted by Gilles Vollant and contributors,
26 see quazip/(un)zip.h files for details. Basically it's the zlib license.
27 */
28 
29 #include <QByteArray>
30 
31 #include "quachecksum32.h"
32 
34 
38 class QUAZIP_EXPORT QuaAdler32 : public QuaChecksum32
39 {
40 
41 public:
42  QuaAdler32();
43 
44  quint32 calculate(const QByteArray &data);
45 
46  void reset();
47  void update(const QByteArray &buf);
48  quint32 value();
49 
50 private:
51  quint32 checksum;
52 };
53 
54 #endif //QUAADLER32_H
Adler32 checksum.
Definition: quaadler32.h:38
virtual quint32 calculate(const QByteArray &data)=0
Calculates the checksum for data.
virtual quint32 value()=0
Value of the checksum calculated for the stream passed throw update().
Checksum interface.
Definition: quachecksum32.h:52
virtual void update(const QByteArray &buf)=0
Updates the calculated checksum for the stream.
virtual void reset()=0
Resets the calculation on a checksun for a stream.
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quachecksum32_8h_source.html000066400000000000000000000216011255273444100263770ustar00rootroot00000000000000 QuaZIP: quazip/quachecksum32.h Source File
quachecksum32.h
1 #ifndef QUACHECKSUM32_H
2 #define QUACHECKSUM32_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
26 */
27 
28 #include <QByteArray>
29 #include "quazip_global.h"
30 
32 
52 class QUAZIP_EXPORT QuaChecksum32
53 {
54 
55 public:
57 
62  virtual quint32 calculate(const QByteArray &data) = 0;
63 
65  virtual void reset() = 0;
66 
68 
70  virtual void update(const QByteArray &buf) = 0;
71 
73 
75  virtual quint32 value() = 0;
76 };
77 
78 #endif //QUACHECKSUM32_H
Checksum interface.
Definition: quachecksum32.h:52
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quacrc32_8h_source.html000066400000000000000000000251051255273444100253470ustar00rootroot00000000000000 QuaZIP: quazip/quacrc32.h Source File
quacrc32.h
1 #ifndef QUACRC32_H
2 #define QUACRC32_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
26 */
27 
28 #include "quachecksum32.h"
29 
31 
35 class QUAZIP_EXPORT QuaCrc32 : public QuaChecksum32 {
36 
37 public:
38  QuaCrc32();
39 
40  quint32 calculate(const QByteArray &data);
41 
42  void reset();
43  void update(const QByteArray &buf);
44  quint32 value();
45 
46 private:
47  quint32 checksum;
48 };
49 
50 #endif //QUACRC32_H
virtual quint32 calculate(const QByteArray &data)=0
Calculates the checksum for data.
virtual quint32 value()=0
Value of the checksum calculated for the stream passed throw update().
Checksum interface.
Definition: quachecksum32.h:52
virtual void update(const QByteArray &buf)=0
Updates the calculated checksum for the stream.
CRC32 checksum.
Definition: quacrc32.h:35
virtual void reset()=0
Resets the calculation on a checksun for a stream.
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quagzipfile_8h_source.html000066400000000000000000000300751255273444100262460ustar00rootroot00000000000000 QuaZIP: quazip/quagzipfile.h Source File
quagzipfile.h
1 #ifndef QUAZIP_QUAGZIPFILE_H
2 #define QUAZIP_QUAGZIPFILE_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
26 */
27 
28 #include <QIODevice>
29 #include "quazip_global.h"
30 
31 #include <zlib.h>
32 
33 class QuaGzipFilePrivate;
34 
36 
39 class QUAZIP_EXPORT QuaGzipFile: public QIODevice {
40  Q_OBJECT
41 public:
43 
46  QuaGzipFile();
48 
52  QuaGzipFile(QObject *parent);
54 
58  QuaGzipFile(const QString &fileName, QObject *parent = NULL);
60  virtual ~QuaGzipFile();
62  void setFileName(const QString& fileName);
64  QString getFileName() const;
66 
73  virtual bool isSequential() const;
75 
79  virtual bool open(QIODevice::OpenMode mode);
81 
87  virtual bool open(int fd, QIODevice::OpenMode mode);
89 
93  virtual bool flush();
95  virtual void close();
96 protected:
98  virtual qint64 readData(char *data, qint64 maxSize);
100  virtual qint64 writeData(const char *data, qint64 maxSize);
101 private:
102  // not implemented by design to disable copy
103  QuaGzipFile(const QuaGzipFile &that);
104  QuaGzipFile& operator=(const QuaGzipFile &that);
105  QuaGzipFilePrivate *d;
106 };
107 
108 #endif // QUAZIP_QUAGZIPFILE_H
GZIP file.
Definition: quagzipfile.h:39
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quaziodevice_8h_source.html000066400000000000000000000244601255273444100264170ustar00rootroot00000000000000 QuaZIP: quazip/quaziodevice.h Source File
quaziodevice.h
1 #ifndef QUAZIP_QUAZIODEVICE_H
2 #define QUAZIP_QUAZIODEVICE_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
26 */
27 
28 #include <QIODevice>
29 #include "quazip_global.h"
30 
31 #include <zlib.h>
32 
33 class QuaZIODevicePrivate;
34 
36 
41 class QUAZIP_EXPORT QuaZIODevice: public QIODevice {
42  Q_OBJECT
43 public:
45 
49  QuaZIODevice(QIODevice *io, QObject *parent = NULL);
51  ~QuaZIODevice();
53 
73  virtual bool flush();
75 
79  virtual bool open(QIODevice::OpenMode mode);
81 
85  virtual void close();
87  QIODevice *getIoDevice() const;
89  virtual bool isSequential() const;
90 protected:
92  virtual qint64 readData(char *data, qint64 maxSize);
94  virtual qint64 writeData(const char *data, qint64 maxSize);
95 private:
96  QuaZIODevicePrivate *d;
97 };
98 #endif // QUAZIP_QUAZIODEVICE_H
A class to compress/decompress QIODevice.
Definition: quaziodevice.h:41
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quazip_8h_source.html000066400000000000000000000670441255273444100252450ustar00rootroot00000000000000 QuaZIP: quazip/quazip.h Source File
quazip.h
1 #ifndef QUA_ZIP_H
2 #define QUA_ZIP_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant, see
25 quazip/(un)zip.h files for details, basically it's zlib license.
26  **/
27 
28 #include <QString>
29 #include <QStringList>
30 #include <QTextCodec>
31 
32 #include "zip.h"
33 #include "unzip.h"
34 
35 #include "quazip_global.h"
36 #include "quazipfileinfo.h"
37 
38 // just in case it will be defined in the later versions of the ZIP/UNZIP
39 #ifndef UNZ_OPENERROR
40 // define additional error code
41 #define UNZ_OPENERROR -1000
42 #endif
43 
44 class QuaZipPrivate;
45 
47 
84 class QUAZIP_EXPORT QuaZip {
85  friend class QuaZipPrivate;
86  public:
88  enum Constants {
89  MAX_FILE_NAME_LENGTH=256
92  };
94  enum Mode {
98  mdAppend,
106  mdAdd
107  };
109 
115  csDefault=0,
116  csSensitive=1,
117  csInsensitive=2
118  };
120 
126  static Qt::CaseSensitivity convertCaseSensitivity(
127  CaseSensitivity cs);
128  private:
129  QuaZipPrivate *p;
130  // not (and will not be) implemented
131  QuaZip(const QuaZip& that);
132  // not (and will not be) implemented
133  QuaZip& operator=(const QuaZip& that);
134  public:
136 
137  QuaZip();
139  QuaZip(const QString& zipName);
141 
142  QuaZip(QIODevice *ioDevice);
144 
145  ~QuaZip();
147 
193  bool open(Mode mode, zlib_filefunc_def *ioApi =NULL);
195 
217  void close();
219 
224  void setFileNameCodec(QTextCodec *fileNameCodec);
226 
229  void setFileNameCodec(const char *fileNameCodecName);
231  QTextCodec* getFileNameCodec() const;
233 
235  void setCommentCodec(QTextCodec *commentCodec);
237 
240  void setCommentCodec(const char *commentCodecName);
242  QTextCodec* getCommentCodec() const;
244 
249  QString getZipName() const;
251 
256  void setZipName(const QString& zipName);
258 
262  QIODevice *getIoDevice() const;
264 
269  void setIoDevice(QIODevice *ioDevice);
271  Mode getMode() const;
273  bool isOpen() const;
275 
283  int getZipError() const;
285 
288  int getEntriesCount() const;
290  QString getComment() const;
292 
300  void setComment(const QString& comment);
302 
305  bool goToFirstFile();
307 
324  bool goToNextFile();
326 
350  bool setCurrentFile(const QString& fileName, CaseSensitivity cs =csDefault);
352  bool hasCurrentFile() const;
354 
375  bool getCurrentFileInfo(QuaZipFileInfo* info)const;
377 
385  bool getCurrentFileInfo(QuaZipFileInfo64* info)const;
387 
393  QString getCurrentFileName()const;
395 
410  unzFile getUnzFile();
412 
416  zipFile getZipFile();
418 
445  void setDataDescriptorWritingEnabled(bool enabled);
447 
450  bool isDataDescriptorWritingEnabled() const;
452 
458  QStringList getFileNameList() const;
460 
472  QList<QuaZipFileInfo> getFileInfoList() const;
474 
482  QList<QuaZipFileInfo64> getFileInfoList64() const;
484 
497  void setZip64Enabled(bool zip64);
499 
504  bool isZip64Enabled() const;
506 
509  bool isAutoClose() const;
511 
531  void setAutoClose(bool autoClose) const;
533 
562  static void setDefaultFileNameCodec(QTextCodec *codec);
568  static void setDefaultFileNameCodec(const char *codecName);
569 };
570 
571 #endif
Constants
Useful constants.
Definition: quazip.h:88
ZIP file is not open. This is the initial mode.
Definition: quazip.h:95
ZIP file was created with open() call.
Definition: quazip.h:97
Information about a file inside archive.
Definition: quazipfileinfo.h:37
Mode
Open mode of the ZIP file.
Definition: quazip.h:94
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:77
ZIP file is open for reading files inside it.
Definition: quazip.h:96
ZIP archive.
Definition: quazip.h:84
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:114
All the internal stuff for the QuaZip class.
Definition: quazip.cpp:39
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quazip__global_8h_source.html000066400000000000000000000230461255273444100267160ustar00rootroot00000000000000 QuaZIP: quazip/quazip_global.h Source File
quazip_global.h
1 #ifndef QUAZIP_GLOBAL_H
2 #define QUAZIP_GLOBAL_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
26 */
27 
28 #include <QtCore/qglobal.h>
29 
36 #ifdef QUAZIP_STATIC
37 #define QUAZIP_EXPORT
38 #else
39 
43 #if defined(QUAZIP_BUILD)
44  #define QUAZIP_EXPORT Q_DECL_EXPORT
45 #else
46  #define QUAZIP_EXPORT Q_DECL_IMPORT
47 #endif
48 #endif // QUAZIP_STATIC
49 
50 #ifdef __GNUC__
51 #define UNUSED __attribute__((__unused__))
52 #else
53 #define UNUSED
54 #endif
55 
56 #define QUAZIP_EXTRA_NTFS_MAGIC 0x000Au
57 #define QUAZIP_EXTRA_NTFS_TIME_MAGIC 0x0001u
58 
59 #endif // QUAZIP_GLOBAL_H
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quazipdir_8h_source.html000066400000000000000000000441721255273444100257410ustar00rootroot00000000000000 QuaZIP: quazip/quazipdir.h Source File
quazipdir.h
1 #ifndef QUAZIP_QUAZIPDIR_H
2 #define QUAZIP_QUAZIPDIR_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
26 */
27 
28 class QuaZipDirPrivate;
29 
30 #include "quazip.h"
31 #include "quazipfileinfo.h"
32 #include <QDir>
33 #include <QList>
34 #include <QSharedDataPointer>
35 
37 
54 class QUAZIP_EXPORT QuaZipDir {
55 private:
56  QSharedDataPointer<QuaZipDirPrivate> d;
57 public:
59  QuaZipDir(const QuaZipDir &that);
61 
65  QuaZipDir(QuaZip *zip, const QString &dir = QString());
67  ~QuaZipDir();
69  bool operator==(const QuaZipDir &that);
71 
75  inline bool operator!=(const QuaZipDir &that) {return !operator==(that);}
77 
81  QuaZipDir& operator=(const QuaZipDir &that);
83  QString operator[](int pos) const;
85  QuaZip::CaseSensitivity caseSensitivity() const;
87 
96  bool cd(const QString &dirName);
98  bool cdUp();
100  uint count() const;
102 
105  QString dirName() const;
107 
114  QList<QuaZipFileInfo> entryInfoList(const QStringList &nameFilters,
115  QDir::Filters filters = QDir::NoFilter,
116  QDir::SortFlags sort = QDir::NoSort) const;
118 
123  QList<QuaZipFileInfo> entryInfoList(QDir::Filters filters = QDir::NoFilter,
124  QDir::SortFlags sort = QDir::NoSort) const;
126 
133  QList<QuaZipFileInfo64> entryInfoList64(const QStringList &nameFilters,
134  QDir::Filters filters = QDir::NoFilter,
135  QDir::SortFlags sort = QDir::NoSort) const;
137 
142  QList<QuaZipFileInfo64> entryInfoList64(QDir::Filters filters = QDir::NoFilter,
143  QDir::SortFlags sort = QDir::NoSort) const;
145 
149  QStringList entryList(const QStringList &nameFilters,
150  QDir::Filters filters = QDir::NoFilter,
151  QDir::SortFlags sort = QDir::NoSort) const;
153 
158  QStringList entryList(QDir::Filters filters = QDir::NoFilter,
159  QDir::SortFlags sort = QDir::NoSort) const;
161 
167  bool exists(const QString &fileName) const;
169  bool exists() const;
171 
174  QString filePath(const QString &fileName) const;
176  QDir::Filters filter();
178 
181  bool isRoot() const;
183  QStringList nameFilters() const;
185 
189  QString path() const;
191 
199  QString relativeFilePath(const QString &fileName) const;
201  void setCaseSensitivity(QuaZip::CaseSensitivity caseSensitivity);
203  void setFilter(QDir::Filters filters);
205  void setNameFilters(const QStringList &nameFilters);
207 
216  void setPath(const QString &path);
218  void setSorting(QDir::SortFlags sort);
220  QDir::SortFlags sorting() const;
221 };
222 
223 #endif // QUAZIP_QUAZIPDIR_H
bool operator!=(const QuaZipDir &that)
operator!=
Definition: quazipdir.h:75
ZIP archive.
Definition: quazip.h:84
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:114
Provides ZIP archive navigation.
Definition: quazipdir.h:54
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quazipfile_8h_source.html000066400000000000000000000536541255273444100261070ustar00rootroot00000000000000 QuaZIP: quazip/quazipfile.h Source File
quazipfile.h
1 #ifndef QUA_ZIPFILE_H
2 #define QUA_ZIPFILE_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant, see
25 quazip/(un)zip.h files for details, basically it's zlib license.
26  **/
27 
28 #include <QIODevice>
29 
30 #include "quazip_global.h"
31 #include "quazip.h"
32 #include "quazipnewinfo.h"
33 
34 class QuaZipFilePrivate;
35 
37 
74 class QUAZIP_EXPORT QuaZipFile: public QIODevice {
75  friend class QuaZipFilePrivate;
76  Q_OBJECT
77  private:
79  // these are not supported nor implemented
80  QuaZipFile(const QuaZipFile& that);
81  QuaZipFile& operator=(const QuaZipFile& that);
82  protected:
84  qint64 readData(char *data, qint64 maxSize);
86  qint64 writeData(const char *data, qint64 maxSize);
87  public:
89 
92  QuaZipFile();
94 
99  QuaZipFile(QObject *parent);
101 
110  QuaZipFile(const QString& zipName, QObject *parent =NULL);
112 
121  QuaZipFile(const QString& zipName, const QString& fileName,
122  QuaZip::CaseSensitivity cs =QuaZip::csDefault, QObject *parent =NULL);
124 
172  QuaZipFile(QuaZip *zip, QObject *parent =NULL);
174 
177  virtual ~QuaZipFile();
179 
188  QString getZipName()const;
190 
193  QuaZip* getZip()const;
195 
207  QString getFileName() const;
209 
220  QuaZip::CaseSensitivity getCaseSensitivity() const;
222 
246  QString getActualFileName()const;
248 
254  void setZipName(const QString& zipName);
256 
260  bool isRaw() const;
262 
270  void setZip(QuaZip *zip);
272 
283  void setFileName(const QString& fileName, QuaZip::CaseSensitivity cs =QuaZip::csDefault);
285 
292  virtual bool open(OpenMode mode);
294 
298  inline bool open(OpenMode mode, const char *password)
299  {return open(mode, NULL, NULL, false, password);}
301 
312  bool open(OpenMode mode, int *method, int *level, bool raw, const char *password =NULL);
314 
341  bool open(OpenMode mode, const QuaZipNewInfo& info,
342  const char *password =NULL, quint32 crc =0,
343  int method =Z_DEFLATED, int level =Z_DEFAULT_COMPRESSION, bool raw =false,
344  int windowBits =-MAX_WBITS, int memLevel =DEF_MEM_LEVEL, int strategy =Z_DEFAULT_STRATEGY);
346  virtual bool isSequential()const;
348 
369  virtual qint64 pos()const;
371 
387  virtual bool atEnd()const;
389 
401  virtual qint64 size()const;
403 
410  qint64 csize()const;
412 
420  qint64 usize()const;
422 
438  bool getFileInfo(QuaZipFileInfo *info);
440 
445  bool getFileInfo(QuaZipFileInfo64 *info);
447 
449  virtual void close();
451  int getZipError() const;
453  virtual qint64 bytesAvailable() const;
454 };
455 
456 #endif
Information about a file to be created.
Definition: quazipnewinfo.h:50
Information about a file inside archive.
Definition: quazipfileinfo.h:37
bool open(OpenMode mode, const char *password)
Opens a file for reading.
Definition: quazipfile.h:298
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:77
ZIP archive.
Definition: quazip.h:84
A file inside ZIP archive.
Definition: quazipfile.h:74
CaseSensitivity
Case sensitivity for the file names.
Definition: quazip.h:114
The implementation class for QuaZip.
Definition: quazipfile.cpp:37
Default for platform. Case sensitive for UNIX, not for Windows.
Definition: quazip.h:115
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quazipfileinfo_8h_source.html000066400000000000000000000700731255273444100267550ustar00rootroot00000000000000 QuaZIP: quazip/quazipfileinfo.h Source File
quazipfileinfo.h
1 #ifndef QUA_ZIPFILEINFO_H
2 #define QUA_ZIPFILEINFO_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant and contributors,
25 see quazip/(un)zip.h files for details. Basically it's the zlib license.
26 */
27 
28 #include <QByteArray>
29 #include <QDateTime>
30 #include <QFile>
31 
32 #include "quazip_global.h"
33 
35 
37 struct QUAZIP_EXPORT QuaZipFileInfo {
39  QString name;
41  quint16 versionCreated;
43  quint16 versionNeeded;
45  quint16 flags;
47  quint16 method;
49  QDateTime dateTime;
51  quint32 crc;
53  quint32 compressedSize;
57  quint16 diskNumberStart;
59  quint16 internalAttr;
61  quint32 externalAttr;
63  QString comment;
65  QByteArray extra;
67 
71  QFile::Permissions getPermissions() const;
72 };
73 
75 
77 struct QUAZIP_EXPORT QuaZipFileInfo64 {
79  QString name;
81  quint16 versionCreated;
83  quint16 versionNeeded;
85  quint16 flags;
87  quint16 method;
89 
96  QDateTime dateTime;
98  quint32 crc;
100  quint64 compressedSize;
106  quint16 internalAttr;
108  quint32 externalAttr;
110  QString comment;
112  QByteArray extra;
114 
118  QFile::Permissions getPermissions() const;
120 
130  bool toQuaZipFileInfo(QuaZipFileInfo &info) const;
132 
143  QDateTime getNTFSmTime(int *fineTicks = NULL) const;
145 
156  QDateTime getNTFSaTime(int *fineTicks = NULL) const;
158 
169  QDateTime getNTFScTime(int *fineTicks = NULL) const;
170 };
171 
172 #endif
quint16 diskNumberStart
Disk number start.
Definition: quazipfileinfo.h:104
QByteArray extra
Extra field.
Definition: quazipfileinfo.h:112
quint16 versionCreated
Version created by.
Definition: quazipfileinfo.h:81
QString comment
Comment.
Definition: quazipfileinfo.h:110
quint32 externalAttr
External file attributes.
Definition: quazipfileinfo.h:108
quint16 versionNeeded
Version needed to extract.
Definition: quazipfileinfo.h:83
QByteArray extra
Extra field.
Definition: quazipfileinfo.h:65
quint16 flags
General purpose flags.
Definition: quazipfileinfo.h:45
QString name
File name.
Definition: quazipfileinfo.h:39
quint16 versionCreated
Version created by.
Definition: quazipfileinfo.h:41
QString comment
Comment.
Definition: quazipfileinfo.h:63
quint32 compressedSize
Compressed file size.
Definition: quazipfileinfo.h:53
Information about a file inside archive.
Definition: quazipfileinfo.h:37
quint32 crc
CRC.
Definition: quazipfileinfo.h:98
quint64 compressedSize
Compressed file size.
Definition: quazipfileinfo.h:100
quint16 versionNeeded
Version needed to extract.
Definition: quazipfileinfo.h:43
quint16 internalAttr
Internal file attributes.
Definition: quazipfileinfo.h:59
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:77
quint16 method
Compression method.
Definition: quazipfileinfo.h:87
QDateTime dateTime
Last modification date and time.
Definition: quazipfileinfo.h:49
quint64 uncompressedSize
Uncompressed file size.
Definition: quazipfileinfo.h:102
quint32 uncompressedSize
Uncompressed file size.
Definition: quazipfileinfo.h:55
quint32 crc
CRC.
Definition: quazipfileinfo.h:51
QDateTime dateTime
Last modification date and time.
Definition: quazipfileinfo.h:96
quint16 flags
General purpose flags.
Definition: quazipfileinfo.h:85
quint16 diskNumberStart
Disk number start.
Definition: quazipfileinfo.h:57
quint32 externalAttr
External file attributes.
Definition: quazipfileinfo.h:61
quint16 method
Compression method.
Definition: quazipfileinfo.h:47
QString name
File name.
Definition: quazipfileinfo.h:79
quint16 internalAttr
Internal file attributes.
Definition: quazipfileinfo.h:106
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/quazipnewinfo_8h_source.html000066400000000000000000000424531255273444100266300ustar00rootroot00000000000000 QuaZIP: quazip/quazipnewinfo.h Source File
quazipnewinfo.h
1 #ifndef QUA_ZIPNEWINFO_H
2 #define QUA_ZIPNEWINFO_H
3 
4 /*
5 Copyright (C) 2005-2014 Sergey A. Tachenov
6 
7 This file is part of QuaZIP.
8 
9 QuaZIP is free software: you can redistribute it and/or modify
10 it under the terms of the GNU Lesser General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
13 
14 QuaZIP is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU Lesser General Public License for more details.
18 
19 You should have received a copy of the GNU Lesser General Public License
20 along with QuaZIP. If not, see <http://www.gnu.org/licenses/>.
21 
22 See COPYING file for the full LGPL text.
23 
24 Original ZIP package is copyrighted by Gilles Vollant, see
25 quazip/(un)zip.h files for details, basically it's zlib license.
26  **/
27 
28 #include <QDateTime>
29 #include <QFile>
30 #include <QString>
31 
32 #include "quazip_global.h"
33 
34 #include "quazipfileinfo.h"
35 
37 
50 struct QUAZIP_EXPORT QuaZipNewInfo {
52 
55  QString name;
57 
62  QDateTime dateTime;
64  quint16 internalAttr;
66 
71  quint32 externalAttr;
73 
75  QString comment;
77  QByteArray extraLocal;
79  QByteArray extraGlobal;
81 
86 
90  QuaZipNewInfo(const QString& name);
92 
100  QuaZipNewInfo(const QString& name, const QString& file);
102 
108  QuaZipNewInfo(const QuaZipFileInfo &existing);
110 
116  QuaZipNewInfo(const QuaZipFileInfo64 &existing);
118 
132  void setFileDateTime(const QString& file);
134 
139  void setFilePermissions(const QString &file);
141 
146  void setPermissions(QFile::Permissions permissions);
148 
162  void setFileNTFSTimes(const QString &fileName);
164 
176  void setFileNTFSmTime(const QDateTime &mTime, int fineTicks = 0);
178 
190  void setFileNTFSaTime(const QDateTime &aTime, int fineTicks = 0);
192 
204  void setFileNTFScTime(const QDateTime &cTime, int fineTicks = 0);
205 };
206 
207 #endif
Information about a file to be created.
Definition: quazipnewinfo.h:50
quint16 internalAttr
File internal attributes.
Definition: quazipnewinfo.h:64
QByteArray extraLocal
File local extra field.
Definition: quazipnewinfo.h:77
ulong uncompressedSize
Uncompressed file size.
Definition: quazipnewinfo.h:84
QString comment
File comment.
Definition: quazipnewinfo.h:75
Information about a file inside archive.
Definition: quazipfileinfo.h:37
QDateTime dateTime
File timestamp.
Definition: quazipnewinfo.h:62
QByteArray extraGlobal
File global extra field.
Definition: quazipnewinfo.h:79
Information about a file inside archive (with zip64 support).
Definition: quazipfileinfo.h:77
quint32 externalAttr
File external attributes.
Definition: quazipnewinfo.h:71
QString name
File name.
Definition: quazipnewinfo.h:55
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor-members.html000066400000000000000000000056661255273444100310210ustar00rootroot00000000000000 QuaZIP: Member List
QIODevice_descriptor Member List

This is the complete list of members for QIODevice_descriptor, including all inherited members.

pos (defined in QIODevice_descriptor)QIODevice_descriptor
QIODevice_descriptor() (defined in QIODevice_descriptor)QIODevice_descriptorinline
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/structQIODevice__descriptor.html000066400000000000000000000056641255273444100273670ustar00rootroot00000000000000 QuaZIP: QIODevice_descriptor Struct Reference
QIODevice_descriptor Struct Reference

Public Attributes

qint64 pos
 

The documentation for this struct was generated from the following file:
  • quazip/qioapi.cpp
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo-members.html000066400000000000000000000137011255273444100274660ustar00rootroot00000000000000 QuaZIP: Member List
QuaZipFileInfo Member List
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo.html000066400000000000000000000314531255273444100260420ustar00rootroot00000000000000 QuaZIP: QuaZipFileInfo Struct Reference
QuaZipFileInfo Struct Reference

Information about a file inside archive. More...

#include <quazipfileinfo.h>

Public Member Functions

QFile::Permissions getPermissions () const
 Get the file permissions. More...
 

Public Attributes

QString name
 File name.
 
quint16 versionCreated
 Version created by.
 
quint16 versionNeeded
 Version needed to extract.
 
quint16 flags
 General purpose flags.
 
quint16 method
 Compression method.
 
QDateTime dateTime
 Last modification date and time.
 
quint32 crc
 CRC.
 
quint32 compressedSize
 Compressed file size.
 
quint32 uncompressedSize
 Uncompressed file size.
 
quint16 diskNumberStart
 Disk number start.
 
quint16 internalAttr
 Internal file attributes.
 
quint32 externalAttr
 External file attributes.
 
QString comment
 Comment.
 
QByteArray extra
 Extra field.
 

Detailed Description

Information about a file inside archive.

Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to fill this structure.

Member Function Documentation

QFile::Permissions QuaZipFileInfo::getPermissions ( ) const

Get the file permissions.

Returns the high 16 bits of external attributes converted to QFile::Permissions.


The documentation for this struct was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64-members.html000066400000000000000000000162301255273444100276400ustar00rootroot00000000000000 QuaZIP: Member List
QuaZipFileInfo64 Member List
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/structQuaZipFileInfo64.html000066400000000000000000000632331255273444100262150ustar00rootroot00000000000000 QuaZIP: QuaZipFileInfo64 Struct Reference
QuaZipFileInfo64 Struct Reference

Information about a file inside archive (with zip64 support). More...

#include <quazipfileinfo.h>

Public Member Functions

QFile::Permissions getPermissions () const
 Get the file permissions. More...
 
bool toQuaZipFileInfo (QuaZipFileInfo &info) const
 Converts to QuaZipFileInfo. More...
 
QDateTime getNTFSmTime (int *fineTicks=NULL) const
 Returns the NTFS modification time. More...
 
QDateTime getNTFSaTime (int *fineTicks=NULL) const
 Returns the NTFS access time. More...
 
QDateTime getNTFScTime (int *fineTicks=NULL) const
 Returns the NTFS creation time. More...
 

Public Attributes

QString name
 File name.
 
quint16 versionCreated
 Version created by.
 
quint16 versionNeeded
 Version needed to extract.
 
quint16 flags
 General purpose flags.
 
quint16 method
 Compression method.
 
QDateTime dateTime
 Last modification date and time. More...
 
quint32 crc
 CRC.
 
quint64 compressedSize
 Compressed file size.
 
quint64 uncompressedSize
 Uncompressed file size.
 
quint16 diskNumberStart
 Disk number start.
 
quint16 internalAttr
 Internal file attributes.
 
quint32 externalAttr
 External file attributes.
 
QString comment
 Comment.
 
QByteArray extra
 Extra field.
 

Detailed Description

Information about a file inside archive (with zip64 support).

Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to fill this structure.

Member Function Documentation

QFile::Permissions QuaZipFileInfo64::getPermissions ( ) const

Get the file permissions.

Returns the high 16 bits of external attributes converted to QFile::Permissions.

bool QuaZipFileInfo64::toQuaZipFileInfo ( QuaZipFileInfo info) const

Converts to QuaZipFileInfo.

If any of the fields are greater than 0xFFFFFFFFu, they are set to 0xFFFFFFFFu exactly, not just truncated. This function should be mainly used for compatibility with the old code expecting QuaZipFileInfo, in the cases when it's impossible or otherwise unadvisable (due to ABI compatibility reasons, for example) to modify that old code to use QuaZipFileInfo64.

Returns
true if all fields converted correctly, false if an overflow occured.

References QuaZipFileInfo::comment, comment, QuaZipFileInfo::compressedSize, compressedSize, QuaZipFileInfo::crc, crc, QuaZipFileInfo::dateTime, dateTime, QuaZipFileInfo::diskNumberStart, diskNumberStart, QuaZipFileInfo::externalAttr, externalAttr, QuaZipFileInfo::extra, extra, QuaZipFileInfo::flags, flags, QuaZipFileInfo::internalAttr, internalAttr, QuaZipFileInfo::method, method, QuaZipFileInfo::name, name, QuaZipFileInfo::uncompressedSize, uncompressedSize, QuaZipFileInfo::versionCreated, versionCreated, QuaZipFileInfo::versionNeeded, and versionNeeded.

Referenced by QuaZip::getCurrentFileInfo(), and QuaZipFile::getFileInfo().

QDateTime QuaZipFileInfo64::getNTFSmTime ( int *  fineTicks = NULL) const

Returns the NTFS modification time.

The getNTFS*Time() functions only work if there is an NTFS extra field present. Otherwise, they all return invalid null timestamps.

Parameters
fineTicksIf not NULL, the fractional part of milliseconds returned there, measured in 100-nanosecond ticks. Will be set to zero if there is no NTFS extra field.
See Also
dateTime
getNTFSaTime()
getNTFScTime()
Returns
The NTFS modification time, UTC
QDateTime QuaZipFileInfo64::getNTFSaTime ( int *  fineTicks = NULL) const

Returns the NTFS access time.

The getNTFS*Time() functions only work if there is an NTFS extra field present. Otherwise, they all return invalid null timestamps.

Parameters
fineTicksIf not NULL, the fractional part of milliseconds returned there, measured in 100-nanosecond ticks. Will be set to zero if there is no NTFS extra field.
See Also
dateTime
getNTFSmTime()
getNTFScTime()
Returns
The NTFS access time, UTC
QDateTime QuaZipFileInfo64::getNTFScTime ( int *  fineTicks = NULL) const

Returns the NTFS creation time.

The getNTFS*Time() functions only work if there is an NTFS extra field present. Otherwise, they all return invalid null timestamps.

Parameters
fineTicksIf not NULL, the fractional part of milliseconds returned there, measured in 100-nanosecond ticks. Will be set to zero if there is no NTFS extra field.
See Also
dateTime
getNTFSmTime()
getNTFSaTime()
Returns
The NTFS creation time, UTC

Member Data Documentation

QDateTime QuaZipFileInfo64::dateTime

Last modification date and time.

This is the time stored in the standard ZIP header. This format only allows to store time with 2-second precision, so the seconds will always be even and the milliseconds will always be zero. If you need more precise date and time, you can try to call the getNTFSmTime() function or its siblings, provided that the archive itself contains these NTFS times.

Referenced by QuaZip::getCurrentFileInfo(), and toQuaZipFileInfo().


The documentation for this struct was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo-members.html000066400000000000000000000164341255273444100273460ustar00rootroot00000000000000 QuaZIP: Member List
QuaZipNewInfo Member List

This is the complete list of members for QuaZipNewInfo, including all inherited members.

commentQuaZipNewInfo
dateTimeQuaZipNewInfo
externalAttrQuaZipNewInfo
extraGlobalQuaZipNewInfo
extraLocalQuaZipNewInfo
internalAttrQuaZipNewInfo
nameQuaZipNewInfo
QuaZipNewInfo(const QString &name)QuaZipNewInfo
QuaZipNewInfo(const QString &name, const QString &file)QuaZipNewInfo
QuaZipNewInfo(const QuaZipFileInfo &existing)QuaZipNewInfo
QuaZipNewInfo(const QuaZipFileInfo64 &existing)QuaZipNewInfo
setFileDateTime(const QString &file)QuaZipNewInfo
setFileNTFSaTime(const QDateTime &aTime, int fineTicks=0)QuaZipNewInfo
setFileNTFScTime(const QDateTime &cTime, int fineTicks=0)QuaZipNewInfo
setFileNTFSmTime(const QDateTime &mTime, int fineTicks=0)QuaZipNewInfo
setFileNTFSTimes(const QString &fileName)QuaZipNewInfo
setFilePermissions(const QString &file)QuaZipNewInfo
setPermissions(QFile::Permissions permissions)QuaZipNewInfo
uncompressedSizeQuaZipNewInfo
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/structQuaZipNewInfo.html000066400000000000000000001034021255273444100257060ustar00rootroot00000000000000 QuaZIP: QuaZipNewInfo Struct Reference

Information about a file to be created. More...

#include <quazipnewinfo.h>

Public Member Functions

 QuaZipNewInfo (const QString &name)
 Constructs QuaZipNewInfo instance. More...
 
 QuaZipNewInfo (const QString &name, const QString &file)
 Constructs QuaZipNewInfo instance. More...
 
 QuaZipNewInfo (const QuaZipFileInfo &existing)
 Initializes the new instance from existing file info. More...
 
 QuaZipNewInfo (const QuaZipFileInfo64 &existing)
 Initializes the new instance from existing file info. More...
 
void setFileDateTime (const QString &file)
 Sets the file timestamp from the existing file. More...
 
void setFilePermissions (const QString &file)
 Sets the file permissions from the existing file. More...
 
void setPermissions (QFile::Permissions permissions)
 Sets the file permissions. More...
 
void setFileNTFSTimes (const QString &fileName)
 Sets the NTFS times from an existing file. More...
 
void setFileNTFSmTime (const QDateTime &mTime, int fineTicks=0)
 Sets the NTFS modification time. More...
 
void setFileNTFSaTime (const QDateTime &aTime, int fineTicks=0)
 Sets the NTFS access time. More...
 
void setFileNTFScTime (const QDateTime &cTime, int fineTicks=0)
 Sets the NTFS creation time. More...
 

Public Attributes

QString name
 File name. More...
 
QDateTime dateTime
 File timestamp. More...
 
quint16 internalAttr
 File internal attributes.
 
quint32 externalAttr
 File external attributes. More...
 
QString comment
 File comment. More...
 
QByteArray extraLocal
 File local extra field.
 
QByteArray extraGlobal
 File global extra field.
 
ulong uncompressedSize
 Uncompressed file size. More...
 

Detailed Description

Information about a file to be created.

This structure holds information about a file to be created inside ZIP archive. At least name should be set to something correct before passing this structure to QuaZipFile::open(OpenMode,const QuaZipNewInfo&,int,int,bool).

Zip64 support of this structure is slightly limited: in the raw mode (when a pre-compressed file is written into a ZIP file as-is), it is necessary to specify the uncompressed file size and the appropriate field is 32 bit. Since the raw mode is used extremely rare, there is no real need to have a separate QuaZipNewInfo64 structure like QuaZipFileInfo64. It may be added in the future though, if there is a demand for the raw mode with zip64 archives.

Constructor & Destructor Documentation

QuaZipNewInfo::QuaZipNewInfo ( const QString &  name)

Constructs QuaZipNewInfo instance.

Initializes name with name, dateTime with current date and time. Attributes are initialized with zeros, comment and extra field with null values.

QuaZipNewInfo::QuaZipNewInfo ( const QString &  name,
const QString &  file 
)

Constructs QuaZipNewInfo instance.

Initializes name with name. Timestamp and permissions are taken from the specified file. If the file does not exists or its timestamp is inaccessible (e. g. you do not have read permission for the directory file in), uses current time and zero permissions. Other attributes are initialized with zeros, comment and extra field with null values.

See Also
setFileDateTime()

References dateTime.

QuaZipNewInfo::QuaZipNewInfo ( const QuaZipFileInfo existing)

Initializes the new instance from existing file info.

Mainly used when copying files between archives.

Both extra fields are initialized to existing.extra. QuaZipNewInfo

Parameters
existing
QuaZipNewInfo::QuaZipNewInfo ( const QuaZipFileInfo64 existing)

Initializes the new instance from existing file info.

Mainly used when copying files between archives.

Both extra fields are initialized to existing.extra. QuaZipNewInfo

Parameters
existing

Member Function Documentation

void QuaZipNewInfo::setFileDateTime ( const QString &  file)

Sets the file timestamp from the existing file.

Use this function to set the file timestamp from the existing file. Use it like this:

QuaZipFile zipFile(&zip);
QFile file("file-to-add");
file.open(QIODevice::ReadOnly);
QuaZipNewInfo info("file-name-in-archive");
info.setFileDateTime("file-to-add"); // take the timestamp from file
zipFile.open(QIODevice::WriteOnly, info);

This function does not change dateTime if some error occured (e. g. file is inaccessible).

References dateTime.

void QuaZipNewInfo::setFilePermissions ( const QString &  file)

Sets the file permissions from the existing file.

Takes permissions from the file and sets the high 16 bits of external attributes. Uses QFileInfo to get permissions on all platforms.

void QuaZipNewInfo::setPermissions ( QFile::Permissions  permissions)

Sets the file permissions.

Modifies the highest 16 bits of external attributes. The type part is set to dir if the name ends with a slash, and to regular file otherwise.

References name.

void QuaZipNewInfo::setFileNTFSTimes ( const QString &  fileName)

Sets the NTFS times from an existing file.

If the file doesn't exist, a warning is printed to the stderr and nothing is done. Otherwise, all three times, as reported by QFileInfo::lastModified(), QFileInfo::lastRead() and QFileInfo::created(), are written to the NTFS extra field record.

The NTFS record is written to both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field.

The microseconds will be zero, as they aren't reported by QFileInfo.

Parameters
fileName

References setFileNTFSaTime(), setFileNTFScTime(), and setFileNTFSmTime().

void QuaZipNewInfo::setFileNTFSmTime ( const QDateTime &  mTime,
int  fineTicks = 0 
)

Sets the NTFS modification time.

The time is written into the NTFS record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact.

Parameters
mTimeThe new modification time.
fineTicksThe fractional part of milliseconds, in 100-nanosecond ticks (i. e. 9999 ticks = 999.9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged.

References extraGlobal, and extraLocal.

Referenced by setFileNTFSTimes().

void QuaZipNewInfo::setFileNTFSaTime ( const QDateTime &  aTime,
int  fineTicks = 0 
)

Sets the NTFS access time.

The time is written into the NTFS record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact.

Parameters
aTimeThe new access time.
fineTicksThe fractional part of milliseconds, in 100-nanosecond ticks (i. e. 9999 ticks = 999.9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged.

References extraGlobal, and extraLocal.

Referenced by setFileNTFSTimes().

void QuaZipNewInfo::setFileNTFScTime ( const QDateTime &  cTime,
int  fineTicks = 0 
)

Sets the NTFS creation time.

The time is written into the NTFS record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact.

Parameters
cTimeThe new creation time.
fineTicksThe fractional part of milliseconds, in 100-nanosecond ticks (i. e. 9999 ticks = 999.9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged.

References extraGlobal, and extraLocal.

Referenced by setFileNTFSTimes().

Member Data Documentation

QString QuaZipNewInfo::name

File name.

This field holds file name inside archive, including path relative to archive root.

Referenced by QuaZipFile::open(), and setPermissions().

QDateTime QuaZipNewInfo::dateTime

File timestamp.

This is the last file modification date and time. Will be stored in the archive central directory. It is a good practice to set it to the source file timestamp instead of archive creating time. Use setFileDateTime() or QuaZipNewInfo(const QString&, const QString&).

Referenced by QuaZipFile::open(), QuaZipNewInfo(), and setFileDateTime().

quint32 QuaZipNewInfo::externalAttr

File external attributes.

The highest 16 bits contain Unix file permissions and type (dir or file). The constructor QuaZipNewInfo(const QString&, const QString&) takes permissions from the provided file.

Referenced by QuaZipFile::open().

QString QuaZipNewInfo::comment

File comment.

Will be encoded using QuaZip::getCommentCodec().

Referenced by QuaZipFile::open().

ulong QuaZipNewInfo::uncompressedSize

Uncompressed file size.

This is only needed if you are using raw file zipping mode, i. e. adding precompressed file in the zip archive.

Referenced by QuaZipFile::open().


The documentation for this struct was generated from the following files:
merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/sync_off.png000066400000000000000000000015251255273444100233730ustar00rootroot00000000000000‰PNG  IHDRàw=øIDATxíÝKhTWÀñÿä1I&3™8M¦Iš™†I3Ú©b$cÌ I1V1±-(Tö±±Ð.* t!‚K[¥Ä¥ˆ„¨´f£`l(øl©"Y”¤6ÆgÌTú}·sgîܹ ±d{8?æÌ¹÷;çÜuíÚ`:!±F¬¢BäŠ?ŰÄm'yÊÅ>ÑlU¯½üý‰è_‹?€Œê ]€Y(ŠNñ±8fý1°Öqún-eâ¨øtºmâÈ Ó0}b›ù%·©µ×Œ®=Ÿ0´³?Š1sŸ‹0€¯8À‘;_ ‹W|%\ Zð— >舽ln¨p©.aÇ{ )t;Ú b nŸš¯›65°¢¡2çÅÔ?Žž>Oдàuönm¤¢Ì`×­Z¬WjC~>‘Ö¾0+á {{©fÝ×Mæ·æÅ•ìÙ¼˜` Ý›%uA6´½ÅÆö¨Á,]k¢ÄW¼™u±›]‹ˆ7§¯iòh€ ¶¶¬ÏÖu1 ló —Ҷ̺–:ÞÍ\ÄcãÏxøhR²Êè‡Qt$¿ß§¨ ª fdºü<4BÿÙ[•f¸d7=.Mé9/—éªÃëù/ÿO Üaàò}€,‘j?Ÿõ.5Úšm?œÿŸ®ŽXÿ2¬#¸d píæ(£?cÛú¼!½›a1¥Þ—ŽòØ©ܾ7dÔK:‚ùÒ‰ì)Ê3‚Ü™àÌà]€,±H€µ+køöäu<|`·LhC7¹ÔeÍ Ÿ×Ÿ˜tÜ‹ óH$^2%l.êaeÐäýE”ÌÉ|ÅÜìî‰Ýsä }¸ýDû^hzé~ðR›¦Ã¡¿]|#ü¯@×—Ö‡[k¹–<|š(Ç*€Ý¹dÇtMé:Ýñø«Ø,êÅû¢]”' øXÓ_nò¡Æ|Øý /c§fžâOIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/sync_on.png000066400000000000000000000015151255273444100232340ustar00rootroot00000000000000‰PNG  IHDRàw=øIDATxíÝ_HTYÀñï8ã¤ó§i§4-g6ÆËÕ&kQ)¨Ô!Š0ÒURKÚ…„ê¡/»PEÁ>ìK-+KÁ²Ñ.Y”¾dEPaA‰ø°¥¶›ZSÓïÜ;3wºŠ–¯—߯gfîïœsçœWKÇñ.€ÉøD­¨a‘'¬âq_ôˆk¢ÀŒ ÀDŽøQ´ÄïC¨¶åñÏÿgÅ ñ 0„Y‚:qZ¦Á)~õâ€èLý0HVñ× žz-¿‰C“%¨g¦˜6€é8%Úõ¬ëwêÙUÏ¿˜ª³Ä }? ?€·3ÀÀž©Š À”K• @hà a±ðaÇæUe‹ sù~ë2²ì“&Ú&B*AÄljæºììi*˨,Ëçí»÷oÆ£T”,d[˜¼3-*ÁÀ…>å‡Ë çLÉŸçfk˜Ò éw#*AEjKUy>ûšËÉõ&{µ¢8—m5Ki¬ jjƒD*¿NŽÖigwÃ7Dª’mz骹úKÛ¾±ˆ¶M!æ¤ÍkÐ?šoý¬_åÓlXí#Ò~–¸¬ê×ÒÑXŠÓ‘ùRÙ*Eû‚ՂדðEÜ;6«e"Q(²Ù=–¿Ezæ5Kؼָ_ 1òzBªJë ±XŒì96åªjL^7{ùãJÑ÷1½i@%8'7M©_\Qœ#ÓUŒËñýÿyõ Wo Éx8¼s¥v¯ªì|×SnÜ q_m Ýé î>bèÕí[JX,½4[Tú{R£ë¼ôˆ¾þa€tÝjjzzÅ'ÅìȶiIžŽòwÏs ¡€—ÕKøõâC^ŽŒ˜Y­¨µÉ%6¨´êˆº]vÛðhâ½iWv–hôëê°Ò¨¾'æÌ‚·ñ|[ßìúÅ^€YrD=<ýDû]äÇ÷s€Ïõ‹8™ºCì? À ¨—t4õᩎ¡Jã‡W‹É± îr¼cjMɘìx| šE©øNÔ‰œøA¢þ«–€Z¼ñ‡jó î#™§¢¢4gIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/tab_a.png000066400000000000000000000002161255273444100226270ustar00rootroot00000000000000‰PNG  IHDR$ÇÇ[UIDATxíK €0C'o¤(Šˆ[Žà%Üxÿ#Ù©­ç ùÁöó¦W¦e# 3t I 3+¼øEã~\D½9¯Ûàè’wM·¿öÿ}Yõ_êA4Yžã}IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/tab_b.png000066400000000000000000000002511255273444100226270ustar00rootroot00000000000000‰PNG  IHDR$ÇÇ[pIDATxíÝMƒ EáÇ»ÐÔ¸¸u`âÀ´V0РÆ}:t]DÁ²s¿ä®‚¶ýËu¥ø|’xùî½À>ÿ1»& mÄ8ÜSÙÑxÜLÀUûšÞ²ÄiE–ŠåOs„¢’nxàÒêÓKN²~jIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/tab_h.png000066400000000000000000000002611255273444100226360ustar00rootroot00000000000000‰PNG  IHDR$ÇÇ[xIDATxíÝMÁ@†áž~¥ÜÆÎ’Evˆ¿"!•²‘d*×rGq=Š{¼ßSݧçë­ÓÉHÇ uO^õø[À_‡¢ãXvyËþÒ±=·VCffææ{°öŠó´Rçœ%_õçÿŽ¢ö·°Çrug¶(?gh\i>|sIEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/tab_s.png000066400000000000000000000002701255273444100226510ustar00rootroot00000000000000‰PNG  IHDR$ÇÇ[IDATxíÝ ‚@@Ñ£?Q…¤"š¢%¦I‘—Šf–6[´HÃäQƒ<Þâõþ]ždr Í’s?ˆO=Ñññw'ÌF‡Ž íðö-~rÃ[œèŠ­ì¬mƒÖ¬ƒݯнŠÕF)Yº% §`nÌ,9B ™’©!ÑŒ\ý<Å#üîî•IEND®B`‚merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/tabs.css000066400000000000000000000022131255273444100225150ustar00rootroot00000000000000.tabs, .tabs2, .tabs3 { background-image: url('tab_b.png'); width: 100%; z-index: 101; font-size: 13px; font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; } .tabs2 { font-size: 10px; } .tabs3 { font-size: 9px; } .tablist { margin: 0; padding: 0; display: table; } .tablist li { float: left; display: table-cell; background-image: url('tab_b.png'); line-height: 36px; list-style: none; } .tablist a { display: block; padding: 0 20px; font-weight: bold; background-image:url('tab_s.png'); background-repeat:no-repeat; background-position:right; color: #283A5D; text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); text-decoration: none; outline: none; } .tabs3 .tablist a { padding: 0 10px; } .tablist a:hover { background-image: url('tab_h.png'); background-repeat:repeat-x; color: #fff; text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); text-decoration: none; } .tablist li.current a { background-image: url('tab_a.png'); background-repeat:repeat-x; color: #fff; text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); } merkaartor-0.18.2/3rdparty/quazip-0.7/doc/html/usage.html000066400000000000000000000147101255273444100230510ustar00rootroot00000000000000 QuaZIP: Usage
QuaZIP  quazip-0-7
Usage

This page provides general information on QuaZIP usage. See classes QuaZip and QuaZipFile for the detailed documentation on what can QuaZIP do and what it can not. Also, reading comments in the zip.h and unzip.h files (taken from the original ZIP/UNZIP package) is always a good idea too. After all, QuaZIP is just a wrapper with a few convenience extensions and reimplementations.

QuaZip is a class representing ZIP archive, QuaZipFile represents a file inside archive and subclasses QIODevice as well. One limitation is that there can be only one instance of QuaZipFile per QuaZip instance, which kind of makes it confusing why there are two classes instead of one. This is actually no more than an API design mistake.

Terminology

"QuaZIP" means whole this library, while "QuaZip" (note the lower case) is just one class in it.

"ZIP/UNZIP API" or "minizip" means the original API of the Gilles Vollant's ZIP/UNZIP package. It was slightly modified to better integrate with Qt. These modifications are not source or binary compatible with the official minizip release, which means you can't just drop the newer minizip version into QuaZIP sources and make it work.

"ZIP", "ZIP archive" or "ZIP file" means any ZIP archive. Typically this is a plain file with ".zip" (or ".ZIP") file name suffix, but it can also be any seekable QIODevice (say, QBuffer, but not QTcpSocket).

"A file inside archive", "a file inside ZIP" or something like that means file either being read or written from/to some ZIP archive.

Error handling

Almost any call to ZIP/UNZIP API return some error code. Most of the original API's error checking could be done in this wrapper as well, but it would cause unnecessary code bloating without any benefit. So, QuaZIP only checks for situations that ZIP/UNZIP API can not check for. For example, ZIP/UNZIP API has no "ZIP open mode" concept because read and write modes are completely separated. On the other hand, to avoid creating classes like "QuaZipReader", "QuaZipWriter" or something like that, QuaZIP introduces "ZIP open mode" concept instead, thus making it possible to use one class (QuaZip) for both reading and writing. But this leads to additional open mode checks which are not done in ZIP/UNZIP package.

Therefore, error checking is two-level (QuaZIP's level and ZIP/UNZIP API level), which sometimes can be confusing, so here are some advices on how the error checking should be properly done:

  • Both QuaZip and QuaZipFile have getZipError() function, which return error code of the last ZIP/UNZIP API call. Most function calls reset error code to UNZ_OK on success and set error code on failure. Some functions do not reset error code. Most of them are const and do not access ZIP archive in any way. Some, on the other hand, do access ZIP archive, but do not reset or set error code. For example, QuaZipFile::pos() function. Such functions are explicitly marked in the documentation.
  • Most functions have their own way to report errors, by returning a null string, negative value or false. If such a function returns error value, call getZipError() to get more information about error. See "zip.h" and "unzip.h" of the ZIP/UNZIP package for error codes.
  • If the function returns error-stating value (like false), but getZipError() returns UNZ_OK, it means that you did something obviously wrong. For example, tried to write in the archive open for reading or not open at all. You better just not do that! Most functions also issue a warning using qWarning() function in such cases. See documentation for a specific function for details on when it should not be called.

I know that this is somewhat messy, but I could not find a better way to do all the error handling.

merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/000077500000000000000000000000001255273444100212255ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/annotated.tex000066400000000000000000000036751255273444100237370ustar00rootroot00000000000000\section{Class List} Here are the classes, structs, unions and interfaces with brief descriptions\-:\begin{DoxyCompactList} \item\contentsline{section}{{\bf Jl\-Compress} \\*Utility class for typical operations }{\pageref{classJlCompress}}{} \item\contentsline{section}{{\bf Q\-I\-O\-Device\-\_\-descriptor} }{\pageref{structQIODevice__descriptor}}{} \item\contentsline{section}{{\bf Qua\-Adler32} \\*Adler32 checksum }{\pageref{classQuaAdler32}}{} \item\contentsline{section}{{\bf Qua\-Checksum32} \\*Checksum interface }{\pageref{classQuaChecksum32}}{} \item\contentsline{section}{{\bf Qua\-Crc32} \\*C\-R\-C32 checksum }{\pageref{classQuaCrc32}}{} \item\contentsline{section}{{\bf Qua\-Gzip\-File} \\*G\-Z\-I\-P file }{\pageref{classQuaGzipFile}}{} \item\contentsline{section}{{\bf Qua\-Z\-I\-O\-Device} \\*A class to compress/decompress Q\-I\-O\-Device }{\pageref{classQuaZIODevice}}{} \item\contentsline{section}{{\bf Qua\-Zip} \\*Z\-I\-P archive }{\pageref{classQuaZip}}{} \item\contentsline{section}{{\bf Qua\-Zip\-Dir} \\*Provides Z\-I\-P archive navigation }{\pageref{classQuaZipDir}}{} \item\contentsline{section}{{\bf Qua\-Zip\-File} \\*A file inside Z\-I\-P archive }{\pageref{classQuaZipFile}}{} \item\contentsline{section}{{\bf Qua\-Zip\-File\-Info} \\*Information about a file inside archive }{\pageref{structQuaZipFileInfo}}{} \item\contentsline{section}{{\bf Qua\-Zip\-File\-Info64} \\*Information about a file inside archive (with zip64 support) }{\pageref{structQuaZipFileInfo64}}{} \item\contentsline{section}{{\bf Qua\-Zip\-File\-Private} \\*The implementation class for \doxyref{Qua\-Zip}{p.}{classQuaZip} }{\pageref{classQuaZipFilePrivate}}{} \item\contentsline{section}{{\bf Qua\-Zip\-New\-Info} \\*Information about a file to be created }{\pageref{structQuaZipNewInfo}}{} \item\contentsline{section}{{\bf Qua\-Zip\-Private} \\*All the internal stuff for the \doxyref{Qua\-Zip}{p.}{classQuaZip} class }{\pageref{classQuaZipPrivate}}{} \end{DoxyCompactList} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classJlCompress.tex000066400000000000000000000266601255273444100250700ustar00rootroot00000000000000\section{Jl\-Compress Class Reference} \label{classJlCompress}\index{Jl\-Compress@{Jl\-Compress}} Utility class for typical operations. {\ttfamily \#include $<$Jl\-Compress.\-h$>$} \subsection*{Static Public Member Functions} \begin{DoxyCompactItemize} \item static bool {\bf compress\-File} (Q\-String file\-Compressed, Q\-String file) \begin{DoxyCompactList}\small\item\em Compress a single file. \end{DoxyCompactList}\item static bool {\bf compress\-Files} (Q\-String file\-Compressed, Q\-String\-List files) \begin{DoxyCompactList}\small\item\em Compress a list of files. \end{DoxyCompactList}\item static bool {\bf compress\-Dir} (Q\-String file\-Compressed, Q\-String dir=Q\-String(), bool recursive=true) \begin{DoxyCompactList}\small\item\em Compress a whole directory. \end{DoxyCompactList}\item static Q\-String {\bf extract\-File} (Q\-String file\-Compressed, Q\-String file\-Name, Q\-String file\-Dest=Q\-String()) \begin{DoxyCompactList}\small\item\em Extract a single file. \end{DoxyCompactList}\item static Q\-String\-List {\bf extract\-Files} (Q\-String file\-Compressed, Q\-String\-List files, Q\-String dir=Q\-String()) \begin{DoxyCompactList}\small\item\em Extract a list of files. \end{DoxyCompactList}\item static Q\-String\-List {\bf extract\-Dir} (Q\-String file\-Compressed, Q\-String dir=Q\-String()) \begin{DoxyCompactList}\small\item\em Extract a whole archive. \end{DoxyCompactList}\item static Q\-String\-List {\bf get\-File\-List} (Q\-String file\-Compressed) \begin{DoxyCompactList}\small\item\em Get the file list. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} Utility class for typical operations. This class contains a number of useful static functions to perform simple operations, such as mass Z\-I\-P packing or extraction. \subsection{Member Function Documentation} \index{Jl\-Compress@{Jl\-Compress}!compress\-File@{compress\-File}} \index{compress\-File@{compress\-File}!JlCompress@{Jl\-Compress}} \subsubsection[{compress\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool Jl\-Compress\-::compress\-File ( \begin{DoxyParamCaption} \item[{Q\-String}]{file\-Compressed, } \item[{Q\-String}]{file} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a4a4de9c62ecf161bb658d4d80495ea97} Compress a single file. \begin{DoxyParams}{Parameters} {\em file\-Compressed} & The name of the archive. \\ \hline {\em file} & The file to compress. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} true if success, false otherwise. \end{DoxyReturn} O\-K Comprime il file file\-Name nel file file\-Compressed. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare. La funzione fallisce se\-: \begin{DoxyItemize} \item non si riesce ad aprire l'oggetto zip; \item la compressione del file fallisce; \item non si riesce a chiudere l'oggetto zip; \end{DoxyItemize} References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Create, and Qua\-Zip\-::open(). \index{Jl\-Compress@{Jl\-Compress}!compress\-Files@{compress\-Files}} \index{compress\-Files@{compress\-Files}!JlCompress@{Jl\-Compress}} \subsubsection[{compress\-Files}]{\setlength{\rightskip}{0pt plus 5cm}bool Jl\-Compress\-::compress\-Files ( \begin{DoxyParamCaption} \item[{Q\-String}]{file\-Compressed, } \item[{Q\-String\-List}]{files} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a9cdb92d29a94c6b13a718a3249685846} Compress a list of files. \begin{DoxyParams}{Parameters} {\em file\-Compressed} & The name of the archive. \\ \hline {\em files} & The file list to compress. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} true if success, false otherwise. \end{DoxyReturn} O\-K Comprime i file specificati in files nel file file\-Compressed. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare. La funzione fallisce se\-: \begin{DoxyItemize} \item non si riesce ad aprire l'oggetto zip; \item la compressione di un file fallisce; \item non si riesce a chiudere l'oggetto zip; \end{DoxyItemize} References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Create, and Qua\-Zip\-::open(). \index{Jl\-Compress@{Jl\-Compress}!compress\-Dir@{compress\-Dir}} \index{compress\-Dir@{compress\-Dir}!JlCompress@{Jl\-Compress}} \subsubsection[{compress\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}bool Jl\-Compress\-::compress\-Dir ( \begin{DoxyParamCaption} \item[{Q\-String}]{file\-Compressed, } \item[{Q\-String}]{dir = {\ttfamily QString()}, } \item[{bool}]{recursive = {\ttfamily true}} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a8708eafcadc5c192a1d492e784cfc98f} Compress a whole directory. \begin{DoxyParams}{Parameters} {\em file\-Compressed} & The name of the archive. \\ \hline {\em dir} & The directory to compress. \\ \hline {\em recursive} & Whether to pack the subdirectories as well, or just regular files. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} true if success, false otherwise. \end{DoxyReturn} O\-K Comprime la cartella dir nel file file\-Compressed, se recursive e true allora comprime anche le sotto cartelle. Se la funzione fallisce restituisce false e cancella il file che si e tentato di creare. La funzione fallisce se\-: \begin{DoxyItemize} \item non si riesce ad aprire l'oggetto zip; \item la compressione di un file fallisce; \item non si riesce a chiudere l'oggetto zip; \end{DoxyItemize} References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Create, and Qua\-Zip\-::open(). \index{Jl\-Compress@{Jl\-Compress}!extract\-File@{extract\-File}} \index{extract\-File@{extract\-File}!JlCompress@{Jl\-Compress}} \subsubsection[{extract\-File}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Jl\-Compress\-::extract\-File ( \begin{DoxyParamCaption} \item[{Q\-String}]{file\-Compressed, } \item[{Q\-String}]{file\-Name, } \item[{Q\-String}]{file\-Dest = {\ttfamily QString()}} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a38c0d58bfe3bbbcb3cf4e98d126633a3} Extract a single file. \begin{DoxyParams}{Parameters} {\em file\-Compressed} & The name of the archive. \\ \hline {\em file\-Name} & The file to extract. \\ \hline {\em file\-Dest} & The destination file, assumed to be identical to {\itshape file} if left empty. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} The list of the full paths of the files extracted, empty on failure. \end{DoxyReturn} O\-K Estrae il file file\-Name, contenuto nel file file\-Compressed, con il nome file\-Dest. Se file\-Dest = \char`\"{}\char`\"{} allora il file viene estratto con lo stesso nome con cui e stato compresso. Se la funzione fallisce cancella il file che si e tentato di estrarre. Restituisce il nome assoluto del file estratto. La funzione fallisce se\-: \begin{DoxyItemize} \item non si riesce ad aprire l'oggetto zip; \item l'estrazione del file fallisce; \item non si riesce a chiudere l'oggetto zip; \end{DoxyItemize} References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Unzip, and Qua\-Zip\-::open(). \index{Jl\-Compress@{Jl\-Compress}!extract\-Files@{extract\-Files}} \index{extract\-Files@{extract\-Files}!JlCompress@{Jl\-Compress}} \subsubsection[{extract\-Files}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::extract\-Files ( \begin{DoxyParamCaption} \item[{Q\-String}]{file\-Compressed, } \item[{Q\-String\-List}]{files, } \item[{Q\-String}]{dir = {\ttfamily QString()}} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a309e9ee366719a4d8aa28f837fab73ae} Extract a list of files. \begin{DoxyParams}{Parameters} {\em file\-Compressed} & The name of the archive. \\ \hline {\em files} & The file list to extract. \\ \hline {\em dir} & The directory to put the files to, the current directory if left empty. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} The list of the full paths of the files extracted, empty on failure. \end{DoxyReturn} O\-K Estrae i file specificati in files, contenuti nel file file\-Compressed, nella cartella dir. La struttura a cartelle del file compresso viene rispettata. Se dir = \char`\"{}\char`\"{} allora il file viene estratto nella cartella corrente. Se la funzione fallisce cancella i file che si e tentato di estrarre. Restituisce i nomi assoluti dei file estratti. La funzione fallisce se\-: \begin{DoxyItemize} \item non si riesce ad aprire l'oggetto zip; \item l'estrazione di un file fallisce; \item non si riesce a chiudere l'oggetto zip; \end{DoxyItemize} References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::md\-Unzip, and Qua\-Zip\-::open(). \index{Jl\-Compress@{Jl\-Compress}!extract\-Dir@{extract\-Dir}} \index{extract\-Dir@{extract\-Dir}!JlCompress@{Jl\-Compress}} \subsubsection[{extract\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::extract\-Dir ( \begin{DoxyParamCaption} \item[{Q\-String}]{file\-Compressed, } \item[{Q\-String}]{dir = {\ttfamily QString()}} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_a365a153baa4c11812d93cbca60b6a293} Extract a whole archive. \begin{DoxyParams}{Parameters} {\em file\-Compressed} & The name of the archive. \\ \hline {\em dir} & The directory to extract to, the current directory if left empty. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} The list of the full paths of the files extracted, empty on failure. \end{DoxyReturn} O\-K Estrae il file file\-Compressed nella cartella dir. Se dir = \char`\"{}\char`\"{} allora il file viene estratto nella cartella corrente. Se la funzione fallisce cancella i file che si e tentato di estrarre. Restituisce i nomi assoluti dei file estratti. La funzione fallisce se\-: \begin{DoxyItemize} \item non si riesce ad aprire l'oggetto zip; \item la compressione di un file fallisce; \item non si riesce a chiudere l'oggetto zip; \end{DoxyItemize} References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Current\-File\-Name(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::go\-To\-First\-File(), Qua\-Zip\-::go\-To\-Next\-File(), Qua\-Zip\-::md\-Unzip, and Qua\-Zip\-::open(). \index{Jl\-Compress@{Jl\-Compress}!get\-File\-List@{get\-File\-List}} \index{get\-File\-List@{get\-File\-List}!JlCompress@{Jl\-Compress}} \subsubsection[{get\-File\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Jl\-Compress\-::get\-File\-List ( \begin{DoxyParamCaption} \item[{Q\-String}]{file\-Compressed} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classJlCompress_ab42422be913f817d7e04c1b1cd5d0156} Get the file list. \begin{DoxyReturn}{Returns} The list of the files in the archive, or, more precisely, the list of the entries, including both files and directories if they are present separately. \end{DoxyReturn} O\-K Restituisce la lista dei file resenti nel file compresso file\-Compressed. Se la funzione fallisce, restituisce un elenco vuoto. La funzione fallisce se\-: \begin{DoxyItemize} \item non si riesce ad aprire l'oggetto zip; \item la richiesta di informazioni di un file fallisce; \item non si riesce a chiudere l'oggetto zip; \end{DoxyItemize} References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Current\-File\-Info(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::go\-To\-First\-File(), Qua\-Zip\-::go\-To\-Next\-File(), Qua\-Zip\-::md\-Unzip, Qua\-Zip\-File\-Info64\-::name, and Qua\-Zip\-::open(). The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/Jl\-Compress.\-h\item quazip/Jl\-Compress.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaAdler32.tex000066400000000000000000000073521255273444100246470ustar00rootroot00000000000000\section{Qua\-Adler32 Class Reference} \label{classQuaAdler32}\index{Qua\-Adler32@{Qua\-Adler32}} Adler32 checksum. {\ttfamily \#include $<$quazip/quaadler32.\-h$>$} Inheritance diagram for Qua\-Adler32\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=136pt]{classQuaAdler32__inherit__graph} \end{center} \end{figure} Collaboration diagram for Qua\-Adler32\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=136pt]{classQuaAdler32__coll__graph} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item quint32 {\bf calculate} (const Q\-Byte\-Array \&data) \begin{DoxyCompactList}\small\item\em Calculates the checksum for data. \end{DoxyCompactList}\item void {\bf reset} ()\label{classQuaAdler32_a2fe6ac9eb289bafda6a9fd20e6472ab5} \begin{DoxyCompactList}\small\item\em Resets the calculation on a checksun for a stream. \end{DoxyCompactList}\item void {\bf update} (const Q\-Byte\-Array \&buf) \begin{DoxyCompactList}\small\item\em Updates the calculated checksum for the stream. \end{DoxyCompactList}\item quint32 {\bf value} () \begin{DoxyCompactList}\small\item\em Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaAdler32_aba24f7b16aa0cdc26f81a9ad687fc653}. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} Adler32 checksum. This class wrappers the adler32 function with the \doxyref{Qua\-Checksum32}{p.}{classQuaChecksum32} interface. See \doxyref{Qua\-Checksum32}{p.}{classQuaChecksum32} for more info. \subsection{Member Function Documentation} \index{Qua\-Adler32@{Qua\-Adler32}!calculate@{calculate}} \index{calculate@{calculate}!QuaAdler32@{Qua\-Adler32}} \subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Adler32\-::calculate ( \begin{DoxyParamCaption} \item[{const Q\-Byte\-Array \&}]{data} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaAdler32_a350e84fd000ebfa3c33503336a7b21bb} Calculates the checksum for data. {\itshape data} source data \begin{DoxyReturn}{Returns} data checksum \end{DoxyReturn} This function has no efect on the value returned by \doxyref{value()}{p.}{classQuaAdler32_a2022e1db95c23cef220b335e44d74fb1}. Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_a14d800fcfd55b2ae11ef07d3924fe0b1}. \index{Qua\-Adler32@{Qua\-Adler32}!update@{update}} \index{update@{update}!QuaAdler32@{Qua\-Adler32}} \subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Adler32\-::update ( \begin{DoxyParamCaption} \item[{const Q\-Byte\-Array \&}]{buf} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaAdler32_aba24f7b16aa0cdc26f81a9ad687fc653} Updates the calculated checksum for the stream. {\itshape buf} next portion of data from the stream Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e}. \index{Qua\-Adler32@{Qua\-Adler32}!value@{value}} \index{value@{value}!QuaAdler32@{Qua\-Adler32}} \subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Adler32\-::value ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaAdler32_a2022e1db95c23cef220b335e44d74fb1} Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaAdler32_aba24f7b16aa0cdc26f81a9ad687fc653}. \begin{DoxyReturn}{Returns} checksum \end{DoxyReturn} Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_afd836e7534194fce08356be6a8336da7}. The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quaadler32.\-h\item quazip/quaadler32.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.eps000066400000000000000000000121651255273444100273240ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaAdler32 %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 136 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 100 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 12 .5 moveto 12 19.5 lineto 80 19.5 lineto 80 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 12 .5 moveto 12 19.5 lineto 80 19.5 lineto 80 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 20 7.5 moveto 52 (QuaAdler32) alignedtext grestore % Node2 gsave [ /Rect [ 0 56 92 76 ] /Border [ 0 0 0 ] /Action << /Subtype /URI /URI ($classQuaChecksum32.html) >> /Subtype /Link /ANN pdfmark 0 0 1 nodecolor newpath 0 56.5 moveto 0 75.5 lineto 92 75.5 lineto 92 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 56.5 moveto 0 75.5 lineto 92 75.5 lineto 92 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 63.5 moveto 76 (QuaChecksum32) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 46 45.8 moveto 46 36.91 46 26.78 46 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 42.5 46.08 moveto 46 56.08 lineto 49.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 42.5 46.08 moveto 46 56.08 lineto 49.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 136 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__coll__graph.md5000066400000000000000000000000401255273444100272070ustar00rootroot000000000000001da76ae022494627ad649d8af035c80amerkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.eps000066400000000000000000000121651255273444100300350ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaAdler32 %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 136 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 100 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 12 .5 moveto 12 19.5 lineto 80 19.5 lineto 80 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 12 .5 moveto 12 19.5 lineto 80 19.5 lineto 80 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 20 7.5 moveto 52 (QuaAdler32) alignedtext grestore % Node2 gsave [ /Rect [ 0 56 92 76 ] /Border [ 0 0 0 ] /Action << /Subtype /URI /URI ($classQuaChecksum32.html) >> /Subtype /Link /ANN pdfmark 0 0 1 nodecolor newpath 0 56.5 moveto 0 75.5 lineto 92 75.5 lineto 92 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 56.5 moveto 0 75.5 lineto 92 75.5 lineto 92 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 63.5 moveto 76 (QuaChecksum32) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 46 45.8 moveto 46 36.91 46 26.78 46 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 42.5 46.08 moveto 46 56.08 lineto 49.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 42.5 46.08 moveto 46 56.08 lineto 49.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 136 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaAdler32__inherit__graph.md5000066400000000000000000000000401255273444100277200ustar00rootroot000000000000001da76ae022494627ad649d8af035c80amerkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32.tex000066400000000000000000000105631255273444100253600ustar00rootroot00000000000000\section{Qua\-Checksum32 Class Reference} \label{classQuaChecksum32}\index{Qua\-Checksum32@{Qua\-Checksum32}} Checksum interface. {\ttfamily \#include $<$quazip/quachecksum32.\-h$>$} Inheritance diagram for Qua\-Checksum32\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=191pt]{classQuaChecksum32__inherit__graph} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item virtual quint32 {\bf calculate} (const Q\-Byte\-Array \&data)=0 \begin{DoxyCompactList}\small\item\em Calculates the checksum for data. \end{DoxyCompactList}\item virtual void {\bf reset} ()=0\label{classQuaChecksum32_ad3f5db3c76b00069db9bda333cb49d57} \begin{DoxyCompactList}\small\item\em Resets the calculation on a checksun for a stream. \end{DoxyCompactList}\item virtual void {\bf update} (const Q\-Byte\-Array \&buf)=0 \begin{DoxyCompactList}\small\item\em Updates the calculated checksum for the stream. \end{DoxyCompactList}\item virtual quint32 {\bf value} ()=0 \begin{DoxyCompactList}\small\item\em Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e}. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} Checksum interface. This is an interface for 32 bit checksums. Classes implementing this interface can calcunate a certin checksum in a single step\-: \begin{DoxyCode} QChecksum32 *crc32 = \textcolor{keyword}{new} QuaCrc32(); rasoult = crc32->calculate(data); \end{DoxyCode} or by streaming the data\-: \begin{DoxyCode} QChecksum32 *crc32 = \textcolor{keyword}{new} QuaCrc32(); \textcolor{keywordflow}{while}(!fileA.atEnd()) crc32->update(fileA.read(bufSize)); resoultA = crc32->value(); crc32->reset(); \textcolor{keywordflow}{while}(!fileB.atEnd()) crc32->update(fileB.read(bufSize)); resoultB = crc32->value(); \end{DoxyCode} \subsection{Member Function Documentation} \index{Qua\-Checksum32@{Qua\-Checksum32}!calculate@{calculate}} \index{calculate@{calculate}!QuaChecksum32@{Qua\-Checksum32}} \subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}virtual quint32 Qua\-Checksum32\-::calculate ( \begin{DoxyParamCaption} \item[{const Q\-Byte\-Array \&}]{data} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classQuaChecksum32_a14d800fcfd55b2ae11ef07d3924fe0b1} Calculates the checksum for data. {\itshape data} source data \begin{DoxyReturn}{Returns} data checksum \end{DoxyReturn} This function has no efect on the value returned by \doxyref{value()}{p.}{classQuaChecksum32_afd836e7534194fce08356be6a8336da7}. Implemented in {\bf Qua\-Adler32} \doxyref{}{p.}{classQuaAdler32_a350e84fd000ebfa3c33503336a7b21bb}, and {\bf Qua\-Crc32} \doxyref{}{p.}{classQuaCrc32_aaf6fdf6e36e55c97bf9eab6ec65ecb9e}. \index{Qua\-Checksum32@{Qua\-Checksum32}!update@{update}} \index{update@{update}!QuaChecksum32@{Qua\-Checksum32}} \subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}virtual void Qua\-Checksum32\-::update ( \begin{DoxyParamCaption} \item[{const Q\-Byte\-Array \&}]{buf} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e} Updates the calculated checksum for the stream. {\itshape buf} next portion of data from the stream Implemented in {\bf Qua\-Adler32} \doxyref{}{p.}{classQuaAdler32_aba24f7b16aa0cdc26f81a9ad687fc653}, and {\bf Qua\-Crc32} \doxyref{}{p.}{classQuaCrc32_a5015d80e04afe6e6d094155b7e99888e}. \index{Qua\-Checksum32@{Qua\-Checksum32}!value@{value}} \index{value@{value}!QuaChecksum32@{Qua\-Checksum32}} \subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}virtual quint32 Qua\-Checksum32\-::value ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [pure virtual]}}\label{classQuaChecksum32_afd836e7534194fce08356be6a8336da7} Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e}. \begin{DoxyReturn}{Returns} checksum \end{DoxyReturn} Implemented in {\bf Qua\-Adler32} \doxyref{}{p.}{classQuaAdler32_a2022e1db95c23cef220b335e44d74fb1}, and {\bf Qua\-Crc32} \doxyref{}{p.}{classQuaCrc32_a957ce46a53862f75c89d6a3ac4f73389}. The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} \item quazip/quachecksum32.\-h\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.eps000066400000000000000000000137751255273444100305600ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaChecksum32 %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 191 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 155 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 29 56.5 moveto 29 75.5 lineto 121 75.5 lineto 121 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 29 56.5 moveto 29 75.5 lineto 121 75.5 lineto 121 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 37 63.5 moveto 76 (QuaChecksum32) alignedtext grestore % Node2 gsave [ /Rect [ 0 0 68 20 ] /Border [ 0 0 0 ] /Action << /Subtype /URI /URI ($classQuaAdler32.html) >> /Subtype /Link /ANN pdfmark 0 0 1 nodecolor newpath 0 .5 moveto 0 19.5 lineto 68 19.5 lineto 68 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 .5 moveto 0 19.5 lineto 68 19.5 lineto 68 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 7.5 moveto 52 (QuaAdler32) alignedtext grestore % Node1->Node2 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 61.98 47.86 moveto 54.88 38.5 46.4 27.33 40.64 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 59.39 50.24 moveto 68.23 56.08 lineto 64.97 46 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 59.39 50.24 moveto 68.23 56.08 lineto 64.97 46 lineto closepath stroke grestore % Node3 gsave [ /Rect [ 86.5 0 147 20 ] /Border [ 0 0 0 ] /Action << /Subtype /URI /URI ($classQuaCrc32.html) >> /Subtype /Link /ANN pdfmark 0 0 1 nodecolor newpath 86.5 .5 moveto 86.5 19.5 lineto 147.5 19.5 lineto 147.5 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 86.5 .5 moveto 86.5 19.5 lineto 147.5 19.5 lineto 147.5 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 94.5 7.5 moveto 45 (QuaCrc32) alignedtext grestore % Node1->Node3 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 88.11 48.14 moveto 95.43 38.74 104.24 27.4 110.19 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 85.31 46.04 moveto 81.94 56.08 lineto 90.84 50.34 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 85.31 46.04 moveto 81.94 56.08 lineto 90.84 50.34 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 191 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaChecksum32__inherit__graph.md5000066400000000000000000000000401255273444100304330ustar00rootroot000000000000003650c77c47645e50e4f8afff14cdd718merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaCrc32.tex000066400000000000000000000072521255273444100243260ustar00rootroot00000000000000\section{Qua\-Crc32 Class Reference} \label{classQuaCrc32}\index{Qua\-Crc32@{Qua\-Crc32}} C\-R\-C32 checksum. {\ttfamily \#include $<$quazip/quacrc32.\-h$>$} Inheritance diagram for Qua\-Crc32\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=136pt]{classQuaCrc32__inherit__graph} \end{center} \end{figure} Collaboration diagram for Qua\-Crc32\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=136pt]{classQuaCrc32__coll__graph} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item quint32 {\bf calculate} (const Q\-Byte\-Array \&data) \begin{DoxyCompactList}\small\item\em Calculates the checksum for data. \end{DoxyCompactList}\item void {\bf reset} ()\label{classQuaCrc32_a3fe7ce6cb73512c963ffaabfbbc66363} \begin{DoxyCompactList}\small\item\em Resets the calculation on a checksun for a stream. \end{DoxyCompactList}\item void {\bf update} (const Q\-Byte\-Array \&buf) \begin{DoxyCompactList}\small\item\em Updates the calculated checksum for the stream. \end{DoxyCompactList}\item quint32 {\bf value} () \begin{DoxyCompactList}\small\item\em Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaCrc32_a5015d80e04afe6e6d094155b7e99888e}. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} C\-R\-C32 checksum. This class wrappers the crc32 function with the \doxyref{Qua\-Checksum32}{p.}{classQuaChecksum32} interface. See \doxyref{Qua\-Checksum32}{p.}{classQuaChecksum32} for more info. \subsection{Member Function Documentation} \index{Qua\-Crc32@{Qua\-Crc32}!calculate@{calculate}} \index{calculate@{calculate}!QuaCrc32@{Qua\-Crc32}} \subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Crc32\-::calculate ( \begin{DoxyParamCaption} \item[{const Q\-Byte\-Array \&}]{data} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaCrc32_aaf6fdf6e36e55c97bf9eab6ec65ecb9e} Calculates the checksum for data. {\itshape data} source data \begin{DoxyReturn}{Returns} data checksum \end{DoxyReturn} This function has no efect on the value returned by \doxyref{value()}{p.}{classQuaCrc32_a957ce46a53862f75c89d6a3ac4f73389}. Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_a14d800fcfd55b2ae11ef07d3924fe0b1}. \index{Qua\-Crc32@{Qua\-Crc32}!update@{update}} \index{update@{update}!QuaCrc32@{Qua\-Crc32}} \subsubsection[{update}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Crc32\-::update ( \begin{DoxyParamCaption} \item[{const Q\-Byte\-Array \&}]{buf} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaCrc32_a5015d80e04afe6e6d094155b7e99888e} Updates the calculated checksum for the stream. {\itshape buf} next portion of data from the stream Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_a63a6ed3171f9243214d307da67557f7e}. \index{Qua\-Crc32@{Qua\-Crc32}!value@{value}} \index{value@{value}!QuaCrc32@{Qua\-Crc32}} \subsubsection[{value}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Crc32\-::value ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaCrc32_a957ce46a53862f75c89d6a3ac4f73389} Value of the checksum calculated for the stream passed throw \doxyref{update()}{p.}{classQuaCrc32_a5015d80e04afe6e6d094155b7e99888e}. \begin{DoxyReturn}{Returns} checksum \end{DoxyReturn} Implements {\bf Qua\-Checksum32} \doxyref{}{p.}{classQuaChecksum32_afd836e7534194fce08356be6a8336da7}. The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quacrc32.\-h\item quazip/quacrc32.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.eps000066400000000000000000000122031255273444100267750ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaCrc32 %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 136 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 100 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 15.5 .5 moveto 15.5 19.5 lineto 76.5 19.5 lineto 76.5 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 15.5 .5 moveto 15.5 19.5 lineto 76.5 19.5 lineto 76.5 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 23.5 7.5 moveto 45 (QuaCrc32) alignedtext grestore % Node2 gsave [ /Rect [ 0 56 92 76 ] /Border [ 0 0 0 ] /Action << /Subtype /URI /URI ($classQuaChecksum32.html) >> /Subtype /Link /ANN pdfmark 0 0 1 nodecolor newpath 0 56.5 moveto 0 75.5 lineto 92 75.5 lineto 92 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 56.5 moveto 0 75.5 lineto 92 75.5 lineto 92 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 63.5 moveto 76 (QuaChecksum32) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 46 45.8 moveto 46 36.91 46 26.78 46 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 42.5 46.08 moveto 46 56.08 lineto 49.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 42.5 46.08 moveto 46 56.08 lineto 49.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 136 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__coll__graph.md5000066400000000000000000000000401255273444100266670ustar00rootroot00000000000000c03aa82ea7ceacd262ffb2c652464541merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.eps000066400000000000000000000122031255273444100275060ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaCrc32 %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 136 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 100 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 15.5 .5 moveto 15.5 19.5 lineto 76.5 19.5 lineto 76.5 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 15.5 .5 moveto 15.5 19.5 lineto 76.5 19.5 lineto 76.5 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 23.5 7.5 moveto 45 (QuaCrc32) alignedtext grestore % Node2 gsave [ /Rect [ 0 56 92 76 ] /Border [ 0 0 0 ] /Action << /Subtype /URI /URI ($classQuaChecksum32.html) >> /Subtype /Link /ANN pdfmark 0 0 1 nodecolor newpath 0 56.5 moveto 0 75.5 lineto 92 75.5 lineto 92 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 56.5 moveto 0 75.5 lineto 92 75.5 lineto 92 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 63.5 moveto 76 (QuaChecksum32) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 46 45.8 moveto 46 36.91 46 26.78 46 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 42.5 46.08 moveto 46 56.08 lineto 49.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 42.5 46.08 moveto 46 56.08 lineto 49.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 136 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaCrc32__inherit__graph.md5000066400000000000000000000000401255273444100274000ustar00rootroot00000000000000c03aa82ea7ceacd262ffb2c652464541merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile.tex000066400000000000000000000200601255273444100251530ustar00rootroot00000000000000\section{Qua\-Gzip\-File Class Reference} \label{classQuaGzipFile}\index{Qua\-Gzip\-File@{Qua\-Gzip\-File}} G\-Z\-I\-P file. {\ttfamily \#include $<$quagzipfile.\-h$>$} Inheritance diagram for Qua\-Gzip\-File\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=114pt]{classQuaGzipFile__inherit__graph} \end{center} \end{figure} Collaboration diagram for Qua\-Gzip\-File\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=114pt]{classQuaGzipFile__coll__graph} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item {\bf Qua\-Gzip\-File} () \begin{DoxyCompactList}\small\item\em Empty constructor. \end{DoxyCompactList}\item {\bf Qua\-Gzip\-File} (Q\-Object $\ast$parent) \begin{DoxyCompactList}\small\item\em Empty constructor with a parent. \end{DoxyCompactList}\item {\bf Qua\-Gzip\-File} (const Q\-String \&file\-Name, Q\-Object $\ast$parent=N\-U\-L\-L) \begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item virtual {\bf $\sim$\-Qua\-Gzip\-File} ()\label{classQuaGzipFile_a1200bc76f36bb2e1991e1e0467befbf2} \begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item void {\bf set\-File\-Name} (const Q\-String \&file\-Name)\label{classQuaGzipFile_a253fbaf410a3d4ae0a719505c5525149} \begin{DoxyCompactList}\small\item\em Sets the name of the G\-Z\-I\-P file to be opened. \end{DoxyCompactList}\item Q\-String {\bf get\-File\-Name} () const \label{classQuaGzipFile_a9a0954a1db1fcf2aeba0530239bce71c} \begin{DoxyCompactList}\small\item\em Returns the name of the G\-Z\-I\-P file. \end{DoxyCompactList}\item virtual bool {\bf is\-Sequential} () const \begin{DoxyCompactList}\small\item\em Returns true. \end{DoxyCompactList}\item virtual bool {\bf open} (Q\-I\-O\-Device\-::\-Open\-Mode mode) \begin{DoxyCompactList}\small\item\em Opens the file. \end{DoxyCompactList}\item virtual bool {\bf open} (int fd, Q\-I\-O\-Device\-::\-Open\-Mode mode) \begin{DoxyCompactList}\small\item\em Opens the file. \end{DoxyCompactList}\item virtual bool {\bf flush} () \begin{DoxyCompactList}\small\item\em Flushes data to file. \end{DoxyCompactList}\item virtual void {\bf close} ()\label{classQuaGzipFile_a273205350b1235a242a1eb5cbf586434} \begin{DoxyCompactList}\small\item\em Closes the file. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Protected Member Functions} \begin{DoxyCompactItemize} \item virtual qint64 {\bf read\-Data} (char $\ast$data, qint64 max\-Size)\label{classQuaGzipFile_a9eab41b46367e63e0c269c42ca883d82} \begin{DoxyCompactList}\small\item\em Implementation of Q\-I\-O\-Device\-::read\-Data(). \end{DoxyCompactList}\item virtual qint64 {\bf write\-Data} (const char $\ast$data, qint64 max\-Size)\label{classQuaGzipFile_a6dd09d41d8a51c96b0f2134eff37f676} \begin{DoxyCompactList}\small\item\em Implementation of Q\-I\-O\-Device\-::write\-Data(). \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} G\-Z\-I\-P file. This class is a wrapper around G\-Z\-I\-P file access functions in zlib. Unlike \doxyref{Qua\-Zip}{p.}{classQuaZip} classes, it doesn't allow reading from a G\-Z\-I\-P file opened as Q\-I\-O\-Device, for example, if your G\-Z\-I\-P file is in Q\-Buffer. It only provides Q\-I\-O\-Device access to a G\-Z\-I\-P file contents, but the G\-Z\-I\-P file itself must be identified by its name on disk or by descriptor id. \subsection{Constructor \& Destructor Documentation} \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!Qua\-Gzip\-File@{Qua\-Gzip\-File}} \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!QuaGzipFile@{Qua\-Gzip\-File}} \subsubsection[{Qua\-Gzip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Gzip\-File\-::\-Qua\-Gzip\-File ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaGzipFile_a709608207b41ca81d5beed2b34982809} Empty constructor. Must call \doxyref{set\-File\-Name()}{p.}{classQuaGzipFile_a253fbaf410a3d4ae0a719505c5525149} before trying to open. \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!Qua\-Gzip\-File@{Qua\-Gzip\-File}} \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!QuaGzipFile@{Qua\-Gzip\-File}} \subsubsection[{Qua\-Gzip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Gzip\-File\-::\-Qua\-Gzip\-File ( \begin{DoxyParamCaption} \item[{Q\-Object $\ast$}]{parent} \end{DoxyParamCaption} )}\label{classQuaGzipFile_a13996f5db660c4a29645f8d208b9ca6b} Empty constructor with a parent. Must call \doxyref{set\-File\-Name()}{p.}{classQuaGzipFile_a253fbaf410a3d4ae0a719505c5525149} before trying to open. \begin{DoxyParams}{Parameters} {\em parent} & The parent object, as per Q\-Object logic. \\ \hline \end{DoxyParams} \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!Qua\-Gzip\-File@{Qua\-Gzip\-File}} \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!QuaGzipFile@{Qua\-Gzip\-File}} \subsubsection[{Qua\-Gzip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Gzip\-File\-::\-Qua\-Gzip\-File ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file\-Name, } \item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} \end{DoxyParamCaption} )}\label{classQuaGzipFile_ac7f7703bda9c6169c001aa15641bb2ea} Constructor. \begin{DoxyParams}{Parameters} {\em file\-Name} & The name of the G\-Z\-I\-P file. \\ \hline {\em parent} & The parent object, as per Q\-Object logic. \\ \hline \end{DoxyParams} \subsection{Member Function Documentation} \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!is\-Sequential@{is\-Sequential}} \index{is\-Sequential@{is\-Sequential}!QuaGzipFile@{Qua\-Gzip\-File}} \subsubsection[{is\-Sequential}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Gzip\-File\-::is\-Sequential ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaGzipFile_ae97f4e15d86c965c156df33d00318176} Returns true. Strictly speaking, zlib supports seeking for G\-Z\-I\-P files, but it is poorly implemented, because there is no way to implement it properly. For reading, seeking backwards is very slow, and for writing, it is downright impossible. Therefore, \doxyref{Qua\-Gzip\-File}{p.}{classQuaGzipFile} does not support seeking at all. \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!open@{open}} \index{open@{open}!QuaGzipFile@{Qua\-Gzip\-File}} \subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Gzip\-File\-::open ( \begin{DoxyParamCaption} \item[{Q\-I\-O\-Device\-::\-Open\-Mode}]{mode} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaGzipFile_a1d560babdfff3a3441d704099a5bc1e4} Opens the file. \begin{DoxyParams}{Parameters} {\em mode} & Can be either Q\-I\-O\-Device\-::\-Write or Q\-I\-O\-Device\-::\-Read. Read\-Write and Append aren't supported. \\ \hline \end{DoxyParams} \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!open@{open}} \index{open@{open}!QuaGzipFile@{Qua\-Gzip\-File}} \subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Gzip\-File\-::open ( \begin{DoxyParamCaption} \item[{int}]{fd, } \item[{Q\-I\-O\-Device\-::\-Open\-Mode}]{mode} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaGzipFile_adf5a954bb9bfda2d33cd336a213e2549} Opens the file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \begin{DoxyParams}{Parameters} {\em fd} & The file descriptor to read/write the G\-Z\-I\-P file from/to. \\ \hline {\em mode} & Can be either Q\-I\-O\-Device\-::\-Write or Q\-I\-O\-Device\-::\-Read. Read\-Write and Append aren't supported. \\ \hline \end{DoxyParams} \index{Qua\-Gzip\-File@{Qua\-Gzip\-File}!flush@{flush}} \index{flush@{flush}!QuaGzipFile@{Qua\-Gzip\-File}} \subsubsection[{flush}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Gzip\-File\-::flush ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaGzipFile_ab745f345b727c81abbc3eb5af4dca844} Flushes data to file. The data is written using Z\-\_\-\-S\-Y\-N\-C\-\_\-\-F\-L\-U\-S\-H mode. Doesn't make any sense when reading. The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quagzipfile.\-h\item quazip/quagzipfile.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.eps000066400000000000000000000120211255273444100276300ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaGzipFile %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 114 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 78 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath -.5 .5 moveto -.5 19.5 lineto 70.5 19.5 lineto 70.5 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath -.5 .5 moveto -.5 19.5 lineto 70.5 19.5 lineto 70.5 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 7.5 7.5 moveto 55 (QuaGzipFile) alignedtext grestore % Node2 gsave 0 0 1 nodecolor newpath 2.5 56.5 moveto 2.5 75.5 lineto 67.5 75.5 lineto 67.5 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0.74902 nodecolor newpath 2.5 56.5 moveto 2.5 75.5 lineto 67.5 75.5 lineto 67.5 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 10.5 63.5 moveto 49 (QIODevice) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 35 45.8 moveto 35 36.91 35 26.78 35 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 31.5 46.08 moveto 35 56.08 lineto 38.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 31.5 46.08 moveto 35 56.08 lineto 38.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 114 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__coll__graph.md5000066400000000000000000000000401255273444100275240ustar00rootroot00000000000000b596b42a2d881ca771acc3ccdbbc37dfmerkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.eps000066400000000000000000000120211255273444100303410ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaGzipFile %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 114 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 78 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath -.5 .5 moveto -.5 19.5 lineto 70.5 19.5 lineto 70.5 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath -.5 .5 moveto -.5 19.5 lineto 70.5 19.5 lineto 70.5 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 7.5 7.5 moveto 55 (QuaGzipFile) alignedtext grestore % Node2 gsave 0 0 1 nodecolor newpath 2.5 56.5 moveto 2.5 75.5 lineto 67.5 75.5 lineto 67.5 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0.74902 nodecolor newpath 2.5 56.5 moveto 2.5 75.5 lineto 67.5 75.5 lineto 67.5 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 10.5 63.5 moveto 49 (QIODevice) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 35 45.8 moveto 35 36.91 35 26.78 35 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 31.5 46.08 moveto 35 56.08 lineto 38.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 31.5 46.08 moveto 35 56.08 lineto 38.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 114 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaGzipFile__inherit__graph.md5000066400000000000000000000000401255273444100302350ustar00rootroot00000000000000b596b42a2d881ca771acc3ccdbbc37dfmerkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice.tex000066400000000000000000000143451255273444100252340ustar00rootroot00000000000000\section{Qua\-Z\-I\-O\-Device Class Reference} \label{classQuaZIODevice}\index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}} A class to compress/decompress Q\-I\-O\-Device. {\ttfamily \#include $<$quaziodevice.\-h$>$} Inheritance diagram for Qua\-Z\-I\-O\-Device\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=126pt]{classQuaZIODevice__inherit__graph} \end{center} \end{figure} Collaboration diagram for Qua\-Z\-I\-O\-Device\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=126pt]{classQuaZIODevice__coll__graph} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item {\bf Qua\-Z\-I\-O\-Device} (Q\-I\-O\-Device $\ast$io, Q\-Object $\ast$parent=N\-U\-L\-L) \begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item {\bf $\sim$\-Qua\-Z\-I\-O\-Device} ()\label{classQuaZIODevice_ab3524cef44c240c21e6b7680ee5f42de} \begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item virtual bool {\bf flush} () \begin{DoxyCompactList}\small\item\em Flushes data waiting to be written. \end{DoxyCompactList}\item virtual bool {\bf open} (Q\-I\-O\-Device\-::\-Open\-Mode mode) \begin{DoxyCompactList}\small\item\em Opens the device. \end{DoxyCompactList}\item virtual void {\bf close} () \begin{DoxyCompactList}\small\item\em Closes this device, but not the underlying one. \end{DoxyCompactList}\item Q\-I\-O\-Device $\ast$ {\bf get\-Io\-Device} () const \label{classQuaZIODevice_ad63e7f1717c7d91b3c2c5ace908c98b7} \begin{DoxyCompactList}\small\item\em Returns the underlying device. \end{DoxyCompactList}\item virtual bool {\bf is\-Sequential} () const \label{classQuaZIODevice_af2697f58c228741d3715801bf48a9a8b} \begin{DoxyCompactList}\small\item\em Returns true. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Protected Member Functions} \begin{DoxyCompactItemize} \item virtual qint64 {\bf read\-Data} (char $\ast$data, qint64 max\-Size)\label{classQuaZIODevice_aa12b8bc9c923e543eda9ae22dbd1ecbb} \begin{DoxyCompactList}\small\item\em Implementation of Q\-I\-O\-Device\-::read\-Data(). \end{DoxyCompactList}\item virtual qint64 {\bf write\-Data} (const char $\ast$data, qint64 max\-Size)\label{classQuaZIODevice_aab23b6badbc3548eb71ca86bf6211902} \begin{DoxyCompactList}\small\item\em Implementation of Q\-I\-O\-Device\-::write\-Data(). \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} A class to compress/decompress Q\-I\-O\-Device. This class can be used to compress any data written to Q\-I\-O\-Device or decompress it back. Compressing data sent over a Q\-Tcp\-Socket is a good example. \subsection{Constructor \& Destructor Documentation} \index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}} \index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!QuaZIODevice@{Qua\-Z\-I\-O\-Device}} \subsubsection[{Qua\-Z\-I\-O\-Device}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Z\-I\-O\-Device\-::\-Qua\-Z\-I\-O\-Device ( \begin{DoxyParamCaption} \item[{Q\-I\-O\-Device $\ast$}]{io, } \item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} \end{DoxyParamCaption} )}\label{classQuaZIODevice_a8321ed35ee9b57cf9b1104912e236361} Constructor. \begin{DoxyParams}{Parameters} {\em io} & The Q\-I\-O\-Device to read/write. \\ \hline {\em parent} & The parent object, as per Q\-Object logic. \\ \hline \end{DoxyParams} \subsection{Member Function Documentation} \index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!flush@{flush}} \index{flush@{flush}!QuaZIODevice@{Qua\-Z\-I\-O\-Device}} \subsubsection[{flush}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Z\-I\-O\-Device\-::flush ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZIODevice_a25f586eb564841b51c395fd17f1cc080} Flushes data waiting to be written. Unfortunately, as Q\-I\-O\-Device doesn't support \doxyref{flush()}{p.}{classQuaZIODevice_a25f586eb564841b51c395fd17f1cc080} by itself, the only thing this method does is write the compressed data into the device using Z\-\_\-\-S\-Y\-N\-C\-\_\-\-F\-L\-U\-S\-H mode. If you need the compressed data to actually be flushed from the buffer of the underlying Q\-I\-O\-Device, you need to call its \doxyref{flush()}{p.}{classQuaZIODevice_a25f586eb564841b51c395fd17f1cc080} method as well, providing it supports it (like Q\-Tcp\-Socket does). Example\-: \begin{DoxyCode} QuaZIODevice dev(&sock); dev.open(QIODevice::Write); dev.write(yourDataGoesHere); dev.flush(); sock->flush(); \textcolor{comment}{// this actually sends data to network} \end{DoxyCode} This may change in the future versions of Qua\-Z\-I\-P by implementing an ugly hack\-: trying to cast the Q\-I\-O\-Device using qobject\-\_\-cast to known \doxyref{flush()}{p.}{classQuaZIODevice_a25f586eb564841b51c395fd17f1cc080}-\/supporting subclasses, and calling flush if the resulting pointer is not zero. Referenced by close(). \index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!open@{open}} \index{open@{open}!QuaZIODevice@{Qua\-Z\-I\-O\-Device}} \subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Z\-I\-O\-Device\-::open ( \begin{DoxyParamCaption} \item[{Q\-I\-O\-Device\-::\-Open\-Mode}]{mode} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZIODevice_a175446c18eb20c9aff6faf23f09cc67a} Opens the device. \begin{DoxyParams}{Parameters} {\em mode} & Neither Q\-I\-O\-Device\-::\-Read\-Write nor Q\-I\-O\-Device\-::\-Append are not supported. \\ \hline \end{DoxyParams} \index{Qua\-Z\-I\-O\-Device@{Qua\-Z\-I\-O\-Device}!close@{close}} \index{close@{close}!QuaZIODevice@{Qua\-Z\-I\-O\-Device}} \subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Z\-I\-O\-Device\-::close ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZIODevice_ad27e447544d57f897316ee6f44535895} Closes this device, but not the underlying one. The underlying Q\-I\-O\-Device is not closed in case you want to write something else to it. References flush(). Referenced by $\sim$\-Qua\-Z\-I\-O\-Device(). The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quaziodevice.\-h\item quazip/quaziodevice.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.eps000066400000000000000000000120011255273444100276760ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaZIODevice %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 126 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 90 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 0 .5 moveto 0 19.5 lineto 82 19.5 lineto 82 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 .5 moveto 0 19.5 lineto 82 19.5 lineto 82 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 7.5 moveto 66 (QuaZIODevice) alignedtext grestore % Node2 gsave 0 0 1 nodecolor newpath 8.5 56.5 moveto 8.5 75.5 lineto 73.5 75.5 lineto 73.5 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0.74902 nodecolor newpath 8.5 56.5 moveto 8.5 75.5 lineto 73.5 75.5 lineto 73.5 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 16.5 63.5 moveto 49 (QIODevice) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 41 45.8 moveto 41 36.91 41 26.78 41 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 37.5 46.08 moveto 41 56.08 lineto 44.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 37.5 46.08 moveto 41 56.08 lineto 44.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 126 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__coll__graph.md5000066400000000000000000000000401255273444100275740ustar00rootroot00000000000000f1b807d1cee861a25fe9ec62b50a04e0merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.eps000066400000000000000000000120011255273444100304070ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaZIODevice %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 126 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 90 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 0 .5 moveto 0 19.5 lineto 82 19.5 lineto 82 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 .5 moveto 0 19.5 lineto 82 19.5 lineto 82 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 7.5 moveto 66 (QuaZIODevice) alignedtext grestore % Node2 gsave 0 0 1 nodecolor newpath 8.5 56.5 moveto 8.5 75.5 lineto 73.5 75.5 lineto 73.5 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0.74902 nodecolor newpath 8.5 56.5 moveto 8.5 75.5 lineto 73.5 75.5 lineto 73.5 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 16.5 63.5 moveto 49 (QIODevice) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 41 45.8 moveto 41 36.91 41 26.78 41 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 37.5 46.08 moveto 41 56.08 lineto 44.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 37.5 46.08 moveto 41 56.08 lineto 44.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 126 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZIODevice__inherit__graph.md5000066400000000000000000000000401255273444100303050ustar00rootroot00000000000000f1b807d1cee861a25fe9ec62b50a04e0merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZip.tex000066400000000000000000001621041255273444100242120ustar00rootroot00000000000000\section{Qua\-Zip Class Reference} \label{classQuaZip}\index{Qua\-Zip@{Qua\-Zip}} Z\-I\-P archive. {\ttfamily \#include $<$quazip/quazip.\-h$>$} \subsection*{Public Types} \begin{DoxyCompactItemize} \item enum {\bf Constants} \{ {\bf M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H} =256 \} \begin{DoxyCompactList}\small\item\em Useful constants. \end{DoxyCompactList}\item enum {\bf Mode} \{ \\* {\bf md\-Not\-Open}, {\bf md\-Unzip}, {\bf md\-Create}, {\bf md\-Append}, \\* {\bf md\-Add} \} \begin{DoxyCompactList}\small\item\em Open mode of the Z\-I\-P file. \end{DoxyCompactList}\item enum {\bf Case\-Sensitivity} \{ {\bf cs\-Default} =0, {\bf cs\-Sensitive} =1, {\bf cs\-Insensitive} =2 \} \begin{DoxyCompactList}\small\item\em Case sensitivity for the file names. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item {\bf Qua\-Zip} () \begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object. \end{DoxyCompactList}\item {\bf Qua\-Zip} (const Q\-String \&zip\-Name)\label{classQuaZip_aaea7294b02abd22379cc3a9fccb754b7} \begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object associated with Z\-I\-P file {\itshape zip\-Name}. \end{DoxyCompactList}\item {\bf Qua\-Zip} (Q\-I\-O\-Device $\ast$io\-Device) \begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object associated with Z\-I\-P file represented by {\itshape io\-Device}. \end{DoxyCompactList}\item {\bf $\sim$\-Qua\-Zip} () \begin{DoxyCompactList}\small\item\em Destroys \doxyref{Qua\-Zip}{p.}{classQuaZip} object. \end{DoxyCompactList}\item bool {\bf open} ({\bf Mode} mode, zlib\-\_\-filefunc\-\_\-def $\ast$io\-Api=N\-U\-L\-L) \begin{DoxyCompactList}\small\item\em Opens Z\-I\-P file. \end{DoxyCompactList}\item void {\bf close} () \begin{DoxyCompactList}\small\item\em Closes Z\-I\-P file. \end{DoxyCompactList}\item void {\bf set\-File\-Name\-Codec} (Q\-Text\-Codec $\ast$file\-Name\-Codec) \begin{DoxyCompactList}\small\item\em Sets the codec used to encode/decode file names inside archive. \end{DoxyCompactList}\item void {\bf set\-File\-Name\-Codec} (const char $\ast$file\-Name\-Codec\-Name) \begin{DoxyCompactList}\small\item\em Sets the codec used to encode/decode file names inside archive. \end{DoxyCompactList}\item Q\-Text\-Codec $\ast$ {\bf get\-File\-Name\-Codec} () const \label{classQuaZip_a27b866aa2c75ea6f9c438cbb6e32b43c} \begin{DoxyCompactList}\small\item\em Returns the codec used to encode/decode comments inside archive. \end{DoxyCompactList}\item void {\bf set\-Comment\-Codec} (Q\-Text\-Codec $\ast$comment\-Codec) \begin{DoxyCompactList}\small\item\em Sets the codec used to encode/decode comments inside archive. \end{DoxyCompactList}\item void {\bf set\-Comment\-Codec} (const char $\ast$comment\-Codec\-Name) \begin{DoxyCompactList}\small\item\em Sets the codec used to encode/decode comments inside archive. \end{DoxyCompactList}\item Q\-Text\-Codec $\ast$ {\bf get\-Comment\-Codec} () const \label{classQuaZip_a008260161781d8b5d2a0a28493fddaf4} \begin{DoxyCompactList}\small\item\em Returns the codec used to encode/decode comments inside archive. \end{DoxyCompactList}\item Q\-String {\bf get\-Zip\-Name} () const \begin{DoxyCompactList}\small\item\em Returns the name of the Z\-I\-P file. \end{DoxyCompactList}\item void {\bf set\-Zip\-Name} (const Q\-String \&zip\-Name) \begin{DoxyCompactList}\small\item\em Sets the name of the Z\-I\-P file. \end{DoxyCompactList}\item Q\-I\-O\-Device $\ast$ {\bf get\-Io\-Device} () const \begin{DoxyCompactList}\small\item\em Returns the device representing this Z\-I\-P file. \end{DoxyCompactList}\item void {\bf set\-Io\-Device} (Q\-I\-O\-Device $\ast$io\-Device) \begin{DoxyCompactList}\small\item\em Sets the device representing the Z\-I\-P file. \end{DoxyCompactList}\item {\bf Mode} {\bf get\-Mode} () const \label{classQuaZip_a129ceff04d28fb00531f7bf7f9329664} \begin{DoxyCompactList}\small\item\em Returns the mode in which Z\-I\-P file was opened. \end{DoxyCompactList}\item bool {\bf is\-Open} () const \label{classQuaZip_a5b869a9c0d4f49955b759592fec08888} \begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if Z\-I\-P file is open, {\ttfamily false} otherwise. \end{DoxyCompactList}\item int {\bf get\-Zip\-Error} () const \begin{DoxyCompactList}\small\item\em Returns the error code of the last operation. \end{DoxyCompactList}\item int {\bf get\-Entries\-Count} () const \begin{DoxyCompactList}\small\item\em Returns number of the entries in the Z\-I\-P central directory. \end{DoxyCompactList}\item Q\-String {\bf get\-Comment} () const \label{classQuaZip_ae55cfbf2296132df808c557b62433051} \begin{DoxyCompactList}\small\item\em Returns global comment in the Z\-I\-P file. \end{DoxyCompactList}\item void {\bf set\-Comment} (const Q\-String \&comment) \begin{DoxyCompactList}\small\item\em Sets the global comment in the Z\-I\-P file. \end{DoxyCompactList}\item bool {\bf go\-To\-First\-File} () \begin{DoxyCompactList}\small\item\em Sets the current file to the first file in the archive. \end{DoxyCompactList}\item bool {\bf go\-To\-Next\-File} () \begin{DoxyCompactList}\small\item\em Sets the current file to the next file in the archive. \end{DoxyCompactList}\item bool {\bf set\-Current\-File} (const Q\-String \&file\-Name, {\bf Case\-Sensitivity} cs={\bf cs\-Default}) \begin{DoxyCompactList}\small\item\em Sets current file by its name. \end{DoxyCompactList}\item bool {\bf has\-Current\-File} () const \label{classQuaZip_a00b237d926648f45da86db25e7cfb697} \begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if the current file has been set. \end{DoxyCompactList}\item bool {\bf get\-Current\-File\-Info} ({\bf Qua\-Zip\-File\-Info} $\ast$info) const \begin{DoxyCompactList}\small\item\em Retrieves information about the current file. \end{DoxyCompactList}\item bool {\bf get\-Current\-File\-Info} ({\bf Qua\-Zip\-File\-Info64} $\ast$info) const \begin{DoxyCompactList}\small\item\em Retrieves information about the current file. \end{DoxyCompactList}\item Q\-String {\bf get\-Current\-File\-Name} () const \begin{DoxyCompactList}\small\item\em Returns the current file name. \end{DoxyCompactList}\item unz\-File {\bf get\-Unz\-File} () \begin{DoxyCompactList}\small\item\em Returns {\ttfamily unz\-File} handle. \end{DoxyCompactList}\item zip\-File {\bf get\-Zip\-File} () \begin{DoxyCompactList}\small\item\em Returns {\ttfamily zip\-File} handle. \end{DoxyCompactList}\item void {\bf set\-Data\-Descriptor\-Writing\-Enabled} (bool enabled) \begin{DoxyCompactList}\small\item\em Changes the data descriptor writing mode. \end{DoxyCompactList}\item bool {\bf is\-Data\-Descriptor\-Writing\-Enabled} () const \begin{DoxyCompactList}\small\item\em Returns the data descriptor default writing mode. \end{DoxyCompactList}\item Q\-String\-List {\bf get\-File\-Name\-List} () const \begin{DoxyCompactList}\small\item\em Returns a list of files inside the archive. \end{DoxyCompactList}\item Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ {\bf get\-File\-Info\-List} () const \begin{DoxyCompactList}\small\item\em Returns information list about all files inside the archive. \end{DoxyCompactList}\item Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ {\bf get\-File\-Info\-List64} () const \begin{DoxyCompactList}\small\item\em Returns information list about all files inside the archive. \end{DoxyCompactList}\item void {\bf set\-Zip64\-Enabled} (bool zip64) \begin{DoxyCompactList}\small\item\em Enables the zip64 mode. \end{DoxyCompactList}\item bool {\bf is\-Zip64\-Enabled} () const \begin{DoxyCompactList}\small\item\em Returns whether the zip64 mode is enabled. \end{DoxyCompactList}\item bool {\bf is\-Auto\-Close} () const \begin{DoxyCompactList}\small\item\em Returns the auto-\/close flag. \end{DoxyCompactList}\item void {\bf set\-Auto\-Close} (bool auto\-Close) const \begin{DoxyCompactList}\small\item\em Sets or unsets the auto-\/close flag. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Static Public Member Functions} \begin{DoxyCompactItemize} \item static Qt\-::\-Case\-Sensitivity {\bf convert\-Case\-Sensitivity} ({\bf Case\-Sensitivity} cs) \begin{DoxyCompactList}\small\item\em Returns the actual case sensitivity for the specified Qua\-Z\-I\-P one. \end{DoxyCompactList}\item static void {\bf set\-Default\-File\-Name\-Codec} (Q\-Text\-Codec $\ast$codec) \begin{DoxyCompactList}\small\item\em Sets the default file name codec to use. \end{DoxyCompactList}\item static void {\bf set\-Default\-File\-Name\-Codec} (const char $\ast$codec\-Name) \end{DoxyCompactItemize} \subsection*{Friends} \begin{DoxyCompactItemize} \item class {\bfseries Qua\-Zip\-Private}\label{classQuaZip_a5d400b33a69412e9d419a484aaf476cd} \end{DoxyCompactItemize} \subsection{Detailed Description} Z\-I\-P archive. This class implements basic interface to the Z\-I\-P archive. It can be used to read table contents of the Z\-I\-P archive and retreiving information about the files inside it. You can also use this class to open files inside archive by passing pointer to the instance of this class to the constructor of the \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} class. But see \doxyref{Qua\-Zip\-File\-::\-Qua\-Zip\-File(\-Qua\-Zip$\ast$, Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for the possible pitfalls. This class is indended to provide interface to the Z\-I\-P subpackage of the Z\-I\-P/\-U\-N\-Z\-I\-P package as well as to the U\-N\-Z\-I\-P subpackage. But currently it supports only U\-N\-Z\-I\-P. The use of this class is simple -\/ just create instance using constructor, then set Z\-I\-P archive file name using set\-File() function (if you did not passed the name to the constructor), then \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} and then use different functions to work with it! Well, if you are paranoid, you may also wish to call close before destructing the instance, to check for errors on close. You may also use \doxyref{get\-Unz\-File()}{p.}{classQuaZip_a3b78a652f296ff4a678a791e8294e642} and \doxyref{get\-Zip\-File()}{p.}{classQuaZip_a425043a4d7cc31e2fe2bba73d954f15c} functions to get the Z\-I\-P archive handle and use it with Z\-I\-P/\-U\-N\-Z\-I\-P package A\-P\-I directly. This class supports localized file names inside Z\-I\-P archive, but you have to set up proper codec with set\-Codec() function. By default, locale codec will be used, which is probably ok for U\-N\-I\-X systems, but will almost certainly fail with Z\-I\-P archives created in Windows. This is because Windows Z\-I\-P programs have strange habit of using D\-O\-S encoding for file names in Z\-I\-P archives. For example, Z\-I\-P archive with cyrillic names created in Windows will have file names in {\ttfamily I\-B\-M866} encoding instead of {\ttfamily W\-I\-N\-D\-O\-W\-S-\/1251}. I think that calling one function is not much trouble, but for true platform independency it would be nice to have some mechanism for file name encoding auto detection using locale information. Does anyone know a good way to do it? \subsection{Member Enumeration Documentation} \index{Qua\-Zip@{Qua\-Zip}!Constants@{Constants}} \index{Constants@{Constants}!QuaZip@{Qua\-Zip}} \subsubsection[{Constants}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Qua\-Zip\-::\-Constants}}\label{classQuaZip_adce46b942c341dbb5c851eadead65459} Useful constants. \begin{Desc} \item[Enumerator]\par \begin{description} \index{M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H@{M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H@{M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H}}\item[{\em M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H\label{classQuaZip_adce46b942c341dbb5c851eadead65459ab26ce1a9c9e94f901dc2cf90fa5baa4b} }]Maximum file name length. Taken from {\ttfamily U\-N\-Z\-\_\-\-M\-A\-X\-F\-I\-L\-E\-N\-A\-M\-E\-I\-N\-Z\-I\-P} constant in unzip.\-c. \end{description} \end{Desc} \index{Qua\-Zip@{Qua\-Zip}!Mode@{Mode}} \index{Mode@{Mode}!QuaZip@{Qua\-Zip}} \subsubsection[{Mode}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Qua\-Zip\-::\-Mode}}\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4} Open mode of the Z\-I\-P file. \begin{Desc} \item[Enumerator]\par \begin{description} \index{md\-Not\-Open@{md\-Not\-Open}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Not\-Open@{md\-Not\-Open}}\item[{\em md\-Not\-Open\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4ac87ddb1e901e1ec700c16ee0d4d398ce} }]Z\-I\-P file is not open. This is the initial mode. \index{md\-Unzip@{md\-Unzip}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Unzip@{md\-Unzip}}\item[{\em md\-Unzip\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} }]Z\-I\-P file is open for reading files inside it. \index{md\-Create@{md\-Create}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Create@{md\-Create}}\item[{\em md\-Create\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a25ae05b12590540af8c66ae8298b928e} }]Z\-I\-P file was created with \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} call. \index{md\-Append@{md\-Append}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Append@{md\-Append}}\item[{\em md\-Append\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4ab807f0c65653a16d77b365801fd25582} }]Z\-I\-P file was opened in append mode. This refers to {\ttfamily A\-P\-P\-E\-N\-D\-\_\-\-S\-T\-A\-T\-U\-S\-\_\-\-C\-R\-E\-A\-T\-E\-A\-F\-T\-E\-R} mode in Z\-I\-P/\-U\-N\-Z\-I\-P package and means that zip is appended to some existing file what is useful when that file contains self-\/extractor code. This is obviously {\itshape not} what you whant to use to add files to the existing Z\-I\-P archive. \index{md\-Add@{md\-Add}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!md\-Add@{md\-Add}}\item[{\em md\-Add\label{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a22c745f349f06add449af523254fdaec} }]Z\-I\-P file was opened for adding files in the archive. \end{description} \end{Desc} \index{Qua\-Zip@{Qua\-Zip}!Case\-Sensitivity@{Case\-Sensitivity}} \index{Case\-Sensitivity@{Case\-Sensitivity}!QuaZip@{Qua\-Zip}} \subsubsection[{Case\-Sensitivity}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf Qua\-Zip\-::\-Case\-Sensitivity}}\label{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbe} Case sensitivity for the file names. This is what you specify when accessing files in the archive. Works perfectly fine with any characters thanks to Qt's great unicode support. This is different from Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I, where only U\-S-\/\-A\-S\-C\-I\-I characters was supported. \begin{Desc} \item[Enumerator]\par \begin{description} \index{cs\-Default@{cs\-Default}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!cs\-Default@{cs\-Default}}\item[{\em cs\-Default\label{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbeac3cca8c0b976cf6397a28a5c84e75253} }]Default for platform. Case sensitive for U\-N\-I\-X, not for Windows. \index{cs\-Sensitive@{cs\-Sensitive}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!cs\-Sensitive@{cs\-Sensitive}}\item[{\em cs\-Sensitive\label{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbead8d86b0c34203336cad09348cfa5356e} }]Case sensitive. \index{cs\-Insensitive@{cs\-Insensitive}!Qua\-Zip@{Qua\-Zip}}\index{Qua\-Zip@{Qua\-Zip}!cs\-Insensitive@{cs\-Insensitive}}\item[{\em cs\-Insensitive\label{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbea3e492bcc3f64f41a74906cecc45fb366} }]Case insensitive. \end{description} \end{Desc} \subsection{Constructor \& Destructor Documentation} \index{Qua\-Zip@{Qua\-Zip}!Qua\-Zip@{Qua\-Zip}} \index{Qua\-Zip@{Qua\-Zip}!QuaZip@{Qua\-Zip}} \subsubsection[{Qua\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-::\-Qua\-Zip ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaZip_a970e0f401c7cfd7a78e78572f758eec4} Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object. Call set\-Name() before opening constructed object. \index{Qua\-Zip@{Qua\-Zip}!Qua\-Zip@{Qua\-Zip}} \index{Qua\-Zip@{Qua\-Zip}!QuaZip@{Qua\-Zip}} \subsubsection[{Qua\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-::\-Qua\-Zip ( \begin{DoxyParamCaption} \item[{Q\-I\-O\-Device $\ast$}]{io\-Device} \end{DoxyParamCaption} )}\label{classQuaZip_ae52ebadd5ce64cdb49d7e198904b0b8c} Constructs \doxyref{Qua\-Zip}{p.}{classQuaZip} object associated with Z\-I\-P file represented by {\itshape io\-Device}. The I\-O device must be seekable, otherwise an error will occur when opening. \index{Qua\-Zip@{Qua\-Zip}!$\sim$\-Qua\-Zip@{$\sim$\-Qua\-Zip}} \index{$\sim$\-Qua\-Zip@{$\sim$\-Qua\-Zip}!QuaZip@{Qua\-Zip}} \subsubsection[{$\sim$\-Qua\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-::$\sim$\-Qua\-Zip ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaZip_af60a2d3930b90f3b25a3148baecad81e} Destroys \doxyref{Qua\-Zip}{p.}{classQuaZip} object. Calls \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} if necessary. References close(), and is\-Open(). \subsection{Member Function Documentation} \index{Qua\-Zip@{Qua\-Zip}!convert\-Case\-Sensitivity@{convert\-Case\-Sensitivity}} \index{convert\-Case\-Sensitivity@{convert\-Case\-Sensitivity}!QuaZip@{Qua\-Zip}} \subsubsection[{convert\-Case\-Sensitivity}]{\setlength{\rightskip}{0pt plus 5cm}Qt\-::\-Case\-Sensitivity Qua\-Zip\-::convert\-Case\-Sensitivity ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip\-::\-Case\-Sensitivity}}]{cs} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classQuaZip_a1d3fbd445a8e9d3449ded7371931c6b3} Returns the actual case sensitivity for the specified Qua\-Z\-I\-P one. \begin{DoxyParams}{Parameters} {\em cs} & The value to convert. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} If Case\-Sensitivity\-::cs\-Default, then returns the default file name case sensitivity for the platform. Otherwise, just returns the appropriate value from the Qt\-::\-Case\-Sensitivity enum. \end{DoxyReturn} References cs\-Default, and cs\-Sensitive. Referenced by Qua\-Zip\-Dir\-::exists(), and set\-Current\-File(). \index{Qua\-Zip@{Qua\-Zip}!open@{open}} \index{open@{open}!QuaZip@{Qua\-Zip}} \subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::open ( \begin{DoxyParamCaption} \item[{{\bf Mode}}]{mode, } \item[{zlib\-\_\-filefunc\-\_\-def $\ast$}]{io\-Api = {\ttfamily NULL}} \end{DoxyParamCaption} )}\label{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} Opens Z\-I\-P file. Argument {\itshape mode} specifies open mode of the Z\-I\-P archive. See Mode for details. Note that there is zip\-Open2() function in the Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I which accepts {\itshape globalcomment} argument, but it does not use it anywhere, so this \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} function does not have this argument. See \doxyref{set\-Comment()}{p.}{classQuaZip_a1b5d936a203859340574d5908ffa2222} if you need to set global comment. If the Z\-I\-P file is accessed via explicitly set Q\-I\-O\-Device, then this device is opened in the necessary mode. If the device was already opened by some other means, then Qua\-Z\-I\-P checks if the open mode is compatible to the mode needed for the requested operation. If necessary, seeking is performed to position the device properly. \begin{DoxyReturn}{Returns} {\ttfamily true} if successful, {\ttfamily false} otherwise. \end{DoxyReturn} \begin{DoxyNote}{Note} Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I open calls do not return error code -\/ they just return {\ttfamily N\-U\-L\-L} indicating an error. But to make things easier, \doxyref{quazip.\-h}{p.}{quazip_8h_source} header defines additional error code {\ttfamily U\-N\-Z\-\_\-\-E\-R\-R\-O\-R\-O\-P\-E\-N} and \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} will return it if the open call of the Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I returns {\ttfamily N\-U\-L\-L}. \end{DoxyNote} Argument {\itshape io\-Api} specifies I\-O function set for Z\-I\-P/\-U\-N\-Z\-I\-P package to use. See unzip.\-h, zip.\-h and ioapi.\-h for details. Note that I\-O A\-P\-I for \doxyref{Qua\-Zip}{p.}{classQuaZip} is different from the original package. The file path argument was changed to be of type {\ttfamily voidpf}, and \doxyref{Qua\-Zip}{p.}{classQuaZip} passes a Q\-I\-O\-Device pointer there. This Q\-I\-O\-Device is either set explicitly via \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6} or the \doxyref{Qua\-Zip(\-Q\-I\-O\-Device$\ast$)}{p.}{classQuaZip_ae52ebadd5ce64cdb49d7e198904b0b8c} constructor, or it is created internally when opening the archive by its file name. The default A\-P\-I (qioapi.\-cpp) just delegates everything to the Q\-I\-O\-Device A\-P\-I. Not only this allows to use a Q\-I\-O\-Device instead of file name, but also has a nice side effect of raising the file size limit from 2\-G to 4\-G (in non-\/zip64 archives). \begin{DoxyNote}{Note} If the zip64 support is needed, the io\-Api argument {\itshape must} be N\-U\-L\-L because due to the backwards compatibility issues it can be used to provide a 32-\/bit A\-P\-I only. If the \doxyref{no-\/auto-\/close}{p.}{classQuaZip_a54bfc924762774ccf9f99be075ba7b0e} feature is used, then the {\itshape io\-Api} argument {\itshape should} be N\-U\-L\-L because the old A\-P\-I doesn't support the 'fake close' operation, causing slight memory leaks and other possible troubles (like closing the output device in case when an error occurs during opening). \end{DoxyNote} In short\-: just forget about the {\itshape io\-Api} argument and you'll be fine. References is\-Open(), md\-Add, md\-Append, md\-Create, md\-Unzip, Qua\-Zip\-Private\-::unz\-File\-\_\-f, and Qua\-Zip\-Private\-::zip\-File\-\_\-f. Referenced by Jl\-Compress\-::compress\-Dir(), Jl\-Compress\-::compress\-File(), Jl\-Compress\-::compress\-Files(), Jl\-Compress\-::extract\-Dir(), Jl\-Compress\-::extract\-File(), Jl\-Compress\-::extract\-Files(), Jl\-Compress\-::get\-File\-List(), and Qua\-Zip\-File\-::open(). \index{Qua\-Zip@{Qua\-Zip}!close@{close}} \index{close@{close}!QuaZip@{Qua\-Zip}} \subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::close ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} Closes Z\-I\-P file. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to determine if the close was successful. If the file was opened by name, then the underlying Q\-I\-O\-Device is closed and deleted. If the underlying Q\-I\-O\-Device was set explicitly using \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6} or the appropriate constructor, then it is closed if the auto-\/close flag is set (which it is by default). Call \doxyref{set\-Auto\-Close()}{p.}{classQuaZip_a54bfc924762774ccf9f99be075ba7b0e} to clear the auto-\/close flag if this behavior is undesirable. Since Qt 5.\-1, the Q\-Save\-File was introduced. It breaks the Q\-I\-O\-Device A\-P\-I by making \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} private and crashing the application if it is called from the base class where it is public. It is an excellent example of poor design that illustrates why you should never ever break an is-\/a relationship between the base class and a subclass. Qua\-Z\-I\-P works around this bug by checking if the Q\-I\-O\-Device is an instance of Q\-Save\-File, using qobject\-\_\-cast$<$$>$, and if it is, calls Q\-Save\-File\-::commit() instead of \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f}. It is a really ugly hack, but at least it makes your programs work instead of crashing. Note that if the auto-\/close flag is cleared, then this is a non-\/issue, and commit() isn't called. References md\-Add, md\-Append, md\-Create, md\-Not\-Open, md\-Unzip, Qua\-Zip\-Private\-::unz\-File\-\_\-f, and Qua\-Zip\-Private\-::zip\-File\-\_\-f. Referenced by Qua\-Zip\-File\-::close(), Jl\-Compress\-::compress\-Dir(), Jl\-Compress\-::compress\-File(), Jl\-Compress\-::compress\-Files(), Jl\-Compress\-::extract\-Dir(), Jl\-Compress\-::extract\-File(), Jl\-Compress\-::extract\-Files(), Jl\-Compress\-::get\-File\-List(), Qua\-Zip\-File\-::open(), and $\sim$\-Qua\-Zip(). \index{Qua\-Zip@{Qua\-Zip}!set\-File\-Name\-Codec@{set\-File\-Name\-Codec}} \index{set\-File\-Name\-Codec@{set\-File\-Name\-Codec}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-File\-Name\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-File\-Name\-Codec ( \begin{DoxyParamCaption} \item[{Q\-Text\-Codec $\ast$}]{file\-Name\-Codec} \end{DoxyParamCaption} )}\label{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb} Sets the codec used to encode/decode file names inside archive. This is necessary to access files in the Z\-I\-P archive created under Windows with non-\/latin characters in file names. For example, file names with cyrillic letters will be in {\ttfamily I\-B\-M866} encoding. \index{Qua\-Zip@{Qua\-Zip}!set\-File\-Name\-Codec@{set\-File\-Name\-Codec}} \index{set\-File\-Name\-Codec@{set\-File\-Name\-Codec}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-File\-Name\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-File\-Name\-Codec ( \begin{DoxyParamCaption} \item[{const char $\ast$}]{file\-Name\-Codec\-Name} \end{DoxyParamCaption} )}\label{classQuaZip_a8f283519a195aa1d9076bbbb01ea0497} Sets the codec used to encode/decode file names inside archive. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling set\-File\-Name\-Codec(\-Q\-Text\-Codec\-::codec\-For\-Name(codec\-Name)); \index{Qua\-Zip@{Qua\-Zip}!set\-Comment\-Codec@{set\-Comment\-Codec}} \index{set\-Comment\-Codec@{set\-Comment\-Codec}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Comment\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Comment\-Codec ( \begin{DoxyParamCaption} \item[{Q\-Text\-Codec $\ast$}]{comment\-Codec} \end{DoxyParamCaption} )}\label{classQuaZip_a1c81fca7215a4374f6f03872ade4885b} Sets the codec used to encode/decode comments inside archive. This codec defaults to locale codec, which is probably ok. \index{Qua\-Zip@{Qua\-Zip}!set\-Comment\-Codec@{set\-Comment\-Codec}} \index{set\-Comment\-Codec@{set\-Comment\-Codec}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Comment\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Comment\-Codec ( \begin{DoxyParamCaption} \item[{const char $\ast$}]{comment\-Codec\-Name} \end{DoxyParamCaption} )}\label{classQuaZip_a413f3c56b54a9a47258d53802cb606e7} Sets the codec used to encode/decode comments inside archive. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling set\-Comment\-Codec(\-Q\-Text\-Codec\-::codec\-For\-Name(codec\-Name)); \index{Qua\-Zip@{Qua\-Zip}!get\-Zip\-Name@{get\-Zip\-Name}} \index{get\-Zip\-Name@{get\-Zip\-Name}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Zip\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-::get\-Zip\-Name ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_a4f7deef08ff40aeb1a7a04bcd7f228c2} Returns the name of the Z\-I\-P file. Returns null string if no Z\-I\-P file name has been set, for example when the \doxyref{Qua\-Zip}{p.}{classQuaZip} instance is set up to use a Q\-I\-O\-Device instead. \begin{DoxySeeAlso}{See Also} \doxyref{set\-Zip\-Name()}{p.}{classQuaZip_aa80b661de1262af905d1677dbcb008cc}, \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6}, \doxyref{get\-Io\-Device()}{p.}{classQuaZip_afd3ba12fe68748acbf8b7cc14a5a1c29} \end{DoxySeeAlso} Referenced by Qua\-Zip\-File\-::get\-Zip\-Name(). \index{Qua\-Zip@{Qua\-Zip}!set\-Zip\-Name@{set\-Zip\-Name}} \index{set\-Zip\-Name@{set\-Zip\-Name}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Zip\-Name}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Zip\-Name ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{zip\-Name} \end{DoxyParamCaption} )}\label{classQuaZip_aa80b661de1262af905d1677dbcb008cc} Sets the name of the Z\-I\-P file. Does nothing if the Z\-I\-P file is open. Does not reset error code returned by \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4}. \begin{DoxySeeAlso}{See Also} \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6}, \doxyref{get\-Io\-Device()}{p.}{classQuaZip_afd3ba12fe68748acbf8b7cc14a5a1c29}, \doxyref{get\-Zip\-Name()}{p.}{classQuaZip_a4f7deef08ff40aeb1a7a04bcd7f228c2} \end{DoxySeeAlso} References is\-Open(). \index{Qua\-Zip@{Qua\-Zip}!get\-Io\-Device@{get\-Io\-Device}} \index{get\-Io\-Device@{get\-Io\-Device}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Io\-Device}]{\setlength{\rightskip}{0pt plus 5cm}Q\-I\-O\-Device $\ast$ Qua\-Zip\-::get\-Io\-Device ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_afd3ba12fe68748acbf8b7cc14a5a1c29} Returns the device representing this Z\-I\-P file. Returns null string if no device has been set explicitly, for example when opening a Z\-I\-P file by name. \begin{DoxySeeAlso}{See Also} \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6}, \doxyref{get\-Zip\-Name()}{p.}{classQuaZip_a4f7deef08ff40aeb1a7a04bcd7f228c2}, \doxyref{set\-Zip\-Name()}{p.}{classQuaZip_aa80b661de1262af905d1677dbcb008cc} \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!set\-Io\-Device@{set\-Io\-Device}} \index{set\-Io\-Device@{set\-Io\-Device}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Io\-Device}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Io\-Device ( \begin{DoxyParamCaption} \item[{Q\-I\-O\-Device $\ast$}]{io\-Device} \end{DoxyParamCaption} )}\label{classQuaZip_a64642948b6531ee54f5522f29e388cc6} Sets the device representing the Z\-I\-P file. Does nothing if the Z\-I\-P file is open. Does not reset error code returned by \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4}. \begin{DoxySeeAlso}{See Also} \doxyref{get\-Io\-Device()}{p.}{classQuaZip_afd3ba12fe68748acbf8b7cc14a5a1c29}, \doxyref{get\-Zip\-Name()}{p.}{classQuaZip_a4f7deef08ff40aeb1a7a04bcd7f228c2}, \doxyref{set\-Zip\-Name()}{p.}{classQuaZip_aa80b661de1262af905d1677dbcb008cc} \end{DoxySeeAlso} References is\-Open(). \index{Qua\-Zip@{Qua\-Zip}!get\-Zip\-Error@{get\-Zip\-Error}} \index{get\-Zip\-Error@{get\-Zip\-Error}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Zip\-Error}]{\setlength{\rightskip}{0pt plus 5cm}int Qua\-Zip\-::get\-Zip\-Error ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} Returns the error code of the last operation. Returns {\ttfamily U\-N\-Z\-\_\-\-O\-K} if the last operation was successful. Error code resets to {\ttfamily U\-N\-Z\-\_\-\-O\-K} every time you call any function that accesses something inside Z\-I\-P archive, even if it is {\ttfamily const} (like \doxyref{get\-Entries\-Count()}{p.}{classQuaZip_a2ea4bd1fca948637c35c2d2752bb5a80}). \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} and \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} calls reset error code too. See documentation for the specific functions for details on error detection. Referenced by Qua\-Zip\-File\-::close(), Jl\-Compress\-::compress\-Dir(), Jl\-Compress\-::compress\-File(), Jl\-Compress\-::compress\-Files(), Jl\-Compress\-::extract\-Dir(), Jl\-Compress\-::extract\-File(), Jl\-Compress\-::extract\-Files(), Qua\-Zip\-File\-::get\-Actual\-File\-Name(), Qua\-Zip\-File\-::get\-File\-Info(), Jl\-Compress\-::get\-File\-List(), and Qua\-Zip\-File\-::open(). \index{Qua\-Zip@{Qua\-Zip}!get\-Entries\-Count@{get\-Entries\-Count}} \index{get\-Entries\-Count@{get\-Entries\-Count}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Entries\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int Qua\-Zip\-::get\-Entries\-Count ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_a2ea4bd1fca948637c35c2d2752bb5a80} Returns number of the entries in the Z\-I\-P central directory. Returns negative error code in the case of error. The same error code will be returned by subsequent \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} call. References md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. \index{Qua\-Zip@{Qua\-Zip}!set\-Comment@{set\-Comment}} \index{set\-Comment@{set\-Comment}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Comment}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Comment ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{comment} \end{DoxyParamCaption} )}\label{classQuaZip_a1b5d936a203859340574d5908ffa2222} Sets the global comment in the Z\-I\-P file. The comment will be written to the archive on close operation. \doxyref{Qua\-Zip}{p.}{classQuaZip} makes a distinction between a null Q\-Byte\-Array() comment and an empty "" comment in the \doxyref{Qua\-Zip\-::md\-Add}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a22c745f349f06add449af523254fdaec} mode. A null comment is the default and it means "don't change the comment". An empty comment removes the original comment. \begin{DoxySeeAlso}{See Also} \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!go\-To\-First\-File@{go\-To\-First\-File}} \index{go\-To\-First\-File@{go\-To\-First\-File}!QuaZip@{Qua\-Zip}} \subsubsection[{go\-To\-First\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::go\-To\-First\-File ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaZip_a745488f9177bcec3cdb858587584e033} Sets the current file to the first file in the archive. Returns {\ttfamily true} on success, {\ttfamily false} otherwise. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to get the error code. References md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. Referenced by Jl\-Compress\-::extract\-Dir(), and Jl\-Compress\-::get\-File\-List(). \index{Qua\-Zip@{Qua\-Zip}!go\-To\-Next\-File@{go\-To\-Next\-File}} \index{go\-To\-Next\-File@{go\-To\-Next\-File}!QuaZip@{Qua\-Zip}} \subsubsection[{go\-To\-Next\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::go\-To\-Next\-File ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaZip_aee6779b6cd338420c2e8c5655fa8ba97} Sets the current file to the next file in the archive. Returns {\ttfamily true} on success, {\ttfamily false} otherwise. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to determine if there was an error. Should be used only in \doxyref{Qua\-Zip\-::md\-Unzip}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} mode. \begin{DoxyNote}{Note} If the end of file was reached, \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} will return {\ttfamily U\-N\-Z\-\_\-\-O\-K} instead of {\ttfamily U\-N\-Z\-\_\-\-E\-N\-D\-\_\-\-O\-F\-\_\-\-L\-I\-S\-T\-\_\-\-O\-F\-\_\-\-F\-I\-L\-E}. This is to make things like this easier\-: \begin{DoxyCode} \textcolor{keywordflow}{for}(\textcolor{keywordtype}{bool} more=zip.goToFirstFile(); more; more=zip.goToNextFile()) \{ \textcolor{comment}{// do something} \} \textcolor{keywordflow}{if}(zip.getZipError()==UNZ\_OK) \{ \textcolor{comment}{// ok, there was no error} \} \end{DoxyCode} \end{DoxyNote} References md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. Referenced by Jl\-Compress\-::extract\-Dir(), Jl\-Compress\-::get\-File\-List(), and set\-Current\-File(). \index{Qua\-Zip@{Qua\-Zip}!set\-Current\-File@{set\-Current\-File}} \index{set\-Current\-File@{set\-Current\-File}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Current\-File}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::set\-Current\-File ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file\-Name, } \item[{{\bf Case\-Sensitivity}}]{cs = {\ttfamily {\bf cs\-Default}}} \end{DoxyParamCaption} )}\label{classQuaZip_a6c657bfcfccb59d728e0da24c677d899} Sets current file by its name. Returns {\ttfamily true} if successful, {\ttfamily false} otherwise. Argument {\itshape cs} specifies case sensitivity of the file name. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} in the case of a failure to get error code. This is not a wrapper to unz\-Locate\-File() function. That is because I had to implement locale-\/specific case-\/insensitive comparison. Here are the differences from the original implementation\-: \begin{DoxyItemize} \item If the file was not found, error code is {\ttfamily U\-N\-Z\-\_\-\-O\-K}, not {\ttfamily U\-N\-Z\-\_\-\-E\-N\-D\-\_\-\-O\-F\-\_\-\-L\-I\-S\-T\-\_\-\-O\-F\-\_\-\-F\-I\-L\-E} (see also \doxyref{go\-To\-Next\-File()}{p.}{classQuaZip_aee6779b6cd338420c2e8c5655fa8ba97}). \item If this function fails, it unsets the current file rather than resetting it back to what it was before the call. \end{DoxyItemize} If {\itshape file\-Name} is null string then this function unsets the current file and return {\ttfamily true}. Note that you should close the file first if it is open! See \doxyref{Qua\-Zip\-File\-::\-Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for the details. Should be used only in \doxyref{Qua\-Zip\-::md\-Unzip}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} mode. \begin{DoxySeeAlso}{See Also} \doxyref{set\-File\-Name\-Codec()}{p.}{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb}, \doxyref{Case\-Sensitivity}{p.}{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbe} \end{DoxySeeAlso} References convert\-Case\-Sensitivity(), get\-Current\-File\-Name(), go\-To\-Next\-File(), M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H, md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. Referenced by Qua\-Zip\-File\-::open(). \index{Qua\-Zip@{Qua\-Zip}!get\-Current\-File\-Info@{get\-Current\-File\-Info}} \index{get\-Current\-File\-Info@{get\-Current\-File\-Info}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Current\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::get\-Current\-File\-Info ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip\-File\-Info} $\ast$}]{info} \end{DoxyParamCaption} ) const}\label{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} Retrieves information about the current file. Fills the structure pointed by {\itshape info}. Returns {\ttfamily true} on success, {\ttfamily false} otherwise. In the latter case structure pointed by {\itshape info} remains untouched. If there was an error, \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} returns error code. Should be used only in \doxyref{Qua\-Zip\-::md\-Unzip}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} mode. Does nothing and returns {\ttfamily false} in any of the following cases. \begin{DoxyItemize} \item Z\-I\-P is not open; \item Z\-I\-P does not have current file. \end{DoxyItemize} In both cases \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} returns {\ttfamily U\-N\-Z\-\_\-\-O\-K} since there is no Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I call. This overload doesn't support zip64, but will work O\-K on zip64 archives except that if one of the sizes (compressed or uncompressed) is greater than 0x\-F\-F\-F\-F\-F\-F\-F\-Fu, it will be set to exactly 0x\-F\-F\-F\-F\-F\-F\-F\-Fu. \begin{DoxySeeAlso}{See Also} \doxyref{get\-Current\-File\-Info(\-Qua\-Zip\-File\-Info64$\ast$ info)const}{p.}{classQuaZip_a7ba6daf39263c308c683e7f72f74e0ae} \doxyref{Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info(\-Qua\-Zip\-File\-Info\&)const}{p.}{structQuaZipFileInfo64_ada29945c7ee4c9df6fbe95864793aade} \end{DoxySeeAlso} References Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info(). Referenced by Qua\-Zip\-File\-::get\-File\-Info(), and Jl\-Compress\-::get\-File\-List(). \index{Qua\-Zip@{Qua\-Zip}!get\-Current\-File\-Info@{get\-Current\-File\-Info}} \index{get\-Current\-File\-Info@{get\-Current\-File\-Info}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Current\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::get\-Current\-File\-Info ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip\-File\-Info64} $\ast$}]{info} \end{DoxyParamCaption} ) const}\label{classQuaZip_a7ba6daf39263c308c683e7f72f74e0ae} Retrieves information about the current file. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This function supports zip64. If the archive doesn't use zip64, it is completely equivalent to get\-Current\-File\-Info(\-Qua\-Zip\-File\-Info$\ast$ info) except for the argument type. \begin{DoxySeeAlso}{See Also} \end{DoxySeeAlso} References Qua\-Zip\-File\-Info64\-::comment, Qua\-Zip\-File\-Info64\-::compressed\-Size, Qua\-Zip\-File\-Info64\-::crc, Qua\-Zip\-File\-Info64\-::date\-Time, Qua\-Zip\-File\-Info64\-::disk\-Number\-Start, Qua\-Zip\-File\-Info64\-::external\-Attr, Qua\-Zip\-File\-Info64\-::extra, Qua\-Zip\-File\-Info64\-::flags, has\-Current\-File(), Qua\-Zip\-File\-Info64\-::internal\-Attr, is\-Open(), md\-Unzip, Qua\-Zip\-File\-Info64\-::method, Qua\-Zip\-File\-Info64\-::name, Qua\-Zip\-File\-Info64\-::uncompressed\-Size, Qua\-Zip\-Private\-::unz\-File\-\_\-f, Qua\-Zip\-File\-Info64\-::version\-Created, and Qua\-Zip\-File\-Info64\-::version\-Needed. \index{Qua\-Zip@{Qua\-Zip}!get\-Current\-File\-Name@{get\-Current\-File\-Name}} \index{get\-Current\-File\-Name@{get\-Current\-File\-Name}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Current\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-::get\-Current\-File\-Name ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_a9783f8b4f39cd55e71e975aea78fd54a} Returns the current file name. Equivalent to calling \doxyref{get\-Current\-File\-Info()}{p.}{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} and then getting {\ttfamily name} field of the \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo} structure, but faster and more convenient. Should be used only in \doxyref{Qua\-Zip\-::md\-Unzip}{p.}{classQuaZip_a47e28d4116ee716fdd6b431b821d0be4a803a371910c2dc830d111e9ce5b58897} mode. References has\-Current\-File(), is\-Open(), M\-A\-X\-\_\-\-F\-I\-L\-E\-\_\-\-N\-A\-M\-E\-\_\-\-L\-E\-N\-G\-T\-H, md\-Unzip, and Qua\-Zip\-Private\-::unz\-File\-\_\-f. Referenced by Jl\-Compress\-::extract\-Dir(), Qua\-Zip\-File\-::get\-Actual\-File\-Name(), and set\-Current\-File(). \index{Qua\-Zip@{Qua\-Zip}!get\-Unz\-File@{get\-Unz\-File}} \index{get\-Unz\-File@{get\-Unz\-File}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Unz\-File}]{\setlength{\rightskip}{0pt plus 5cm}unz\-File Qua\-Zip\-::get\-Unz\-File ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaZip_a3b78a652f296ff4a678a791e8294e642} Returns {\ttfamily unz\-File} handle. You can use this handle to directly call U\-N\-Z\-I\-P part of the Z\-I\-P/\-U\-N\-Z\-I\-P package functions (see unzip.\-h). \begin{DoxyWarning}{Warning} When using the handle returned by this function, please keep in mind that \doxyref{Qua\-Zip}{p.}{classQuaZip} class is unable to detect any changes you make in the Z\-I\-P file state (e. g. changing current file, or closing the handle). So please do not do anything with this handle that is possible to do with the functions of this class. Or at least return the handle in the original state before calling some another function of this class (including implicit destructor calls and calls from the \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} objects that refer to this \doxyref{Qua\-Zip}{p.}{classQuaZip} instance!). So if you have changed the current file in the Z\-I\-P archive -\/ then change it back or you may experience some strange behavior or even crashes. \end{DoxyWarning} References Qua\-Zip\-Private\-::unz\-File\-\_\-f. Referenced by Qua\-Zip\-File\-::at\-End(), Qua\-Zip\-File\-::close(), Qua\-Zip\-File\-::csize(), Qua\-Zip\-File\-::open(), Qua\-Zip\-File\-::pos(), Qua\-Zip\-File\-::read\-Data(), and Qua\-Zip\-File\-::usize(). \index{Qua\-Zip@{Qua\-Zip}!get\-Zip\-File@{get\-Zip\-File}} \index{get\-Zip\-File@{get\-Zip\-File}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}zip\-File Qua\-Zip\-::get\-Zip\-File ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaZip_a425043a4d7cc31e2fe2bba73d954f15c} Returns {\ttfamily zip\-File} handle. You can use this handle to directly call Z\-I\-P part of the Z\-I\-P/\-U\-N\-Z\-I\-P package functions (see zip.\-h). Warnings about the \doxyref{get\-Unz\-File()}{p.}{classQuaZip_a3b78a652f296ff4a678a791e8294e642} function also apply to this function. References Qua\-Zip\-Private\-::zip\-File\-\_\-f. Referenced by Qua\-Zip\-File\-::close(), Qua\-Zip\-File\-::open(), and Qua\-Zip\-File\-::write\-Data(). \index{Qua\-Zip@{Qua\-Zip}!set\-Data\-Descriptor\-Writing\-Enabled@{set\-Data\-Descriptor\-Writing\-Enabled}} \index{set\-Data\-Descriptor\-Writing\-Enabled@{set\-Data\-Descriptor\-Writing\-Enabled}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Data\-Descriptor\-Writing\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Data\-Descriptor\-Writing\-Enabled ( \begin{DoxyParamCaption} \item[{bool}]{enabled} \end{DoxyParamCaption} )}\label{classQuaZip_a6c23a12af88f7ea5edd4f9c0a24b9453} Changes the data descriptor writing mode. According to the Z\-I\-P format specification, a file inside archive may have a data descriptor immediately following the file data. This is reflected by a special flag in the local file header and in the central directory. By default, Qua\-Z\-I\-P sets this flag and writes the data descriptor unless both method and level were set to 0, in which case it operates in 1.\-0-\/compatible mode and never writes data descriptors. By setting this flag to false, it is possible to disable data descriptor writing, thus increasing compatibility with archive readers that don't understand this feature of the Z\-I\-P file format. Setting this flag affects all the \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instances that are opened after this flag is set. The data descriptor writing mode is enabled by default. Note that if the Z\-I\-P archive is written into a Q\-I\-O\-Device for which Q\-I\-O\-Device\-::is\-Sequential() returns {\ttfamily true}, then the data descriptor is mandatory and will be written even if this flag is set to false. \begin{DoxyParams}{Parameters} {\em enabled} & If {\ttfamily true}, enable local descriptor writing, disable it otherwise.\\ \hline \end{DoxyParams} \begin{DoxySeeAlso}{See Also} Qua\-Zip\-File\-::is\-Data\-Descriptor\-Writing\-Enabled() \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!is\-Data\-Descriptor\-Writing\-Enabled@{is\-Data\-Descriptor\-Writing\-Enabled}} \index{is\-Data\-Descriptor\-Writing\-Enabled@{is\-Data\-Descriptor\-Writing\-Enabled}!QuaZip@{Qua\-Zip}} \subsubsection[{is\-Data\-Descriptor\-Writing\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::is\-Data\-Descriptor\-Writing\-Enabled ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_ae5c665a59447c2d30e63e9c6df48ebb7} Returns the data descriptor default writing mode. \begin{DoxySeeAlso}{See Also} \doxyref{set\-Data\-Descriptor\-Writing\-Enabled()}{p.}{classQuaZip_a6c23a12af88f7ea5edd4f9c0a24b9453} \end{DoxySeeAlso} Referenced by Qua\-Zip\-File\-::open(). \index{Qua\-Zip@{Qua\-Zip}!get\-File\-Name\-List@{get\-File\-Name\-List}} \index{get\-File\-Name\-List@{get\-File\-Name\-List}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-File\-Name\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Qua\-Zip\-::get\-File\-Name\-List ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_abb38d8b4c9c4ae0728b48caae9dd82de} Returns a list of files inside the archive. \begin{DoxyReturn}{Returns} A list of file names or an empty list if there was an error or if the archive is empty (call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to figure out which). \end{DoxyReturn} \begin{DoxySeeAlso}{See Also} \doxyref{get\-File\-Info\-List()}{p.}{classQuaZip_a7486af66bede8e131db0cd2e81881387} \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!get\-File\-Info\-List@{get\-File\-Info\-List}} \index{get\-File\-Info\-List@{get\-File\-Info\-List}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-File\-Info\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ Qua\-Zip\-::get\-File\-Info\-List ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_a7486af66bede8e131db0cd2e81881387} Returns information list about all files inside the archive. \begin{DoxyReturn}{Returns} A list of \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo} objects or an empty list if there was an error or if the archive is empty (call \doxyref{get\-Zip\-Error()}{p.}{classQuaZip_a28b91a6282ddd9382c96a069572c6fb4} to figure out which). \end{DoxyReturn} This function doesn't support zip64, but will still work with zip64 archives, converting results using \doxyref{Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info()}{p.}{structQuaZipFileInfo64_ada29945c7ee4c9df6fbe95864793aade}. If all file sizes are below 4 G\-B, it will work just fine. \begin{DoxySeeAlso}{See Also} \doxyref{get\-File\-Name\-List()}{p.}{classQuaZip_abb38d8b4c9c4ae0728b48caae9dd82de} \doxyref{get\-File\-Info\-List64()}{p.}{classQuaZip_a474e66b1b696a9e00edcc067484c36ad} \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!get\-File\-Info\-List64@{get\-File\-Info\-List64}} \index{get\-File\-Info\-List64@{get\-File\-Info\-List64}!QuaZip@{Qua\-Zip}} \subsubsection[{get\-File\-Info\-List64}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ Qua\-Zip\-::get\-File\-Info\-List64 ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_a474e66b1b696a9e00edcc067484c36ad} Returns information list about all files inside the archive. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. This function supports zip64. \begin{DoxySeeAlso}{See Also} \doxyref{get\-File\-Name\-List()}{p.}{classQuaZip_abb38d8b4c9c4ae0728b48caae9dd82de} \doxyref{get\-File\-Info\-List()}{p.}{classQuaZip_a7486af66bede8e131db0cd2e81881387} \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!set\-Zip64\-Enabled@{set\-Zip64\-Enabled}} \index{set\-Zip64\-Enabled@{set\-Zip64\-Enabled}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Zip64\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Zip64\-Enabled ( \begin{DoxyParamCaption} \item[{bool}]{zip64} \end{DoxyParamCaption} )}\label{classQuaZip_ab99a22efae02ebb4b5c9cd8eedc1c0b0} Enables the zip64 mode. \begin{DoxyParams}{Parameters} {\em zip64} & If {\ttfamily true}, the zip64 mode is enabled, disabled otherwise.\\ \hline \end{DoxyParams} Once this is enabled, all new files (until the mode is disabled again) will be created in the zip64 mode, thus enabling the ability to write files larger than 4 G\-B. By default, the zip64 mode is off due to compatibility reasons. Note that this does not affect the ability to read zip64 archives in any way. \begin{DoxySeeAlso}{See Also} \doxyref{is\-Zip64\-Enabled()}{p.}{classQuaZip_a1b638566390d7599ba5982e844b151f4} \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!is\-Zip64\-Enabled@{is\-Zip64\-Enabled}} \index{is\-Zip64\-Enabled@{is\-Zip64\-Enabled}!QuaZip@{Qua\-Zip}} \subsubsection[{is\-Zip64\-Enabled}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::is\-Zip64\-Enabled ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_a1b638566390d7599ba5982e844b151f4} Returns whether the zip64 mode is enabled. \begin{DoxyReturn}{Returns} {\ttfamily true} if and only if the zip64 mode is enabled. \end{DoxyReturn} \begin{DoxySeeAlso}{See Also} \doxyref{set\-Zip64\-Enabled()}{p.}{classQuaZip_ab99a22efae02ebb4b5c9cd8eedc1c0b0} \end{DoxySeeAlso} Referenced by Qua\-Zip\-File\-::open(). \index{Qua\-Zip@{Qua\-Zip}!is\-Auto\-Close@{is\-Auto\-Close}} \index{is\-Auto\-Close@{is\-Auto\-Close}!QuaZip@{Qua\-Zip}} \subsubsection[{is\-Auto\-Close}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-::is\-Auto\-Close ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZip_adc2cc762ab5744720ae4d33290b5f5bf} Returns the auto-\/close flag. \begin{DoxySeeAlso}{See Also} \doxyref{set\-Auto\-Close()}{p.}{classQuaZip_a54bfc924762774ccf9f99be075ba7b0e} \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!set\-Auto\-Close@{set\-Auto\-Close}} \index{set\-Auto\-Close@{set\-Auto\-Close}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Auto\-Close}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Auto\-Close ( \begin{DoxyParamCaption} \item[{bool}]{auto\-Close} \end{DoxyParamCaption} ) const}\label{classQuaZip_a54bfc924762774ccf9f99be075ba7b0e} Sets or unsets the auto-\/close flag. By default, Qua\-Z\-I\-P opens the underlying Q\-I\-O\-Device when \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} is called, and closes it when \doxyref{close()}{p.}{classQuaZip_a7a4323b73e12f3b4470109f200728f9f} is called. In some cases, when the device is set explicitly using \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6}, it may be desirable to leave the device open. If the auto-\/close flag is unset using this method, then the device isn't closed automatically if it was set explicitly. If it is needed to clear this flag, it is recommended to do so before opening the archive because otherwise Qua\-Z\-I\-P may close the device during the \doxyref{open()}{p.}{classQuaZip_abfa4e6018b2964a3d10a4c54e5ab3962} call if an error is encountered after the device is opened. If the device was not set explicitly, but rather the \doxyref{set\-Zip\-Name()}{p.}{classQuaZip_aa80b661de1262af905d1677dbcb008cc} or the appropriate constructor was used to set the Z\-I\-P file name instead, then the auto-\/close flag has no effect, and the internal device is closed nevertheless because there is no other way to close it. \begin{DoxySeeAlso}{See Also} \doxyref{is\-Auto\-Close()}{p.}{classQuaZip_adc2cc762ab5744720ae4d33290b5f5bf} \doxyref{set\-Io\-Device()}{p.}{classQuaZip_a64642948b6531ee54f5522f29e388cc6} \end{DoxySeeAlso} \index{Qua\-Zip@{Qua\-Zip}!set\-Default\-File\-Name\-Codec@{set\-Default\-File\-Name\-Codec}} \index{set\-Default\-File\-Name\-Codec@{set\-Default\-File\-Name\-Codec}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Default\-File\-Name\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Default\-File\-Name\-Codec ( \begin{DoxyParamCaption} \item[{Q\-Text\-Codec $\ast$}]{codec} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classQuaZip_a317f5db89d84a80417338a3ab89770da} Sets the default file name codec to use. The default codec is used by the constructors, so calling this function won't affect the \doxyref{Qua\-Zip}{p.}{classQuaZip} instances already created at that moment. The codec specified here can be overriden by calling \doxyref{set\-File\-Name\-Codec()}{p.}{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb}. If neither function is called, Q\-Text\-Codec\-::codec\-For\-Locale() will be used to decode or encode file names. Use this function with caution if the application uses other libraries that depend on Qua\-Z\-I\-P. Those libraries can either call this function by themselves, thus overriding your setting or can rely on the default encoding, thus failing mysteriously if you change it. For these reasons, it isn't recommended to use this function if you are developing a library, not an application. Instead, ask your library users to call it in case they need specific encoding. In most cases, using \doxyref{set\-File\-Name\-Codec()}{p.}{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb} instead is the right choice. However, if you depend on third-\/party code that uses Qua\-Z\-I\-P, then the reasons stated above can actually become a reason to use this function in case the third-\/party code in question fails because it doesn't understand the encoding you need and doesn't provide a way to specify it. This applies to the \doxyref{Jl\-Compress}{p.}{classJlCompress} class as well, as it was contributed and doesn't support explicit encoding parameters. In short\-: use \doxyref{set\-File\-Name\-Codec()}{p.}{classQuaZip_a339010b5566704ba3c9cafbfe848d8fb} when you can, resort to \doxyref{set\-Default\-File\-Name\-Codec()}{p.}{classQuaZip_a317f5db89d84a80417338a3ab89770da} when you don't have access to the \doxyref{Qua\-Zip}{p.}{classQuaZip} instance. \begin{DoxyParams}{Parameters} {\em codec} & The codec to use by default. If N\-U\-L\-L, resets to default. \\ \hline \end{DoxyParams} Referenced by set\-Default\-File\-Name\-Codec(). \index{Qua\-Zip@{Qua\-Zip}!set\-Default\-File\-Name\-Codec@{set\-Default\-File\-Name\-Codec}} \index{set\-Default\-File\-Name\-Codec@{set\-Default\-File\-Name\-Codec}!QuaZip@{Qua\-Zip}} \subsubsection[{set\-Default\-File\-Name\-Codec}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-::set\-Default\-File\-Name\-Codec ( \begin{DoxyParamCaption} \item[{const char $\ast$}]{codec\-Name} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [static]}}\label{classQuaZip_a694af3c0ab076fab7bf619952f6fbfea} This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Equivalent to calling set\-Deflt\-File\-Name\-Codec(\-Q\-Text\-Codec\-::codec\-For\-Name(codec\-Name)). References set\-Default\-File\-Name\-Codec(). The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quazip.\-h\item quazip/quazip.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZipDir.tex000066400000000000000000000503071255273444100246520ustar00rootroot00000000000000\section{Qua\-Zip\-Dir Class Reference} \label{classQuaZipDir}\index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}} Provides Z\-I\-P archive navigation. {\ttfamily \#include $<$quazipdir.\-h$>$} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item {\bf Qua\-Zip\-Dir} (const {\bf Qua\-Zip\-Dir} \&that)\label{classQuaZipDir_a6c9cc8b74c52d3fe997b753370566690} \begin{DoxyCompactList}\small\item\em The copy constructor. \end{DoxyCompactList}\item {\bf Qua\-Zip\-Dir} ({\bf Qua\-Zip} $\ast$zip, const Q\-String \&dir=Q\-String()) \begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} instance pointing to the specified directory. \end{DoxyCompactList}\item {\bf $\sim$\-Qua\-Zip\-Dir} ()\label{classQuaZipDir_ae95d60e2c23e611723371bf8fff2b095} \begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item bool {\bf operator==} (const {\bf Qua\-Zip\-Dir} \&that)\label{classQuaZipDir_a4a2e07484c7159a3f469922ba2383547} \begin{DoxyCompactList}\small\item\em The assignment operator. \end{DoxyCompactList}\item bool {\bf operator!=} (const {\bf Qua\-Zip\-Dir} \&that) \begin{DoxyCompactList}\small\item\em operator!= \end{DoxyCompactList}\item {\bf Qua\-Zip\-Dir} \& {\bf operator=} (const {\bf Qua\-Zip\-Dir} \&that) \begin{DoxyCompactList}\small\item\em operator== \end{DoxyCompactList}\item Q\-String {\bf operator[$\,$]} (int pos) const \label{classQuaZipDir_a9e37ef5318c44a4575c58d66110e535a} \begin{DoxyCompactList}\small\item\em Returns the name of the entry at the specified position. \end{DoxyCompactList}\item {\bf Qua\-Zip\-::\-Case\-Sensitivity} {\bf case\-Sensitivity} () const \label{classQuaZipDir_ad7ab403a8d36a3b6149da86ea37178f8} \begin{DoxyCompactList}\small\item\em Returns the current case sensitivity mode. \end{DoxyCompactList}\item bool {\bf cd} (const Q\-String \&{\bf dir\-Name}) \begin{DoxyCompactList}\small\item\em Changes the 'current' directory. \end{DoxyCompactList}\item bool {\bf cd\-Up} ()\label{classQuaZipDir_a62306db3f4c0866930fa35c7348b84b3} \begin{DoxyCompactList}\small\item\em Goes up. \end{DoxyCompactList}\item uint {\bf count} () const \label{classQuaZipDir_aa3f14665e3991351f4ef94ab8e0ab29d} \begin{DoxyCompactList}\small\item\em Returns the number of entries in the directory. \end{DoxyCompactList}\item Q\-String {\bf dir\-Name} () const \begin{DoxyCompactList}\small\item\em Returns the current directory name. \end{DoxyCompactList}\item Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ {\bf entry\-Info\-List} (const Q\-String\-List \&{\bf name\-Filters}, Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const \begin{DoxyCompactList}\small\item\em Returns the list of the entries in the directory. \end{DoxyCompactList}\item Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ {\bf entry\-Info\-List} (Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const \begin{DoxyCompactList}\small\item\em Returns the list of the entries in the directory. \end{DoxyCompactList}\item Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ {\bf entry\-Info\-List64} (const Q\-String\-List \&{\bf name\-Filters}, Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const \begin{DoxyCompactList}\small\item\em Returns the list of the entries in the directory with zip64 support. \end{DoxyCompactList}\item Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ {\bf entry\-Info\-List64} (Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const \begin{DoxyCompactList}\small\item\em Returns the list of the entries in the directory with zip64 support. \end{DoxyCompactList}\item Q\-String\-List {\bf entry\-List} (const Q\-String\-List \&{\bf name\-Filters}, Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const \begin{DoxyCompactList}\small\item\em Returns the list of the entry names in the directory. \end{DoxyCompactList}\item Q\-String\-List {\bf entry\-List} (Q\-Dir\-::\-Filters filters=Q\-Dir\-::\-No\-Filter, Q\-Dir\-::\-Sort\-Flags sort=Q\-Dir\-::\-No\-Sort) const \begin{DoxyCompactList}\small\item\em Returns the list of the entry names in the directory. \end{DoxyCompactList}\item bool {\bf exists} (const Q\-String \&file\-Name) const \begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if the entry with the specified name exists. \end{DoxyCompactList}\item bool {\bf exists} () const \label{classQuaZipDir_a22c8f63ce874f5c0e958ae5f42e6d004} \begin{DoxyCompactList}\small\item\em Return {\ttfamily true} if the directory pointed by this \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} exists. \end{DoxyCompactList}\item Q\-String {\bf file\-Path} (const Q\-String \&file\-Name) const \begin{DoxyCompactList}\small\item\em Returns the full path to the specified file. \end{DoxyCompactList}\item Q\-Dir\-::\-Filters {\bf filter} ()\label{classQuaZipDir_abeee1810c7c1c1af93364081dbf70d38} \begin{DoxyCompactList}\small\item\em Returns the default filter. \end{DoxyCompactList}\item bool {\bf is\-Root} () const \begin{DoxyCompactList}\small\item\em Returns if the \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} points to the root of the archive. \end{DoxyCompactList}\item Q\-String\-List {\bf name\-Filters} () const \label{classQuaZipDir_a00f18e23abb8cac04f975e7f31553f2e} \begin{DoxyCompactList}\small\item\em Return the default name filter. \end{DoxyCompactList}\item Q\-String {\bf path} () const \begin{DoxyCompactList}\small\item\em Returns the path to the current dir. \end{DoxyCompactList}\item Q\-String {\bf relative\-File\-Path} (const Q\-String \&file\-Name) const \begin{DoxyCompactList}\small\item\em Returns the path to the specified file relative to the current dir. \end{DoxyCompactList}\item void {\bf set\-Case\-Sensitivity} ({\bf Qua\-Zip\-::\-Case\-Sensitivity} {\bf case\-Sensitivity})\label{classQuaZipDir_ad53c720975bb0c49a823355f7d518793} \begin{DoxyCompactList}\small\item\em Sets the default case sensitivity mode. \end{DoxyCompactList}\item void {\bf set\-Filter} (Q\-Dir\-::\-Filters filters)\label{classQuaZipDir_a779a43641f0f3802678e39c9acd1fddb} \begin{DoxyCompactList}\small\item\em Sets the default filter. \end{DoxyCompactList}\item void {\bf set\-Name\-Filters} (const Q\-String\-List \&{\bf name\-Filters})\label{classQuaZipDir_abcf208bfd6136e14f36725ae79dce2be} \begin{DoxyCompactList}\small\item\em Sets the default name filter. \end{DoxyCompactList}\item void {\bf set\-Path} (const Q\-String \&{\bf path}) \begin{DoxyCompactList}\small\item\em Goes to the specified path. \end{DoxyCompactList}\item void {\bf set\-Sorting} (Q\-Dir\-::\-Sort\-Flags sort)\label{classQuaZipDir_ae43e9d717e3c4b1c0d4790cf558e7451} \begin{DoxyCompactList}\small\item\em Sets the default sorting mode. \end{DoxyCompactList}\item Q\-Dir\-::\-Sort\-Flags {\bf sorting} () const \label{classQuaZipDir_a4000523c961ab9e0cad08641ff10e3fa} \begin{DoxyCompactList}\small\item\em Returns the default sorting mode. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} Provides Z\-I\-P archive navigation. This class is modelled after Q\-Dir, and is designed to provide similar features for Z\-I\-P archives. The only significant difference from Q\-Dir is that the root path is not '/', but an empty string since that's how the file paths are stored in the archive. However, \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} understands the paths starting with '/'. It is important in a few places\-: \begin{DoxyItemize} \item In the \doxyref{cd()}{p.}{classQuaZipDir_aa829afc0243f1d307302f1167edecc7b} function. \item In the constructor. \item In the \doxyref{exists()}{p.}{classQuaZipDir_aacb488fec6e951ac80e5d473534fee97} function. \item In the relative\-Path() function. \end{DoxyItemize} Note that since Z\-I\-P uses '/' on all platforms, the '\textbackslash{}' separator is not supported. \subsection{Constructor \& Destructor Documentation} \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!Qua\-Zip\-Dir@{Qua\-Zip\-Dir}} \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{Qua\-Zip\-Dir}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-Dir\-::\-Qua\-Zip\-Dir ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip} $\ast$}]{zip, } \item[{const Q\-String \&}]{dir = {\ttfamily QString()}} \end{DoxyParamCaption} )}\label{classQuaZipDir_a19e5e3a54f322ce03e7f7606a87a2ba1} Constructs a \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} instance pointing to the specified directory. If {\itshape dir} is not specified, points to the root of the archive. The same happens if the {\itshape dir} is "/". \subsection{Member Function Documentation} \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!operator!=@{operator!=}} \index{operator!=@{operator!=}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{operator!=}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-Dir\-::operator!= ( \begin{DoxyParamCaption} \item[{const {\bf Qua\-Zip\-Dir} \&}]{that} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}\label{classQuaZipDir_a6e60d858d05774c958215ee7741eceed} operator!= \begin{DoxyReturn}{Returns} {\ttfamily true} if either this and {\itshape that} use different \doxyref{Qua\-Zip}{p.}{classQuaZip} instances or if they point to different directories. \end{DoxyReturn} \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!operator=@{operator=}} \index{operator=@{operator=}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Qua\-Zip\-Dir} \& Qua\-Zip\-Dir\-::operator= ( \begin{DoxyParamCaption} \item[{const {\bf Qua\-Zip\-Dir} \&}]{that} \end{DoxyParamCaption} )}\label{classQuaZipDir_aa603c69be0c1597add5951b19f8bc961} operator== \begin{DoxyReturn}{Returns} {\ttfamily true} if both this and {\itshape that} use the same \doxyref{Qua\-Zip}{p.}{classQuaZip} instance and point to the same directory. \end{DoxyReturn} \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!cd@{cd}} \index{cd@{cd}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{cd}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-Dir\-::cd ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{dir\-Name} \end{DoxyParamCaption} )}\label{classQuaZipDir_aa829afc0243f1d307302f1167edecc7b} Changes the 'current' directory. If the path starts with '/', it is interpreted as an absolute path from the root of the archive. Otherwise, it is interpreted as a path relative to the current directory as was set by the previous \doxyref{cd()}{p.}{classQuaZipDir_aa829afc0243f1d307302f1167edecc7b} or the constructor. Note that the subsequent \doxyref{path()}{p.}{classQuaZipDir_a68ac82ad605c0b10f9ee1a2d6d474f52} call will not return a path starting with '/' in all cases. References cd(), dir\-Name(), exists(), is\-Root(), and path(). Referenced by cd(), and cd\-Up(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!dir\-Name@{dir\-Name}} \index{dir\-Name@{dir\-Name}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{dir\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-Dir\-::dir\-Name ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_afd2f76410f7728a7166b7598926fbf96} Returns the current directory name. The name doesn't include the path. Referenced by cd(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-Info\-List@{entry\-Info\-List}} \index{entry\-Info\-List@{entry\-Info\-List}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{entry\-Info\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ Qua\-Zip\-Dir\-::entry\-Info\-List ( \begin{DoxyParamCaption} \item[{const Q\-String\-List \&}]{name\-Filters, } \item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } \item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_aef966735a146fc10c9527c236aa89261} Returns the list of the entries in the directory. \begin{DoxyParams}{Parameters} {\em name\-Filters} & The list of file patterns to list, uses the same syntax as Q\-Dir. \\ \hline {\em filters} & The entry type filters, only Files and Dirs are accepted. \\ \hline {\em sort} & Sorting mode. \\ \hline \end{DoxyParams} Referenced by entry\-Info\-List(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-Info\-List@{entry\-Info\-List}} \index{entry\-Info\-List@{entry\-Info\-List}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{entry\-Info\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info} $>$ Qua\-Zip\-Dir\-::entry\-Info\-List ( \begin{DoxyParamCaption} \item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } \item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_abec530f15597ddf8c8d1f340a333f7aa} Returns the list of the entries in the directory. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The same as entry\-Info\-List(\-Q\-String\-List(), filters, sort). References entry\-Info\-List(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-Info\-List64@{entry\-Info\-List64}} \index{entry\-Info\-List64@{entry\-Info\-List64}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{entry\-Info\-List64}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ Qua\-Zip\-Dir\-::entry\-Info\-List64 ( \begin{DoxyParamCaption} \item[{const Q\-String\-List \&}]{name\-Filters, } \item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } \item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_ae2b5a4b251db7aeb165c6656da0e3431} Returns the list of the entries in the directory with zip64 support. \begin{DoxyParams}{Parameters} {\em name\-Filters} & The list of file patterns to list, uses the same syntax as Q\-Dir. \\ \hline {\em filters} & The entry type filters, only Files and Dirs are accepted. \\ \hline {\em sort} & Sorting mode. \\ \hline \end{DoxyParams} Referenced by entry\-Info\-List64(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-Info\-List64@{entry\-Info\-List64}} \index{entry\-Info\-List64@{entry\-Info\-List64}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{entry\-Info\-List64}]{\setlength{\rightskip}{0pt plus 5cm}Q\-List$<$ {\bf Qua\-Zip\-File\-Info64} $>$ Qua\-Zip\-Dir\-::entry\-Info\-List64 ( \begin{DoxyParamCaption} \item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } \item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_a8c38ec214c300049685cbf71486636d5} Returns the list of the entries in the directory with zip64 support. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The same as entry\-Info\-List64(\-Q\-String\-List(), filters, sort). References entry\-Info\-List64(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-List@{entry\-List}} \index{entry\-List@{entry\-List}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{entry\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Qua\-Zip\-Dir\-::entry\-List ( \begin{DoxyParamCaption} \item[{const Q\-String\-List \&}]{name\-Filters, } \item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } \item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_a4a32faa77c4120cd3c6db4b683fa16d9} Returns the list of the entry names in the directory. The same as entry\-Info\-List(name\-Filters, filters, sort), but only returns entry names. Referenced by count(), entry\-List(), exists(), and operator[$\,$](). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!entry\-List@{entry\-List}} \index{entry\-List@{entry\-List}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{entry\-List}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String\-List Qua\-Zip\-Dir\-::entry\-List ( \begin{DoxyParamCaption} \item[{Q\-Dir\-::\-Filters}]{filters = {\ttfamily QDir\-:\-:NoFilter}, } \item[{Q\-Dir\-::\-Sort\-Flags}]{sort = {\ttfamily QDir\-:\-:NoSort}} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_ab20e9d3de675b74fcacc98accbc1d766} Returns the list of the entry names in the directory. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. The same as entry\-List(\-Q\-String\-List(), filters, sort). References entry\-List(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!exists@{exists}} \index{exists@{exists}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{exists}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-Dir\-::exists ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file\-Name} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_aacb488fec6e951ac80e5d473534fee97} Returns {\ttfamily true} if the entry with the specified name exists. The ".." is considered to exist if the current directory is not root. The "." and "/" are considered to always exist. Paths starting with "/" are relative to the archive root, other paths are relative to the current dir. References Qua\-Zip\-::convert\-Case\-Sensitivity(), entry\-List(), file\-Path(), and is\-Root(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!file\-Path@{file\-Path}} \index{file\-Path@{file\-Path}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{file\-Path}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-Dir\-::file\-Path ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file\-Name} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_ae8b576a150f8d62c902067603cbc97ae} Returns the full path to the specified file. Doesn't check if the file actually exists. Referenced by exists(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!is\-Root@{is\-Root}} \index{is\-Root@{is\-Root}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{is\-Root}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-Dir\-::is\-Root ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_a598fdf23f1b37e1876476e5969040a32} Returns if the \doxyref{Qua\-Zip\-Dir}{p.}{classQuaZipDir} points to the root of the archive. Not that the root path is the empty string, not '/'. Referenced by cd(), and exists(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!path@{path}} \index{path@{path}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{path}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-Dir\-::path ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_a68ac82ad605c0b10f9ee1a2d6d474f52} Returns the path to the current dir. The path never starts with '/', and the root path is an empty string. Referenced by cd(), and set\-Path(). \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!relative\-File\-Path@{relative\-File\-Path}} \index{relative\-File\-Path@{relative\-File\-Path}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{relative\-File\-Path}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-Dir\-::relative\-File\-Path ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file\-Name} \end{DoxyParamCaption} ) const}\label{classQuaZipDir_a2ae89c2b85786a0168656fc7a3faaf01} Returns the path to the specified file relative to the current dir. This function is mostly useless, provided only for the sake of completeness. \begin{DoxyParams}{Parameters} {\em file\-Name} & The path to the file, should start with "/" if relative to the archive root. \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} Path relative to the current dir. \end{DoxyReturn} \index{Qua\-Zip\-Dir@{Qua\-Zip\-Dir}!set\-Path@{set\-Path}} \index{set\-Path@{set\-Path}!QuaZipDir@{Qua\-Zip\-Dir}} \subsubsection[{set\-Path}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-Dir\-::set\-Path ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{path} \end{DoxyParamCaption} )}\label{classQuaZipDir_ae82d06e43856414c30583205d337c111} Goes to the specified path. The difference from \doxyref{cd()}{p.}{classQuaZipDir_aa829afc0243f1d307302f1167edecc7b} is that this function never checks if the path actually exists and doesn't use relative paths, so it's possible to go to the root directory with set\-Path(""). Note that this function still chops the trailing and/or leading '/' and treats a single '/' as the root path (\doxyref{path()}{p.}{classQuaZipDir_a68ac82ad605c0b10f9ee1a2d6d474f52} will still return an empty string). References path(). The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quazipdir.\-h\item quazip/quazipdir.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZipFile.tex000066400000000000000000001234611255273444100250150ustar00rootroot00000000000000\section{Qua\-Zip\-File Class Reference} \label{classQuaZipFile}\index{Qua\-Zip\-File@{Qua\-Zip\-File}} A file inside Z\-I\-P archive. {\ttfamily \#include $<$quazip/quazipfile.\-h$>$} Inheritance diagram for Qua\-Zip\-File\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=108pt]{classQuaZipFile__inherit__graph} \end{center} \end{figure} Collaboration diagram for Qua\-Zip\-File\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=108pt]{classQuaZipFile__coll__graph} \end{center} \end{figure} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item {\bf Qua\-Zip\-File} () \begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item {\bf Qua\-Zip\-File} (Q\-Object $\ast$parent) \begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item {\bf Qua\-Zip\-File} (const Q\-String \&zip\-Name, Q\-Object $\ast$parent=N\-U\-L\-L) \begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item {\bf Qua\-Zip\-File} (const Q\-String \&zip\-Name, const Q\-String \&file\-Name, {\bf Qua\-Zip\-::\-Case\-Sensitivity} cs={\bf Qua\-Zip\-::cs\-Default}, Q\-Object $\ast$parent=N\-U\-L\-L) \begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item {\bf Qua\-Zip\-File} ({\bf Qua\-Zip} $\ast$zip, Q\-Object $\ast$parent=N\-U\-L\-L) \begin{DoxyCompactList}\small\item\em Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item virtual {\bf $\sim$\-Qua\-Zip\-File} () \begin{DoxyCompactList}\small\item\em Destroys a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. \end{DoxyCompactList}\item Q\-String {\bf get\-Zip\-Name} () const \begin{DoxyCompactList}\small\item\em Returns the Z\-I\-P archive file name. \end{DoxyCompactList}\item {\bf Qua\-Zip} $\ast$ {\bf get\-Zip} () const \begin{DoxyCompactList}\small\item\em Returns a pointer to the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object. \end{DoxyCompactList}\item Q\-String {\bf get\-File\-Name} () const \begin{DoxyCompactList}\small\item\em Returns file name. \end{DoxyCompactList}\item {\bf Qua\-Zip\-::\-Case\-Sensitivity} {\bf get\-Case\-Sensitivity} () const \begin{DoxyCompactList}\small\item\em Returns case sensitivity of the file name. \end{DoxyCompactList}\item Q\-String {\bf get\-Actual\-File\-Name} () const \begin{DoxyCompactList}\small\item\em Returns the actual file name in the archive. \end{DoxyCompactList}\item void {\bf set\-Zip\-Name} (const Q\-String \&zip\-Name) \begin{DoxyCompactList}\small\item\em Sets the Z\-I\-P archive file name. \end{DoxyCompactList}\item bool {\bf is\-Raw} () const \begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if the file was opened in raw mode. \end{DoxyCompactList}\item void {\bf set\-Zip} ({\bf Qua\-Zip} $\ast$zip) \begin{DoxyCompactList}\small\item\em Binds to the existing \doxyref{Qua\-Zip}{p.}{classQuaZip} instance. \end{DoxyCompactList}\item void {\bf set\-File\-Name} (const Q\-String \&file\-Name, {\bf Qua\-Zip\-::\-Case\-Sensitivity} cs={\bf Qua\-Zip\-::cs\-Default}) \begin{DoxyCompactList}\small\item\em Sets the file name. \end{DoxyCompactList}\item virtual bool {\bf open} (Open\-Mode mode) \begin{DoxyCompactList}\small\item\em Opens a file for reading. \end{DoxyCompactList}\item bool {\bf open} (Open\-Mode mode, const char $\ast$password) \begin{DoxyCompactList}\small\item\em Opens a file for reading. \end{DoxyCompactList}\item bool {\bf open} (Open\-Mode mode, int $\ast$method, int $\ast$level, bool raw, const char $\ast$password=N\-U\-L\-L) \begin{DoxyCompactList}\small\item\em Opens a file for reading. \end{DoxyCompactList}\item bool {\bf open} (Open\-Mode mode, const {\bf Qua\-Zip\-New\-Info} \&info, const char $\ast$password=N\-U\-L\-L, quint32 crc=0, int method=Z\-\_\-\-D\-E\-F\-L\-A\-T\-E\-D, int level=Z\-\_\-\-D\-E\-F\-A\-U\-L\-T\-\_\-\-C\-O\-M\-P\-R\-E\-S\-S\-I\-O\-N, bool raw=false, int window\-Bits=-\/M\-A\-X\-\_\-\-W\-B\-I\-T\-S, int mem\-Level=D\-E\-F\-\_\-\-M\-E\-M\-\_\-\-L\-E\-V\-E\-L, int strategy=Z\-\_\-\-D\-E\-F\-A\-U\-L\-T\-\_\-\-S\-T\-R\-A\-T\-E\-G\-Y) \begin{DoxyCompactList}\small\item\em Opens a file for writing. \end{DoxyCompactList}\item virtual bool {\bf is\-Sequential} () const \label{classQuaZipFile_a64430ec50820c8096f963a7e5f53001f} \begin{DoxyCompactList}\small\item\em Returns {\ttfamily true}, but \doxyref{beware}{p.}{classQuaZipFile_quazipfile-sequential}! \end{DoxyCompactList}\item virtual qint64 {\bf pos} () const \begin{DoxyCompactList}\small\item\em Returns current position in the file. \end{DoxyCompactList}\item virtual bool {\bf at\-End} () const \begin{DoxyCompactList}\small\item\em Returns {\ttfamily true} if the end of file was reached. \end{DoxyCompactList}\item virtual qint64 {\bf size} () const \begin{DoxyCompactList}\small\item\em Returns file size. \end{DoxyCompactList}\item qint64 {\bf csize} () const \begin{DoxyCompactList}\small\item\em Returns compressed file size. \end{DoxyCompactList}\item qint64 {\bf usize} () const \begin{DoxyCompactList}\small\item\em Returns uncompressed file size. \end{DoxyCompactList}\item bool {\bf get\-File\-Info} ({\bf Qua\-Zip\-File\-Info} $\ast$info) \begin{DoxyCompactList}\small\item\em Gets information about current file. \end{DoxyCompactList}\item bool {\bf get\-File\-Info} ({\bf Qua\-Zip\-File\-Info64} $\ast$info) \begin{DoxyCompactList}\small\item\em Gets information about current file with zip64 support. \end{DoxyCompactList}\item virtual void {\bf close} () \begin{DoxyCompactList}\small\item\em Closes the file. \end{DoxyCompactList}\item int {\bf get\-Zip\-Error} () const \label{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} \begin{DoxyCompactList}\small\item\em Returns the error code returned by the last Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I call. \end{DoxyCompactList}\item virtual qint64 {\bf bytes\-Available} () const \label{classQuaZipFile_a29fbfb34677f69394ae7c986ffd3a0c1} \begin{DoxyCompactList}\small\item\em Returns the number of bytes available for reading. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Protected Member Functions} \begin{DoxyCompactItemize} \item qint64 {\bf read\-Data} (char $\ast$data, qint64 max\-Size)\label{classQuaZipFile_aa1f2274e1579327855a17d67a9046ec2} \begin{DoxyCompactList}\small\item\em Implementation of the Q\-I\-O\-Device\-::read\-Data(). \end{DoxyCompactList}\item qint64 {\bf write\-Data} (const char $\ast$data, qint64 max\-Size)\label{classQuaZipFile_abd07949a6fcc2ef094d2be5398bc8e7c} \begin{DoxyCompactList}\small\item\em Implementation of the Q\-I\-O\-Device\-::write\-Data(). \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Friends} \begin{DoxyCompactItemize} \item class {\bfseries Qua\-Zip\-File\-Private}\label{classQuaZipFile_abeded291f2788ca39fe2256d78f95266} \end{DoxyCompactItemize} \subsection{Detailed Description} A file inside Z\-I\-P archive. This is the most interesting class. Not only it provides C++ interface to the Z\-I\-P/\-U\-N\-Z\-I\-P package, but also integrates it with Qt by subclassing Q\-I\-O\-Device. This makes possible to access files inside Z\-I\-P archive using Q\-Text\-Stream or Q\-Data\-Stream, for example. Actually, this is the main purpose of the whole Qua\-Z\-I\-P library. You can either use existing \doxyref{Qua\-Zip}{p.}{classQuaZip} instance to create instance of this class or pass Z\-I\-P archive file name to this class, in which case it will create internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object. See constructors' descriptions for details. Writing is only possible with the existing instance. Note that due to the underlying library's limitation it is not possible to use multiple \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instances to open several files in the same archive at the same time. If you need to write to multiple files in parallel, then you should write to temporary files first, then pack them all at once when you have finished writing. If you need to read multiple files inside the same archive in parallel, you should extract them all into a temporary directory first.\subsection{Sequential or random-\/access?}\label{classQuaZipFile_quazipfile-sequential} At the first thought, \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} has fixed size, the start and the end and should be therefore considered random-\/access device. But there is one major obstacle to making it random-\/access\-: Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I does not support seek() operation and the only way to implement it is through reopening the file and re-\/reading to the required position, but this is prohibitively slow. Therefore, \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} is considered to be a sequential device. This has advantage of availability of the unget\-Char() operation (Q\-I\-O\-Device does not implement it properly for non-\/sequential devices unless they support seek()). Disadvantage is a somewhat strange behaviour of the \doxyref{size()}{p.}{classQuaZipFile_ad1a17cc690a01c3edfb82984c3a4c8f0} and \doxyref{pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} functions. This should be kept in mind while using this class. \subsection{Constructor \& Destructor Documentation} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )}\label{classQuaZipFile_ad31592e0e8a9eaa009c6c0e2040a2158} Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. You should use \doxyref{set\-Zip\-Name()}{p.}{classQuaZipFile_ac8109e9a5c19bea75982ff6986b5cb1e} and \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} or \doxyref{set\-Zip()}{p.}{classQuaZipFile_ab7939a26d1e8de2f6aca54f49a12b980} before trying to call \doxyref{open()}{p.}{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384} on the constructed object. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( \begin{DoxyParamCaption} \item[{Q\-Object $\ast$}]{parent} \end{DoxyParamCaption} )}\label{classQuaZipFile_a1349ad27f1947bc3e346d83dbf9586c4} Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. {\itshape parent} argument specifies this object's parent object. You should use \doxyref{set\-Zip\-Name()}{p.}{classQuaZipFile_ac8109e9a5c19bea75982ff6986b5cb1e} and \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} or \doxyref{set\-Zip()}{p.}{classQuaZipFile_ab7939a26d1e8de2f6aca54f49a12b980} before trying to call \doxyref{open()}{p.}{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384} on the constructed object. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{zip\-Name, } \item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} \end{DoxyParamCaption} )}\label{classQuaZipFile_ae614495d6b2404a6c59d7cfca5c3f6fd} Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. {\itshape parent} argument specifies this object's parent object and {\itshape zip\-Name} specifies Z\-I\-P archive file name. You should use \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} before trying to call \doxyref{open()}{p.}{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384} on the constructed object. \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} constructed by this constructor can be used for read only access. Use \doxyref{Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for writing. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{zip\-Name, } \item[{const Q\-String \&}]{file\-Name, } \item[{{\bf Qua\-Zip\-::\-Case\-Sensitivity}}]{cs = {\ttfamily {\bf Qua\-Zip\-::cs\-Default}}, } \item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} \end{DoxyParamCaption} )}\label{classQuaZipFile_ac6e883b5a5d3a58c9c56eb497dd91220} Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. {\itshape parent} argument specifies this object's parent object, {\itshape zip\-Name} specifies Z\-I\-P archive file name and {\itshape file\-Name} and {\itshape cs} specify a name of the file to open inside archive. \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} constructed by this constructor can be used for read only access. Use \doxyref{Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for writing. \begin{DoxySeeAlso}{See Also} \doxyref{Qua\-Zip\-::set\-Current\-File()}{p.}{classQuaZip_a6c657bfcfccb59d728e0da24c677d899} \end{DoxySeeAlso} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!Qua\-Zip\-File@{Qua\-Zip\-File}} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::\-Qua\-Zip\-File ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip} $\ast$}]{zip, } \item[{Q\-Object $\ast$}]{parent = {\ttfamily NULL}} \end{DoxyParamCaption} )}\label{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} Constructs a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. {\itshape parent} argument specifies this object's parent object. {\itshape zip} is the pointer to the existing \doxyref{Qua\-Zip}{p.}{classQuaZip} object. This \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} object then can be used to read current file in the {\itshape zip} or to write to the file inside it. \begin{DoxyWarning}{Warning} Using this constructor for reading current file can be tricky. Let's take the following example\-: \begin{DoxyCode} QuaZip zip(\textcolor{stringliteral}{"archive.zip"}); zip.open(QuaZip::mdUnzip); zip.setCurrentFile(\textcolor{stringliteral}{"file-in-archive"}); QuaZipFile file(&zip); file.open(QIODevice::ReadOnly); \textcolor{comment}{// ok, now we can read from the file} file.read(somewhere, some); zip.setCurrentFile(\textcolor{stringliteral}{"another-file-in-archive"}); \textcolor{comment}{// oops...} QuaZipFile anotherFile(&zip); anotherFile.open(QIODevice::ReadOnly); anotherFile.read(somewhere, some); \textcolor{comment}{// this is still ok...} file.read(somewhere, some); \textcolor{comment}{// and this is NOT} \end{DoxyCode} So, what exactly happens here? When we change current file in the {\ttfamily zip} archive, {\ttfamily file} that references it becomes invalid (actually, as far as I understand Z\-I\-P/\-U\-N\-Z\-I\-P sources, it becomes closed, but \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} has no means to detect it). \end{DoxyWarning} Summary\-: do not close {\ttfamily zip} object or change its current file as long as \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} is open. Even better -\/ use another constructors which create internal \doxyref{Qua\-Zip}{p.}{classQuaZip} instances, one per object, and therefore do not cause unnecessary trouble. This constructor may be useful, though, if you already have a \doxyref{Qua\-Zip}{p.}{classQuaZip} instance and do not want to access several files at once. Good example\-: \begin{DoxyCode} QuaZip zip(\textcolor{stringliteral}{"archive.zip"}); zip.open(QuaZip::mdUnzip); \textcolor{comment}{// first, we need some information about archive itself} QByteArray comment=zip.getComment(); \textcolor{comment}{// and now we are going to access files inside it} QuaZipFile file(&zip); \textcolor{keywordflow}{for}(\textcolor{keywordtype}{bool} more=zip.goToFirstFile(); more; more=zip.goToNextFile()) \{ file.open(QIODevice::ReadOnly); \textcolor{comment}{// do something cool with file here} file.close(); \textcolor{comment}{// do not forget to close!} \} zip.close(); \end{DoxyCode} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!$\sim$\-Qua\-Zip\-File@{$\sim$\-Qua\-Zip\-File}} \index{$\sim$\-Qua\-Zip\-File@{$\sim$\-Qua\-Zip\-File}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{$\sim$\-Qua\-Zip\-File}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-File\-::$\sim$\-Qua\-Zip\-File ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_aa1e5a0cf491bafae6cc73e649caa97fc} Destroys a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance. Closes file if open, destructs internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object (if it exists and {\itshape is} internal, of course). References close(). \subsection{Member Function Documentation} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-Zip\-Name@{get\-Zip\-Name}} \index{get\-Zip\-Name@{get\-Zip\-Name}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{get\-Zip\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-File\-::get\-Zip\-Name ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipFile_a6f034a714aa94631367590de3f8f4e22} Returns the Z\-I\-P archive file name. If this object was created by passing \doxyref{Qua\-Zip}{p.}{classQuaZip} pointer to the constructor, this function will return that \doxyref{Qua\-Zip}{p.}{classQuaZip}'s file name (or null string if that object does not have file name yet). Otherwise, returns associated Z\-I\-P archive file name or null string if there are no name set yet. \begin{DoxySeeAlso}{See Also} \doxyref{set\-Zip\-Name()}{p.}{classQuaZipFile_ac8109e9a5c19bea75982ff6986b5cb1e} \doxyref{get\-File\-Name()}{p.}{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9} \end{DoxySeeAlso} References Qua\-Zip\-::get\-Zip\-Name(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-Zip@{get\-Zip}} \index{get\-Zip@{get\-Zip}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{get\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Qua\-Zip} $\ast$ Qua\-Zip\-File\-::get\-Zip ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipFile_a72daf8a9da14907a801a783603003205} Returns a pointer to the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object. Returns {\ttfamily N\-U\-L\-L} if there is no associated \doxyref{Qua\-Zip}{p.}{classQuaZip} or it is internal (so you will not mess with it). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-File\-Name@{get\-File\-Name}} \index{get\-File\-Name@{get\-File\-Name}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{get\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-File\-::get\-File\-Name ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9} Returns file name. This function returns file name you passed to this object either by using \doxyref{Qua\-Zip\-File(const Q\-String\&,const Q\-String\&,\-Qua\-Zip\-::\-Case\-Sensitivity,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_ac6e883b5a5d3a58c9c56eb497dd91220} or by calling \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95}. Real name of the file may differ in case if you used case-\/insensitivity. Returns null string if there is no file name set yet. This is the case when this \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} operates on the existing \doxyref{Qua\-Zip}{p.}{classQuaZip} object (constructor \doxyref{Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} or \doxyref{set\-Zip()}{p.}{classQuaZipFile_ab7939a26d1e8de2f6aca54f49a12b980} was used). \begin{DoxySeeAlso}{See Also} \doxyref{get\-Actual\-File\-Name}{p.}{classQuaZipFile_a7b8e3c39026855cd98661a1b2815c220} \end{DoxySeeAlso} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-Case\-Sensitivity@{get\-Case\-Sensitivity}} \index{get\-Case\-Sensitivity@{get\-Case\-Sensitivity}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{get\-Case\-Sensitivity}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Qua\-Zip\-::\-Case\-Sensitivity} Qua\-Zip\-File\-::get\-Case\-Sensitivity ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipFile_a25dbfddc589bf6b69b39905f3c3bcc73} Returns case sensitivity of the file name. This function returns case sensitivity argument you passed to this object either by using \doxyref{Qua\-Zip\-File(const Q\-String\&,const Q\-String\&,\-Qua\-Zip\-::\-Case\-Sensitivity,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_ac6e883b5a5d3a58c9c56eb497dd91220} or by calling \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95}. Returns unpredictable value if \doxyref{get\-File\-Name()}{p.}{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9} returns null string (this is the case when you did not used \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} or constructor above). \begin{DoxySeeAlso}{See Also} \doxyref{get\-File\-Name}{p.}{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9} \end{DoxySeeAlso} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-Actual\-File\-Name@{get\-Actual\-File\-Name}} \index{get\-Actual\-File\-Name@{get\-Actual\-File\-Name}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{get\-Actual\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-File\-::get\-Actual\-File\-Name ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipFile_a7b8e3c39026855cd98661a1b2815c220} Returns the actual file name in the archive. This is {\itshape not} a Z\-I\-P archive file name, but a name of file inside archive. It is not necessary the same name that you have passed to the \doxyref{Qua\-Zip\-File(const Q\-String\&,const Q\-String\&,\-Qua\-Zip\-::\-Case\-Sensitivity,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_ac6e883b5a5d3a58c9c56eb497dd91220}, \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} or \doxyref{Qua\-Zip\-::set\-Current\-File()}{p.}{classQuaZip_a6c657bfcfccb59d728e0da24c677d899} -\/ this is the real file name inside archive, so it may differ in case if the file name search was case-\/insensitive. Equivalent to calling get\-Current\-File\-Name() on the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object. Returns null string if there is no associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object or if it does not have a current file yet. And this is the case if you called \doxyref{set\-File\-Name()}{p.}{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} but did not open the file yet. So this is perfectly fine\-: \begin{DoxyCode} QuaZipFile file(\textcolor{stringliteral}{"somezip.zip"}); file.setFileName(\textcolor{stringliteral}{"somefile"}); QString name=file.getName(); \textcolor{comment}{// name=="somefile"} QString actual=file.getActualFileName(); \textcolor{comment}{// actual is null string} file.open(QIODevice::ReadOnly); QString actual=file.getActualFileName(); \textcolor{comment}{// actual can be "SoMeFiLe" on Windows} \end{DoxyCode} \begin{DoxySeeAlso}{See Also} \doxyref{get\-Zip\-Name()}{p.}{classQuaZipFile_a6f034a714aa94631367590de3f8f4e22}, \doxyref{get\-File\-Name()}{p.}{classQuaZipFile_a6999362e70a5b2396fba5cfb30095ff9}, \doxyref{Qua\-Zip\-::\-Case\-Sensitivity}{p.}{classQuaZip_a6053a1d249ed210a85c9d5eb7cf9cdbe} \end{DoxySeeAlso} References Qua\-Zip\-::get\-Current\-File\-Name(), and Qua\-Zip\-::get\-Zip\-Error(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!set\-Zip\-Name@{set\-Zip\-Name}} \index{set\-Zip\-Name@{set\-Zip\-Name}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{set\-Zip\-Name}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-File\-::set\-Zip\-Name ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{zip\-Name} \end{DoxyParamCaption} )}\label{classQuaZipFile_ac8109e9a5c19bea75982ff6986b5cb1e} Sets the Z\-I\-P archive file name. Automatically creates internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object and destroys previously created internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object, if any. Will do nothing if this file is already open. You must \doxyref{close()}{p.}{classQuaZipFile_a42a39b12619bccd3d419ee60bbb3fcf6} it first. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!is\-Raw@{is\-Raw}} \index{is\-Raw@{is\-Raw}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{is\-Raw}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::is\-Raw ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipFile_a0df3db94c2a34c8d17ddaa0f54fc32c1} Returns {\ttfamily true} if the file was opened in raw mode. If the file is not open, the returned value is undefined. \begin{DoxySeeAlso}{See Also} \doxyref{open(\-Open\-Mode,int$\ast$,int$\ast$,bool,const char$\ast$)}{p.}{classQuaZipFile_aed75bace51f2bb4c3e4f656ab4493aac} \end{DoxySeeAlso} Referenced by close(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!set\-Zip@{set\-Zip}} \index{set\-Zip@{set\-Zip}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{set\-Zip}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-File\-::set\-Zip ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip} $\ast$}]{zip} \end{DoxyParamCaption} )}\label{classQuaZipFile_ab7939a26d1e8de2f6aca54f49a12b980} Binds to the existing \doxyref{Qua\-Zip}{p.}{classQuaZip} instance. This function destroys internal \doxyref{Qua\-Zip}{p.}{classQuaZip} object, if any, and makes this \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} to use current file in the {\itshape zip} object for any further operations. See \doxyref{Qua\-Zip\-File(\-Qua\-Zip$\ast$,\-Q\-Object$\ast$)}{p.}{classQuaZipFile_a54e944a6b3d27030f64c8f30d2cc33bb} for the possible pitfalls. Will do nothing if the file is currently open. You must \doxyref{close()}{p.}{classQuaZipFile_a42a39b12619bccd3d419ee60bbb3fcf6} it first. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!set\-File\-Name@{set\-File\-Name}} \index{set\-File\-Name@{set\-File\-Name}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{set\-File\-Name}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-File\-::set\-File\-Name ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file\-Name, } \item[{{\bf Qua\-Zip\-::\-Case\-Sensitivity}}]{cs = {\ttfamily {\bf Qua\-Zip\-::cs\-Default}}} \end{DoxyParamCaption} )}\label{classQuaZipFile_a3732ca7704379d457b6a27db8837de95} Sets the file name. Will do nothing if at least one of the following conditions is met\-: \begin{DoxyItemize} \item Z\-I\-P name has not been set yet (\doxyref{get\-Zip\-Name()}{p.}{classQuaZipFile_a6f034a714aa94631367590de3f8f4e22} returns null string). \item This \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} is associated with external \doxyref{Qua\-Zip}{p.}{classQuaZip}. In this case you should call that \doxyref{Qua\-Zip}{p.}{classQuaZip}'s set\-Current\-File() function instead! \item File is already open so setting the name is meaningless. \end{DoxyItemize} \begin{DoxySeeAlso}{See Also} \doxyref{Qua\-Zip\-::set\-Current\-File}{p.}{classQuaZip_a6c657bfcfccb59d728e0da24c677d899} \end{DoxySeeAlso} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!open@{open}} \index{open@{open}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::open ( \begin{DoxyParamCaption} \item[{Open\-Mode}]{mode} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384} Opens a file for reading. Returns {\ttfamily true} on success, {\ttfamily false} otherwise. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to get error code. \begin{DoxyNote}{Note} Since Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I provides buffered reading only, \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} does not support unbuffered reading. So do not pass Q\-I\-O\-Device\-::\-Unbuffered flag in {\itshape mode}, or open will fail. \end{DoxyNote} \index{Qua\-Zip\-File@{Qua\-Zip\-File}!open@{open}} \index{open@{open}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::open ( \begin{DoxyParamCaption} \item[{Open\-Mode}]{mode, } \item[{const char $\ast$}]{password} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [inline]}}\label{classQuaZipFile_a0bff0d15bbcd70306dc4a553a55776b9} Opens a file for reading. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument {\itshape password} specifies a password to decrypt the file. If it is N\-U\-L\-L then this function behaves just like \doxyref{open(\-Open\-Mode)}{p.}{classQuaZipFile_a4c20c0ef00ae79c9a59eafe2906c9384}. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!open@{open}} \index{open@{open}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::open ( \begin{DoxyParamCaption} \item[{Open\-Mode}]{mode, } \item[{int $\ast$}]{method, } \item[{int $\ast$}]{level, } \item[{bool}]{raw, } \item[{const char $\ast$}]{password = {\ttfamily NULL}} \end{DoxyParamCaption} )}\label{classQuaZipFile_aed75bace51f2bb4c3e4f656ab4493aac} Opens a file for reading. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Argument {\itshape password} specifies a password to decrypt the file. An integers pointed by {\itshape method} and {\itshape level} will receive codes of the compression method and level used. See unzip.\-h. If raw is {\ttfamily true} then no decompression is performed. {\itshape method} should not be {\ttfamily N\-U\-L\-L}. {\itshape level} can be {\ttfamily N\-U\-L\-L} if you don't want to know the compression level. References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Unz\-File(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::has\-Current\-File(), Qua\-Zip\-::md\-Unzip, Qua\-Zip\-::open(), and Qua\-Zip\-::set\-Current\-File(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!open@{open}} \index{open@{open}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::open ( \begin{DoxyParamCaption} \item[{Open\-Mode}]{mode, } \item[{const {\bf Qua\-Zip\-New\-Info} \&}]{info, } \item[{const char $\ast$}]{password = {\ttfamily NULL}, } \item[{quint32}]{crc = {\ttfamily 0}, } \item[{int}]{method = {\ttfamily Z\-\_\-DEFLATED}, } \item[{int}]{level = {\ttfamily Z\-\_\-DEFAULT\-\_\-COMPRESSION}, } \item[{bool}]{raw = {\ttfamily false}, } \item[{int}]{window\-Bits = {\ttfamily -\/MAX\-\_\-WBITS}, } \item[{int}]{mem\-Level = {\ttfamily DEF\-\_\-MEM\-\_\-LEVEL}, } \item[{int}]{strategy = {\ttfamily Z\-\_\-DEFAULT\-\_\-STRATEGY}} \end{DoxyParamCaption} )}\label{classQuaZipFile_a2429ea59c77371d7af56d739db130b18} Opens a file for writing. {\itshape info} argument specifies information about file. It should at least specify a correct file name. Also, it is a good idea to specify correct timestamp (by default, current time will be used). See \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo}. The {\itshape password} argument specifies the password for crypting. Pass N\-U\-L\-L if you don't need any crypting. The {\itshape crc} argument was supposed to be used for crypting too, but then it turned out that it's false information, so you need to set it to 0 unless you want to use the raw mode (see below). Arguments {\itshape method} and {\itshape level} specify compression method and level. The only method supported is Z\-\_\-\-D\-E\-F\-L\-A\-T\-E\-D, but you may also specify 0 for no compression. If all of the files in the archive use both method 0 and either level 0 is explicitly specified or data descriptor writing is disabled with \doxyref{Qua\-Zip\-::set\-Data\-Descriptor\-Writing\-Enabled()}{p.}{classQuaZip_a6c23a12af88f7ea5edd4f9c0a24b9453}, then the resulting archive is supposed to be compatible with the 1.\-0 Z\-I\-P format version, should you need that. Except for this, {\itshape level} has no other effects with method 0. If {\itshape raw} is {\ttfamily true}, no compression is performed. In this case, {\itshape crc} and uncompressed\-Size field of the {\itshape info} are required. Arguments {\itshape window\-Bits}, {\itshape mem\-Level}, {\itshape strategy} provide zlib algorithms tuning. See deflate\-Init2() in zlib. References Qua\-Zip\-New\-Info\-::comment, Qua\-Zip\-New\-Info\-::date\-Time, Qua\-Zip\-New\-Info\-::external\-Attr, Qua\-Zip\-New\-Info\-::extra\-Global, Qua\-Zip\-New\-Info\-::extra\-Local, Qua\-Zip\-::get\-Comment\-Codec(), Qua\-Zip\-::get\-File\-Name\-Codec(), Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Zip\-File(), Qua\-Zip\-New\-Info\-::internal\-Attr, Qua\-Zip\-::is\-Data\-Descriptor\-Writing\-Enabled(), Qua\-Zip\-::is\-Zip64\-Enabled(), Qua\-Zip\-::md\-Add, Qua\-Zip\-::md\-Append, Qua\-Zip\-::md\-Create, Qua\-Zip\-New\-Info\-::name, and Qua\-Zip\-New\-Info\-::uncompressed\-Size. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!pos@{pos}} \index{pos@{pos}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{pos}]{\setlength{\rightskip}{0pt plus 5cm}qint64 Qua\-Zip\-File\-::pos ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} Returns current position in the file. Implementation of the Q\-I\-O\-Device\-::pos(). When reading, this function is a wrapper to the Z\-I\-P/\-U\-N\-Z\-I\-P unztell(), therefore it is unable to keep track of the unget\-Char() calls (which is non-\/virtual and therefore is dangerous to reimplement). So if you are using unget\-Char() feature of the Q\-I\-O\-Device, this function reports incorrect value until you get back characters which you ungot. When writing, \doxyref{pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} returns number of bytes already written (uncompressed unless you use raw mode). \begin{DoxyNote}{Note} Although \doxyref{Qua\-Zip\-File is a sequential device}{p.}{classQuaZipFile_quazipfile-sequential} and therefore \doxyref{pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} should always return zero, it does not, because it would be misguiding. Keep this in mind. \end{DoxyNote} This function returns -\/1 if the file or archive is not open. Error code returned by \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} is not affected by this function call. References Qua\-Zip\-::get\-Unz\-File(). Referenced by bytes\-Available(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!at\-End@{at\-End}} \index{at\-End@{at\-End}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{at\-End}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::at\-End ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_a1e3f4c3c075da98af426fc167440cfc3} Returns {\ttfamily true} if the end of file was reached. This function returns {\ttfamily false} in the case of error. This means that you called this function on either not open file, or a file in the not open archive or even on a \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} instance that does not even have \doxyref{Qua\-Zip}{p.}{classQuaZip} instance associated. Do not do that because there is no means to determine whether {\ttfamily false} is returned because of error or because end of file was reached. Well, on the other side you may interpret {\ttfamily false} return value as \char`\"{}there is no file open to check for end of file and there is no end of file therefore\char`\"{}. When writing, this function always returns {\ttfamily true} (because you are always writing to the end of file). Error code returned by \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} is not affected by this function call. References Qua\-Zip\-::get\-Unz\-File(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!size@{size}} \index{size@{size}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{size}]{\setlength{\rightskip}{0pt plus 5cm}qint64 Qua\-Zip\-File\-::size ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_ad1a17cc690a01c3edfb82984c3a4c8f0} Returns file size. This function returns \doxyref{csize()}{p.}{classQuaZipFile_ac4da08e5cdec368a2a686775f7dc5639} if the file is open for reading in raw mode, \doxyref{usize()}{p.}{classQuaZipFile_a4814b5e6e39fb254737b81ea10964f50} if it is open for reading in normal mode and \doxyref{pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} if it is open for writing. Returns -\/1 on error, call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to get error code. \begin{DoxyNote}{Note} This function returns file size despite that \doxyref{Qua\-Zip\-File is considered to be sequential device}{p.}{classQuaZipFile_quazipfile-sequential}, for which \doxyref{size()}{p.}{classQuaZipFile_ad1a17cc690a01c3edfb82984c3a4c8f0} should return \doxyref{bytes\-Available()}{p.}{classQuaZipFile_a29fbfb34677f69394ae7c986ffd3a0c1} instead. But its name would be very misguiding otherwise, so just keep in mind this inconsistence. \end{DoxyNote} References csize(), and usize(). Referenced by bytes\-Available(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!csize@{csize}} \index{csize@{csize}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{csize}]{\setlength{\rightskip}{0pt plus 5cm}qint64 Qua\-Zip\-File\-::csize ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipFile_ac4da08e5cdec368a2a686775f7dc5639} Returns compressed file size. Equivalent to calling \doxyref{get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} and then getting compressed\-Size field, but more convenient and faster. File must be open for reading before calling this function. Returns -\/1 on error, call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to get error code. References Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Unz\-File(), and Qua\-Zip\-::md\-Unzip. Referenced by size(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!usize@{usize}} \index{usize@{usize}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{usize}]{\setlength{\rightskip}{0pt plus 5cm}qint64 Qua\-Zip\-File\-::usize ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{classQuaZipFile_a4814b5e6e39fb254737b81ea10964f50} Returns uncompressed file size. Equivalent to calling \doxyref{get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} and then getting uncompressed\-Size field, but more convenient and faster. See \doxyref{get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} for a warning. File must be open for reading before calling this function. Returns -\/1 on error, call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to get error code. References Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Unz\-File(), and Qua\-Zip\-::md\-Unzip. Referenced by size(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-File\-Info@{get\-File\-Info}} \index{get\-File\-Info@{get\-File\-Info}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{get\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::get\-File\-Info ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip\-File\-Info} $\ast$}]{info} \end{DoxyParamCaption} )}\label{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} Gets information about current file. This function does the same thing as calling \doxyref{Qua\-Zip\-::get\-Current\-File\-Info()}{p.}{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} on the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} object, but you can not call get\-Current\-File\-Info() if the associated \doxyref{Qua\-Zip}{p.}{classQuaZip} is internal (because you do not have access to it), while you still can call this function in that case. File must be open for reading before calling this function. \begin{DoxyReturn}{Returns} {\ttfamily false} in the case of an error. \end{DoxyReturn} This function doesn't support zip64, but will still work fine on zip64 archives if file sizes are below 4 G\-B, otherwise the values will be set as if converted using \doxyref{Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info()}{p.}{structQuaZipFileInfo64_ada29945c7ee4c9df6fbe95864793aade}. \begin{DoxySeeAlso}{See Also} \doxyref{get\-File\-Info(\-Qua\-Zip\-File\-Info64$\ast$)}{p.}{classQuaZipFile_af35876a5ac6e9c35234275a9e503110d} \end{DoxySeeAlso} References Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info(). \index{Qua\-Zip\-File@{Qua\-Zip\-File}!get\-File\-Info@{get\-File\-Info}} \index{get\-File\-Info@{get\-File\-Info}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{get\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-::get\-File\-Info ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip\-File\-Info64} $\ast$}]{info} \end{DoxyParamCaption} )}\label{classQuaZipFile_af35876a5ac6e9c35234275a9e503110d} Gets information about current file with zip64 support. This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. \begin{DoxySeeAlso}{See Also} \doxyref{get\-File\-Info(\-Qua\-Zip\-File\-Info$\ast$)}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} \end{DoxySeeAlso} References Qua\-Zip\-::get\-Current\-File\-Info(), Qua\-Zip\-::get\-Mode(), Qua\-Zip\-::get\-Zip\-Error(), and Qua\-Zip\-::md\-Unzip. \index{Qua\-Zip\-File@{Qua\-Zip\-File}!close@{close}} \index{close@{close}!QuaZipFile@{Qua\-Zip\-File}} \subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-File\-::close ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} )\hspace{0.3cm}{\ttfamily [virtual]}}\label{classQuaZipFile_a42a39b12619bccd3d419ee60bbb3fcf6} Closes the file. Call \doxyref{get\-Zip\-Error()}{p.}{classQuaZipFile_a26d2ee56aad947193b73052f80597ef0} to determine if the close was successful. References Qua\-Zip\-::close(), Qua\-Zip\-::get\-Unz\-File(), Qua\-Zip\-::get\-Zip\-Error(), Qua\-Zip\-::get\-Zip\-File(), Qua\-Zip\-::is\-Open(), and is\-Raw(). Referenced by $\sim$\-Qua\-Zip\-File(). The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quazipfile.\-h\item quazip/quazipfile.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZipFilePrivate.tex000066400000000000000000000012101255273444100263330ustar00rootroot00000000000000\section{Qua\-Zip\-File\-Private Class Reference} \label{classQuaZipFilePrivate}\index{Qua\-Zip\-File\-Private@{Qua\-Zip\-File\-Private}} The implementation class for \doxyref{Qua\-Zip}{p.}{classQuaZip}. \subsection*{Friends} \begin{DoxyCompactItemize} \item class {\bfseries Qua\-Zip\-File}\label{classQuaZipFilePrivate_a40bd4ccb6d2d00726e1de81329ebaa7a} \end{DoxyCompactItemize} \subsection{Detailed Description} The implementation class for \doxyref{Qua\-Zip}{p.}{classQuaZip}. The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} \item quazip/quazipfile.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.eps000066400000000000000000000117741255273444100274770ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaZipFile %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 108 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 72 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 0 .5 moveto 0 19.5 lineto 64 19.5 lineto 64 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 .5 moveto 0 19.5 lineto 64 19.5 lineto 64 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 7.5 moveto 48 (QuaZipFile) alignedtext grestore % Node2 gsave 0 0 1 nodecolor newpath -.5 56.5 moveto -.5 75.5 lineto 64.5 75.5 lineto 64.5 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0.74902 nodecolor newpath -.5 56.5 moveto -.5 75.5 lineto 64.5 75.5 lineto 64.5 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 7.5 63.5 moveto 49 (QIODevice) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 32 45.8 moveto 32 36.91 32 26.78 32 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 28.5 46.08 moveto 32 56.08 lineto 35.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 28.5 46.08 moveto 32 56.08 lineto 35.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 108 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__coll__graph.md5000066400000000000000000000000401255273444100273550ustar00rootroot0000000000000028f5281397b620e43711ce86747f921dmerkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.eps000066400000000000000000000117741255273444100302100ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: QuaZipFile %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 108 120 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 72 84 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % Node1 gsave 0 0 0.74902 nodecolor newpath 0 .5 moveto 0 19.5 lineto 64 19.5 lineto 64 .5 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 0 .5 moveto 0 19.5 lineto 64 19.5 lineto 64 .5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 8 7.5 moveto 48 (QuaZipFile) alignedtext grestore % Node2 gsave 0 0 1 nodecolor newpath -.5 56.5 moveto -.5 75.5 lineto 64.5 75.5 lineto 64.5 56.5 lineto closepath fill 1 setlinewidth filled 0 0 0.74902 nodecolor newpath -.5 56.5 moveto -.5 75.5 lineto 64.5 75.5 lineto 64.5 56.5 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 7.5 63.5 moveto 49 (QIODevice) alignedtext grestore % Node2->Node1 gsave 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 32 45.8 moveto 32 36.91 32 26.78 32 19.75 curveto stroke 0.66667 0.77647 0.43922 edgecolor newpath 28.5 46.08 moveto 32 56.08 lineto 35.5 46.08 lineto closepath fill 1 setlinewidth solid 0.66667 0.77647 0.43922 edgecolor newpath 28.5 46.08 moveto 32 56.08 lineto 35.5 46.08 lineto closepath stroke grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 108 120 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZipFile__inherit__graph.md5000066400000000000000000000000401255273444100300660ustar00rootroot0000000000000028f5281397b620e43711ce86747f921dmerkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/classQuaZipPrivate.tex000066400000000000000000000011641255273444100255430ustar00rootroot00000000000000\section{Qua\-Zip\-Private Class Reference} \label{classQuaZipPrivate}\index{Qua\-Zip\-Private@{Qua\-Zip\-Private}} All the internal stuff for the \doxyref{Qua\-Zip}{p.}{classQuaZip} class. \subsection*{Friends} \begin{DoxyCompactItemize} \item class {\bfseries Qua\-Zip}\label{classQuaZipPrivate_a913fb7bbd3527119ebb8052d57132af2} \end{DoxyCompactItemize} \subsection{Detailed Description} All the internal stuff for the \doxyref{Qua\-Zip}{p.}{classQuaZip} class. The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize} \item quazip/quazip.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339.tex000066400000000000000000000025051255273444100272400ustar00rootroot00000000000000\section{quazip Directory Reference} \label{dir_94f3fdea1a650ed21d35813cdb37a339}\index{quazip Directory Reference@{quazip Directory Reference}} Directory dependency graph for quazip\-: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=98pt]{dir_94f3fdea1a650ed21d35813cdb37a339_dep} \end{center} \end{figure} \subsection*{Files} \begin{DoxyCompactItemize} \item file {\bfseries Jl\-Compress.\-cpp} \item file {\bfseries Jl\-Compress.\-h} \item file {\bfseries qioapi.\-cpp} \item file {\bfseries quaadler32.\-cpp} \item file {\bfseries quaadler32.\-h} \item file {\bfseries quachecksum32.\-h} \item file {\bfseries quacrc32.\-cpp} \item file {\bfseries quacrc32.\-h} \item file {\bfseries quagzipfile.\-cpp} \item file {\bfseries quagzipfile.\-h} \item file {\bfseries quaziodevice.\-cpp} \item file {\bfseries quaziodevice.\-h} \item file {\bfseries quazip.\-cpp} \item file {\bfseries quazip.\-h} \item file {\bfseries quazip\-\_\-global.\-h} \item file {\bfseries quazipdir.\-cpp} \item file {\bfseries quazipdir.\-h} \item file {\bfseries quazipfile.\-cpp} \item file {\bfseries quazipfile.\-h} \item file {\bfseries quazipfileinfo.\-cpp} \item file {\bfseries quazipfileinfo.\-h} \item file {\bfseries quazipnewinfo.\-cpp} \item file {\bfseries quazipnewinfo.\-h} \end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.eps000066400000000000000000000107051255273444100300600ustar00rootroot00000000000000%!PS-Adobe-3.0 %%Creator: graphviz version 2.36.0 (20140111.2315) %%Title: quazip %%Pages: (atend) %%BoundingBox: (atend) %%EndComments save %%BeginProlog /DotDict 200 dict def DotDict begin /setupLatin1 { mark /EncodingVector 256 array def EncodingVector 0 ISOLatin1Encoding 0 255 getinterval putinterval EncodingVector 45 /hyphen put % Set up ISO Latin 1 character encoding /starnetISO { dup dup findfont dup length dict begin { 1 index /FID ne { def }{ pop pop } ifelse } forall /Encoding EncodingVector def currentdict end definefont } def /Times-Roman starnetISO def /Times-Italic starnetISO def /Times-Bold starnetISO def /Times-BoldItalic starnetISO def /Helvetica starnetISO def /Helvetica-Oblique starnetISO def /Helvetica-Bold starnetISO def /Helvetica-BoldOblique starnetISO def /Courier starnetISO def /Courier-Oblique starnetISO def /Courier-Bold starnetISO def /Courier-BoldOblique starnetISO def cleartomark } bind def %%BeginResource: procset graphviz 0 0 /coord-font-family /Times-Roman def /default-font-family /Times-Roman def /coordfont coord-font-family findfont 8 scalefont def /InvScaleFactor 1.0 def /set_scale { dup 1 exch div /InvScaleFactor exch def scale } bind def % styles /solid { [] 0 setdash } bind def /dashed { [9 InvScaleFactor mul dup ] 0 setdash } bind def /dotted { [1 InvScaleFactor mul 6 InvScaleFactor mul] 0 setdash } bind def /invis {/fill {newpath} def /stroke {newpath} def /show {pop newpath} def} bind def /bold { 2 setlinewidth } bind def /filled { } bind def /unfilled { } bind def /rounded { } bind def /diagonals { } bind def /tapered { } bind def % hooks for setting color /nodecolor { sethsbcolor } bind def /edgecolor { sethsbcolor } bind def /graphcolor { sethsbcolor } bind def /nopcolor {pop pop pop} bind def /beginpage { % i j npages /npages exch def /j exch def /i exch def /str 10 string def npages 1 gt { gsave coordfont setfont 0 0 moveto (\() show i str cvs show (,) show j str cvs show (\)) show grestore } if } bind def /set_font { findfont exch scalefont setfont } def % draw text fitted to its expected width /alignedtext { % width text /text exch def /width exch def gsave width 0 gt { [] 0 setdash text stringwidth pop width exch sub text length div 0 text ashow } if grestore } def /boxprim { % xcorner ycorner xsize ysize 4 2 roll moveto 2 copy exch 0 rlineto 0 exch rlineto pop neg 0 rlineto closepath } bind def /ellipse_path { /ry exch def /rx exch def /y exch def /x exch def matrix currentmatrix newpath x y translate rx ry scale 0 0 1 0 360 arc setmatrix } bind def /endpage { showpage } bind def /showpage { } def /layercolorseq [ % layer color sequence - darkest to lightest [0 0 0] [.2 .8 .8] [.4 .8 .8] [.6 .8 .8] [.8 .8 .8] ] def /layerlen layercolorseq length def /setlayer {/maxlayer exch def /curlayer exch def layercolorseq curlayer 1 sub layerlen mod get aload pop sethsbcolor /nodecolor {nopcolor} def /edgecolor {nopcolor} def /graphcolor {nopcolor} def } bind def /onlayer { curlayer ne {invis} if } def /onlayers { /myupper exch def /mylower exch def curlayer mylower lt curlayer myupper gt or {invis} if } def /curlayer 0 def %%EndResource %%EndProlog %%BeginSetup 14 default-font-family set_font 1 setmiterlimit % /arrowlength 10 def % /arrowwidth 5 def % make sure pdfmark is harmless for PS-interpreters other than Distiller /pdfmark where {pop} {userdict /pdfmark /cleartomark load put} ifelse % make '<<' and '>>' safe on PS Level 1 devices /languagelevel where {pop languagelevel}{1} ifelse 2 lt { userdict (<<) cvn ([) cvn load put userdict (>>) cvn ([) cvn load put } if %%EndSetup setupLatin1 %%Page: 1 1 %%PageBoundingBox: 36 36 98 80 %%PageOrientation: Portrait 0 0 1 beginpage gsave 36 36 62 44 boxprim clip newpath 1 1 set_scale 0 rotate 40 40 translate % dir_94f3fdea1a650ed21d35813cdb37a339 gsave [ /Rect [ 0 0 54 36 ] /Border [ 0 0 0 ] /Action << /Subtype /URI /URI (dir_94f3fdea1a650ed21d35813cdb37a339.html) >> /Subtype /Link /ANN pdfmark 0.66667 0.066667 1 nodecolor newpath 54 36 moveto 0 36 lineto 0 0 lineto 54 0 lineto closepath fill 1 setlinewidth filled 0 0 0 nodecolor newpath 54 36 moveto 0 36 lineto 0 0 lineto 54 0 lineto closepath stroke 0 0 0 nodecolor 10 /Helvetica set_font 12.5 15.5 moveto 29 (quazip) alignedtext grestore endpage showpage grestore %%PageTrailer %%EndPage: 1 %%Trailer %%Pages: 1 %%BoundingBox: 36 36 98 80 end restore %%EOF merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/dir_94f3fdea1a650ed21d35813cdb37a339_dep.md5000066400000000000000000000000401255273444100277450ustar00rootroot00000000000000b521f3e7499357b3270e414f244f2effmerkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/doxygen.sty000066400000000000000000000244641255273444100234550ustar00rootroot00000000000000\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{doxygen} % Packages used by this style file \RequirePackage{alltt} \RequirePackage{array} \RequirePackage{calc} \RequirePackage{float} \RequirePackage{ifthen} \RequirePackage{verbatim} \RequirePackage[table]{xcolor} \RequirePackage{xtab} %---------- Internal commands used in this style file ---------------- \newcommand{\ensurespace}[1]{% \begingroup% \setlength{\dimen@}{#1}% \vskip\z@\@plus\dimen@% \penalty -100\vskip\z@\@plus -\dimen@% \vskip\dimen@% \penalty 9999% \vskip -\dimen@% \vskip\z@skip% hide the previous |\vskip| from |\addvspace| \endgroup% } \newcommand{\DoxyLabelFont}{} \newcommand{\entrylabel}[1]{% {% \parbox[b]{\labelwidth-4pt}{% \makebox[0pt][l]{\DoxyLabelFont#1}% \vspace{1.5\baselineskip}% }% }% } \newenvironment{DoxyDesc}[1]{% \ensurespace{4\baselineskip}% \begin{list}{}{% \settowidth{\labelwidth}{20pt}% \setlength{\parsep}{0pt}% \setlength{\itemsep}{0pt}% \setlength{\leftmargin}{\labelwidth+\labelsep}% \renewcommand{\makelabel}{\entrylabel}% }% \item[#1]% }{% \end{list}% } \newsavebox{\xrefbox} \newlength{\xreflength} \newcommand{\xreflabel}[1]{% \sbox{\xrefbox}{#1}% \setlength{\xreflength}{\wd\xrefbox}% \ifthenelse{\xreflength>\labelwidth}{% \begin{minipage}{\textwidth}% \setlength{\parindent}{0pt}% \hangindent=15pt\bfseries #1\vspace{1.2\itemsep}% \end{minipage}% }{% \parbox[b]{\labelwidth}{\makebox[0pt][l]{\textbf{#1}}}% }% } %---------- Commands used by doxygen LaTeX output generator ---------- % Used by
 ... 
\newenvironment{DoxyPre}{% \small% \begin{alltt}% }{% \end{alltt}% \normalsize% } % Used by @code ... @endcode \newenvironment{DoxyCode}{% \par% \scriptsize% \begin{alltt}% }{% \end{alltt}% \normalsize% } % Used by @example, @include, @includelineno and @dontinclude \newenvironment{DoxyCodeInclude}{% \DoxyCode% }{% \endDoxyCode% } % Used by @verbatim ... @endverbatim \newenvironment{DoxyVerb}{% \footnotesize% \verbatim% }{% \endverbatim% \normalsize% } % Used by @verbinclude \newenvironment{DoxyVerbInclude}{% \DoxyVerb% }{% \endDoxyVerb% } % Used by numbered lists (using '-#' or
    ...
) \newenvironment{DoxyEnumerate}{% \enumerate% }{% \endenumerate% } % Used by bullet lists (using '-', @li, @arg, or
    ...
) \newenvironment{DoxyItemize}{% \itemize% }{% \enditemize% } % Used by description lists (using
...
) \newenvironment{DoxyDescription}{% \description% }{% \enddescription% } % Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc % (only if caption is specified) \newenvironment{DoxyImage}{% \begin{figure}[H]% \begin{center}% }{% \end{center}% \end{figure}% } % Used by @image, @dotfile, @dot ... @enddot, and @msc ... @endmsc % (only if no caption is specified) \newenvironment{DoxyImageNoCaption}{% }{% } % Used by @attention \newenvironment{DoxyAttention}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @author and @authors \newenvironment{DoxyAuthor}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @date \newenvironment{DoxyDate}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @invariant \newenvironment{DoxyInvariant}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @note \newenvironment{DoxyNote}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @post \newenvironment{DoxyPostcond}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @pre \newenvironment{DoxyPrecond}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @copyright \newenvironment{DoxyCopyright}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @remark \newenvironment{DoxyRemark}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @return and @returns \newenvironment{DoxyReturn}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @since \newenvironment{DoxySince}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @see \newenvironment{DoxySeeAlso}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @version \newenvironment{DoxyVersion}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @warning \newenvironment{DoxyWarning}[1]{% \begin{DoxyDesc}{#1}% }{% \end{DoxyDesc}% } % Used by @internal \newenvironment{DoxyInternal}[1]{% \paragraph*{#1}% }{% } % Used by @par and @paragraph \newenvironment{DoxyParagraph}[1]{% \begin{list}{}{% \settowidth{\labelwidth}{40pt}% \setlength{\leftmargin}{\labelwidth}% \setlength{\parsep}{0pt}% \setlength{\itemsep}{-4pt}% \renewcommand{\makelabel}{\entrylabel}% }% \item[#1]% }{% \end{list}% } % Used by parameter lists \newenvironment{DoxyParams}[2][]{% \par% \tabletail{\hline}% \tablelasttail{\hline}% \tablefirsthead{}% \tablehead{}% \ifthenelse{\equal{#1}{}}% {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% p{0.805\textwidth}|}}% {\ifthenelse{\equal{#1}{1}}% {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% \begin{xtabular}{|>{\centering}p{0.10\textwidth}|% >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% p{0.678\textwidth}|}}% {\tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #2}\\[1ex]}% \begin{xtabular}{|>{\centering}p{0.10\textwidth}|% >{\centering\hspace{0pt}}p{0.15\textwidth}|% >{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% p{0.501\textwidth}|}}% }\hline% }{% \end{xtabular}% \tablefirsthead{}% \vspace{6pt}% } % Used for fields of simple structs \newenvironment{DoxyFields}[1]{% \par% \tabletail{\hline}% \tablelasttail{\hline}% \tablehead{}% \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.15\textwidth}|% p{0.15\textwidth}|% p{0.63\textwidth}|}% \hline% }{% \end{xtabular}% \tablefirsthead{}% \vspace{6pt}% } % Used for parameters within a detailed function description \newenvironment{DoxyParamCaption}{% \renewcommand{\item}[2][]{##1 {\em ##2}}% }{% } % Used by return value lists \newenvironment{DoxyRetVals}[1]{% \par% \tabletail{\hline}% \tablelasttail{\hline}% \tablehead{}% \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% p{0.705\textwidth}|}% \hline% }{% \end{xtabular}% \tablefirsthead{}% \vspace{6pt}% } % Used by exception lists \newenvironment{DoxyExceptions}[1]{% \par% \tabletail{\hline}% \tablelasttail{\hline}% \tablehead{}% \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% p{0.705\textwidth}|}% \hline% }{% \end{xtabular}% \tablefirsthead{}% \vspace{6pt}% } % Used by template parameter lists \newenvironment{DoxyTemplParams}[1]{% \par% \tabletail{\hline}% \tablelasttail{\hline}% \tablehead{}% \tablefirsthead{\multicolumn{2}{l}{\hspace{-6pt}\bfseries\fontseries{bc}\selectfont\color{darkgray} #1}\\[1ex]}% \begin{xtabular}{|>{\raggedleft\hspace{0pt}}p{0.25\textwidth}|% p{0.705\textwidth}|}% \hline% }{% \end{xtabular}% \tablefirsthead{}% \vspace{6pt}% } % Used for member lists \newenvironment{DoxyCompactItemize}{% \begin{itemize}% \setlength{\itemsep}{-3pt}% \setlength{\parsep}{0pt}% \setlength{\topsep}{0pt}% \setlength{\partopsep}{0pt}% }{% \end{itemize}% } % Used for member descriptions \newenvironment{DoxyCompactList}{% \begin{list}{}{% \setlength{\leftmargin}{0.5cm}% \setlength{\itemsep}{0pt}% \setlength{\parsep}{0pt}% \setlength{\topsep}{0pt}% \renewcommand{\makelabel}{\hfill}% }% }{% \end{list}% } % Used for reference lists (@bug, @deprecated, @todo, etc.) \newenvironment{DoxyRefList}{% \begin{list}{}{% \setlength{\labelwidth}{10pt}% \setlength{\leftmargin}{\labelwidth}% \addtolength{\leftmargin}{\labelsep}% \renewcommand{\makelabel}{\xreflabel}% }% }{% \end{list}% } % Used by @bug, @deprecated, @todo, etc. \newenvironment{DoxyRefDesc}[1]{% \begin{list}{}{% \renewcommand\makelabel[1]{\textbf{##1}}% \settowidth\labelwidth{\makelabel{#1}}% \setlength\leftmargin{\labelwidth+\labelsep}% }% }{% \end{list}% } % Used by parameter lists and simple sections \newenvironment{Desc} {\begin{list}{}{% \settowidth{\labelwidth}{40pt}% \setlength{\leftmargin}{\labelwidth}% \setlength{\parsep}{0pt}% \setlength{\itemsep}{-4pt}% \renewcommand{\makelabel}{\entrylabel}% } }{% \end{list}% } % Used by tables \newcommand{\PBS}[1]{\let\temp=\\#1\let\\=\temp}% \newlength{\tmplength}% \newenvironment{TabularC}[1]% {% \setlength{\tmplength}% {\linewidth/(#1)-\tabcolsep*2-\arrayrulewidth*(#1+1)/(#1)}% \par\begin{xtabular*}{\linewidth}% {*{#1}{|>{\PBS\raggedright\hspace{0pt}}p{\the\tmplength}}|}% }% {\end{xtabular*}\par}% % Used for member group headers \newenvironment{Indent}{% \begin{list}{}{% \setlength{\leftmargin}{0.5cm}% }% \item[]\ignorespaces% }{% \unskip% \end{list}% } % Used when hyperlinks are turned off \newcommand{\doxyref}[3]{% \textbf{#1} (\textnormal{#2}\,\pageref{#3})% } % Used for syntax highlighting \definecolor{comment}{rgb}{0.5,0.0,0.0} \definecolor{keyword}{rgb}{0.0,0.5,0.0} \definecolor{keywordtype}{rgb}{0.38,0.25,0.125} \definecolor{keywordflow}{rgb}{0.88,0.5,0.0} \definecolor{preprocessor}{rgb}{0.5,0.38,0.125} \definecolor{stringliteral}{rgb}{0.0,0.125,0.25} \definecolor{charliteral}{rgb}{0.0,0.5,0.5} \definecolor{vhdldigit}{rgb}{1.0,0.0,1.0} \definecolor{vhdlkeyword}{rgb}{0.43,0.0,0.43} \definecolor{vhdllogic}{rgb}{1.0,0.0,0.0} \definecolor{vhdlchar}{rgb}{0.0,0.0,0.0} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/faq.tex000066400000000000000000000035751255273444100225300ustar00rootroot00000000000000\label{faq_faq-non-QIODevice}% Q. Is there any way to use \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} in Qt where you are supposed to use normal (non-\/zipped) file, but not through Q\-I\-O\-Device A\-P\-I? A. Usually not. For example, if you are passing file name to some database driver (like S\-Q\-Lite), Qt usually just passes this name down to the 3rd-\/party library, which is usually does not know anything about Q\-I\-O\-Device and therefore there is no way to pass \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} as normal file. However, if we are talking about some place where you pass file name, and then indirectly use Q\-File to open it, then it is a good idea to make overloaded method, which accepts a Q\-I\-O\-Device pointer. Then you would be able to pass \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} as well as many other nice things such as Q\-Buffer or Q\-Process. \label{faq_faq-zip64}% Q. Can Qua\-Z\-I\-P handle files larger than 4\-G\-B? What about zip64 standard? A. Starting with version 0.\-6, Qua\-Z\-I\-P uses Minizip 1.\-1 with zip64 support which should handle large files perfectly. The zip64 support in Minizip looks like it's not 100\% conforming to the standard, but 3rd party tools seem to have no problem with the resulting archives. \label{faq_faq-seekable}% Q. Can Qua\-Z\-I\-P write archives to a sequential Q\-I\-O\-Device like Q\-Tcp\-Socket? A. Not yet. It is not supported by vanilla Minizip (the back-\/end Qua\-Z\-I\-P uses), although theoretically possible according to the Z\-I\-P standard. It would require some Minizip modifications that would allow it to detect non-\/seekable I/\-O and produce necessary output structures. Qua\-Z\-I\-P already writes data descriptor which is necessary for non-\/seekable I/\-O. The only thing that is apparently left is to make Minizip fill local headers with correct values and forget about seeking after closing the file. merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/hierarchy.tex000066400000000000000000000026531255273444100237330ustar00rootroot00000000000000\section{Class Hierarchy} This inheritance list is sorted roughly, but not completely, alphabetically\-:\begin{DoxyCompactList} \item \contentsline{section}{Jl\-Compress}{\pageref{classJlCompress}}{} \item Q\-I\-O\-Device\begin{DoxyCompactList} \item \contentsline{section}{Qua\-Gzip\-File}{\pageref{classQuaGzipFile}}{} \item \contentsline{section}{Qua\-Z\-I\-O\-Device}{\pageref{classQuaZIODevice}}{} \item \contentsline{section}{Qua\-Zip\-File}{\pageref{classQuaZipFile}}{} \end{DoxyCompactList} \item \contentsline{section}{Q\-I\-O\-Device\-\_\-descriptor}{\pageref{structQIODevice__descriptor}}{} \item \contentsline{section}{Qua\-Checksum32}{\pageref{classQuaChecksum32}}{} \begin{DoxyCompactList} \item \contentsline{section}{Qua\-Adler32}{\pageref{classQuaAdler32}}{} \item \contentsline{section}{Qua\-Crc32}{\pageref{classQuaCrc32}}{} \end{DoxyCompactList} \item \contentsline{section}{Qua\-Zip}{\pageref{classQuaZip}}{} \item \contentsline{section}{Qua\-Zip\-Dir}{\pageref{classQuaZipDir}}{} \item \contentsline{section}{Qua\-Zip\-File\-Info}{\pageref{structQuaZipFileInfo}}{} \item \contentsline{section}{Qua\-Zip\-File\-Info64}{\pageref{structQuaZipFileInfo64}}{} \item \contentsline{section}{Qua\-Zip\-File\-Private}{\pageref{classQuaZipFilePrivate}}{} \item \contentsline{section}{Qua\-Zip\-New\-Info}{\pageref{structQuaZipNewInfo}}{} \item \contentsline{section}{Qua\-Zip\-Private}{\pageref{classQuaZipPrivate}}{} \end{DoxyCompactList} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/index.tex000066400000000000000000000160701255273444100230620ustar00rootroot00000000000000 \section{Overview}\label{index_overview} Qua\-Z\-I\-P is a simple C++ wrapper over {\tt Gilles Vollant's Z\-I\-P/\-U\-N\-Z\-I\-P package} that can be used to access Z\-I\-P archives. It uses {\tt the Qt toolkit}. If you do not know what Qt is, you have two options\-: \begin{DoxyItemize} \item Just forget about Qua\-Z\-I\-P. \item Learn more about Qt by downloading it and/or reading the excellent {\tt official Qt documentation} \end{DoxyItemize} The choice is yours, but if you are really interested in cross-\/platform (Windows/\-Linux/\-B\-S\-D/\-U\-N\-I\-X/\-Mac/\-Others) software development, I would definitely recommend you the latter $^\wedge$\-\_\-$^\wedge$ Qua\-Z\-I\-P allows you to access files inside Z\-I\-P archives using Q\-I\-O\-Device A\-P\-I, and -\/ yes! -\/ that means that you can also use Q\-Text\-Stream, Q\-Data\-Stream or whatever you would like to use on your zipped files. Qua\-Z\-I\-P provides complete abstraction of the Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I, for both reading from and writing to Z\-I\-P archives.\section{Download Qua\-Z\-I\-P}\label{index_download} Downloads are available from {\tt Qua\-Z\-I\-P project's page at Source\-Forge.\-net}.\section{Platforms supported}\label{index_platforms} Qua\-Z\-I\-P has been currently tested on the following platforms\-: \begin{DoxyItemize} \item linux-\/g++ (Ubuntu 11.\-10, Qt 4.\-7.\-4) \item freebsd-\/g++ (Qt 4.\-0.\-0 \item hpux-\/acc (H\-P-\/\-U\-X 11.\-11) \item hpux-\/g++ (H\-P-\/\-U\-X 11.\-11) \item win32-\/g++ (Min\-G\-W) \item win32-\/msvc2010 (M\-S V\-S 2010 Express, Qt 4.\-8.\-4) \item win32-\/msvc2010 (Qt Creator, Qt 5.\-0.\-1) \item win32-\/msvc2012 (Qt Creator, Qt 5.\-2.\-0) \item some Symbian version, reportedly \end{DoxyItemize} No testing has been officially done on other systems. Of course, patches to make it work on any platform that it currently does not work on are always welcome!\section{What is new in this version of Qua\-Z\-I\-P?}\label{index_whats-new} See the N\-E\-W\-S.\-txt file supplied with the distribution.\section{Requirements}\label{index_Requirements} Just {\tt zlib} and Qt 4/5. Well, Qt 4 depends on zlib anyway, but you will need zlib headers to compile Qua\-Z\-I\-P. With Qt5 sometimes you need the zlib library as well (on Windows, for example).\section{Building, testing and installing}\label{index_building} \begin{DoxyNote}{Note} Instructions given in this section assume that you are using some U\-N\-I\-X dialect, but the build process should be very similar on win32-\/g++ platform too. On other platforms it's essentially the same process, maybe with some qmake adjustments not specific to Qua\-Z\-I\-P itself. \end{DoxyNote} To build the library, run\-: \begin{DoxyVerb}$ cd /wherever/quazip/source/is/quazip-x.y.z/quazip $ qmake [PREFIX=where-to-install] $ make \end{DoxyVerb} Make sure that you have Qt 4/5 installed with all required headers and utilities (that is, including the 'dev' or 'devel' package on Linux) and that you run qmake utility of the Qt 4, not some other version you may have already installed (you may need to type full path to qmake like /usr/local/qt4/bin/qmake). To reconfigure (with another P\-R\-E\-F\-I\-X, for example), just run qmake with appropriate arguments again. If you need to specify additional include path or libraries, use qmake features (see qmake reference in the Qt documentation). For example\-: \begin{DoxyVerb}$ qmake LIBS+=-L/usr/local/zlib/lib INCLUDEPATH+=/usr/local/zlib/include \end{DoxyVerb} (note abscence of \char`\"{}-\/\-I\char`\"{} before the include path and the presence of \char`\"{}-\/\-L\char`\"{} before the lib path) Also note that you may or may not need to define Z\-L\-I\-B\-\_\-\-W\-I\-N\-A\-P\-I (qmake D\-E\-F\-I\-N\-E\-S+=Z\-L\-I\-B\-\_\-\-W\-I\-N\-A\-P\-I) when linking to zlib on Windows, depending on how zlib was built (generally, if using zlibwapi.\-dll, this define is needed). To install compiled library\-: \begin{DoxyVerb}$ make install \end{DoxyVerb} By default, Qua\-Z\-I\-P compiles as a D\-L\-L/\-S\-O, but you have other options\-: \begin{DoxyItemize} \item Just copy appropriate source files to your project and use them, but you need to define Q\-U\-A\-Z\-I\-P\-\_\-\-S\-T\-A\-T\-I\-C before including any Qua\-Z\-I\-P headers (best done as a compiler option). This will save you from possible side effects of importing/exporting Qua\-Z\-I\-P symbols. \item Compile it as a static library using C\-O\-N\-F\-I\-G += staticlib qmake option. Q\-U\-A\-Z\-I\-P\-\_\-\-S\-T\-A\-T\-I\-C is defined automatically by qmake in this case. \end{DoxyItemize} Binary compatibility is guaranteed between minor releases starting with version 0.\-5, thanks to the Pimpl idiom. That is, the next binary incompatible version will be 1.\-x.\section{Testing}\label{index_test} To check if Qua\-Z\-I\-P's basic features work O\-K on your platform, you may wish to compile the test suite provided in test directory\-: \begin{DoxyVerb}$ cd /wherever/quazip/source/is/quazip-x.y.z/qztest $ qmake $ make $ ./qztest \end{DoxyVerb} Note that the test suite looks for the quazip library in the \char`\"{}quazip\char`\"{} folder of the project (\char`\"{}../quazip\char`\"{}), but you may wish to use L\-I\-B\-S for some systems (Windows often puts the library in the separate \char`\"{}debug\char`\"{} or \char`\"{}release\char`\"{} directory). If you wish to use the quazip version that's already installed, provide the appropriate path. On some systems you may need to set P\-A\-T\-H, L\-D\-\_\-\-L\-I\-B\-R\-A\-R\-Y\-\_\-\-P\-A\-T\-H or S\-H\-L\-I\-B\-\_\-\-P\-A\-T\-H to get \char`\"{}qztest\char`\"{} to actually run. If everything went fine, the test suite should report a lot of P\-A\-S\-S messages. If something goes wrong, it will provide details and a warning that some tests failed.\section{Using}\label{index_using} See \doxyref{usage page}{p.}{usage}.\section{Authors and contacts}\label{index_contacts} This wrapper has been written by Sergey A. Tachenov, A\-K\-A Alqualos. This is my first open source project, so it may suck, but I did not find anything like that, so I just had no other choice but to write it. If you have anything to say to me about Qua\-Z\-I\-P library, feel free to do so (read the \doxyref{Qua\-Zip F\-A\-Q}{p.}{faq} first, though). I can not promise, though, that I fix all the bugs you report in, add any features you want, or respond to your critics, or respond to your feedback at all. I may be busy, I may be tired of working on Qua\-Z\-I\-P, I may be even dead already (you never know...). To report bugs or to post ideas about what should be done, use Source\-Forge.\-net's {\tt trackers}. If you want to send me a private message, use my e-\/mail address {\tt stachenov@gmail.\-com}. Do not use e-\/mail to report bugs, please. Reporting bugs and problems with the Source\-Forge.\-net's bug report system has that advantage that it is visible to public, and I can always search for open tickets that were created long ago. It is highly unlikely that I will search my mail for that kind of stuff, so if a bug reported by mail isn't fixed immediately, it will likely be forgotten forever. Copyright (C) 2005-\/2014 Sergey A. Tachenov and contributors merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/refman.tex000066400000000000000000000070101255273444100232150ustar00rootroot00000000000000\documentclass[twoside]{book} % Packages required by doxygen \usepackage{calc} \usepackage{doxygen} \usepackage{graphicx} \usepackage[utf8]{inputenc} \usepackage{makeidx} \usepackage{multicol} \usepackage{multirow} \usepackage{textcomp} \usepackage[table]{xcolor} % Font selection \usepackage[T1]{fontenc} \usepackage{mathptmx} \usepackage[scaled=.90]{helvet} \usepackage{courier} \usepackage{amssymb} \usepackage{sectsty} \renewcommand{\familydefault}{\sfdefault} \allsectionsfont{% \fontseries{bc}\selectfont% \color{darkgray}% } \renewcommand{\DoxyLabelFont}{% \fontseries{bc}\selectfont% \color{darkgray}% } % Page & text layout \usepackage{geometry} \geometry{% a4paper,% top=2.5cm,% bottom=2.5cm,% left=2.5cm,% right=2.5cm% } \tolerance=750 \hfuzz=15pt \hbadness=750 \setlength{\emergencystretch}{15pt} \setlength{\parindent}{0cm} \setlength{\parskip}{0.2cm} \makeatletter \renewcommand{\paragraph}{% \@startsection{paragraph}{4}{0ex}{-1.0ex}{1.0ex}{% \normalfont\normalsize\bfseries\SS@parafont% }% } \renewcommand{\subparagraph}{% \@startsection{subparagraph}{5}{0ex}{-1.0ex}{1.0ex}{% \normalfont\normalsize\bfseries\SS@subparafont% }% } \makeatother % Headers & footers \usepackage{fancyhdr} \pagestyle{fancyplain} \fancyhead[LE]{\fancyplain{}{\bfseries\thepage}} \fancyhead[CE]{\fancyplain{}{}} \fancyhead[RE]{\fancyplain{}{\bfseries\leftmark}} \fancyhead[LO]{\fancyplain{}{\bfseries\rightmark}} \fancyhead[CO]{\fancyplain{}{}} \fancyhead[RO]{\fancyplain{}{\bfseries\thepage}} \fancyfoot[LE]{\fancyplain{}{}} \fancyfoot[CE]{\fancyplain{}{}} \fancyfoot[RE]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Jul 24 2014 20\-:35\-:17 for Qua\-Z\-I\-P by Doxygen }} \fancyfoot[LO]{\fancyplain{}{\bfseries\scriptsize Generated on Thu Jul 24 2014 20\-:35\-:17 for Qua\-Z\-I\-P by Doxygen }} \fancyfoot[CO]{\fancyplain{}{}} \fancyfoot[RO]{\fancyplain{}{}} \renewcommand{\footrulewidth}{0.4pt} \renewcommand{\chaptermark}[1]{% \markboth{#1}{}% } \renewcommand{\sectionmark}[1]{% \markright{\thesection\ #1}% } % Indices & bibliography \usepackage{natbib} \usepackage[titles]{tocloft} \setcounter{tocdepth}{3} \setcounter{secnumdepth}{5} \makeindex % Custom commands \newcommand{\clearemptydoublepage}{% \newpage{\pagestyle{empty}\cleardoublepage}% } %===== C O N T E N T S ===== \begin{document} % Titlepage & ToC \pagenumbering{roman} \begin{titlepage} \vspace*{7cm} \begin{center}% {\Large Qua\-Z\-I\-P \\[1ex]\large quazip-\/0-\/7 }\\ \vspace*{1cm} {\large Generated by Doxygen 1.8.6}\\ \vspace*{0.5cm} {\small Thu Jul 24 2014 20:35:17}\\ \end{center} \end{titlepage} \clearemptydoublepage \tableofcontents \clearemptydoublepage \pagenumbering{arabic} %--- Begin generated contents --- \chapter{Qua\-Z\-I\-P -\/ Qt/\-C++ wrapper for Z\-I\-P/\-U\-N\-Z\-I\-P package} \label{index}\input{index} \chapter{Qua\-Zip F\-A\-Q} \label{faq} \input{faq} \chapter{Usage} \label{usage} \input{usage} \chapter{Hierarchical Index} \input{hierarchy} \chapter{Class Index} \input{annotated} \chapter{Class Documentation} \input{classJlCompress} \input{structQIODevice__descriptor} \input{classQuaAdler32} \input{classQuaChecksum32} \input{classQuaCrc32} \input{classQuaGzipFile} \input{classQuaZIODevice} \input{classQuaZip} \input{classQuaZipDir} \input{classQuaZipFile} \input{structQuaZipFileInfo} \input{structQuaZipFileInfo64} \input{classQuaZipFilePrivate} \input{structQuaZipNewInfo} \input{classQuaZipPrivate} %--- End generated contents --- % Index \newpage \phantomsection \addcontentsline{toc}{chapter}{Index} \printindex \end{document} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/structQIODevice__descriptor.tex000066400000000000000000000007721255273444100273670ustar00rootroot00000000000000\section{Q\-I\-O\-Device\-\_\-descriptor Struct Reference} \label{structQIODevice__descriptor}\index{Q\-I\-O\-Device\-\_\-descriptor@{Q\-I\-O\-Device\-\_\-descriptor}} \subsection*{Public Attributes} \begin{DoxyCompactItemize} \item qint64 {\bfseries pos}\label{structQIODevice__descriptor_a21939844f92cd6936f2f2897c0a42695} \end{DoxyCompactItemize} The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize} \item quazip/qioapi.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo.tex000066400000000000000000000100241255273444100260360ustar00rootroot00000000000000\section{Qua\-Zip\-File\-Info Struct Reference} \label{structQuaZipFileInfo}\index{Qua\-Zip\-File\-Info@{Qua\-Zip\-File\-Info}} Information about a file inside archive. {\ttfamily \#include $<$quazipfileinfo.\-h$>$} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item Q\-File\-::\-Permissions {\bf get\-Permissions} () const \begin{DoxyCompactList}\small\item\em Get the file permissions. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Public Attributes} \begin{DoxyCompactItemize} \item Q\-String {\bf name}\label{structQuaZipFileInfo_a16ac323965deccf0232bfae69d933a84} \begin{DoxyCompactList}\small\item\em File name. \end{DoxyCompactList}\item quint16 {\bf version\-Created}\label{structQuaZipFileInfo_a52f3f1d960ebaa2acbc2a86458fa3e6e} \begin{DoxyCompactList}\small\item\em Version created by. \end{DoxyCompactList}\item quint16 {\bf version\-Needed}\label{structQuaZipFileInfo_a8b73982808bded49e88e624a65e1a94f} \begin{DoxyCompactList}\small\item\em Version needed to extract. \end{DoxyCompactList}\item quint16 {\bf flags}\label{structQuaZipFileInfo_a56d36f777e4fc892c71e22d080622e2c} \begin{DoxyCompactList}\small\item\em General purpose flags. \end{DoxyCompactList}\item quint16 {\bf method}\label{structQuaZipFileInfo_af5c1bbda7f5dec2c358e7a543564de4c} \begin{DoxyCompactList}\small\item\em Compression method. \end{DoxyCompactList}\item Q\-Date\-Time {\bf date\-Time}\label{structQuaZipFileInfo_ad6993d099436813a27fd31aebe42911a} \begin{DoxyCompactList}\small\item\em Last modification date and time. \end{DoxyCompactList}\item quint32 {\bf crc}\label{structQuaZipFileInfo_aceee045c9ebce0b9724f40d342bc99ea} \begin{DoxyCompactList}\small\item\em C\-R\-C. \end{DoxyCompactList}\item quint32 {\bf compressed\-Size}\label{structQuaZipFileInfo_af6116eaac1f36b2a4b3a6a39851a85cc} \begin{DoxyCompactList}\small\item\em Compressed file size. \end{DoxyCompactList}\item quint32 {\bf uncompressed\-Size}\label{structQuaZipFileInfo_a0eb908e1b1ea637d1f1f4d6aa31db07f} \begin{DoxyCompactList}\small\item\em Uncompressed file size. \end{DoxyCompactList}\item quint16 {\bf disk\-Number\-Start}\label{structQuaZipFileInfo_aa70157fdc2bd8de10405055b4233050b} \begin{DoxyCompactList}\small\item\em Disk number start. \end{DoxyCompactList}\item quint16 {\bf internal\-Attr}\label{structQuaZipFileInfo_a36e681a93b041617addee78cb939c93d} \begin{DoxyCompactList}\small\item\em Internal file attributes. \end{DoxyCompactList}\item quint32 {\bf external\-Attr}\label{structQuaZipFileInfo_afeb65ffdacc4fc0ba7848d4b37f62ecf} \begin{DoxyCompactList}\small\item\em External file attributes. \end{DoxyCompactList}\item Q\-String {\bf comment}\label{structQuaZipFileInfo_adc2aad7bbd87ce3415e2a19851266bfc} \begin{DoxyCompactList}\small\item\em Comment. \end{DoxyCompactList}\item Q\-Byte\-Array {\bf extra}\label{structQuaZipFileInfo_affc7b097de2c3c2ef5801c60f96adc72} \begin{DoxyCompactList}\small\item\em Extra field. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} Information about a file inside archive. Call \doxyref{Qua\-Zip\-::get\-Current\-File\-Info()}{p.}{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} or \doxyref{Qua\-Zip\-File\-::get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} to fill this structure. \subsection{Member Function Documentation} \index{Qua\-Zip\-File\-Info@{Qua\-Zip\-File\-Info}!get\-Permissions@{get\-Permissions}} \index{get\-Permissions@{get\-Permissions}!QuaZipFileInfo@{Qua\-Zip\-File\-Info}} \subsubsection[{get\-Permissions}]{\setlength{\rightskip}{0pt plus 5cm}Q\-File\-::\-Permissions Qua\-Zip\-File\-Info\-::get\-Permissions ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{structQuaZipFileInfo_af87f96a64d7c02b002622f81d13accdb} Get the file permissions. Returns the high 16 bits of external attributes converted to Q\-File\-::\-Permissions. The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quazipfileinfo.\-h\item quazip/quazipfileinfo.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/structQuaZipFileInfo64.tex000066400000000000000000000273631255273444100262260ustar00rootroot00000000000000\section{Qua\-Zip\-File\-Info64 Struct Reference} \label{structQuaZipFileInfo64}\index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}} Information about a file inside archive (with zip64 support). {\ttfamily \#include $<$quazipfileinfo.\-h$>$} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item Q\-File\-::\-Permissions {\bf get\-Permissions} () const \begin{DoxyCompactList}\small\item\em Get the file permissions. \end{DoxyCompactList}\item bool {\bf to\-Qua\-Zip\-File\-Info} ({\bf Qua\-Zip\-File\-Info} \&info) const \begin{DoxyCompactList}\small\item\em Converts to \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo}. \end{DoxyCompactList}\item Q\-Date\-Time {\bf get\-N\-T\-F\-Sm\-Time} (int $\ast$fine\-Ticks=N\-U\-L\-L) const \begin{DoxyCompactList}\small\item\em Returns the N\-T\-F\-S modification time. \end{DoxyCompactList}\item Q\-Date\-Time {\bf get\-N\-T\-F\-Sa\-Time} (int $\ast$fine\-Ticks=N\-U\-L\-L) const \begin{DoxyCompactList}\small\item\em Returns the N\-T\-F\-S access time. \end{DoxyCompactList}\item Q\-Date\-Time {\bf get\-N\-T\-F\-Sc\-Time} (int $\ast$fine\-Ticks=N\-U\-L\-L) const \begin{DoxyCompactList}\small\item\em Returns the N\-T\-F\-S creation time. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Public Attributes} \begin{DoxyCompactItemize} \item Q\-String {\bf name}\label{structQuaZipFileInfo64_a2cadad4cb9a765e90b5422dae2388762} \begin{DoxyCompactList}\small\item\em File name. \end{DoxyCompactList}\item quint16 {\bf version\-Created}\label{structQuaZipFileInfo64_a95aeb06b080e483fde874ba2d06f203c} \begin{DoxyCompactList}\small\item\em Version created by. \end{DoxyCompactList}\item quint16 {\bf version\-Needed}\label{structQuaZipFileInfo64_a27654f5ce3a75331e9c9a7900b407169} \begin{DoxyCompactList}\small\item\em Version needed to extract. \end{DoxyCompactList}\item quint16 {\bf flags}\label{structQuaZipFileInfo64_a6aa533dd4e02f52459e1e1a0df31e992} \begin{DoxyCompactList}\small\item\em General purpose flags. \end{DoxyCompactList}\item quint16 {\bf method}\label{structQuaZipFileInfo64_a445967ecbb5a3dd2a9d516db3e14a34a} \begin{DoxyCompactList}\small\item\em Compression method. \end{DoxyCompactList}\item Q\-Date\-Time {\bf date\-Time} \begin{DoxyCompactList}\small\item\em Last modification date and time. \end{DoxyCompactList}\item quint32 {\bf crc}\label{structQuaZipFileInfo64_aeb7b2757a0efa814b196b5280d000a14} \begin{DoxyCompactList}\small\item\em C\-R\-C. \end{DoxyCompactList}\item quint64 {\bf compressed\-Size}\label{structQuaZipFileInfo64_add8733946ea4af23aa32d85f10955b0f} \begin{DoxyCompactList}\small\item\em Compressed file size. \end{DoxyCompactList}\item quint64 {\bf uncompressed\-Size}\label{structQuaZipFileInfo64_a571ca077fe282c908e57b0bc82528d49} \begin{DoxyCompactList}\small\item\em Uncompressed file size. \end{DoxyCompactList}\item quint16 {\bf disk\-Number\-Start}\label{structQuaZipFileInfo64_ac8945cf1ff54d39d28e755685b91e941} \begin{DoxyCompactList}\small\item\em Disk number start. \end{DoxyCompactList}\item quint16 {\bf internal\-Attr}\label{structQuaZipFileInfo64_aeb895613e76a4cc63f861b010c9e92c0} \begin{DoxyCompactList}\small\item\em Internal file attributes. \end{DoxyCompactList}\item quint32 {\bf external\-Attr}\label{structQuaZipFileInfo64_a3a8bc40f1aa0cb0985c4e2f8a9678430} \begin{DoxyCompactList}\small\item\em External file attributes. \end{DoxyCompactList}\item Q\-String {\bf comment}\label{structQuaZipFileInfo64_aba3f5b982087c3e0343bb61e8814c7d1} \begin{DoxyCompactList}\small\item\em Comment. \end{DoxyCompactList}\item Q\-Byte\-Array {\bf extra}\label{structQuaZipFileInfo64_acf0b1b97f377208847c6912cd1bf1332} \begin{DoxyCompactList}\small\item\em Extra field. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} Information about a file inside archive (with zip64 support). Call \doxyref{Qua\-Zip\-::get\-Current\-File\-Info()}{p.}{classQuaZip_a9c91a53ed4c2038e153c64bdc097ebe8} or \doxyref{Qua\-Zip\-File\-::get\-File\-Info()}{p.}{classQuaZipFile_ad3f5807329321be21b12c1ba5798b359} to fill this structure. \subsection{Member Function Documentation} \index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!get\-Permissions@{get\-Permissions}} \index{get\-Permissions@{get\-Permissions}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} \subsubsection[{get\-Permissions}]{\setlength{\rightskip}{0pt plus 5cm}Q\-File\-::\-Permissions Qua\-Zip\-File\-Info64\-::get\-Permissions ( \begin{DoxyParamCaption} {} \end{DoxyParamCaption} ) const}\label{structQuaZipFileInfo64_a099216bd8991a983168d91c06a689f61} Get the file permissions. Returns the high 16 bits of external attributes converted to Q\-File\-::\-Permissions. \index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!to\-Qua\-Zip\-File\-Info@{to\-Qua\-Zip\-File\-Info}} \index{to\-Qua\-Zip\-File\-Info@{to\-Qua\-Zip\-File\-Info}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} \subsubsection[{to\-Qua\-Zip\-File\-Info}]{\setlength{\rightskip}{0pt plus 5cm}bool Qua\-Zip\-File\-Info64\-::to\-Qua\-Zip\-File\-Info ( \begin{DoxyParamCaption} \item[{{\bf Qua\-Zip\-File\-Info} \&}]{info} \end{DoxyParamCaption} ) const}\label{structQuaZipFileInfo64_ada29945c7ee4c9df6fbe95864793aade} Converts to \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo}. If any of the fields are greater than 0x\-F\-F\-F\-F\-F\-F\-F\-Fu, they are set to 0x\-F\-F\-F\-F\-F\-F\-F\-Fu exactly, not just truncated. This function should be mainly used for compatibility with the old code expecting \doxyref{Qua\-Zip\-File\-Info}{p.}{structQuaZipFileInfo}, in the cases when it's impossible or otherwise unadvisable (due to A\-B\-I compatibility reasons, for example) to modify that old code to use \doxyref{Qua\-Zip\-File\-Info64}{p.}{structQuaZipFileInfo64}. \begin{DoxyReturn}{Returns} {\ttfamily true} if all fields converted correctly, {\ttfamily false} if an overflow occured. \end{DoxyReturn} References Qua\-Zip\-File\-Info\-::comment, comment, Qua\-Zip\-File\-Info\-::compressed\-Size, compressed\-Size, Qua\-Zip\-File\-Info\-::crc, crc, Qua\-Zip\-File\-Info\-::date\-Time, date\-Time, Qua\-Zip\-File\-Info\-::disk\-Number\-Start, disk\-Number\-Start, Qua\-Zip\-File\-Info\-::external\-Attr, external\-Attr, Qua\-Zip\-File\-Info\-::extra, extra, Qua\-Zip\-File\-Info\-::flags, flags, Qua\-Zip\-File\-Info\-::internal\-Attr, internal\-Attr, Qua\-Zip\-File\-Info\-::method, method, Qua\-Zip\-File\-Info\-::name, name, Qua\-Zip\-File\-Info\-::uncompressed\-Size, uncompressed\-Size, Qua\-Zip\-File\-Info\-::version\-Created, version\-Created, Qua\-Zip\-File\-Info\-::version\-Needed, and version\-Needed. Referenced by Qua\-Zip\-::get\-Current\-File\-Info(), and Qua\-Zip\-File\-::get\-File\-Info(). \index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!get\-N\-T\-F\-Sm\-Time@{get\-N\-T\-F\-Sm\-Time}} \index{get\-N\-T\-F\-Sm\-Time@{get\-N\-T\-F\-Sm\-Time}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} \subsubsection[{get\-N\-T\-F\-Sm\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-File\-Info64\-::get\-N\-T\-F\-Sm\-Time ( \begin{DoxyParamCaption} \item[{int $\ast$}]{fine\-Ticks = {\ttfamily NULL}} \end{DoxyParamCaption} ) const}\label{structQuaZipFileInfo64_af4b19399367cf5bf24026344e0631ccb} Returns the N\-T\-F\-S modification time. The get\-N\-T\-F\-S$\ast$\-Time() functions only work if there is an N\-T\-F\-S extra field present. Otherwise, they all return invalid null timestamps. \begin{DoxyParams}{Parameters} {\em fine\-Ticks} & If not N\-U\-L\-L, the fractional part of milliseconds returned there, measured in 100-\/nanosecond ticks. Will be set to zero if there is no N\-T\-F\-S extra field. \\ \hline \end{DoxyParams} \begin{DoxySeeAlso}{See Also} \doxyref{date\-Time}{p.}{structQuaZipFileInfo64_a4d77c6aa6076703e858c938efeb551e4} \doxyref{get\-N\-T\-F\-Sa\-Time()}{p.}{structQuaZipFileInfo64_afe4c454de7d067a0095da0223f0cbec2} \doxyref{get\-N\-T\-F\-Sc\-Time()}{p.}{structQuaZipFileInfo64_a409dcbbe1ecd88dadb51be1aec48819d} \end{DoxySeeAlso} \begin{DoxyReturn}{Returns} The N\-T\-F\-S modification time, U\-T\-C \end{DoxyReturn} \index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!get\-N\-T\-F\-Sa\-Time@{get\-N\-T\-F\-Sa\-Time}} \index{get\-N\-T\-F\-Sa\-Time@{get\-N\-T\-F\-Sa\-Time}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} \subsubsection[{get\-N\-T\-F\-Sa\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-File\-Info64\-::get\-N\-T\-F\-Sa\-Time ( \begin{DoxyParamCaption} \item[{int $\ast$}]{fine\-Ticks = {\ttfamily NULL}} \end{DoxyParamCaption} ) const}\label{structQuaZipFileInfo64_afe4c454de7d067a0095da0223f0cbec2} Returns the N\-T\-F\-S access time. The get\-N\-T\-F\-S$\ast$\-Time() functions only work if there is an N\-T\-F\-S extra field present. Otherwise, they all return invalid null timestamps. \begin{DoxyParams}{Parameters} {\em fine\-Ticks} & If not N\-U\-L\-L, the fractional part of milliseconds returned there, measured in 100-\/nanosecond ticks. Will be set to zero if there is no N\-T\-F\-S extra field. \\ \hline \end{DoxyParams} \begin{DoxySeeAlso}{See Also} \doxyref{date\-Time}{p.}{structQuaZipFileInfo64_a4d77c6aa6076703e858c938efeb551e4} \doxyref{get\-N\-T\-F\-Sm\-Time()}{p.}{structQuaZipFileInfo64_af4b19399367cf5bf24026344e0631ccb} \doxyref{get\-N\-T\-F\-Sc\-Time()}{p.}{structQuaZipFileInfo64_a409dcbbe1ecd88dadb51be1aec48819d} \end{DoxySeeAlso} \begin{DoxyReturn}{Returns} The N\-T\-F\-S access time, U\-T\-C \end{DoxyReturn} \index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!get\-N\-T\-F\-Sc\-Time@{get\-N\-T\-F\-Sc\-Time}} \index{get\-N\-T\-F\-Sc\-Time@{get\-N\-T\-F\-Sc\-Time}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} \subsubsection[{get\-N\-T\-F\-Sc\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-File\-Info64\-::get\-N\-T\-F\-Sc\-Time ( \begin{DoxyParamCaption} \item[{int $\ast$}]{fine\-Ticks = {\ttfamily NULL}} \end{DoxyParamCaption} ) const}\label{structQuaZipFileInfo64_a409dcbbe1ecd88dadb51be1aec48819d} Returns the N\-T\-F\-S creation time. The get\-N\-T\-F\-S$\ast$\-Time() functions only work if there is an N\-T\-F\-S extra field present. Otherwise, they all return invalid null timestamps. \begin{DoxyParams}{Parameters} {\em fine\-Ticks} & If not N\-U\-L\-L, the fractional part of milliseconds returned there, measured in 100-\/nanosecond ticks. Will be set to zero if there is no N\-T\-F\-S extra field. \\ \hline \end{DoxyParams} \begin{DoxySeeAlso}{See Also} \doxyref{date\-Time}{p.}{structQuaZipFileInfo64_a4d77c6aa6076703e858c938efeb551e4} \doxyref{get\-N\-T\-F\-Sm\-Time()}{p.}{structQuaZipFileInfo64_af4b19399367cf5bf24026344e0631ccb} \doxyref{get\-N\-T\-F\-Sa\-Time()}{p.}{structQuaZipFileInfo64_afe4c454de7d067a0095da0223f0cbec2} \end{DoxySeeAlso} \begin{DoxyReturn}{Returns} The N\-T\-F\-S creation time, U\-T\-C \end{DoxyReturn} \subsection{Member Data Documentation} \index{Qua\-Zip\-File\-Info64@{Qua\-Zip\-File\-Info64}!date\-Time@{date\-Time}} \index{date\-Time@{date\-Time}!QuaZipFileInfo64@{Qua\-Zip\-File\-Info64}} \subsubsection[{date\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-File\-Info64\-::date\-Time}\label{structQuaZipFileInfo64_a4d77c6aa6076703e858c938efeb551e4} Last modification date and time. This is the time stored in the standard Z\-I\-P header. This format only allows to store time with 2-\/second precision, so the seconds will always be even and the milliseconds will always be zero. If you need more precise date and time, you can try to call the \doxyref{get\-N\-T\-F\-Sm\-Time()}{p.}{structQuaZipFileInfo64_af4b19399367cf5bf24026344e0631ccb} function or its siblings, provided that the archive itself contains these N\-T\-F\-S times. Referenced by Qua\-Zip\-::get\-Current\-File\-Info(), and to\-Qua\-Zip\-File\-Info(). The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quazipfileinfo.\-h\item quazip/quazipfileinfo.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/structQuaZipNewInfo.tex000066400000000000000000000444021255273444100257170ustar00rootroot00000000000000\section{Qua\-Zip\-New\-Info Struct Reference} \label{structQuaZipNewInfo}\index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} Information about a file to be created. {\ttfamily \#include $<$quazipnewinfo.\-h$>$} \subsection*{Public Member Functions} \begin{DoxyCompactItemize} \item {\bf Qua\-Zip\-New\-Info} (const Q\-String \&{\bf name}) \begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} instance. \end{DoxyCompactList}\item {\bf Qua\-Zip\-New\-Info} (const Q\-String \&{\bf name}, const Q\-String \&file) \begin{DoxyCompactList}\small\item\em Constructs \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} instance. \end{DoxyCompactList}\item {\bf Qua\-Zip\-New\-Info} (const {\bf Qua\-Zip\-File\-Info} \&existing) \begin{DoxyCompactList}\small\item\em Initializes the new instance from existing file info. \end{DoxyCompactList}\item {\bf Qua\-Zip\-New\-Info} (const {\bf Qua\-Zip\-File\-Info64} \&existing) \begin{DoxyCompactList}\small\item\em Initializes the new instance from existing file info. \end{DoxyCompactList}\item void {\bf set\-File\-Date\-Time} (const Q\-String \&file) \begin{DoxyCompactList}\small\item\em Sets the file timestamp from the existing file. \end{DoxyCompactList}\item void {\bf set\-File\-Permissions} (const Q\-String \&file) \begin{DoxyCompactList}\small\item\em Sets the file permissions from the existing file. \end{DoxyCompactList}\item void {\bf set\-Permissions} (Q\-File\-::\-Permissions permissions) \begin{DoxyCompactList}\small\item\em Sets the file permissions. \end{DoxyCompactList}\item void {\bf set\-File\-N\-T\-F\-S\-Times} (const Q\-String \&file\-Name) \begin{DoxyCompactList}\small\item\em Sets the N\-T\-F\-S times from an existing file. \end{DoxyCompactList}\item void {\bf set\-File\-N\-T\-F\-Sm\-Time} (const Q\-Date\-Time \&m\-Time, int fine\-Ticks=0) \begin{DoxyCompactList}\small\item\em Sets the N\-T\-F\-S modification time. \end{DoxyCompactList}\item void {\bf set\-File\-N\-T\-F\-Sa\-Time} (const Q\-Date\-Time \&a\-Time, int fine\-Ticks=0) \begin{DoxyCompactList}\small\item\em Sets the N\-T\-F\-S access time. \end{DoxyCompactList}\item void {\bf set\-File\-N\-T\-F\-Sc\-Time} (const Q\-Date\-Time \&c\-Time, int fine\-Ticks=0) \begin{DoxyCompactList}\small\item\em Sets the N\-T\-F\-S creation time. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection*{Public Attributes} \begin{DoxyCompactItemize} \item Q\-String {\bf name} \begin{DoxyCompactList}\small\item\em File name. \end{DoxyCompactList}\item Q\-Date\-Time {\bf date\-Time} \begin{DoxyCompactList}\small\item\em File timestamp. \end{DoxyCompactList}\item quint16 {\bf internal\-Attr}\label{structQuaZipNewInfo_a59ce9776c2ac7547ade8cb4c404c77ab} \begin{DoxyCompactList}\small\item\em File internal attributes. \end{DoxyCompactList}\item quint32 {\bf external\-Attr} \begin{DoxyCompactList}\small\item\em File external attributes. \end{DoxyCompactList}\item Q\-String {\bf comment} \begin{DoxyCompactList}\small\item\em File comment. \end{DoxyCompactList}\item Q\-Byte\-Array {\bf extra\-Local}\label{structQuaZipNewInfo_ab377a81c51cf495c7aeee4f19340a43f} \begin{DoxyCompactList}\small\item\em File local extra field. \end{DoxyCompactList}\item Q\-Byte\-Array {\bf extra\-Global}\label{structQuaZipNewInfo_abda207eb3949db3a88761c1b06e6bd58} \begin{DoxyCompactList}\small\item\em File global extra field. \end{DoxyCompactList}\item ulong {\bf uncompressed\-Size} \begin{DoxyCompactList}\small\item\em Uncompressed file size. \end{DoxyCompactList}\end{DoxyCompactItemize} \subsection{Detailed Description} Information about a file to be created. This structure holds information about a file to be created inside Z\-I\-P archive. At least name should be set to something correct before passing this structure to Qua\-Zip\-File\-::open(\-Open\-Mode,const Qua\-Zip\-New\-Info\&,int,int,bool). Zip64 support of this structure is slightly limited\-: in the raw mode (when a pre-\/compressed file is written into a Z\-I\-P file as-\/is), it is necessary to specify the uncompressed file size and the appropriate field is 32 bit. Since the raw mode is used extremely rare, there is no real need to have a separate Qua\-Zip\-New\-Info64 structure like \doxyref{Qua\-Zip\-File\-Info64}{p.}{structQuaZipFileInfo64}. It may be added in the future though, if there is a demand for the raw mode with zip64 archives. \subsection{Constructor \& Destructor Documentation} \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{Qua\-Zip\-New\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-New\-Info\-::\-Qua\-Zip\-New\-Info ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{name} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a46c0f551cf9e6b2131929beb39187aac} Constructs \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} instance. Initializes name with {\itshape name}, date\-Time with current date and time. Attributes are initialized with zeros, comment and extra field with null values. \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{Qua\-Zip\-New\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-New\-Info\-::\-Qua\-Zip\-New\-Info ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{name, } \item[{const Q\-String \&}]{file} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_ad47cf11f4277edcb09a8ba2b2963f2a9} Constructs \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} instance. Initializes name with {\itshape name}. Timestamp and permissions are taken from the specified file. If the {\itshape file} does not exists or its timestamp is inaccessible (e. g. you do not have read permission for the directory file in), uses current time and zero permissions. Other attributes are initialized with zeros, comment and extra field with null values. \begin{DoxySeeAlso}{See Also} \doxyref{set\-File\-Date\-Time()}{p.}{structQuaZipNewInfo_a2b18b554d056877a2f33ffb9d241ed85} \end{DoxySeeAlso} References date\-Time. \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{Qua\-Zip\-New\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-New\-Info\-::\-Qua\-Zip\-New\-Info ( \begin{DoxyParamCaption} \item[{const {\bf Qua\-Zip\-File\-Info} \&}]{existing} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a5f1a867f3b0d29d076f9014f70b59e5a} Initializes the new instance from existing file info. Mainly used when copying files between archives. Both extra fields are initialized to existing.\-extra. \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} \begin{DoxyParams}{Parameters} {\em existing} & \\ \hline \end{DoxyParams} \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}} \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{Qua\-Zip\-New\-Info}]{\setlength{\rightskip}{0pt plus 5cm}Qua\-Zip\-New\-Info\-::\-Qua\-Zip\-New\-Info ( \begin{DoxyParamCaption} \item[{const {\bf Qua\-Zip\-File\-Info64} \&}]{existing} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a4afa2e8c282a801fc216f79026c2d062} Initializes the new instance from existing file info. Mainly used when copying files between archives. Both extra fields are initialized to existing.\-extra. \doxyref{Qua\-Zip\-New\-Info}{p.}{structQuaZipNewInfo} \begin{DoxyParams}{Parameters} {\em existing} & \\ \hline \end{DoxyParams} \subsection{Member Function Documentation} \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-Date\-Time@{set\-File\-Date\-Time}} \index{set\-File\-Date\-Time@{set\-File\-Date\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{set\-File\-Date\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-Date\-Time ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a2b18b554d056877a2f33ffb9d241ed85} Sets the file timestamp from the existing file. Use this function to set the file timestamp from the existing file. Use it like this\-: \begin{DoxyCode} QuaZipFile zipFile(&zip); QFile file(\textcolor{stringliteral}{"file-to-add"}); file.open(QIODevice::ReadOnly); QuaZipNewInfo info(\textcolor{stringliteral}{"file-name-in-archive"}); info.setFileDateTime(\textcolor{stringliteral}{"file-to-add"}); \textcolor{comment}{// take the timestamp from file} zipFile.open(QIODevice::WriteOnly, info); \end{DoxyCode} This function does not change date\-Time if some error occured (e. g. file is inaccessible). References date\-Time. \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-Permissions@{set\-File\-Permissions}} \index{set\-File\-Permissions@{set\-File\-Permissions}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{set\-File\-Permissions}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-Permissions ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a08bee5211eb0b49da260c7a9e7a266b8} Sets the file permissions from the existing file. Takes permissions from the file and sets the high 16 bits of external attributes. Uses Q\-File\-Info to get permissions on all platforms. \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-Permissions@{set\-Permissions}} \index{set\-Permissions@{set\-Permissions}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{set\-Permissions}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-Permissions ( \begin{DoxyParamCaption} \item[{Q\-File\-::\-Permissions}]{permissions} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_aed68dc20f7dc42b5056491cf3c1d2d20} Sets the file permissions. Modifies the highest 16 bits of external attributes. The type part is set to dir if the name ends with a slash, and to regular file otherwise. References name. \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-N\-T\-F\-S\-Times@{set\-File\-N\-T\-F\-S\-Times}} \index{set\-File\-N\-T\-F\-S\-Times@{set\-File\-N\-T\-F\-S\-Times}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{set\-File\-N\-T\-F\-S\-Times}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-N\-T\-F\-S\-Times ( \begin{DoxyParamCaption} \item[{const Q\-String \&}]{file\-Name} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a663a37c5a7a2d18900ba8b0199617eff} Sets the N\-T\-F\-S times from an existing file. If the file doesn't exist, a warning is printed to the stderr and nothing is done. Otherwise, all three times, as reported by Q\-File\-Info\-::last\-Modified(), Q\-File\-Info\-::last\-Read() and Q\-File\-Info\-::created(), are written to the N\-T\-F\-S extra field record. The N\-T\-F\-S record is written to both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. The microseconds will be zero, as they aren't reported by Q\-File\-Info. \begin{DoxyParams}{Parameters} {\em file\-Name} & \\ \hline \end{DoxyParams} References set\-File\-N\-T\-F\-Sa\-Time(), set\-File\-N\-T\-F\-Sc\-Time(), and set\-File\-N\-T\-F\-Sm\-Time(). \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-N\-T\-F\-Sm\-Time@{set\-File\-N\-T\-F\-Sm\-Time}} \index{set\-File\-N\-T\-F\-Sm\-Time@{set\-File\-N\-T\-F\-Sm\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{set\-File\-N\-T\-F\-Sm\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-N\-T\-F\-Sm\-Time ( \begin{DoxyParamCaption} \item[{const Q\-Date\-Time \&}]{m\-Time, } \item[{int}]{fine\-Ticks = {\ttfamily 0}} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a3af07365df1d67502ab1d0ca0d45df79} Sets the N\-T\-F\-S modification time. The time is written into the N\-T\-F\-S record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact. \begin{DoxyParams}{Parameters} {\em m\-Time} & The new modification time. \\ \hline {\em fine\-Ticks} & The fractional part of milliseconds, in 100-\/nanosecond ticks (i. e. 9999 ticks = 999.\-9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged. \\ \hline \end{DoxyParams} References extra\-Global, and extra\-Local. Referenced by set\-File\-N\-T\-F\-S\-Times(). \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-N\-T\-F\-Sa\-Time@{set\-File\-N\-T\-F\-Sa\-Time}} \index{set\-File\-N\-T\-F\-Sa\-Time@{set\-File\-N\-T\-F\-Sa\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{set\-File\-N\-T\-F\-Sa\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-N\-T\-F\-Sa\-Time ( \begin{DoxyParamCaption} \item[{const Q\-Date\-Time \&}]{a\-Time, } \item[{int}]{fine\-Ticks = {\ttfamily 0}} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a1042ac3d55a9deed760eb357aaa8284c} Sets the N\-T\-F\-S access time. The time is written into the N\-T\-F\-S record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact. \begin{DoxyParams}{Parameters} {\em a\-Time} & The new access time. \\ \hline {\em fine\-Ticks} & The fractional part of milliseconds, in 100-\/nanosecond ticks (i. e. 9999 ticks = 999.\-9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged. \\ \hline \end{DoxyParams} References extra\-Global, and extra\-Local. Referenced by set\-File\-N\-T\-F\-S\-Times(). \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!set\-File\-N\-T\-F\-Sc\-Time@{set\-File\-N\-T\-F\-Sc\-Time}} \index{set\-File\-N\-T\-F\-Sc\-Time@{set\-File\-N\-T\-F\-Sc\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{set\-File\-N\-T\-F\-Sc\-Time}]{\setlength{\rightskip}{0pt plus 5cm}void Qua\-Zip\-New\-Info\-::set\-File\-N\-T\-F\-Sc\-Time ( \begin{DoxyParamCaption} \item[{const Q\-Date\-Time \&}]{c\-Time, } \item[{int}]{fine\-Ticks = {\ttfamily 0}} \end{DoxyParamCaption} )}\label{structQuaZipNewInfo_a44675ac1e306eddefcaa35972c294d15} Sets the N\-T\-F\-S creation time. The time is written into the N\-T\-F\-S record in both the local and the global extra fields, updating the existing record if there is one, or creating a new one and appending it to the end of each extra field. When updating an existing record, all other fields are left intact. \begin{DoxyParams}{Parameters} {\em c\-Time} & The new creation time. \\ \hline {\em fine\-Ticks} & The fractional part of milliseconds, in 100-\/nanosecond ticks (i. e. 9999 ticks = 999.\-9 microsecond). Values greater than 9999 will add milliseconds or even seconds, but this can be confusing and therefore is discouraged. \\ \hline \end{DoxyParams} References extra\-Global, and extra\-Local. Referenced by set\-File\-N\-T\-F\-S\-Times(). \subsection{Member Data Documentation} \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!name@{name}} \index{name@{name}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{name}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-New\-Info\-::name}\label{structQuaZipNewInfo_a2bdef01b6ac3326e48598e32bfa5fbe8} File name. This field holds file name inside archive, including path relative to archive root. Referenced by Qua\-Zip\-File\-::open(), and set\-Permissions(). \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!date\-Time@{date\-Time}} \index{date\-Time@{date\-Time}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{date\-Time}]{\setlength{\rightskip}{0pt plus 5cm}Q\-Date\-Time Qua\-Zip\-New\-Info\-::date\-Time}\label{structQuaZipNewInfo_aec7f3ac72c72a2e10b82ad64c2fa3453} File timestamp. This is the last file modification date and time. Will be stored in the archive central directory. It is a good practice to set it to the source file timestamp instead of archive creating time. Use \doxyref{set\-File\-Date\-Time()}{p.}{structQuaZipNewInfo_a2b18b554d056877a2f33ffb9d241ed85} or \doxyref{Qua\-Zip\-New\-Info(const Q\-String\&, const Q\-String\&)}{p.}{structQuaZipNewInfo_ad47cf11f4277edcb09a8ba2b2963f2a9}. Referenced by Qua\-Zip\-File\-::open(), Qua\-Zip\-New\-Info(), and set\-File\-Date\-Time(). \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!external\-Attr@{external\-Attr}} \index{external\-Attr@{external\-Attr}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{external\-Attr}]{\setlength{\rightskip}{0pt plus 5cm}quint32 Qua\-Zip\-New\-Info\-::external\-Attr}\label{structQuaZipNewInfo_affd1a9700d302e1395bd04f0864da7d0} File external attributes. The highest 16 bits contain Unix file permissions and type (dir or file). The constructor \doxyref{Qua\-Zip\-New\-Info(const Q\-String\&, const Q\-String\&)}{p.}{structQuaZipNewInfo_ad47cf11f4277edcb09a8ba2b2963f2a9} takes permissions from the provided file. Referenced by Qua\-Zip\-File\-::open(). \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!comment@{comment}} \index{comment@{comment}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{comment}]{\setlength{\rightskip}{0pt plus 5cm}Q\-String Qua\-Zip\-New\-Info\-::comment}\label{structQuaZipNewInfo_ae24b1d38c3550b4724862ffcf8f20924} File comment. Will be encoded using \doxyref{Qua\-Zip\-::get\-Comment\-Codec()}{p.}{classQuaZip_a008260161781d8b5d2a0a28493fddaf4}. Referenced by Qua\-Zip\-File\-::open(). \index{Qua\-Zip\-New\-Info@{Qua\-Zip\-New\-Info}!uncompressed\-Size@{uncompressed\-Size}} \index{uncompressed\-Size@{uncompressed\-Size}!QuaZipNewInfo@{Qua\-Zip\-New\-Info}} \subsubsection[{uncompressed\-Size}]{\setlength{\rightskip}{0pt plus 5cm}ulong Qua\-Zip\-New\-Info\-::uncompressed\-Size}\label{structQuaZipNewInfo_a18c079b3f2f5ab6eecdd61d6dbe93be6} Uncompressed file size. This is only needed if you are using raw file zipping mode, i. e. adding precompressed file in the zip archive. Referenced by Qua\-Zip\-File\-::open(). The documentation for this struct was generated from the following files\-:\begin{DoxyCompactItemize} \item quazip/quazipnewinfo.\-h\item quazip/quazipnewinfo.\-cpp\end{DoxyCompactItemize} merkaartor-0.18.2/3rdparty/quazip-0.7/doc/latex/usage.tex000066400000000000000000000115001255273444100230500ustar00rootroot00000000000000This page provides general information on Qua\-Z\-I\-P usage. See classes \doxyref{Qua\-Zip}{p.}{classQuaZip} and \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} for the detailed documentation on what can Qua\-Z\-I\-P do and what it can not. Also, reading comments in the zip.\-h and unzip.\-h files (taken from the original Z\-I\-P/\-U\-N\-Z\-I\-P package) is always a good idea too. After all, Qua\-Z\-I\-P is just a wrapper with a few convenience extensions and reimplementations. \doxyref{Qua\-Zip}{p.}{classQuaZip} is a class representing Z\-I\-P archive, \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} represents a file inside archive and subclasses Q\-I\-O\-Device as well. One limitation is that there can be only one instance of \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} per \doxyref{Qua\-Zip}{p.}{classQuaZip} instance, which kind of makes it confusing why there are two classes instead of one. This is actually no more than an A\-P\-I design mistake.\section{Terminology}\label{usage_terminology} \char`\"{}\-Qua\-Z\-I\-P\char`\"{} means whole this library, while \char`\"{}\-Qua\-Zip\char`\"{} (note the lower case) is just one class in it. \char`\"{}\-Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I\char`\"{} or \char`\"{}minizip\char`\"{} means the original A\-P\-I of the Gilles Vollant's Z\-I\-P/\-U\-N\-Z\-I\-P package. It was slightly modified to better integrate with Qt. These modifications are not source or binary compatible with the official minizip release, which means you can't just drop the newer minizip version into Qua\-Z\-I\-P sources and make it work. \char`\"{}\-Z\-I\-P\char`\"{}, \char`\"{}\-Z\-I\-P archive\char`\"{} or \char`\"{}\-Z\-I\-P file\char`\"{} means any Z\-I\-P archive. Typically this is a plain file with \char`\"{}.\-zip\char`\"{} (or \char`\"{}.\-Z\-I\-P\char`\"{}) file name suffix, but it can also be any seekable Q\-I\-O\-Device (say, Q\-Buffer, but not Q\-Tcp\-Socket). \char`\"{}\-A file inside archive\char`\"{}, \char`\"{}a file inside Z\-I\-P\char`\"{} or something like that means file either being read or written from/to some Z\-I\-P archive.\section{Error handling}\label{usage_error-handling} Almost any call to Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I return some error code. Most of the original A\-P\-I's error checking could be done in this wrapper as well, but it would cause unnecessary code bloating without any benefit. So, Qua\-Z\-I\-P only checks for situations that Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I can not check for. For example, Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I has no \char`\"{}\-Z\-I\-P open mode\char`\"{} concept because read and write modes are completely separated. On the other hand, to avoid creating classes like \char`\"{}\-Qua\-Zip\-Reader\char`\"{}, \char`\"{}\-Qua\-Zip\-Writer\char`\"{} or something like that, Qua\-Z\-I\-P introduces \char`\"{}\-Z\-I\-P open mode\char`\"{} concept instead, thus making it possible to use one class (\doxyref{Qua\-Zip}{p.}{classQuaZip}) for both reading and writing. But this leads to additional open mode checks which are not done in Z\-I\-P/\-U\-N\-Z\-I\-P package. Therefore, error checking is two-\/level (Qua\-Z\-I\-P's level and Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I level), which sometimes can be confusing, so here are some advices on how the error checking should be properly done\-: \begin{DoxyItemize} \item Both \doxyref{Qua\-Zip}{p.}{classQuaZip} and \doxyref{Qua\-Zip\-File}{p.}{classQuaZipFile} have get\-Zip\-Error() function, which return error code of the last Z\-I\-P/\-U\-N\-Z\-I\-P A\-P\-I call. Most function calls reset error code to U\-N\-Z\-\_\-\-O\-K on success and set error code on failure. Some functions do not reset error code. Most of them are {\ttfamily const} and do not access Z\-I\-P archive in any way. Some, on the other hand, {\itshape do} access Z\-I\-P archive, but do not reset or set error code. For example, \doxyref{Qua\-Zip\-File\-::pos()}{p.}{classQuaZipFile_a90fd55dab83eca7f95df50b2c41b7f22} function. Such functions are explicitly marked in the documentation. \item Most functions have their own way to report errors, by returning a null string, negative value or {\ttfamily false}. If such a function returns error value, call get\-Zip\-Error() to get more information about error. See \char`\"{}zip.\-h\char`\"{} and \char`\"{}unzip.\-h\char`\"{} of the Z\-I\-P/\-U\-N\-Z\-I\-P package for error codes. \item If the function returns error-\/stating value (like {\ttfamily false}), but get\-Zip\-Error() returns U\-N\-Z\-\_\-\-O\-K, it means that you did something obviously wrong. For example, tried to write in the archive open for reading or not open at all. You better just not do that! Most functions also issue a warning using q\-Warning() function in such cases. See documentation for a specific function for details on when it should not be called. \end{DoxyItemize} I know that this is somewhat messy, but I could not find a better way to do all the error handling. merkaartor-0.18.2/3rdparty/quazip-0.7/includes.pri000066400000000000000000000002521255273444100216640ustar00rootroot00000000000000OBJECTS_DIR = .obj MOC_DIR = .moc unix { isEmpty(PREFIX): PREFIX=/usr/local } win32 { isEmpty(PREFIX): warning("PREFIX unspecified, make install won't work") } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip.pri000066400000000000000000000001151255273444100213650ustar00rootroot00000000000000INCLUDEPATH+=$$PWD DEPENDPATH+=$$PWD/quazip include($$PWD/quazip/quazip.pri) merkaartor-0.18.2/3rdparty/quazip-0.7/quazip.pro000066400000000000000000000000771255273444100214020ustar00rootroot00000000000000TEMPLATE=subdirs SUBDIRS=quazip qztest qztest.depends = quazip merkaartor-0.18.2/3rdparty/quazip-0.7/quazip.sln000066400000000000000000000025031255273444100213720ustar00rootroot00000000000000 Microsoft Visual Studio Solution File, Format Version 11.00 # Visual C++ Express 2010 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quazip", "quazip\quazip.vcxproj", "{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}" EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "qztest", "qztest\qztest.vcxproj", "{7632B767-D089-4F15-8B1E-C4B3F9EBF592}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.ActiveCfg = Debug|Win32 {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.Build.0 = Debug|Win32 {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.ActiveCfg = Release|Win32 {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.Build.0 = Release|Win32 {7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|Win32.ActiveCfg = Debug|Win32 {7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Debug|Win32.Build.0 = Debug|Win32 {7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|Win32.ActiveCfg = Release|Win32 {7632B767-D089-4F15-8B1E-C4B3F9EBF592}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/000077500000000000000000000000001255273444100206545ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/CMakeLists.txt000066400000000000000000000015121255273444100234130ustar00rootroot00000000000000# set all include directories for in and out of source builds include_directories( ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${ZLIB_INCLUDE_DIRS} ) file(GLOB SRCS "*.c" "*.cpp") file(GLOB PUBLIC_HEADERS "*.h") # Must be added to enable export macro ADD_DEFINITIONS(-DQUAZIP_BUILD) qt_wrap_cpp(MOC_SRCS ${PUBLIC_HEADERS}) set(SRCS ${SRCS} ${MOC_SRCS}) add_library(quazip SHARED ${SRCS}) set_target_properties(quazip PROPERTIES VERSION 1.0.0 SOVERSION 1) # Link against ZLIB_LIBRARIES if needed (on Windows this variable is empty) target_link_libraries(quazip ${QT_QTMAIN_LIBRARY} ${QT_QTCORE_LIBRARY} ${ZLIB_LIBRARIES}) install(FILES ${PUBLIC_HEADERS} DESTINATION include/quazip) install(TARGETS quazip LIBRARY DESTINATION ${LIB_DESTINATION} ARCHIVE DESTINATION ${LIB_DESTINATION} RUNTIME DESTINATION ${LIB_DESTINATION}) merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/JlCompress.cpp000066400000000000000000000374551255273444100234570ustar00rootroot00000000000000/* Copyright (C) 2010 Roberto Pompermaier Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include "JlCompress.h" #include static bool copyData(QIODevice &inFile, QIODevice &outFile) { while (!inFile.atEnd()) { char buf[4096]; qint64 readLen = inFile.read(buf, 4096); if (readLen <= 0) return false; if (outFile.write(buf, readLen) != readLen) return false; } return true; } /**OK * Comprime il file fileName, nell'oggetto zip, con il nome fileDest. * * La funzione fallisce se: * * zip==NULL; * * l'oggetto zip e stato aperto in una modalita non compatibile con l'aggiunta di file; * * non e possibile aprire il file d'origine; * * non e possibile creare il file all'interno dell'oggetto zip; * * si e rilevato un errore nella copia dei dati; * * non e stato possibile chiudere il file all'interno dell'oggetto zip; */ bool JlCompress::compressFile(QuaZip* zip, QString fileName, QString fileDest) { // zip: oggetto dove aggiungere il file // fileName: nome del file reale // fileDest: nome del file all'interno del file compresso // Controllo l'apertura dello zip if (!zip) return false; if (zip->getMode()!=QuaZip::mdCreate && zip->getMode()!=QuaZip::mdAppend && zip->getMode()!=QuaZip::mdAdd) return false; // Apro il file originale QFile inFile; inFile.setFileName(fileName); if(!inFile.open(QIODevice::ReadOnly)) return false; // Apro il file risulato QuaZipFile outFile(zip); if(!outFile.open(QIODevice::WriteOnly, QuaZipNewInfo(fileDest, inFile.fileName()))) return false; // Copio i dati if (!copyData(inFile, outFile) || outFile.getZipError()!=UNZ_OK) { return false; } // Chiudo i file outFile.close(); if (outFile.getZipError()!=UNZ_OK) return false; inFile.close(); return true; } /**OK * Comprime la cartella dir nel file fileCompressed, se recursive e true allora * comprime anche le sotto cartelle. I nomi dei file preceduti dal path creato * togliendo il pat della cartella origDir al path della cartella dir. * Se la funzione fallisce restituisce false e cancella il file che si e tentato * di creare. * * La funzione fallisce se: * * zip==NULL; * * l'oggetto zip e stato aperto in una modalita non compatibile con l'aggiunta di file; * * la cartella dir non esiste; * * la compressione di una sotto cartella fallisce (1); * * la compressione di un file fallisce; * (1) La funzione si richiama in maniera ricorsiva per comprimere le sotto cartelle * dunque gli errori di compressione di una sotto cartella sono gli stessi di questa * funzione. */ bool JlCompress::compressSubDir(QuaZip* zip, QString dir, QString origDir, bool recursive) { // zip: oggetto dove aggiungere il file // dir: cartella reale corrente // origDir: cartella reale originale // (path(dir)-path(origDir)) = path interno all'oggetto zip // Controllo l'apertura dello zip if (!zip) return false; if (zip->getMode()!=QuaZip::mdCreate && zip->getMode()!=QuaZip::mdAppend && zip->getMode()!=QuaZip::mdAdd) return false; // Controllo la cartella QDir directory(dir); if (!directory.exists()) return false; QDir origDirectory(origDir); if (dir != origDir) { QuaZipFile dirZipFile(zip); if (!dirZipFile.open(QIODevice::WriteOnly, QuaZipNewInfo(origDirectory.relativeFilePath(dir) + "/", dir), 0, 0, 0)) { return false; } dirZipFile.close(); } // Se comprimo anche le sotto cartelle if (recursive) { // Per ogni sotto cartella QFileInfoList files = directory.entryInfoList(QDir::AllDirs|QDir::NoDotAndDotDot); Q_FOREACH (QFileInfo file, files) { // Comprimo la sotto cartella if(!compressSubDir(zip,file.absoluteFilePath(),origDir,recursive)) return false; } } // Per ogni file nella cartella QFileInfoList files = directory.entryInfoList(QDir::Files); Q_FOREACH (QFileInfo file, files) { // Se non e un file o e il file compresso che sto creando if(!file.isFile()||file.absoluteFilePath()==zip->getZipName()) continue; // Creo il nome relativo da usare all'interno del file compresso QString filename = origDirectory.relativeFilePath(file.absoluteFilePath()); // Comprimo il file if (!compressFile(zip,file.absoluteFilePath(),filename)) return false; } return true; } /**OK * Estrae il file fileName, contenuto nell'oggetto zip, con il nome fileDest. * Se la funzione fallisce restituisce false e cancella il file che si e tentato di estrarre. * * La funzione fallisce se: * * zip==NULL; * * l'oggetto zip e stato aperto in una modalita non compatibile con l'estrazione di file; * * non e possibile aprire il file all'interno dell'oggetto zip; * * non e possibile creare il file estratto; * * si e rilevato un errore nella copia dei dati (1); * * non e stato possibile chiudere il file all'interno dell'oggetto zip (1); * * (1): prima di uscire dalla funzione cancella il file estratto. */ bool JlCompress::extractFile(QuaZip* zip, QString fileName, QString fileDest) { // zip: oggetto dove aggiungere il file // filename: nome del file reale // fileincompress: nome del file all'interno del file compresso // Controllo l'apertura dello zip if (!zip) return false; if (zip->getMode()!=QuaZip::mdUnzip) return false; // Apro il file compresso if (!fileName.isEmpty()) zip->setCurrentFile(fileName); QuaZipFile inFile(zip); if(!inFile.open(QIODevice::ReadOnly) || inFile.getZipError()!=UNZ_OK) return false; // Controllo esistenza cartella file risultato QDir curDir; if (fileDest.endsWith('/')) { if (!curDir.mkpath(fileDest)) { return false; } } else { if (!curDir.mkpath(QFileInfo(fileDest).absolutePath())) { return false; } } QuaZipFileInfo64 info; if (!zip->getCurrentFileInfo(&info)) return false; QFile::Permissions srcPerm = info.getPermissions(); if (fileDest.endsWith('/') && QFileInfo(fileDest).isDir()) { if (srcPerm != 0) { QFile(fileDest).setPermissions(srcPerm); } return true; } // Apro il file risultato QFile outFile; outFile.setFileName(fileDest); if(!outFile.open(QIODevice::WriteOnly)) return false; // Copio i dati if (!copyData(inFile, outFile) || inFile.getZipError()!=UNZ_OK) { outFile.close(); removeFile(QStringList(fileDest)); return false; } outFile.close(); // Chiudo i file inFile.close(); if (inFile.getZipError()!=UNZ_OK) { removeFile(QStringList(fileDest)); return false; } if (srcPerm != 0) { outFile.setPermissions(srcPerm); } return true; } /** * Rimuove i file il cui nome e specificato all'interno di listFile. * Restituisce true se tutti i file sono stati cancellati correttamente, attenzione * perche puo restituire false anche se alcuni file non esistevano e si e tentato * di cancellarli. */ bool JlCompress::removeFile(QStringList listFile) { bool ret = true; // Per ogni file for (int i=0; iopen(QuaZip::mdUnzip)) { delete zip; return QStringList(); } // Estraggo i nomi dei file QStringList lst; QuaZipFileInfo64 info; for(bool more=zip->goToFirstFile(); more; more=zip->goToNextFile()) { if(!zip->getCurrentFileInfo(&info)) { delete zip; return QStringList(); } lst << info.name; //info.name.toLocal8Bit().constData() } // Chiudo il file zip zip->close(); if(zip->getZipError()!=0) { delete zip; return QStringList(); } delete zip; return lst; } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/JlCompress.h000066400000000000000000000121701255273444100231070ustar00rootroot00000000000000#ifndef JLCOMPRESSFOLDER_H_ #define JLCOMPRESSFOLDER_H_ /* Copyright (C) 2010 Roberto Pompermaier Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include "quazip.h" #include "quazipfile.h" #include "quazipfileinfo.h" #include #include #include #include /// Utility class for typical operations. /** This class contains a number of useful static functions to perform simple operations, such as mass ZIP packing or extraction. */ class QUAZIP_EXPORT JlCompress { private: /// Compress a single file. /** \param zip Opened zip to compress the file to. \param fileName The full path to the source file. \param fileDest The full name of the file inside the archive. \return true if success, false otherwise. */ static bool compressFile(QuaZip* zip, QString fileName, QString fileDest); /// Compress a subdirectory. /** \param parentZip Opened zip containing the parent directory. \param dir The full path to the directory to pack. \param parentDir The full path to the directory corresponding to the root of the ZIP. \param recursive Whether to pack sub-directories as well or only files. \return true if success, false otherwise. */ static bool compressSubDir(QuaZip* parentZip, QString dir, QString parentDir, bool recursive = true); /// Extract a single file. /** \param zip The opened zip archive to extract from. \param fileName The full name of the file to extract. \param fileDest The full path to the destination file. \return true if success, false otherwise. */ static bool extractFile(QuaZip* zip, QString fileName, QString fileDest); /// Remove some files. /** \param listFile The list of files to remove. \return true if success, false otherwise. */ static bool removeFile(QStringList listFile); public: /// Compress a single file. /** \param fileCompressed The name of the archive. \param file The file to compress. \return true if success, false otherwise. */ static bool compressFile(QString fileCompressed, QString file); /// Compress a list of files. /** \param fileCompressed The name of the archive. \param files The file list to compress. \return true if success, false otherwise. */ static bool compressFiles(QString fileCompressed, QStringList files); /// Compress a whole directory. /** \param fileCompressed The name of the archive. \param dir The directory to compress. \param recursive Whether to pack the subdirectories as well, or just regular files. \return true if success, false otherwise. */ static bool compressDir(QString fileCompressed, QString dir = QString(), bool recursive = true); public: /// Extract a single file. /** \param fileCompressed The name of the archive. \param fileName The file to extract. \param fileDest The destination file, assumed to be identical to \a file if left empty. \return The list of the full paths of the files extracted, empty on failure. */ static QString extractFile(QString fileCompressed, QString fileName, QString fileDest = QString()); /// Extract a list of files. /** \param fileCompressed The name of the archive. \param files The file list to extract. \param dir The directory to put the files to, the current directory if left empty. \return The list of the full paths of the files extracted, empty on failure. */ static QStringList extractFiles(QString fileCompressed, QStringList files, QString dir = QString()); /// Extract a whole archive. /** \param fileCompressed The name of the archive. \param dir The directory to extract to, the current directory if left empty. \return The list of the full paths of the files extracted, empty on failure. */ static QStringList extractDir(QString fileCompressed, QString dir = QString()); /// Get the file list. /** \return The list of the files in the archive, or, more precisely, the list of the entries, including both files and directories if they are present separately. */ static QStringList getFileList(QString fileCompressed); }; #endif /* JLCOMPRESSFOLDER_H_ */ merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/crypt.h000066400000000000000000000113101255273444100221620ustar00rootroot00000000000000/* crypt.h -- base code for crypt/uncrypt ZIPfile Version 1.01e, February 12th, 2005 Copyright (C) 1998-2005 Gilles Vollant This code is a modified version of crypting code in Infozip distribution The encryption/decryption parts of this source code (as opposed to the non-echoing password parts) were originally written in Europe. The whole source package can be freely distributed, including from the USA. (Prior to January 2000, re-export from the US was a violation of US law.) This encryption code is a direct transcription of the algorithm from Roger Schlafly, described by Phil Katz in the file appnote.txt. This file (appnote.txt) is distributed with the PKZIP program (even in the version without encryption capabilities). If you don't need crypting in your application, just define symbols NOCRYPT and NOUNCRYPT. This code support the "Traditional PKWARE Encryption". The new AES encryption added on Zip format by Winzip (see the page http://www.winzip.com/aes_info.htm ) and PKWare PKZip 5.x Strong Encryption is not supported. */ #include "quazip_global.h" #define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8)) /*********************************************************************** * Return the next byte in the pseudo-random sequence */ static int decrypt_byte(unsigned long* pkeys, const z_crc_t FAR * pcrc_32_tab UNUSED) { //(void) pcrc_32_tab; /* avoid "unused parameter" warning */ unsigned temp; /* POTENTIAL BUG: temp*(temp^1) may overflow in an * unpredictable manner on 16-bit systems; not a problem * with any known compiler so far, though */ temp = ((unsigned)(*(pkeys+2)) & 0xffff) | 2; return (int)(((temp * (temp ^ 1)) >> 8) & 0xff); } /*********************************************************************** * Update the encryption keys with the next byte of plain text */ static int update_keys(unsigned long* pkeys,const z_crc_t FAR * pcrc_32_tab,int c) { (*(pkeys+0)) = CRC32((*(pkeys+0)), c); (*(pkeys+1)) += (*(pkeys+0)) & 0xff; (*(pkeys+1)) = (*(pkeys+1)) * 134775813L + 1; { register int keyshift = (int)((*(pkeys+1)) >> 24); (*(pkeys+2)) = CRC32((*(pkeys+2)), keyshift); } return c; } /*********************************************************************** * Initialize the encryption keys and the random header according to * the given password. */ static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t FAR * pcrc_32_tab) { *(pkeys+0) = 305419896L; *(pkeys+1) = 591751049L; *(pkeys+2) = 878082192L; while (*passwd != '\0') { update_keys(pkeys,pcrc_32_tab,(int)*passwd); passwd++; } } #define zdecode(pkeys,pcrc_32_tab,c) \ (update_keys(pkeys,pcrc_32_tab,c ^= decrypt_byte(pkeys,pcrc_32_tab))) #define zencode(pkeys,pcrc_32_tab,c,t) \ (t=decrypt_byte(pkeys,pcrc_32_tab), update_keys(pkeys,pcrc_32_tab,c), t^(c)) #ifdef INCLUDECRYPTINGCODE_IFCRYPTALLOWED #define RAND_HEAD_LEN 12 /* "last resort" source for second part of crypt seed pattern */ # ifndef ZCR_SEED2 # define ZCR_SEED2 3141592654UL /* use PI as default pattern */ # endif static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting) const char *passwd; /* password string */ unsigned char *buf; /* where to write header */ int bufSize; unsigned long* pkeys; const z_crc_t FAR * pcrc_32_tab; unsigned long crcForCrypting; { int n; /* index in random header */ int t; /* temporary */ int c; /* random byte */ unsigned char header[RAND_HEAD_LEN-2]; /* random header */ static unsigned calls = 0; /* ensure different random header each time */ if (bufSize> 7) & 0xff; header[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, c, t); } /* Encrypt random header (last two bytes is high word of crc) */ init_keys(passwd, pkeys, pcrc_32_tab); for (n = 0; n < RAND_HEAD_LEN-2; n++) { buf[n] = (unsigned char)zencode(pkeys, pcrc_32_tab, header[n], t); } buf[n++] = zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 16) & 0xff, t); buf[n++] = zencode(pkeys, pcrc_32_tab, (int)(crcForCrypting >> 24) & 0xff, t); return n; } #endif merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/debian/000077500000000000000000000000001255273444100220765ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/debian/libquazip0.symbols000066400000000000000000000145121255273444100255730ustar00rootroot00000000000000libquazip.so.0 libquazip0 #MINVER# _Z24qiodevice_open_file_funcPvS_i@Base 0.4.4 _Z24qiodevice_read_file_funcPvS_S_m@Base 0.4.4 _Z24qiodevice_seek_file_funcPvS_mi@Base 0.4.4 _Z24qiodevice_tell_file_funcPvS_@Base 0.4.4 _Z25qiodevice_close_file_funcPvS_@Base 0.4.4 _Z25qiodevice_error_file_funcPvS_@Base 0.4.4 _Z25qiodevice_write_file_funcPvS_PKvm@Base 0.4.4 _ZN10JlCompress10extractDirE7QStringS0_@Base 0.4.4 _ZN10JlCompress11compressDirE7QStringS0_b@Base 0.4.4 _ZN10JlCompress11extractFileE7QStringS0_S0_@Base 0.4.4 _ZN10JlCompress11getFileListE7QString@Base 0.4.4 _ZN10JlCompress12compressFileE7QStringS0_@Base 0.4.4 _ZN10JlCompress12extractFilesE7QString11QStringListS0_@Base 0.4.4 _ZN10JlCompress13compressFilesE7QString11QStringList@Base 0.4.4 _ZN10QuaAdler325resetEv@Base 0.4.4 _ZN10QuaAdler325valueEv@Base 0.4.4 _ZN10QuaAdler326updateERK10QByteArray@Base 0.4.4 _ZN10QuaAdler329calculateERK10QByteArray@Base 0.4.4 _ZN10QuaAdler32C1Ev@Base 0.4.4 _ZN10QuaAdler32C2Ev@Base 0.4.4 _ZN10QuaZipFile10setZipNameERK7QString@Base 0.4.4 _ZN10QuaZipFile11getFileInfoEP14QuaZipFileInfo@Base 0.4.4 _ZN10QuaZipFile11setFileNameERK7QStringN6QuaZip15CaseSensitivityE@Base 0.4.4 _ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEE@Base 0.4.4 _ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEEPiS4_bPKc@Base 0.4.4 _ZN10QuaZipFile4openE6QFlagsIN9QIODevice12OpenModeFlagEERK13QuaZipNewInfoPKcjiibiii@Base 0.4.4 _ZN10QuaZipFile5closeEv@Base 0.4.4 _ZN10QuaZipFile6setZipEP6QuaZip@Base 0.4.4 _ZN10QuaZipFile8readDataEPcx@Base 0.4.4 _ZN10QuaZipFile9writeDataEPKcx@Base 0.4.4 _ZN10QuaZipFileC1EP6QuaZipP7QObject@Base 0.4.4 _ZN10QuaZipFileC1EP7QObject@Base 0.4.4 _ZN10QuaZipFileC1ERK7QStringP7QObject@Base 0.4.4 _ZN10QuaZipFileC1ERK7QStringS2_N6QuaZip15CaseSensitivityEP7QObject@Base 0.4.4 _ZN10QuaZipFileC1Ev@Base 0.4.4 _ZN10QuaZipFileC2EP6QuaZipP7QObject@Base 0.4.4 _ZN10QuaZipFileC2EP7QObject@Base 0.4.4 _ZN10QuaZipFileC2ERK7QStringP7QObject@Base 0.4.4 _ZN10QuaZipFileC2ERK7QStringS2_N6QuaZip15CaseSensitivityEP7QObject@Base 0.4.4 _ZN10QuaZipFileC2Ev@Base 0.4.4 _ZN10QuaZipFileD0Ev@Base 0.4.4 _ZN10QuaZipFileD1Ev@Base 0.4.4 _ZN10QuaZipFileD2Ev@Base 0.4.4 _ZN13QuaZipNewInfo15setFileDateTimeERK7QString@Base 0.4.4 _ZN13QuaZipNewInfoC1ERK7QString@Base 0.4.4 _ZN13QuaZipNewInfoC1ERK7QStringS2_@Base 0.4.4 _ZN13QuaZipNewInfoC2ERK7QString@Base 0.4.4 _ZN13QuaZipNewInfoC2ERK7QStringS2_@Base 0.4.4 _ZN13QuaZipNewInfoD1Ev@Base 0.4.4 _ZN13QuaZipNewInfoD2Ev@Base 0.4.4 _ZN14QuaZipFileInfoD1Ev@Base 0.4.4 _ZN14QuaZipFileInfoD2Ev@Base 0.4.4 _ZN6QuaZip10getUnzFileEv@Base 0.4.4 _ZN6QuaZip10getZipFileEv@Base 0.4.4 _ZN6QuaZip10setCommentERK7QString@Base 0.4.4 _ZN6QuaZip10setZipNameERK7QString@Base 0.4.4 _ZN6QuaZip11setIoDeviceEP9QIODevice@Base 0.4.4 _ZN6QuaZip12goToNextFileEv@Base 0.4.4 _ZN6QuaZip13goToFirstFileEv@Base 0.4.4 _ZN6QuaZip14setCurrentFileERK7QStringNS_15CaseSensitivityE@Base 0.4.4 _ZN6QuaZip15setCommentCodecEP10QTextCodec@Base 0.4.4 _ZN6QuaZip15setCommentCodecEPKc@Base 0.4.4 _ZN6QuaZip16setFileNameCodecEP10QTextCodec@Base 0.4.4 _ZN6QuaZip16setFileNameCodecEPKc@Base 0.4.4 _ZN6QuaZip31setDataDescriptorWritingEnabledEb@Base 0.4.4 _ZN6QuaZip4openENS_4ModeEP19zlib_filefunc_def_s@Base 0.4.4 _ZN6QuaZip5closeEv@Base 0.4.4 _ZN6QuaZipC1EP9QIODevice@Base 0.4.4 _ZN6QuaZipC1ERK7QString@Base 0.4.4 _ZN6QuaZipC1Ev@Base 0.4.4 _ZN6QuaZipC2EP9QIODevice@Base 0.4.4 _ZN6QuaZipC2ERK7QString@Base 0.4.4 _ZN6QuaZipC2Ev@Base 0.4.4 _ZN6QuaZipD1Ev@Base 0.4.4 _ZN6QuaZipD2Ev@Base 0.4.4 _ZN7QStringD1Ev@Base 0.4.4 _ZN7QStringD2Ev@Base 0.4.4 _ZN8QuaCrc325resetEv@Base 0.4.4 _ZN8QuaCrc325valueEv@Base 0.4.4 _ZN8QuaCrc326updateERK10QByteArray@Base 0.4.4 _ZN8QuaCrc329calculateERK10QByteArray@Base 0.4.4 _ZN8QuaCrc32C1Ev@Base 0.4.4 _ZN8QuaCrc32C2Ev@Base 0.4.4 _ZNK10QuaZipFile10getZipNameEv@Base 0.4.4 _ZNK10QuaZipFile10metaObjectEv@Base 0.4.4 _ZNK10QuaZipFile11getFileNameEv@Base 0.4.4 _ZNK10QuaZipFile11getZipErrorEv@Base 0.4.4 _ZNK10QuaZipFile12isSequentialEv@Base 0.4.4 _ZNK10QuaZipFile14bytesAvailableEv@Base 0.4.4 _ZNK10QuaZipFile17getActualFileNameEv@Base 0.4.4 _ZNK10QuaZipFile18getCaseSensitivityEv@Base 0.4.4 _ZNK10QuaZipFile3posEv@Base 0.4.4 _ZNK10QuaZipFile4sizeEv@Base 0.4.4 _ZNK10QuaZipFile5atEndEv@Base 0.4.4 _ZNK10QuaZipFile5csizeEv@Base 0.4.4 _ZNK10QuaZipFile5isRawEv@Base 0.4.4 _ZNK10QuaZipFile5usizeEv@Base 0.4.4 _ZNK10QuaZipFile6getZipEv@Base 0.4.4 _ZNK6QuaZip10getCommentEv@Base 0.4.4 _ZNK6QuaZip10getZipNameEv@Base 0.4.4 _ZNK6QuaZip11getIoDeviceEv@Base 0.4.4 _ZNK6QuaZip11getZipErrorEv@Base 0.4.4 _ZNK6QuaZip14hasCurrentFileEv@Base 0.4.4 _ZNK6QuaZip15getCommentCodecEv@Base 0.4.4 _ZNK6QuaZip15getEntriesCountEv@Base 0.4.4 _ZNK6QuaZip15getFileInfoListEv@Base 0.4.4 _ZNK6QuaZip15getFileNameListEv@Base 0.4.4 _ZNK6QuaZip16getFileNameCodecEv@Base 0.4.4 _ZNK6QuaZip18getCurrentFileInfoEP14QuaZipFileInfo@Base 0.4.4 _ZNK6QuaZip18getCurrentFileNameEv@Base 0.4.4 _ZNK6QuaZip30isDataDescriptorWritingEnabledEv@Base 0.4.4 _ZNK6QuaZip6isOpenEv@Base 0.4.4 _ZNK6QuaZip7getModeEv@Base 0.4.4 _ZTI10QuaAdler32@Base 0.4.4 _ZTI10QuaZipFile@Base 0.4.4 _ZTI13QuaChecksum32@Base 0.4.4 _ZTI8QuaCrc32@Base 0.4.4 _ZTS10QuaAdler32@Base 0.4.4 _ZTS10QuaZipFile@Base 0.4.4 _ZTS13QuaChecksum32@Base 0.4.4 _ZTS8QuaCrc32@Base 0.4.4 _ZTV10QuaAdler32@Base 0.4.4 _ZTV10QuaZipFile@Base 0.4.4 _ZTV13QuaChecksum32@Base 0.4.4 _ZTV8QuaCrc32@Base 0.4.4 fill_qiodevice_filefunc@Base 0.4.4 unzClose@Base 0.4.4 unzCloseCurrentFile@Base 0.4.4 unzGetCurrentFileInfo@Base 0.4.4 unzGetFilePos@Base 0.4.4 unzGetGlobalComment@Base 0.4.4 unzGetGlobalInfo@Base 0.4.4 unzGetLocalExtrafield@Base 0.4.4 unzGetOffset@Base 0.4.4 unzGoToFilePos@Base 0.4.4 unzGoToFirstFile@Base 0.4.4 unzGoToNextFile@Base 0.4.4 unzLocateFile@Base 0.4.4 unzOpen2@Base 0.4.4 unzOpen@Base 0.4.4 unzOpenCurrentFile2@Base 0.4.4 unzOpenCurrentFile3@Base 0.4.4 unzOpenCurrentFile@Base 0.4.4 unzOpenCurrentFilePassword@Base 0.4.4 unzReadCurrentFile@Base 0.4.4 unzSetOffset@Base 0.4.4 unzStringFileNameCompare@Base 0.4.4 unz_copyright@Base 0.4.4 unzeof@Base 0.4.4 unztell@Base 0.4.4 zipClearFlags@Base 0.4.4 zipClose@Base 0.4.4 zipCloseFileInZip@Base 0.4.4 zipCloseFileInZipRaw@Base 0.4.4 zipOpen2@Base 0.4.4 zipOpen@Base 0.4.4 zipOpenNewFileInZip2@Base 0.4.4 zipOpenNewFileInZip3@Base 0.4.4 zipOpenNewFileInZip@Base 0.4.4 zipSetFlags@Base 0.4.4 zipWriteInFileInZip@Base 0.4.4 zip_copyright@Base 0.4.4 merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/doc/000077500000000000000000000000001255273444100214215ustar00rootroot00000000000000merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/doc/faq.dox000066400000000000000000000042251255273444100227070ustar00rootroot00000000000000/** * \page faq QuaZip FAQ * * * * \anchor faq-non-QIODevice Q. Is there any way to use QuaZipFile in Qt * where you are supposed to use normal (non-zipped) file, but not * through QIODevice API? * * A. Usually not. For example, if you are passing file name to some * database driver (like SQLite), Qt usually just passes this name down * to the 3rd-party library, which is usually does not know anything * about QIODevice and therefore there is no way to pass QuaZipFile as * normal file. However, if we are talking about some place where you * pass file name, and then indirectly use QFile to open it, then it is * a good idea to make overloaded method, which accepts a QIODevice * pointer. Then you would be able to pass QuaZipFile as well as many * other nice things such as QBuffer or QProcess. * * \anchor faq-zip64 Q. Can QuaZIP handle files larger than 4GB? What * about zip64 standard? * * A. Starting with version 0.6, QuaZIP uses Minizip 1.1 with zip64 * support which should handle large files perfectly. The zip64 support * in Minizip looks like it's not 100% conforming to the standard, but * 3rd party tools seem to have no problem with the resulting archives. * * \anchor faq-seekable Q. Can QuaZIP write archives to a sequential QIODevice like QTcpSocket? * * A. Not yet. It is not supported by vanilla Minizip (the back-end * QuaZIP uses), although theoretically possible according to the ZIP * standard. It would require some Minizip modifications that would * allow it to detect non-seekable I/O and produce necessary output * structures. QuaZIP already writes data descriptor which is necessary * for non-seekable I/O. The only thing that is apparently left is to * make Minizip fill local headers with correct values and forget about * seeking after closing the file. **/ merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/doc/index.dox000066400000000000000000000157261255273444100232570ustar00rootroot00000000000000/** * \mainpage QuaZIP - Qt/C++ wrapper for ZIP/UNZIP package * \htmlonly Powered by SourceForge.net \endhtmlonly * \section overview Overview * * QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP * package that can be used to access ZIP archives. It uses the Qt toolkit. * * If you do not know what Qt is, you have two options: * - Just forget about QuaZIP. * - Learn more about Qt by downloading it and/or reading the excellent official Qt documentation * * The choice is yours, but if you are really interested in * cross-platform (Windows/Linux/BSD/UNIX/Mac/Others) software * development, I would definitely recommend you the latter ^_^ * * QuaZIP allows you to access files inside ZIP archives using QIODevice * API, and - yes! - that means that you can also use QTextStream, * QDataStream or whatever you would like to use on your zipped files. * * QuaZIP provides complete abstraction of the ZIP/UNZIP API, for both * reading from and writing to ZIP archives. * * \section download Download QuaZIP * * Downloads are available from QuaZIP project's page * at SourceForge.net. * * \section platforms Platforms supported * * QuaZIP has been currently tested on the following platforms: * - linux-g++ (Ubuntu 11.10, Qt 4.7.4) * - freebsd-g++ (Qt 4.0.0 * - hpux-acc (HP-UX 11.11) * - hpux-g++ (HP-UX 11.11) * - win32-g++ (MinGW) * - win32-msvc2010 (MS VS 2010 Express, Qt 4.8.4) * - win32-msvc2010 (Qt Creator, Qt 5.0.1) * - win32-msvc2012 (Qt Creator, Qt 5.2.0) * - some Symbian version, reportedly * * No testing has been officially done on other systems. Of course, patches to * make it work on any platform that it currently does not work on are * always welcome! * * \section whats-new What is new in this version of QuaZIP? * * See the NEWS.txt file supplied with the distribution. * * \section Requirements * * Just zlib and Qt 4/5. Well, Qt 4 * depends on zlib anyway, but you will need zlib headers to compile * QuaZIP. With Qt5 sometimes you need the zlib library as well (on * Windows, for example). * * \section building Building, testing and installing * * \note Instructions given in this section assume that you are * using some UNIX dialect, but the build process should be very similar * on win32-g++ platform too. On other platforms it's essentially the * same process, maybe with some qmake adjustments not specific to * QuaZIP itself. * * To build the library, run: \verbatim $ cd /wherever/quazip/source/is/quazip-x.y.z/quazip $ qmake [PREFIX=where-to-install] $ make \endverbatim * * Make sure that you have Qt 4/5 installed with all required headers and * utilities (that is, including the 'dev' or 'devel' package on Linux) * and that you run qmake utility of the Qt 4, not some other version * you may have already installed (you may need to type full path to * qmake like /usr/local/qt4/bin/qmake). * * To reconfigure (with another PREFIX, for example), just run qmake * with appropriate arguments again. * * If you need to specify additional include path or libraries, use * qmake features (see qmake reference in the Qt documentation). For * example: * \verbatim $ qmake LIBS+=-L/usr/local/zlib/lib INCLUDEPATH+=/usr/local/zlib/include \endverbatim * (note abscence of "-I" before the include path and the presence of "-L" * before the lib path) * * Also note that you may or may not need to define ZLIB_WINAPI (qmake * DEFINES+=ZLIB_WINAPI) when linking to zlib on Windows, depending on * how zlib was built (generally, if using zlibwapi.dll, this define is * needed). * * To install compiled library: \verbatim $ make install \endverbatim * * By default, QuaZIP compiles as a DLL/SO, but you have other * options: * - Just copy appropriate source files to your project and use them, * but you need to define QUAZIP_STATIC before including any QuaZIP * headers (best done as a compiler option). This will save you from * possible side effects of importing/exporting QuaZIP symbols. * - Compile it as a static library using CONFIG += staticlib qmake * option. QUAZIP_STATIC is defined automatically by qmake in this case. * * Binary compatibility is guaranteed between minor releases starting * with version 0.5, thanks to the Pimpl idiom. That is, the next binary * incompatible version will be 1.x. * * \section test Testing * * To check if QuaZIP's basic features work OK on your platform, you may * wish to compile the test suite provided in test directory: \verbatim $ cd /wherever/quazip/source/is/quazip-x.y.z/qztest $ qmake $ make $ ./qztest \endverbatim * * Note that the test suite looks for the quazip library in the "quazip" * folder of the project ("../quazip"), but you may wish to use LIBS * for some systems (Windows often puts the library in the separate * "debug" or "release" directory). If you wish to use the quazip * version that's already installed, provide the appropriate path. * * On some systems you may need to set PATH, LD_LIBRARY_PATH or * SHLIB_PATH to get "qztest" to actually run. * * If everything went fine, the test suite should report a lot of PASS * messages. If something goes wrong, it will provide details and a * warning that some tests failed. * * \section using Using * * See \ref usage "usage page". * * \section contacts Authors and contacts * * This wrapper has been written by Sergey A. Tachenov, AKA Alqualos. * This is my first open source project, so it may suck, but I did not * find anything like that, so I just had no other choice but to write * it. * * If you have anything to say to me about QuaZIP library, feel free to * do so (read the \ref faq first, though). I can not promise, * though, that I fix all the bugs you report in, add any features you * want, or respond to your critics, or respond to your feedback at all. * I may be busy, I may be tired of working on QuaZIP, I may be even * dead already (you never know...). * * To report bugs or to post ideas about what should be done, use * SourceForge.net's trackers. * If you want to send me a private message, use my e-mail address * stachenov@gmail.com. * * Do not use e-mail to report bugs, please. Reporting bugs and problems * with the SourceForge.net's bug report system has that advantage that * it is visible to public, and I can always search for open tickets * that were created long ago. It is highly unlikely that I will search * my mail for that kind of stuff, so if a bug reported by mail isn't * fixed immediately, it will likely be forgotten forever. * * Copyright (C) 2005-2014 Sergey A. Tachenov and contributors **/ merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/doc/usage.dox000066400000000000000000000077271255273444100232560ustar00rootroot00000000000000/** \page usage Usage * * This page provides general information on QuaZIP usage. See classes * QuaZip and QuaZipFile for the detailed documentation on what can * QuaZIP do and what it can not. Also, reading comments in the zip.h and * unzip.h files (taken from the original ZIP/UNZIP package) is always a * good idea too. After all, QuaZIP is just a wrapper with a few * convenience extensions and reimplementations. * * QuaZip is a class representing ZIP archive, QuaZipFile represents a * file inside archive and subclasses QIODevice as well. One limitation * is that there can be only one instance of QuaZipFile per QuaZip * instance, which kind of makes it confusing why there are two classes * instead of one. This is actually no more than an API design mistake. * * \section terminology Terminology * * "QuaZIP" means whole this library, while "QuaZip" (note the * lower case) is just one class in it. * * "ZIP/UNZIP API" or "minizip" means the original API of the Gilles * Vollant's ZIP/UNZIP package. It was slightly modified to better * integrate with Qt. These modifications are not source or binary * compatible with the official minizip release, which means you can't * just drop the newer minizip version into QuaZIP sources and make it * work. * * "ZIP", "ZIP archive" or "ZIP file" means any ZIP archive. Typically * this is a plain file with ".zip" (or ".ZIP") file name suffix, but it * can also be any seekable QIODevice (say, QBuffer, but not * QTcpSocket). * * "A file inside archive", "a file inside ZIP" or something like that * means file either being read or written from/to some ZIP archive. * * \section error-handling Error handling * * Almost any call to ZIP/UNZIP API return some error code. Most of the * original API's error checking could be done in this wrapper as well, * but it would cause unnecessary code bloating without any benefit. So, * QuaZIP only checks for situations that ZIP/UNZIP API can not check * for. For example, ZIP/UNZIP API has no "ZIP open mode" concept * because read and write modes are completely separated. On the other * hand, to avoid creating classes like "QuaZipReader", "QuaZipWriter" * or something like that, QuaZIP introduces "ZIP open mode" concept * instead, thus making it possible to use one class (QuaZip) for both * reading and writing. But this leads to additional open mode checks * which are not done in ZIP/UNZIP package. * * Therefore, error checking is two-level (QuaZIP's level and ZIP/UNZIP * API level), which sometimes can be confusing, so here are some * advices on how the error checking should be properly done: * * - Both QuaZip and QuaZipFile have getZipError() function, which return * error code of the last ZIP/UNZIP API call. Most function calls * reset error code to UNZ_OK on success and set error code on * failure. Some functions do not reset error code. Most of them are * \c const and do not access ZIP archive in any way. Some, on the * other hand, \em do access ZIP archive, but do not reset or set * error code. For example, QuaZipFile::pos() function. Such functions * are explicitly marked in the documentation. * - Most functions have their own way to report errors, by returning a * null string, negative value or \c false. If such a function returns * error value, call getZipError() to get more information about * error. See "zip.h" and "unzip.h" of the ZIP/UNZIP package for error * codes. * - If the function returns error-stating value (like \c false), but * getZipError() returns UNZ_OK, it means that you did something * obviously wrong. For example, tried to write in the archive open * for reading or not open at all. You better just not do that! * Most functions also issue a warning using qWarning() function in * such cases. See documentation for a specific function for details * on when it should not be called. * * I know that this is somewhat messy, but I could not find a better way * to do all the error handling. **/ merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/ioapi.h000066400000000000000000000157401255273444100221350ustar00rootroot00000000000000/* ioapi.h -- IO base function header for compress/uncompress .zip part of the MiniZip project - ( http://www.winimage.com/zLibDll/minizip.html ) Copyright (C) 1998-2010 Gilles Vollant (minizip) ( http://www.winimage.com/zLibDll/minizip.html ) Modifications for Zip64 support Copyright (C) 2009-2010 Mathias Svensson ( http://result42.com ) Modified by Sergey A. Tachenov to allow QIODevice API usage. For more info read MiniZip_info.txt Changes Oct-2009 - Defined ZPOS64_T to fpos_t on windows and u_int64_t on linux. (might need to find a better why for this) Oct-2009 - Change to fseeko64, ftello64 and fopen64 so large files would work on linux. More if/def section may be needed to support other platforms Oct-2009 - Defined fxxxx64 calls to normal fopen/ftell/fseek so they would compile on windows. (but you should use iowin32.c for windows instead) */ #ifndef _ZLIBIOAPI64_H #define _ZLIBIOAPI64_H #if (!defined(_WIN32)) && (!defined(WIN32)) // Linux needs this to support file operation on files larger then 4+GB // But might need better if/def to select just the platforms that needs them. #ifndef __USE_FILE_OFFSET64 #define __USE_FILE_OFFSET64 #endif #ifndef __USE_LARGEFILE64 #define __USE_LARGEFILE64 #endif #ifndef _LARGEFILE64_SOURCE #define _LARGEFILE64_SOURCE #endif #ifndef _FILE_OFFSET_BIT #define _FILE_OFFSET_BIT 64 #endif #endif #include #include #include "zlib.h" #if defined(USE_FILE32API) #define fopen64 fopen #define ftello64 ftell #define fseeko64 fseek #else #ifdef _MSC_VER #define fopen64 fopen #if (_MSC_VER >= 1400) && (!(defined(NO_MSCVER_FILE64_FUNC))) #define ftello64 _ftelli64 #define fseeko64 _fseeki64 #else // old MSC #define ftello64 ftell #define fseeko64 fseek #endif #endif #endif /* #ifndef ZPOS64_T #ifdef _WIN32 #define ZPOS64_T fpos_t #else #include #define ZPOS64_T uint64_t #endif #endif */ #ifdef HAVE_MINIZIP64_CONF_H #include "mz64conf.h" #endif /* a type choosen by DEFINE */ #ifdef HAVE_64BIT_INT_CUSTOM typedef 64BIT_INT_CUSTOM_TYPE ZPOS64_T; #else #ifdef HAS_STDINT_H #include "stdint.h" typedef uint64_t ZPOS64_T; #else #if defined(_MSC_VER) || defined(__BORLANDC__) typedef unsigned __int64 ZPOS64_T; #else typedef unsigned long long int ZPOS64_T; #endif #endif #endif #ifdef __cplusplus extern "C" { #endif #ifndef OF #define OF _Z_OF #endif #define ZLIB_FILEFUNC_SEEK_CUR (1) #define ZLIB_FILEFUNC_SEEK_END (2) #define ZLIB_FILEFUNC_SEEK_SET (0) #define ZLIB_FILEFUNC_MODE_READ (1) #define ZLIB_FILEFUNC_MODE_WRITE (2) #define ZLIB_FILEFUNC_MODE_READWRITEFILTER (3) #define ZLIB_FILEFUNC_MODE_EXISTING (4) #define ZLIB_FILEFUNC_MODE_CREATE (8) #ifndef ZCALLBACK #if (defined(WIN32) || defined(_WIN32) || defined (WINDOWS) || defined (_WINDOWS)) && defined(CALLBACK) && defined (USEWINDOWS_CALLBACK) #define ZCALLBACK CALLBACK #else #define ZCALLBACK #endif #endif typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, voidpf file, int mode)); typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream)); typedef uLong (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); typedef int (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin)); /* here is the "old" 32 bits structure structure */ typedef struct zlib_filefunc_def_s { open_file_func zopen_file; read_file_func zread_file; write_file_func zwrite_file; tell_file_func ztell_file; seek_file_func zseek_file; close_file_func zclose_file; testerror_file_func zerror_file; voidpf opaque; } zlib_filefunc_def; typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream)); typedef int (ZCALLBACK *seek64_file_func) OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)); typedef voidpf (ZCALLBACK *open64_file_func) OF((voidpf opaque, voidpf file, int mode)); typedef struct zlib_filefunc64_def_s { open64_file_func zopen64_file; read_file_func zread_file; write_file_func zwrite_file; tell64_file_func ztell64_file; seek64_file_func zseek64_file; close_file_func zclose_file; testerror_file_func zerror_file; voidpf opaque; close_file_func zfakeclose_file; // for no-auto-close flag } zlib_filefunc64_def; void fill_qiodevice64_filefunc OF((zlib_filefunc64_def* pzlib_filefunc_def)); void fill_qiodevice_filefunc OF((zlib_filefunc_def* pzlib_filefunc_def)); /* now internal definition, only for zip.c and unzip.h */ typedef struct zlib_filefunc64_32_def_s { zlib_filefunc64_def zfile_func64; open_file_func zopen32_file; tell_file_func ztell32_file; seek_file_func zseek32_file; } zlib_filefunc64_32_def; #define ZREAD64(filefunc,filestream,buf,size) ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) #define ZWRITE64(filefunc,filestream,buf,size) ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size)) //#define ZTELL64(filefunc,filestream) ((*((filefunc).ztell64_file)) ((filefunc).opaque,filestream)) //#define ZSEEK64(filefunc,filestream,pos,mode) ((*((filefunc).zseek64_file)) ((filefunc).opaque,filestream,pos,mode)) #define ZCLOSE64(filefunc,filestream) ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream)) #define ZFAKECLOSE64(filefunc,filestream) ((*((filefunc).zfile_func64.zfakeclose_file)) ((filefunc).zfile_func64.opaque,filestream)) #define ZERROR64(filefunc,filestream) ((*((filefunc).zfile_func64.zerror_file)) ((filefunc).zfile_func64.opaque,filestream)) voidpf call_zopen64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf file,int mode)); int call_zseek64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin)); ZPOS64_T call_ztell64 OF((const zlib_filefunc64_32_def* pfilefunc,voidpf filestream)); void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_filefunc64_32,const zlib_filefunc_def* p_filefunc32); #define ZOPEN64(filefunc,filename,mode) (call_zopen64((&(filefunc)),(filename),(mode))) #define ZTELL64(filefunc,filestream) (call_ztell64((&(filefunc)),(filestream))) #define ZSEEK64(filefunc,filestream,pos,mode) (call_zseek64((&(filefunc)),(filestream),(pos),(mode))) #ifdef __cplusplus } #endif #endif merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/qioapi.cpp000066400000000000000000000255731255273444100226560ustar00rootroot00000000000000/* ioapi.c -- IO base function header for compress/uncompress .zip files using zlib + zip or unzip API Version 1.01e, February 12th, 2005 Copyright (C) 1998-2005 Gilles Vollant Modified by Sergey A. Tachenov to integrate with Qt. */ #include #include #include #include "zlib.h" #include "ioapi.h" #include "quazip_global.h" #include #if (QT_VERSION >= 0x050100) #define QUAZIP_QSAVEFILE_BUG_WORKAROUND #endif #ifdef QUAZIP_QSAVEFILE_BUG_WORKAROUND #include #endif /* I've found an old Unix (a SunOS 4.1.3_U1) without all SEEK_* defined.... */ #ifndef SEEK_CUR #define SEEK_CUR 1 #endif #ifndef SEEK_END #define SEEK_END 2 #endif #ifndef SEEK_SET #define SEEK_SET 0 #endif voidpf call_zopen64 (const zlib_filefunc64_32_def* pfilefunc,voidpf file,int mode) { if (pfilefunc->zfile_func64.zopen64_file != NULL) return (*(pfilefunc->zfile_func64.zopen64_file)) (pfilefunc->zfile_func64.opaque,file,mode); else { return (*(pfilefunc->zopen32_file))(pfilefunc->zfile_func64.opaque,file,mode); } } int call_zseek64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream, ZPOS64_T offset, int origin) { if (pfilefunc->zfile_func64.zseek64_file != NULL) return (*(pfilefunc->zfile_func64.zseek64_file)) (pfilefunc->zfile_func64.opaque,filestream,offset,origin); else { uLong offsetTruncated = (uLong)offset; if (offsetTruncated != offset) return -1; else return (*(pfilefunc->zseek32_file))(pfilefunc->zfile_func64.opaque,filestream,offsetTruncated,origin); } } ZPOS64_T call_ztell64 (const zlib_filefunc64_32_def* pfilefunc,voidpf filestream) { if (pfilefunc->zfile_func64.zseek64_file != NULL) return (*(pfilefunc->zfile_func64.ztell64_file)) (pfilefunc->zfile_func64.opaque,filestream); else { uLong tell_uLong = (*(pfilefunc->ztell32_file))(pfilefunc->zfile_func64.opaque,filestream); if ((tell_uLong) == ((uLong)-1)) return (ZPOS64_T)-1; else return tell_uLong; } } struct QIODevice_descriptor { // Position only used for writing to sequential devices. qint64 pos; inline QIODevice_descriptor(): pos(0) {} }; voidpf ZCALLBACK qiodevice_open_file_func ( voidpf opaque, voidpf file, int mode) { QIODevice_descriptor *d = reinterpret_cast(opaque); QIODevice *iodevice = reinterpret_cast(file); QIODevice::OpenMode desiredMode; if ((mode & ZLIB_FILEFUNC_MODE_READWRITEFILTER)==ZLIB_FILEFUNC_MODE_READ) desiredMode = QIODevice::ReadOnly; else if (mode & ZLIB_FILEFUNC_MODE_EXISTING) desiredMode = QIODevice::ReadWrite; else if (mode & ZLIB_FILEFUNC_MODE_CREATE) desiredMode = QIODevice::WriteOnly; if (iodevice->isOpen()) { if ((iodevice->openMode() & desiredMode) == desiredMode) { if (desiredMode != QIODevice::WriteOnly && iodevice->isSequential()) { // We can use sequential devices only for writing. delete d; return NULL; } else { if ((desiredMode & QIODevice::WriteOnly) != 0) { // open for writing, need to seek existing device if (!iodevice->isSequential()) { iodevice->seek(0); } else { d->pos = iodevice->pos(); } } } return iodevice; } else { delete d; return NULL; } } iodevice->open(desiredMode); if (iodevice->isOpen()) { if (desiredMode != QIODevice::WriteOnly && iodevice->isSequential()) { // We can use sequential devices only for writing. iodevice->close(); delete d; return NULL; } else { return iodevice; } } else { delete d; return NULL; } } uLong ZCALLBACK qiodevice_read_file_func ( voidpf opaque, voidpf stream, void* buf, uLong size) { QIODevice_descriptor *d = reinterpret_cast(opaque); QIODevice *iodevice = reinterpret_cast(stream); qint64 ret64 = iodevice->read((char*)buf,size); uLong ret; ret = (uLong) ret64; if (ret64 != -1) { d->pos += ret64; } return ret; } uLong ZCALLBACK qiodevice_write_file_func ( voidpf opaque, voidpf stream, const void* buf, uLong size) { QIODevice_descriptor *d = reinterpret_cast(opaque); QIODevice *iodevice = reinterpret_cast(stream); uLong ret; qint64 ret64 = iodevice->write((char*)buf,size); if (ret64 != -1) { d->pos += ret64; } ret = (uLong) ret64; return ret; } uLong ZCALLBACK qiodevice_tell_file_func ( voidpf opaque, voidpf stream) { QIODevice_descriptor *d = reinterpret_cast(opaque); QIODevice *iodevice = reinterpret_cast(stream); uLong ret; qint64 ret64; if (iodevice->isSequential()) { ret64 = d->pos; } else { ret64 = iodevice->pos(); } ret = static_cast(ret64); return ret; } ZPOS64_T ZCALLBACK qiodevice64_tell_file_func ( voidpf opaque, voidpf stream) { QIODevice_descriptor *d = reinterpret_cast(opaque); QIODevice *iodevice = reinterpret_cast(stream); qint64 ret; if (iodevice->isSequential()) { ret = d->pos; } else { ret = iodevice->pos(); } return static_cast(ret); } int ZCALLBACK qiodevice_seek_file_func ( voidpf /*opaque UNUSED*/, voidpf stream, uLong offset, int origin) { QIODevice *iodevice = reinterpret_cast(stream); if (iodevice->isSequential()) { if (origin == ZLIB_FILEFUNC_SEEK_END && offset == 0) { // sequential devices are always at end (needed in mdAppend) return 0; } else { qWarning("qiodevice_seek_file_func() called for sequential device"); return -1; } } uLong qiodevice_seek_result=0; int ret; switch (origin) { case ZLIB_FILEFUNC_SEEK_CUR : qiodevice_seek_result = ((QIODevice*)stream)->pos() + offset; break; case ZLIB_FILEFUNC_SEEK_END : qiodevice_seek_result = ((QIODevice*)stream)->size() - offset; break; case ZLIB_FILEFUNC_SEEK_SET : qiodevice_seek_result = offset; break; default: return -1; } ret = !iodevice->seek(qiodevice_seek_result); return ret; } int ZCALLBACK qiodevice64_seek_file_func ( voidpf /*opaque UNUSED*/, voidpf stream, ZPOS64_T offset, int origin) { QIODevice *iodevice = reinterpret_cast(stream); if (iodevice->isSequential()) { if (origin == ZLIB_FILEFUNC_SEEK_END && offset == 0) { // sequential devices are always at end (needed in mdAppend) return 0; } else { qWarning("qiodevice_seek_file_func() called for sequential device"); return -1; } } qint64 qiodevice_seek_result=0; int ret; switch (origin) { case ZLIB_FILEFUNC_SEEK_CUR : qiodevice_seek_result = ((QIODevice*)stream)->pos() + offset; break; case ZLIB_FILEFUNC_SEEK_END : qiodevice_seek_result = ((QIODevice*)stream)->size() - offset; break; case ZLIB_FILEFUNC_SEEK_SET : qiodevice_seek_result = offset; break; default: return -1; } ret = !iodevice->seek(qiodevice_seek_result); return ret; } int ZCALLBACK qiodevice_close_file_func ( voidpf opaque, voidpf stream) { QIODevice_descriptor *d = reinterpret_cast(opaque); delete d; QIODevice *device = reinterpret_cast(stream); #ifdef QUAZIP_QSAVEFILE_BUG_WORKAROUND // QSaveFile terribly breaks the is-a idiom: // it IS a QIODevice, but it is NOT compatible with it: close() is private QSaveFile *file = qobject_cast(device); if (file != NULL) { // We have to call the ugly commit() instead: return file->commit() ? 0 : -1; } #endif device->close(); return 0; } int ZCALLBACK qiodevice_fakeclose_file_func ( voidpf opaque, voidpf /*stream*/) { QIODevice_descriptor *d = reinterpret_cast(opaque); delete d; return 0; } int ZCALLBACK qiodevice_error_file_func ( voidpf /*opaque UNUSED*/, voidpf /*stream UNUSED*/) { // can't check for error due to the QIODevice API limitation return 0; } void fill_qiodevice_filefunc ( zlib_filefunc_def* pzlib_filefunc_def) { pzlib_filefunc_def->zopen_file = qiodevice_open_file_func; pzlib_filefunc_def->zread_file = qiodevice_read_file_func; pzlib_filefunc_def->zwrite_file = qiodevice_write_file_func; pzlib_filefunc_def->ztell_file = qiodevice_tell_file_func; pzlib_filefunc_def->zseek_file = qiodevice_seek_file_func; pzlib_filefunc_def->zclose_file = qiodevice_close_file_func; pzlib_filefunc_def->zerror_file = qiodevice_error_file_func; pzlib_filefunc_def->opaque = new QIODevice_descriptor; } void fill_qiodevice64_filefunc ( zlib_filefunc64_def* pzlib_filefunc_def) { // Open functions are the same for Qt. pzlib_filefunc_def->zopen64_file = qiodevice_open_file_func; pzlib_filefunc_def->zread_file = qiodevice_read_file_func; pzlib_filefunc_def->zwrite_file = qiodevice_write_file_func; pzlib_filefunc_def->ztell64_file = qiodevice64_tell_file_func; pzlib_filefunc_def->zseek64_file = qiodevice64_seek_file_func; pzlib_filefunc_def->zclose_file = qiodevice_close_file_func; pzlib_filefunc_def->zerror_file = qiodevice_error_file_func; pzlib_filefunc_def->opaque = new QIODevice_descriptor; pzlib_filefunc_def->zfakeclose_file = qiodevice_fakeclose_file_func; } void fill_zlib_filefunc64_32_def_from_filefunc32(zlib_filefunc64_32_def* p_filefunc64_32,const zlib_filefunc_def* p_filefunc32) { p_filefunc64_32->zfile_func64.zopen64_file = NULL; p_filefunc64_32->zopen32_file = p_filefunc32->zopen_file; p_filefunc64_32->zfile_func64.zerror_file = p_filefunc32->zerror_file; p_filefunc64_32->zfile_func64.zread_file = p_filefunc32->zread_file; p_filefunc64_32->zfile_func64.zwrite_file = p_filefunc32->zwrite_file; p_filefunc64_32->zfile_func64.ztell64_file = NULL; p_filefunc64_32->zfile_func64.zseek64_file = NULL; p_filefunc64_32->zfile_func64.zclose_file = p_filefunc32->zclose_file; p_filefunc64_32->zfile_func64.zerror_file = p_filefunc32->zerror_file; p_filefunc64_32->zfile_func64.opaque = p_filefunc32->opaque; p_filefunc64_32->zfile_func64.zfakeclose_file = NULL; p_filefunc64_32->zseek32_file = p_filefunc32->zseek_file; p_filefunc64_32->ztell32_file = p_filefunc32->ztell_file; } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quaadler32.cpp000066400000000000000000000025451255273444100233310ustar00rootroot00000000000000/* Copyright (C) 2010 Adam Walczak Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include "quaadler32.h" #include "zlib.h" QuaAdler32::QuaAdler32() { reset(); } quint32 QuaAdler32::calculate(const QByteArray &data) { return adler32( adler32(0L, Z_NULL, 0), (const Bytef*)data.data(), data.size() ); } void QuaAdler32::reset() { checksum = adler32(0L, Z_NULL, 0); } void QuaAdler32::update(const QByteArray &buf) { checksum = adler32( checksum, (const Bytef*)buf.data(), buf.size() ); } quint32 QuaAdler32::value() { return checksum; } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quaadler32.h000066400000000000000000000026611255273444100227750ustar00rootroot00000000000000#ifndef QUAADLER32_H #define QUAADLER32_H /* Copyright (C) 2010 Adam Walczak Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include #include "quachecksum32.h" /// Adler32 checksum /** \class QuaAdler32 quaadler32.h * This class wrappers the adler32 function with the QuaChecksum32 interface. * See QuaChecksum32 for more info. */ class QUAZIP_EXPORT QuaAdler32 : public QuaChecksum32 { public: QuaAdler32(); quint32 calculate(const QByteArray &data); void reset(); void update(const QByteArray &buf); quint32 value(); private: quint32 checksum; }; #endif //QUAADLER32_H merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quachecksum32.h000066400000000000000000000043541255273444100235110ustar00rootroot00000000000000#ifndef QUACHECKSUM32_H #define QUACHECKSUM32_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include #include "quazip_global.h" /// Checksum interface. /** \class QuaChecksum32 quachecksum32.h * This is an interface for 32 bit checksums. * Classes implementing this interface can calcunate a certin * checksum in a single step: * \code * QChecksum32 *crc32 = new QuaCrc32(); * rasoult = crc32->calculate(data); * \endcode * or by streaming the data: * \code * QChecksum32 *crc32 = new QuaCrc32(); * while(!fileA.atEnd()) * crc32->update(fileA.read(bufSize)); * resoultA = crc32->value(); * crc32->reset(); * while(!fileB.atEnd()) * crc32->update(fileB.read(bufSize)); * resoultB = crc32->value(); * \endcode */ class QUAZIP_EXPORT QuaChecksum32 { public: ///Calculates the checksum for data. /** \a data source data * \return data checksum * * This function has no efect on the value returned by value(). */ virtual quint32 calculate(const QByteArray &data) = 0; ///Resets the calculation on a checksun for a stream. virtual void reset() = 0; ///Updates the calculated checksum for the stream /** \a buf next portion of data from the stream */ virtual void update(const QByteArray &buf) = 0; ///Value of the checksum calculated for the stream passed throw update(). /** \return checksum */ virtual quint32 value() = 0; }; #endif //QUACHECKSUM32_H merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quacrc32.cpp000066400000000000000000000024571255273444100230130ustar00rootroot00000000000000/* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include "quacrc32.h" #include "zlib.h" QuaCrc32::QuaCrc32() { reset(); } quint32 QuaCrc32::calculate(const QByteArray &data) { return crc32( crc32(0L, Z_NULL, 0), (const Bytef*)data.data(), data.size() ); } void QuaCrc32::reset() { checksum = crc32(0L, Z_NULL, 0); } void QuaCrc32::update(const QByteArray &buf) { checksum = crc32( checksum, (const Bytef*)buf.data(), buf.size() ); } quint32 QuaCrc32::value() { return checksum; } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quacrc32.h000066400000000000000000000025421255273444100224530ustar00rootroot00000000000000#ifndef QUACRC32_H #define QUACRC32_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include "quachecksum32.h" ///CRC32 checksum /** \class QuaCrc32 quacrc32.h * This class wrappers the crc32 function with the QuaChecksum32 interface. * See QuaChecksum32 for more info. */ class QUAZIP_EXPORT QuaCrc32 : public QuaChecksum32 { public: QuaCrc32(); quint32 calculate(const QByteArray &data); void reset(); void update(const QByteArray &buf); quint32 value(); private: quint32 checksum; }; #endif //QUACRC32_H merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quagzipfile.cpp000066400000000000000000000103241255273444100237000ustar00rootroot00000000000000/* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include #include "quagzipfile.h" /// \cond internal class QuaGzipFilePrivate { friend class QuaGzipFile; QString fileName; gzFile gzd; inline QuaGzipFilePrivate(): gzd(NULL) {} inline QuaGzipFilePrivate(const QString &fileName): fileName(fileName), gzd(NULL) {} template bool open(FileId id, QIODevice::OpenMode mode, QString &error); gzFile open(int fd, const char *modeString); gzFile open(const QString &name, const char *modeString); }; gzFile QuaGzipFilePrivate::open(const QString &name, const char *modeString) { return gzopen(QFile::encodeName(name).constData(), modeString); } gzFile QuaGzipFilePrivate::open(int fd, const char *modeString) { return gzdopen(fd, modeString); } template bool QuaGzipFilePrivate::open(FileId id, QIODevice::OpenMode mode, QString &error) { char modeString[2]; modeString[0] = modeString[1] = '\0'; if ((mode & QIODevice::Append) != 0) { error = QuaGzipFile::trUtf8("QIODevice::Append is not " "supported for GZIP"); return false; } if ((mode & QIODevice::ReadOnly) != 0 && (mode & QIODevice::WriteOnly) != 0) { error = QuaGzipFile::trUtf8("Opening gzip for both reading" " and writing is not supported"); return false; } else if ((mode & QIODevice::ReadOnly) != 0) { modeString[0] = 'r'; } else if ((mode & QIODevice::WriteOnly) != 0) { modeString[0] = 'w'; } else { error = QuaGzipFile::trUtf8("You can open a gzip either for reading" " or for writing. Which is it?"); return false; } gzd = open(id, modeString); if (gzd == NULL) { error = QuaGzipFile::trUtf8("Could not gzopen() file"); return false; } return true; } /// \endcond QuaGzipFile::QuaGzipFile(): d(new QuaGzipFilePrivate()) { } QuaGzipFile::QuaGzipFile(QObject *parent): QIODevice(parent), d(new QuaGzipFilePrivate()) { } QuaGzipFile::QuaGzipFile(const QString &fileName, QObject *parent): QIODevice(parent), d(new QuaGzipFilePrivate(fileName)) { } QuaGzipFile::~QuaGzipFile() { if (isOpen()) { close(); } delete d; } void QuaGzipFile::setFileName(const QString& fileName) { d->fileName = fileName; } QString QuaGzipFile::getFileName() const { return d->fileName; } bool QuaGzipFile::isSequential() const { return true; } bool QuaGzipFile::open(QIODevice::OpenMode mode) { QString error; if (!d->open(d->fileName, mode, error)) { setErrorString(error); return false; } return QIODevice::open(mode); } bool QuaGzipFile::open(int fd, QIODevice::OpenMode mode) { QString error; if (!d->open(fd, mode, error)) { setErrorString(error); return false; } return QIODevice::open(mode); } bool QuaGzipFile::flush() { return gzflush(d->gzd, Z_SYNC_FLUSH) == Z_OK; } void QuaGzipFile::close() { QIODevice::close(); gzclose(d->gzd); } qint64 QuaGzipFile::readData(char *data, qint64 maxSize) { return gzread(d->gzd, (voidp)data, (unsigned)maxSize); } qint64 QuaGzipFile::writeData(const char *data, qint64 maxSize) { if (maxSize == 0) return 0; int written = gzwrite(d->gzd, (voidp)data, (unsigned)maxSize); if (written == 0) return -1; else return written; } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quagzipfile.h000066400000000000000000000071411255273444100233500ustar00rootroot00000000000000#ifndef QUAZIP_QUAGZIPFILE_H #define QUAZIP_QUAGZIPFILE_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include #include "quazip_global.h" #include class QuaGzipFilePrivate; /// GZIP file /** This class is a wrapper around GZIP file access functions in zlib. Unlike QuaZip classes, it doesn't allow reading from a GZIP file opened as QIODevice, for example, if your GZIP file is in QBuffer. It only provides QIODevice access to a GZIP file contents, but the GZIP file itself must be identified by its name on disk or by descriptor id. */ class QUAZIP_EXPORT QuaGzipFile: public QIODevice { Q_OBJECT public: /// Empty constructor. /** Must call setFileName() before trying to open. */ QuaGzipFile(); /// Empty constructor with a parent. /** Must call setFileName() before trying to open. \param parent The parent object, as per QObject logic. */ QuaGzipFile(QObject *parent); /// Constructor. /** \param fileName The name of the GZIP file. \param parent The parent object, as per QObject logic. */ QuaGzipFile(const QString &fileName, QObject *parent = NULL); /// Destructor. virtual ~QuaGzipFile(); /// Sets the name of the GZIP file to be opened. void setFileName(const QString& fileName); /// Returns the name of the GZIP file. QString getFileName() const; /// Returns true. /** Strictly speaking, zlib supports seeking for GZIP files, but it is poorly implemented, because there is no way to implement it properly. For reading, seeking backwards is very slow, and for writing, it is downright impossible. Therefore, QuaGzipFile does not support seeking at all. */ virtual bool isSequential() const; /// Opens the file. /** \param mode Can be either QIODevice::Write or QIODevice::Read. ReadWrite and Append aren't supported. */ virtual bool open(QIODevice::OpenMode mode); /// Opens the file. /** \overload \param fd The file descriptor to read/write the GZIP file from/to. \param mode Can be either QIODevice::Write or QIODevice::Read. ReadWrite and Append aren't supported. */ virtual bool open(int fd, QIODevice::OpenMode mode); /// Flushes data to file. /** The data is written using Z_SYNC_FLUSH mode. Doesn't make any sense when reading. */ virtual bool flush(); /// Closes the file. virtual void close(); protected: /// Implementation of QIODevice::readData(). virtual qint64 readData(char *data, qint64 maxSize); /// Implementation of QIODevice::writeData(). virtual qint64 writeData(const char *data, qint64 maxSize); private: // not implemented by design to disable copy QuaGzipFile(const QuaGzipFile &that); QuaGzipFile& operator=(const QuaGzipFile &that); QuaGzipFilePrivate *d; }; #endif // QUAZIP_QUAGZIPFILE_H merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quaziodevice.cpp000066400000000000000000000206341255273444100240550ustar00rootroot00000000000000/* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include "quaziodevice.h" #define QUAZIO_INBUFSIZE 4096 #define QUAZIO_OUTBUFSIZE 4096 /// \cond internal class QuaZIODevicePrivate { friend class QuaZIODevice; QuaZIODevicePrivate(QIODevice *io); ~QuaZIODevicePrivate(); QIODevice *io; z_stream zins; z_stream zouts; char *inBuf; int inBufPos; int inBufSize; char *outBuf; int outBufPos; int outBufSize; bool zBufError; int doFlush(QString &error); }; QuaZIODevicePrivate::QuaZIODevicePrivate(QIODevice *io): io(io), inBuf(NULL), inBufPos(0), inBufSize(0), outBuf(NULL), outBufPos(0), outBufSize(0), zBufError(false) { zins.zalloc = (alloc_func) NULL; zins.zfree = (free_func) NULL; zins.opaque = NULL; zouts.zalloc = (alloc_func) NULL; zouts.zfree = (free_func) NULL; zouts.opaque = NULL; inBuf = new char[QUAZIO_INBUFSIZE]; outBuf = new char[QUAZIO_OUTBUFSIZE]; #ifdef QUAZIP_ZIODEVICE_DEBUG_OUTPUT debug.setFileName("debug.out"); debug.open(QIODevice::WriteOnly); #endif #ifdef QUAZIP_ZIODEVICE_DEBUG_INPUT indebug.setFileName("debug.in"); indebug.open(QIODevice::WriteOnly); #endif } QuaZIODevicePrivate::~QuaZIODevicePrivate() { #ifdef QUAZIP_ZIODEVICE_DEBUG_OUTPUT debug.close(); #endif #ifdef QUAZIP_ZIODEVICE_DEBUG_INPUT indebug.close(); #endif if (inBuf != NULL) delete[] inBuf; if (outBuf != NULL) delete[] outBuf; } int QuaZIODevicePrivate::doFlush(QString &error) { int flushed = 0; while (outBufPos < outBufSize) { int more = io->write(outBuf + outBufPos, outBufSize - outBufPos); if (more == -1) { error = io->errorString(); return -1; } if (more == 0) break; outBufPos += more; flushed += more; } if (outBufPos == outBufSize) { outBufPos = outBufSize = 0; } return flushed; } /// \endcond // #define QUAZIP_ZIODEVICE_DEBUG_OUTPUT // #define QUAZIP_ZIODEVICE_DEBUG_INPUT #ifdef QUAZIP_ZIODEVICE_DEBUG_OUTPUT #include static QFile debug; #endif #ifdef QUAZIP_ZIODEVICE_DEBUG_INPUT #include static QFile indebug; #endif QuaZIODevice::QuaZIODevice(QIODevice *io, QObject *parent): QIODevice(parent), d(new QuaZIODevicePrivate(io)) { connect(io, SIGNAL(readyRead()), SIGNAL(readyRead())); } QuaZIODevice::~QuaZIODevice() { if (isOpen()) close(); delete d; } QIODevice *QuaZIODevice::getIoDevice() const { return d->io; } bool QuaZIODevice::open(QIODevice::OpenMode mode) { if ((mode & QIODevice::Append) != 0) { setErrorString(trUtf8("QIODevice::Append is not supported for" " QuaZIODevice")); return false; } if ((mode & QIODevice::ReadWrite) == QIODevice::ReadWrite) { setErrorString(trUtf8("QIODevice::ReadWrite is not supported for" " QuaZIODevice")); return false; } if ((mode & QIODevice::ReadOnly) != 0) { if (inflateInit(&d->zins) != Z_OK) { setErrorString(d->zins.msg); return false; } } if ((mode & QIODevice::WriteOnly) != 0) { if (deflateInit(&d->zouts, Z_DEFAULT_COMPRESSION) != Z_OK) { setErrorString(d->zouts.msg); return false; } } return QIODevice::open(mode); } void QuaZIODevice::close() { if ((openMode() & QIODevice::ReadOnly) != 0) { if (inflateEnd(&d->zins) != Z_OK) { setErrorString(d->zins.msg); } } if ((openMode() & QIODevice::WriteOnly) != 0) { flush(); if (deflateEnd(&d->zouts) != Z_OK) { setErrorString(d->zouts.msg); } } QIODevice::close(); } qint64 QuaZIODevice::readData(char *data, qint64 maxSize) { int read = 0; while (read < maxSize) { if (d->inBufPos == d->inBufSize) { d->inBufPos = 0; d->inBufSize = d->io->read(d->inBuf, QUAZIO_INBUFSIZE); if (d->inBufSize == -1) { d->inBufSize = 0; setErrorString(d->io->errorString()); return -1; } if (d->inBufSize == 0) break; } while (read < maxSize && d->inBufPos < d->inBufSize) { d->zins.next_in = (Bytef *) (d->inBuf + d->inBufPos); d->zins.avail_in = d->inBufSize - d->inBufPos; d->zins.next_out = (Bytef *) (data + read); d->zins.avail_out = (uInt) (maxSize - read); // hope it's less than 2GB int more = 0; switch (inflate(&d->zins, Z_SYNC_FLUSH)) { case Z_OK: read = (char *) d->zins.next_out - data; d->inBufPos = (char *) d->zins.next_in - d->inBuf; break; case Z_STREAM_END: read = (char *) d->zins.next_out - data; d->inBufPos = (char *) d->zins.next_in - d->inBuf; return read; case Z_BUF_ERROR: // this should never happen, but just in case if (!d->zBufError) { qWarning("Z_BUF_ERROR detected with %d/%d in/out, weird", d->zins.avail_in, d->zins.avail_out); d->zBufError = true; } memmove(d->inBuf, d->inBuf + d->inBufPos, d->inBufSize - d->inBufPos); d->inBufSize -= d->inBufPos; d->inBufPos = 0; more = d->io->read(d->inBuf + d->inBufSize, QUAZIO_INBUFSIZE - d->inBufSize); if (more == -1) { setErrorString(d->io->errorString()); return -1; } if (more == 0) return read; d->inBufSize += more; break; default: setErrorString(QString::fromLocal8Bit(d->zins.msg)); return -1; } } } #ifdef QUAZIP_ZIODEVICE_DEBUG_INPUT indebug.write(data, read); #endif return read; } qint64 QuaZIODevice::writeData(const char *data, qint64 maxSize) { int written = 0; QString error; if (d->doFlush(error) == -1) { setErrorString(error); return -1; } while (written < maxSize) { // there is some data waiting in the output buffer if (d->outBufPos < d->outBufSize) return written; d->zouts.next_in = (Bytef *) (data + written); d->zouts.avail_in = (uInt) (maxSize - written); // hope it's less than 2GB d->zouts.next_out = (Bytef *) d->outBuf; d->zouts.avail_out = QUAZIO_OUTBUFSIZE; switch (deflate(&d->zouts, Z_NO_FLUSH)) { case Z_OK: written = (char *) d->zouts.next_in - data; d->outBufSize = (char *) d->zouts.next_out - d->outBuf; break; default: setErrorString(QString::fromLocal8Bit(d->zouts.msg)); return -1; } if (d->doFlush(error) == -1) { setErrorString(error); return -1; } } #ifdef QUAZIP_ZIODEVICE_DEBUG_OUTPUT debug.write(data, written); #endif return written; } bool QuaZIODevice::flush() { QString error; if (d->doFlush(error) < 0) { setErrorString(error); return false; } // can't flush buffer, some data is still waiting if (d->outBufPos < d->outBufSize) return true; Bytef c = 0; d->zouts.next_in = &c; // fake input buffer d->zouts.avail_in = 0; // of zero size do { d->zouts.next_out = (Bytef *) d->outBuf; d->zouts.avail_out = QUAZIO_OUTBUFSIZE; switch (deflate(&d->zouts, Z_SYNC_FLUSH)) { case Z_OK: d->outBufSize = (char *) d->zouts.next_out - d->outBuf; if (d->doFlush(error) < 0) { setErrorString(error); return false; } if (d->outBufPos < d->outBufSize) return true; break; case Z_BUF_ERROR: // nothing to write? return true; default: setErrorString(QString::fromLocal8Bit(d->zouts.msg)); return false; } } while (d->zouts.avail_out == 0); return true; } bool QuaZIODevice::isSequential() const { return true; } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quaziodevice.h000066400000000000000000000062371255273444100235250ustar00rootroot00000000000000#ifndef QUAZIP_QUAZIODEVICE_H #define QUAZIP_QUAZIODEVICE_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include #include "quazip_global.h" #include class QuaZIODevicePrivate; /// A class to compress/decompress QIODevice. /** This class can be used to compress any data written to QIODevice or decompress it back. Compressing data sent over a QTcpSocket is a good example. */ class QUAZIP_EXPORT QuaZIODevice: public QIODevice { Q_OBJECT public: /// Constructor. /** \param io The QIODevice to read/write. \param parent The parent object, as per QObject logic. */ QuaZIODevice(QIODevice *io, QObject *parent = NULL); /// Destructor. ~QuaZIODevice(); /// Flushes data waiting to be written. /** Unfortunately, as QIODevice doesn't support flush() by itself, the only thing this method does is write the compressed data into the device using Z_SYNC_FLUSH mode. If you need the compressed data to actually be flushed from the buffer of the underlying QIODevice, you need to call its flush() method as well, providing it supports it (like QTcpSocket does). Example: \code QuaZIODevice dev(&sock); dev.open(QIODevice::Write); dev.write(yourDataGoesHere); dev.flush(); sock->flush(); // this actually sends data to network \endcode This may change in the future versions of QuaZIP by implementing an ugly hack: trying to cast the QIODevice using qobject_cast to known flush()-supporting subclasses, and calling flush if the resulting pointer is not zero. */ virtual bool flush(); /// Opens the device. /** \param mode Neither QIODevice::ReadWrite nor QIODevice::Append are not supported. */ virtual bool open(QIODevice::OpenMode mode); /// Closes this device, but not the underlying one. /** The underlying QIODevice is not closed in case you want to write something else to it. */ virtual void close(); /// Returns the underlying device. QIODevice *getIoDevice() const; /// Returns true. virtual bool isSequential() const; protected: /// Implementation of QIODevice::readData(). virtual qint64 readData(char *data, qint64 maxSize); /// Implementation of QIODevice::writeData(). virtual qint64 writeData(const char *data, qint64 maxSize); private: QuaZIODevicePrivate *d; }; #endif // QUAZIP_QUAZIODEVICE_H merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip.cpp000066400000000000000000000521221255273444100226730ustar00rootroot00000000000000/* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant, see quazip/(un)zip.h files for details, basically it's zlib license. **/ #include #include #include #include "quazip.h" /// All the internal stuff for the QuaZip class. /** \internal This class keeps all the private stuff for the QuaZip class so it can be changed without breaking binary compatibility, according to the Pimpl idiom. */ class QuaZipPrivate { friend class QuaZip; private: /// The pointer to the corresponding QuaZip instance. QuaZip *q; /// The codec for file names. QTextCodec *fileNameCodec; /// The codec for comments. QTextCodec *commentCodec; /// The archive file name. QString zipName; /// The device to access the archive. QIODevice *ioDevice; /// The global comment. QString comment; /// The open mode. QuaZip::Mode mode; union { /// The internal handle for UNZIP modes. unzFile unzFile_f; /// The internal handle for ZIP modes. zipFile zipFile_f; }; /// Whether a current file is set. bool hasCurrentFile_f; /// The last error. int zipError; /// Whether \ref QuaZip::setDataDescriptorWritingEnabled() "the data descriptor writing mode" is enabled. bool dataDescriptorWritingEnabled; /// The zip64 mode. bool zip64; /// The auto-close flag. bool autoClose; inline QTextCodec *getDefaultFileNameCodec() { if (defaultFileNameCodec == NULL) { return QTextCodec::codecForLocale(); } else { return defaultFileNameCodec; } } /// The constructor for the corresponding QuaZip constructor. inline QuaZipPrivate(QuaZip *q): q(q), fileNameCodec(getDefaultFileNameCodec()), commentCodec(QTextCodec::codecForLocale()), ioDevice(NULL), mode(QuaZip::mdNotOpen), hasCurrentFile_f(false), zipError(UNZ_OK), dataDescriptorWritingEnabled(true), zip64(false), autoClose(true) { lastMappedDirectoryEntry.num_of_file = 0; lastMappedDirectoryEntry.pos_in_zip_directory = 0; } /// The constructor for the corresponding QuaZip constructor. inline QuaZipPrivate(QuaZip *q, const QString &zipName): q(q), fileNameCodec(getDefaultFileNameCodec()), commentCodec(QTextCodec::codecForLocale()), zipName(zipName), ioDevice(NULL), mode(QuaZip::mdNotOpen), hasCurrentFile_f(false), zipError(UNZ_OK), dataDescriptorWritingEnabled(true), zip64(false), autoClose(true) { lastMappedDirectoryEntry.num_of_file = 0; lastMappedDirectoryEntry.pos_in_zip_directory = 0; } /// The constructor for the corresponding QuaZip constructor. inline QuaZipPrivate(QuaZip *q, QIODevice *ioDevice): q(q), fileNameCodec(getDefaultFileNameCodec()), commentCodec(QTextCodec::codecForLocale()), ioDevice(ioDevice), mode(QuaZip::mdNotOpen), hasCurrentFile_f(false), zipError(UNZ_OK), dataDescriptorWritingEnabled(true), zip64(false), autoClose(true) { lastMappedDirectoryEntry.num_of_file = 0; lastMappedDirectoryEntry.pos_in_zip_directory = 0; } /// Returns either a list of file names or a list of QuaZipFileInfo. template bool getFileInfoList(QList *result) const; /// Stores map of filenames and file locations for unzipping inline void clearDirectoryMap(); inline void addCurrentFileToDirectoryMap(const QString &fileName); bool goToFirstUnmappedFile(); QHash directoryCaseSensitive; QHash directoryCaseInsensitive; unz64_file_pos lastMappedDirectoryEntry; static QTextCodec *defaultFileNameCodec; }; QTextCodec *QuaZipPrivate::defaultFileNameCodec = NULL; void QuaZipPrivate::clearDirectoryMap() { directoryCaseInsensitive.clear(); directoryCaseSensitive.clear(); lastMappedDirectoryEntry.num_of_file = 0; lastMappedDirectoryEntry.pos_in_zip_directory = 0; } void QuaZipPrivate::addCurrentFileToDirectoryMap(const QString &fileName) { if (!hasCurrentFile_f || fileName.isEmpty()) { return; } // Adds current file to filename map as fileName unz64_file_pos fileDirectoryPos; unzGetFilePos64(unzFile_f, &fileDirectoryPos); directoryCaseSensitive.insert(fileName, fileDirectoryPos); // Only add lowercase to directory map if not already there // ensures only map the first one seen QString lower = fileName.toLower(); if (!directoryCaseInsensitive.contains(lower)) directoryCaseInsensitive.insert(lower, fileDirectoryPos); // Mark last one if (fileDirectoryPos.pos_in_zip_directory > lastMappedDirectoryEntry.pos_in_zip_directory) lastMappedDirectoryEntry = fileDirectoryPos; } bool QuaZipPrivate::goToFirstUnmappedFile() { zipError = UNZ_OK; if (mode != QuaZip::mdUnzip) { qWarning("QuaZipPrivate::goToNextUnmappedFile(): ZIP is not open in mdUnzip mode"); return false; } // If not mapped anything, go to beginning if (lastMappedDirectoryEntry.pos_in_zip_directory == 0) { unzGoToFirstFile(unzFile_f); } else { // Goto the last one mapped, plus one unzGoToFilePos64(unzFile_f, &lastMappedDirectoryEntry); unzGoToNextFile(unzFile_f); } hasCurrentFile_f=zipError==UNZ_OK; if(zipError==UNZ_END_OF_LIST_OF_FILE) zipError=UNZ_OK; return hasCurrentFile_f; } QuaZip::QuaZip(): p(new QuaZipPrivate(this)) { } QuaZip::QuaZip(const QString& zipName): p(new QuaZipPrivate(this, zipName)) { } QuaZip::QuaZip(QIODevice *ioDevice): p(new QuaZipPrivate(this, ioDevice)) { } QuaZip::~QuaZip() { if(isOpen()) close(); delete p; } bool QuaZip::open(Mode mode, zlib_filefunc_def* ioApi) { p->zipError=UNZ_OK; if(isOpen()) { qWarning("QuaZip::open(): ZIP already opened"); return false; } QIODevice *ioDevice = p->ioDevice; if (ioDevice == NULL) { if (p->zipName.isEmpty()) { qWarning("QuaZip::open(): set either ZIP file name or IO device first"); return false; } else { ioDevice = new QFile(p->zipName); } } unsigned flags = 0; switch(mode) { case mdUnzip: if (ioApi == NULL) { if (p->autoClose) flags |= UNZ_AUTO_CLOSE; p->unzFile_f=unzOpenInternal(ioDevice, NULL, 1, flags); } else { // QuaZIP pre-zip64 compatibility mode p->unzFile_f=unzOpen2(ioDevice, ioApi); if (p->unzFile_f != NULL) { if (p->autoClose) { unzSetFlags(p->unzFile_f, UNZ_AUTO_CLOSE); } else { unzClearFlags(p->unzFile_f, UNZ_AUTO_CLOSE); } } } if(p->unzFile_f!=NULL) { if (ioDevice->isSequential()) { unzClose(p->unzFile_f); if (!p->zipName.isEmpty()) delete ioDevice; qWarning("QuaZip::open(): " "only mdCreate can be used with " "sequential devices"); return false; } p->mode=mode; p->ioDevice = ioDevice; return true; } else { p->zipError=UNZ_OPENERROR; if (!p->zipName.isEmpty()) delete ioDevice; return false; } case mdCreate: case mdAppend: case mdAdd: if (ioApi == NULL) { if (p->autoClose) flags |= ZIP_AUTO_CLOSE; if (p->dataDescriptorWritingEnabled) flags |= ZIP_WRITE_DATA_DESCRIPTOR; p->zipFile_f=zipOpen3(ioDevice, mode==mdCreate?APPEND_STATUS_CREATE: mode==mdAppend?APPEND_STATUS_CREATEAFTER: APPEND_STATUS_ADDINZIP, NULL, NULL, flags); } else { // QuaZIP pre-zip64 compatibility mode p->zipFile_f=zipOpen2(ioDevice, mode==mdCreate?APPEND_STATUS_CREATE: mode==mdAppend?APPEND_STATUS_CREATEAFTER: APPEND_STATUS_ADDINZIP, NULL, ioApi); if (p->zipFile_f != NULL) { zipSetFlags(p->zipFile_f, flags); } } if(p->zipFile_f!=NULL) { if (ioDevice->isSequential()) { if (mode != mdCreate) { zipClose(p->zipFile_f, NULL); qWarning("QuaZip::open(): " "only mdCreate can be used with " "sequential devices"); if (!p->zipName.isEmpty()) delete ioDevice; return false; } zipSetFlags(p->zipFile_f, ZIP_SEQUENTIAL); } p->mode=mode; p->ioDevice = ioDevice; return true; } else { p->zipError=UNZ_OPENERROR; if (!p->zipName.isEmpty()) delete ioDevice; return false; } default: qWarning("QuaZip::open(): unknown mode: %d", (int)mode); if (!p->zipName.isEmpty()) delete ioDevice; return false; break; } } void QuaZip::close() { p->zipError=UNZ_OK; switch(p->mode) { case mdNotOpen: qWarning("QuaZip::close(): ZIP is not open"); return; case mdUnzip: p->zipError=unzClose(p->unzFile_f); break; case mdCreate: case mdAppend: case mdAdd: p->zipError=zipClose(p->zipFile_f, p->comment.isNull() ? NULL : p->commentCodec->fromUnicode(p->comment).constData()); break; default: qWarning("QuaZip::close(): unknown mode: %d", (int)p->mode); return; } // opened by name, need to delete the internal IO device if (!p->zipName.isEmpty()) { delete p->ioDevice; p->ioDevice = NULL; } p->clearDirectoryMap(); if(p->zipError==UNZ_OK) p->mode=mdNotOpen; } void QuaZip::setZipName(const QString& zipName) { if(isOpen()) { qWarning("QuaZip::setZipName(): ZIP is already open!"); return; } p->zipName=zipName; p->ioDevice = NULL; } void QuaZip::setIoDevice(QIODevice *ioDevice) { if(isOpen()) { qWarning("QuaZip::setIoDevice(): ZIP is already open!"); return; } p->ioDevice = ioDevice; p->zipName = QString(); } int QuaZip::getEntriesCount()const { QuaZip *fakeThis=(QuaZip*)this; // non-const fakeThis->p->zipError=UNZ_OK; if(p->mode!=mdUnzip) { qWarning("QuaZip::getEntriesCount(): ZIP is not open in mdUnzip mode"); return -1; } unz_global_info64 globalInfo; if((fakeThis->p->zipError=unzGetGlobalInfo64(p->unzFile_f, &globalInfo))!=UNZ_OK) return p->zipError; return (int)globalInfo.number_entry; } QString QuaZip::getComment()const { QuaZip *fakeThis=(QuaZip*)this; // non-const fakeThis->p->zipError=UNZ_OK; if(p->mode!=mdUnzip) { qWarning("QuaZip::getComment(): ZIP is not open in mdUnzip mode"); return QString(); } unz_global_info64 globalInfo; QByteArray comment; if((fakeThis->p->zipError=unzGetGlobalInfo64(p->unzFile_f, &globalInfo))!=UNZ_OK) return QString(); comment.resize(globalInfo.size_comment); if((fakeThis->p->zipError=unzGetGlobalComment(p->unzFile_f, comment.data(), comment.size())) < 0) return QString(); fakeThis->p->zipError = UNZ_OK; return p->commentCodec->toUnicode(comment); } bool QuaZip::setCurrentFile(const QString& fileName, CaseSensitivity cs) { p->zipError=UNZ_OK; if(p->mode!=mdUnzip) { qWarning("QuaZip::setCurrentFile(): ZIP is not open in mdUnzip mode"); return false; } if(fileName.isEmpty()) { p->hasCurrentFile_f=false; return true; } // Unicode-aware reimplementation of the unzLocateFile function if(p->unzFile_f==NULL) { p->zipError=UNZ_PARAMERROR; return false; } if(fileName.length()>MAX_FILE_NAME_LENGTH) { p->zipError=UNZ_PARAMERROR; return false; } // Find the file by name bool sens = convertCaseSensitivity(cs) == Qt::CaseSensitive; QString lower, current; if(!sens) lower=fileName.toLower(); p->hasCurrentFile_f=false; // Check the appropriate Map unz64_file_pos fileDirPos; fileDirPos.pos_in_zip_directory = 0; if (sens) { if (p->directoryCaseSensitive.contains(fileName)) fileDirPos = p->directoryCaseSensitive.value(fileName); } else { if (p->directoryCaseInsensitive.contains(lower)) fileDirPos = p->directoryCaseInsensitive.value(lower); } if (fileDirPos.pos_in_zip_directory != 0) { p->zipError = unzGoToFilePos64(p->unzFile_f, &fileDirPos); p->hasCurrentFile_f = p->zipError == UNZ_OK; } if (p->hasCurrentFile_f) return p->hasCurrentFile_f; // Not mapped yet, start from where we have got to so far for(bool more=p->goToFirstUnmappedFile(); more; more=goToNextFile()) { current=getCurrentFileName(); if(current.isEmpty()) return false; if(sens) { if(current==fileName) break; } else { if(current.toLower()==lower) break; } } return p->hasCurrentFile_f; } bool QuaZip::goToFirstFile() { p->zipError=UNZ_OK; if(p->mode!=mdUnzip) { qWarning("QuaZip::goToFirstFile(): ZIP is not open in mdUnzip mode"); return false; } p->zipError=unzGoToFirstFile(p->unzFile_f); p->hasCurrentFile_f=p->zipError==UNZ_OK; return p->hasCurrentFile_f; } bool QuaZip::goToNextFile() { p->zipError=UNZ_OK; if(p->mode!=mdUnzip) { qWarning("QuaZip::goToFirstFile(): ZIP is not open in mdUnzip mode"); return false; } p->zipError=unzGoToNextFile(p->unzFile_f); p->hasCurrentFile_f=p->zipError==UNZ_OK; if(p->zipError==UNZ_END_OF_LIST_OF_FILE) p->zipError=UNZ_OK; return p->hasCurrentFile_f; } bool QuaZip::getCurrentFileInfo(QuaZipFileInfo *info)const { QuaZipFileInfo64 info64; if (info == NULL) { // Very unlikely because of the overloads return false; } if (getCurrentFileInfo(&info64)) { info64.toQuaZipFileInfo(*info); return true; } else { return false; } } bool QuaZip::getCurrentFileInfo(QuaZipFileInfo64 *info)const { QuaZip *fakeThis=(QuaZip*)this; // non-const fakeThis->p->zipError=UNZ_OK; if(p->mode!=mdUnzip) { qWarning("QuaZip::getCurrentFileInfo(): ZIP is not open in mdUnzip mode"); return false; } unz_file_info64 info_z; QByteArray fileName; QByteArray extra; QByteArray comment; if(info==NULL) return false; if(!isOpen()||!hasCurrentFile()) return false; if((fakeThis->p->zipError=unzGetCurrentFileInfo64(p->unzFile_f, &info_z, NULL, 0, NULL, 0, NULL, 0))!=UNZ_OK) return false; fileName.resize(info_z.size_filename); extra.resize(info_z.size_file_extra); comment.resize(info_z.size_file_comment); if((fakeThis->p->zipError=unzGetCurrentFileInfo64(p->unzFile_f, NULL, fileName.data(), fileName.size(), extra.data(), extra.size(), comment.data(), comment.size()))!=UNZ_OK) return false; info->versionCreated=info_z.version; info->versionNeeded=info_z.version_needed; info->flags=info_z.flag; info->method=info_z.compression_method; info->crc=info_z.crc; info->compressedSize=info_z.compressed_size; info->uncompressedSize=info_z.uncompressed_size; info->diskNumberStart=info_z.disk_num_start; info->internalAttr=info_z.internal_fa; info->externalAttr=info_z.external_fa; info->name=p->fileNameCodec->toUnicode(fileName); info->comment=p->commentCodec->toUnicode(comment); info->extra=extra; info->dateTime=QDateTime( QDate(info_z.tmu_date.tm_year, info_z.tmu_date.tm_mon+1, info_z.tmu_date.tm_mday), QTime(info_z.tmu_date.tm_hour, info_z.tmu_date.tm_min, info_z.tmu_date.tm_sec)); // Add to directory map p->addCurrentFileToDirectoryMap(info->name); return true; } QString QuaZip::getCurrentFileName()const { QuaZip *fakeThis=(QuaZip*)this; // non-const fakeThis->p->zipError=UNZ_OK; if(p->mode!=mdUnzip) { qWarning("QuaZip::getCurrentFileName(): ZIP is not open in mdUnzip mode"); return QString(); } if(!isOpen()||!hasCurrentFile()) return QString(); QByteArray fileName(MAX_FILE_NAME_LENGTH, 0); if((fakeThis->p->zipError=unzGetCurrentFileInfo64(p->unzFile_f, NULL, fileName.data(), fileName.size(), NULL, 0, NULL, 0))!=UNZ_OK) return QString(); QString result = p->fileNameCodec->toUnicode(fileName.constData()); if (result.isEmpty()) return result; // Add to directory map p->addCurrentFileToDirectoryMap(result); return result; } void QuaZip::setFileNameCodec(QTextCodec *fileNameCodec) { p->fileNameCodec=fileNameCodec; } void QuaZip::setFileNameCodec(const char *fileNameCodecName) { p->fileNameCodec=QTextCodec::codecForName(fileNameCodecName); } QTextCodec *QuaZip::getFileNameCodec()const { return p->fileNameCodec; } void QuaZip::setCommentCodec(QTextCodec *commentCodec) { p->commentCodec=commentCodec; } void QuaZip::setCommentCodec(const char *commentCodecName) { p->commentCodec=QTextCodec::codecForName(commentCodecName); } QTextCodec *QuaZip::getCommentCodec()const { return p->commentCodec; } QString QuaZip::getZipName() const { return p->zipName; } QIODevice *QuaZip::getIoDevice() const { if (!p->zipName.isEmpty()) // opened by name, using an internal QIODevice return NULL; return p->ioDevice; } QuaZip::Mode QuaZip::getMode()const { return p->mode; } bool QuaZip::isOpen()const { return p->mode!=mdNotOpen; } int QuaZip::getZipError() const { return p->zipError; } void QuaZip::setComment(const QString& comment) { p->comment=comment; } bool QuaZip::hasCurrentFile()const { return p->hasCurrentFile_f; } unzFile QuaZip::getUnzFile() { return p->unzFile_f; } zipFile QuaZip::getZipFile() { return p->zipFile_f; } void QuaZip::setDataDescriptorWritingEnabled(bool enabled) { p->dataDescriptorWritingEnabled = enabled; } bool QuaZip::isDataDescriptorWritingEnabled() const { return p->dataDescriptorWritingEnabled; } template TFileInfo QuaZip_getFileInfo(QuaZip *zip, bool *ok); template<> QuaZipFileInfo QuaZip_getFileInfo(QuaZip *zip, bool *ok) { QuaZipFileInfo info; *ok = zip->getCurrentFileInfo(&info); return info; } template<> QuaZipFileInfo64 QuaZip_getFileInfo(QuaZip *zip, bool *ok) { QuaZipFileInfo64 info; *ok = zip->getCurrentFileInfo(&info); return info; } template<> QString QuaZip_getFileInfo(QuaZip *zip, bool *ok) { QString name = zip->getCurrentFileName(); *ok = !name.isEmpty(); return name; } template bool QuaZipPrivate::getFileInfoList(QList *result) const { QuaZipPrivate *fakeThis=const_cast(this); fakeThis->zipError=UNZ_OK; if (mode!=QuaZip::mdUnzip) { qWarning("QuaZip::getFileNameList/getFileInfoList(): " "ZIP is not open in mdUnzip mode"); return false; } QString currentFile; if (q->hasCurrentFile()) { currentFile = q->getCurrentFileName(); } if (q->goToFirstFile()) { do { bool ok; result->append(QuaZip_getFileInfo(q, &ok)); if (!ok) return false; } while (q->goToNextFile()); } if (zipError != UNZ_OK) return false; if (currentFile.isEmpty()) { if (!q->goToFirstFile()) return false; } else { if (!q->setCurrentFile(currentFile)) return false; } return true; } QStringList QuaZip::getFileNameList() const { QStringList list; if (p->getFileInfoList(&list)) return list; else return QStringList(); } QList QuaZip::getFileInfoList() const { QList list; if (p->getFileInfoList(&list)) return list; else return QList(); } QList QuaZip::getFileInfoList64() const { QList list; if (p->getFileInfoList(&list)) return list; else return QList(); } Qt::CaseSensitivity QuaZip::convertCaseSensitivity(QuaZip::CaseSensitivity cs) { if (cs == csDefault) { #ifdef Q_WS_WIN return Qt::CaseInsensitive; #else return Qt::CaseSensitive; #endif } else { return cs == csSensitive ? Qt::CaseSensitive : Qt::CaseInsensitive; } } void QuaZip::setDefaultFileNameCodec(QTextCodec *codec) { QuaZipPrivate::defaultFileNameCodec = codec; } void QuaZip::setDefaultFileNameCodec(const char *codecName) { setDefaultFileNameCodec(QTextCodec::codecForName(codecName)); } void QuaZip::setZip64Enabled(bool zip64) { p->zip64 = zip64; } bool QuaZip::isZip64Enabled() const { return p->zip64; } bool QuaZip::isAutoClose() const { return p->autoClose; } void QuaZip::setAutoClose(bool autoClose) const { p->autoClose = autoClose; } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip.h000066400000000000000000000613311255273444100223420ustar00rootroot00000000000000#ifndef QUA_ZIP_H #define QUA_ZIP_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant, see quazip/(un)zip.h files for details, basically it's zlib license. **/ #include #include #include #include "zip.h" #include "unzip.h" #include "quazip_global.h" #include "quazipfileinfo.h" // just in case it will be defined in the later versions of the ZIP/UNZIP #ifndef UNZ_OPENERROR // define additional error code #define UNZ_OPENERROR -1000 #endif class QuaZipPrivate; /// ZIP archive. /** \class QuaZip quazip.h * This class implements basic interface to the ZIP archive. It can be * used to read table contents of the ZIP archive and retreiving * information about the files inside it. * * You can also use this class to open files inside archive by passing * pointer to the instance of this class to the constructor of the * QuaZipFile class. But see QuaZipFile::QuaZipFile(QuaZip*, QObject*) * for the possible pitfalls. * * This class is indended to provide interface to the ZIP subpackage of * the ZIP/UNZIP package as well as to the UNZIP subpackage. But * currently it supports only UNZIP. * * The use of this class is simple - just create instance using * constructor, then set ZIP archive file name using setFile() function * (if you did not passed the name to the constructor), then open() and * then use different functions to work with it! Well, if you are * paranoid, you may also wish to call close before destructing the * instance, to check for errors on close. * * You may also use getUnzFile() and getZipFile() functions to get the * ZIP archive handle and use it with ZIP/UNZIP package API directly. * * This class supports localized file names inside ZIP archive, but you * have to set up proper codec with setCodec() function. By default, * locale codec will be used, which is probably ok for UNIX systems, but * will almost certainly fail with ZIP archives created in Windows. This * is because Windows ZIP programs have strange habit of using DOS * encoding for file names in ZIP archives. For example, ZIP archive * with cyrillic names created in Windows will have file names in \c * IBM866 encoding instead of \c WINDOWS-1251. I think that calling one * function is not much trouble, but for true platform independency it * would be nice to have some mechanism for file name encoding auto * detection using locale information. Does anyone know a good way to do * it? **/ class QUAZIP_EXPORT QuaZip { friend class QuaZipPrivate; public: /// Useful constants. enum Constants { MAX_FILE_NAME_LENGTH=256 /**< Maximum file name length. Taken from \c UNZ_MAXFILENAMEINZIP constant in unzip.c. */ }; /// Open mode of the ZIP file. enum Mode { mdNotOpen, ///< ZIP file is not open. This is the initial mode. mdUnzip, ///< ZIP file is open for reading files inside it. mdCreate, ///< ZIP file was created with open() call. mdAppend, /**< ZIP file was opened in append mode. This refers to * \c APPEND_STATUS_CREATEAFTER mode in ZIP/UNZIP package * and means that zip is appended to some existing file * what is useful when that file contains * self-extractor code. This is obviously \em not what * you whant to use to add files to the existing ZIP * archive. **/ mdAdd ///< ZIP file was opened for adding files in the archive. }; /// Case sensitivity for the file names. /** This is what you specify when accessing files in the archive. * Works perfectly fine with any characters thanks to Qt's great * unicode support. This is different from ZIP/UNZIP API, where * only US-ASCII characters was supported. **/ enum CaseSensitivity { csDefault=0, ///< Default for platform. Case sensitive for UNIX, not for Windows. csSensitive=1, ///< Case sensitive. csInsensitive=2 ///< Case insensitive. }; /// Returns the actual case sensitivity for the specified QuaZIP one. /** \param cs The value to convert. \returns If CaseSensitivity::csDefault, then returns the default file name case sensitivity for the platform. Otherwise, just returns the appropriate value from the Qt::CaseSensitivity enum. */ static Qt::CaseSensitivity convertCaseSensitivity( CaseSensitivity cs); private: QuaZipPrivate *p; // not (and will not be) implemented QuaZip(const QuaZip& that); // not (and will not be) implemented QuaZip& operator=(const QuaZip& that); public: /// Constructs QuaZip object. /** Call setName() before opening constructed object. */ QuaZip(); /// Constructs QuaZip object associated with ZIP file \a zipName. QuaZip(const QString& zipName); /// Constructs QuaZip object associated with ZIP file represented by \a ioDevice. /** The IO device must be seekable, otherwise an error will occur when opening. */ QuaZip(QIODevice *ioDevice); /// Destroys QuaZip object. /** Calls close() if necessary. */ ~QuaZip(); /// Opens ZIP file. /** * Argument \a mode specifies open mode of the ZIP archive. See Mode * for details. Note that there is zipOpen2() function in the * ZIP/UNZIP API which accepts \a globalcomment argument, but it * does not use it anywhere, so this open() function does not have this * argument. See setComment() if you need to set global comment. * * If the ZIP file is accessed via explicitly set QIODevice, then * this device is opened in the necessary mode. If the device was * already opened by some other means, then QuaZIP checks if the * open mode is compatible to the mode needed for the requested operation. * If necessary, seeking is performed to position the device properly. * * \return \c true if successful, \c false otherwise. * * \note ZIP/UNZIP API open calls do not return error code - they * just return \c NULL indicating an error. But to make things * easier, quazip.h header defines additional error code \c * UNZ_ERROROPEN and getZipError() will return it if the open call * of the ZIP/UNZIP API returns \c NULL. * * Argument \a ioApi specifies IO function set for ZIP/UNZIP * package to use. See unzip.h, zip.h and ioapi.h for details. Note * that IO API for QuaZip is different from the original package. * The file path argument was changed to be of type \c voidpf, and * QuaZip passes a QIODevice pointer there. This QIODevice is either * set explicitly via setIoDevice() or the QuaZip(QIODevice*) * constructor, or it is created internally when opening the archive * by its file name. The default API (qioapi.cpp) just delegates * everything to the QIODevice API. Not only this allows to use a * QIODevice instead of file name, but also has a nice side effect * of raising the file size limit from 2G to 4G (in non-zip64 archives). * * \note If the zip64 support is needed, the ioApi argument \em must be NULL * because due to the backwards compatibility issues it can be used to * provide a 32-bit API only. * * \note If the \ref QuaZip::setAutoClose() "no-auto-close" feature is used, * then the \a ioApi argument \em should be NULL because the old API * doesn't support the 'fake close' operation, causing slight memory leaks * and other possible troubles (like closing the output device in case * when an error occurs during opening). * * In short: just forget about the \a ioApi argument and you'll be * fine. **/ bool open(Mode mode, zlib_filefunc_def *ioApi =NULL); /// Closes ZIP file. /** Call getZipError() to determine if the close was successful. * * If the file was opened by name, then the underlying QIODevice is closed * and deleted. * * If the underlying QIODevice was set explicitly using setIoDevice() or * the appropriate constructor, then it is closed if the auto-close flag * is set (which it is by default). Call setAutoClose() to clear the * auto-close flag if this behavior is undesirable. * * Since Qt 5.1, the QSaveFile was introduced. It breaks the QIODevice API * by making close() private and crashing the application if it is called * from the base class where it is public. It is an excellent example * of poor design that illustrates why you should never ever break * an is-a relationship between the base class and a subclass. QuaZIP * works around this bug by checking if the QIODevice is an instance * of QSaveFile, using qobject_cast<>, and if it is, calls * QSaveFile::commit() instead of close(). It is a really ugly hack, * but at least it makes your programs work instead of crashing. Note that * if the auto-close flag is cleared, then this is a non-issue, and * commit() isn't called. */ void close(); /// Sets the codec used to encode/decode file names inside archive. /** This is necessary to access files in the ZIP archive created * under Windows with non-latin characters in file names. For * example, file names with cyrillic letters will be in \c IBM866 * encoding. **/ void setFileNameCodec(QTextCodec *fileNameCodec); /// Sets the codec used to encode/decode file names inside archive. /** \overload * Equivalent to calling setFileNameCodec(QTextCodec::codecForName(codecName)); **/ void setFileNameCodec(const char *fileNameCodecName); /// Returns the codec used to encode/decode comments inside archive. QTextCodec* getFileNameCodec() const; /// Sets the codec used to encode/decode comments inside archive. /** This codec defaults to locale codec, which is probably ok. **/ void setCommentCodec(QTextCodec *commentCodec); /// Sets the codec used to encode/decode comments inside archive. /** \overload * Equivalent to calling setCommentCodec(QTextCodec::codecForName(codecName)); **/ void setCommentCodec(const char *commentCodecName); /// Returns the codec used to encode/decode comments inside archive. QTextCodec* getCommentCodec() const; /// Returns the name of the ZIP file. /** Returns null string if no ZIP file name has been set, for * example when the QuaZip instance is set up to use a QIODevice * instead. * \sa setZipName(), setIoDevice(), getIoDevice() **/ QString getZipName() const; /// Sets the name of the ZIP file. /** Does nothing if the ZIP file is open. * * Does not reset error code returned by getZipError(). * \sa setIoDevice(), getIoDevice(), getZipName() **/ void setZipName(const QString& zipName); /// Returns the device representing this ZIP file. /** Returns null string if no device has been set explicitly, for * example when opening a ZIP file by name. * \sa setIoDevice(), getZipName(), setZipName() **/ QIODevice *getIoDevice() const; /// Sets the device representing the ZIP file. /** Does nothing if the ZIP file is open. * * Does not reset error code returned by getZipError(). * \sa getIoDevice(), getZipName(), setZipName() **/ void setIoDevice(QIODevice *ioDevice); /// Returns the mode in which ZIP file was opened. Mode getMode() const; /// Returns \c true if ZIP file is open, \c false otherwise. bool isOpen() const; /// Returns the error code of the last operation. /** Returns \c UNZ_OK if the last operation was successful. * * Error code resets to \c UNZ_OK every time you call any function * that accesses something inside ZIP archive, even if it is \c * const (like getEntriesCount()). open() and close() calls reset * error code too. See documentation for the specific functions for * details on error detection. **/ int getZipError() const; /// Returns number of the entries in the ZIP central directory. /** Returns negative error code in the case of error. The same error * code will be returned by subsequent getZipError() call. **/ int getEntriesCount() const; /// Returns global comment in the ZIP file. QString getComment() const; /// Sets the global comment in the ZIP file. /** The comment will be written to the archive on close operation. * QuaZip makes a distinction between a null QByteArray() comment * and an empty "" comment in the QuaZip::mdAdd mode. * A null comment is the default and it means "don't change * the comment". An empty comment removes the original comment. * * \sa open() **/ void setComment(const QString& comment); /// Sets the current file to the first file in the archive. /** Returns \c true on success, \c false otherwise. Call * getZipError() to get the error code. **/ bool goToFirstFile(); /// Sets the current file to the next file in the archive. /** Returns \c true on success, \c false otherwise. Call * getZipError() to determine if there was an error. * * Should be used only in QuaZip::mdUnzip mode. * * \note If the end of file was reached, getZipError() will return * \c UNZ_OK instead of \c UNZ_END_OF_LIST_OF_FILE. This is to make * things like this easier: * \code * for(bool more=zip.goToFirstFile(); more; more=zip.goToNextFile()) { * // do something * } * if(zip.getZipError()==UNZ_OK) { * // ok, there was no error * } * \endcode **/ bool goToNextFile(); /// Sets current file by its name. /** Returns \c true if successful, \c false otherwise. Argument \a * cs specifies case sensitivity of the file name. Call * getZipError() in the case of a failure to get error code. * * This is not a wrapper to unzLocateFile() function. That is * because I had to implement locale-specific case-insensitive * comparison. * * Here are the differences from the original implementation: * * - If the file was not found, error code is \c UNZ_OK, not \c * UNZ_END_OF_LIST_OF_FILE (see also goToNextFile()). * - If this function fails, it unsets the current file rather than * resetting it back to what it was before the call. * * If \a fileName is null string then this function unsets the * current file and return \c true. Note that you should close the * file first if it is open! See * QuaZipFile::QuaZipFile(QuaZip*,QObject*) for the details. * * Should be used only in QuaZip::mdUnzip mode. * * \sa setFileNameCodec(), CaseSensitivity **/ bool setCurrentFile(const QString& fileName, CaseSensitivity cs =csDefault); /// Returns \c true if the current file has been set. bool hasCurrentFile() const; /// Retrieves information about the current file. /** Fills the structure pointed by \a info. Returns \c true on * success, \c false otherwise. In the latter case structure pointed * by \a info remains untouched. If there was an error, * getZipError() returns error code. * * Should be used only in QuaZip::mdUnzip mode. * * Does nothing and returns \c false in any of the following cases. * - ZIP is not open; * - ZIP does not have current file. * * In both cases getZipError() returns \c UNZ_OK since there * is no ZIP/UNZIP API call. * * This overload doesn't support zip64, but will work OK on zip64 archives * except that if one of the sizes (compressed or uncompressed) is greater * than 0xFFFFFFFFu, it will be set to exactly 0xFFFFFFFFu. * * \sa getCurrentFileInfo(QuaZipFileInfo64* info)const * \sa QuaZipFileInfo64::toQuaZipFileInfo(QuaZipFileInfo&)const **/ bool getCurrentFileInfo(QuaZipFileInfo* info)const; /// Retrieves information about the current file. /** \overload * * This function supports zip64. If the archive doesn't use zip64, it is * completely equivalent to getCurrentFileInfo(QuaZipFileInfo* info) * except for the argument type. * * \sa **/ bool getCurrentFileInfo(QuaZipFileInfo64* info)const; /// Returns the current file name. /** Equivalent to calling getCurrentFileInfo() and then getting \c * name field of the QuaZipFileInfo structure, but faster and more * convenient. * * Should be used only in QuaZip::mdUnzip mode. **/ QString getCurrentFileName()const; /// Returns \c unzFile handle. /** You can use this handle to directly call UNZIP part of the * ZIP/UNZIP package functions (see unzip.h). * * \warning When using the handle returned by this function, please * keep in mind that QuaZip class is unable to detect any changes * you make in the ZIP file state (e. g. changing current file, or * closing the handle). So please do not do anything with this * handle that is possible to do with the functions of this class. * Or at least return the handle in the original state before * calling some another function of this class (including implicit * destructor calls and calls from the QuaZipFile objects that refer * to this QuaZip instance!). So if you have changed the current * file in the ZIP archive - then change it back or you may * experience some strange behavior or even crashes. **/ unzFile getUnzFile(); /// Returns \c zipFile handle. /** You can use this handle to directly call ZIP part of the * ZIP/UNZIP package functions (see zip.h). Warnings about the * getUnzFile() function also apply to this function. **/ zipFile getZipFile(); /// Changes the data descriptor writing mode. /** According to the ZIP format specification, a file inside archive may have a data descriptor immediately following the file data. This is reflected by a special flag in the local file header and in the central directory. By default, QuaZIP sets this flag and writes the data descriptor unless both method and level were set to 0, in which case it operates in 1.0-compatible mode and never writes data descriptors. By setting this flag to false, it is possible to disable data descriptor writing, thus increasing compatibility with archive readers that don't understand this feature of the ZIP file format. Setting this flag affects all the QuaZipFile instances that are opened after this flag is set. The data descriptor writing mode is enabled by default. Note that if the ZIP archive is written into a QIODevice for which QIODevice::isSequential() returns \c true, then the data descriptor is mandatory and will be written even if this flag is set to false. \param enabled If \c true, enable local descriptor writing, disable it otherwise. \sa QuaZipFile::isDataDescriptorWritingEnabled() */ void setDataDescriptorWritingEnabled(bool enabled); /// Returns the data descriptor default writing mode. /** \sa setDataDescriptorWritingEnabled() */ bool isDataDescriptorWritingEnabled() const; /// Returns a list of files inside the archive. /** \return A list of file names or an empty list if there was an error or if the archive is empty (call getZipError() to figure out which). \sa getFileInfoList() */ QStringList getFileNameList() const; /// Returns information list about all files inside the archive. /** \return A list of QuaZipFileInfo objects or an empty list if there was an error or if the archive is empty (call getZipError() to figure out which). This function doesn't support zip64, but will still work with zip64 archives, converting results using QuaZipFileInfo64::toQuaZipFileInfo(). If all file sizes are below 4 GB, it will work just fine. \sa getFileNameList() \sa getFileInfoList64() */ QList getFileInfoList() const; /// Returns information list about all files inside the archive. /** \overload This function supports zip64. \sa getFileNameList() \sa getFileInfoList() */ QList getFileInfoList64() const; /// Enables the zip64 mode. /** * @param zip64 If \c true, the zip64 mode is enabled, disabled otherwise. * * Once this is enabled, all new files (until the mode is disabled again) * will be created in the zip64 mode, thus enabling the ability to write * files larger than 4 GB. By default, the zip64 mode is off due to * compatibility reasons. * * Note that this does not affect the ability to read zip64 archives in any * way. * * \sa isZip64Enabled() */ void setZip64Enabled(bool zip64); /// Returns whether the zip64 mode is enabled. /** * @return \c true if and only if the zip64 mode is enabled. * * \sa setZip64Enabled() */ bool isZip64Enabled() const; /// Returns the auto-close flag. /** @sa setAutoClose() */ bool isAutoClose() const; /// Sets or unsets the auto-close flag. /** By default, QuaZIP opens the underlying QIODevice when open() is called, and closes it when close() is called. In some cases, when the device is set explicitly using setIoDevice(), it may be desirable to leave the device open. If the auto-close flag is unset using this method, then the device isn't closed automatically if it was set explicitly. If it is needed to clear this flag, it is recommended to do so before opening the archive because otherwise QuaZIP may close the device during the open() call if an error is encountered after the device is opened. If the device was not set explicitly, but rather the setZipName() or the appropriate constructor was used to set the ZIP file name instead, then the auto-close flag has no effect, and the internal device is closed nevertheless because there is no other way to close it. @sa isAutoClose() @sa setIoDevice() */ void setAutoClose(bool autoClose) const; /// Sets the default file name codec to use. /** * The default codec is used by the constructors, so calling this function * won't affect the QuaZip instances already created at that moment. * * The codec specified here can be overriden by calling setFileNameCodec(). * If neither function is called, QTextCodec::codecForLocale() will be used * to decode or encode file names. Use this function with caution if * the application uses other libraries that depend on QuaZIP. Those * libraries can either call this function by themselves, thus overriding * your setting or can rely on the default encoding, thus failing * mysteriously if you change it. For these reasons, it isn't recommended * to use this function if you are developing a library, not an application. * Instead, ask your library users to call it in case they need specific * encoding. * * In most cases, using setFileNameCodec() instead is the right choice. * However, if you depend on third-party code that uses QuaZIP, then the * reasons stated above can actually become a reason to use this function * in case the third-party code in question fails because it doesn't * understand the encoding you need and doesn't provide a way to specify it. * This applies to the JlCompress class as well, as it was contributed and * doesn't support explicit encoding parameters. * * In short: use setFileNameCodec() when you can, resort to * setDefaultFileNameCodec() when you don't have access to the QuaZip * instance. * * @param codec The codec to use by default. If NULL, resets to default. */ static void setDefaultFileNameCodec(QTextCodec *codec); /** * @overload * Equivalent to calling * setDefltFileNameCodec(QTextCodec::codecForName(codecName)). */ static void setDefaultFileNameCodec(const char *codecName); }; #endif merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip.pri000066400000000000000000000016371255273444100227100ustar00rootroot00000000000000INCLUDEPATH += $$PWD DEPENDPATH += $$PWD HEADERS += \ $$PWD/crypt.h \ $$PWD/ioapi.h \ $$PWD/JlCompress.h \ $$PWD/quaadler32.h \ $$PWD/quachecksum32.h \ $$PWD/quacrc32.h \ $$PWD/quagzipfile.h \ $$PWD/quaziodevice.h \ $$PWD/quazipdir.h \ $$PWD/quazipfile.h \ $$PWD/quazipfileinfo.h \ $$PWD/quazip_global.h \ $$PWD/quazip.h \ $$PWD/quazipnewinfo.h \ $$PWD/unzip.h \ $$PWD/zip.h SOURCES += $$PWD/qioapi.cpp \ $$PWD/JlCompress.cpp \ $$PWD/quaadler32.cpp \ $$PWD/quacrc32.cpp \ $$PWD/quagzipfile.cpp \ $$PWD/quaziodevice.cpp \ $$PWD/quazip.cpp \ $$PWD/quazipdir.cpp \ $$PWD/quazipfile.cpp \ $$PWD/quazipfileinfo.cpp \ $$PWD/quazipnewinfo.cpp \ $$PWD/unzip.c \ $$PWD/zip.c merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip.pro000066400000000000000000000043541255273444100227150ustar00rootroot00000000000000TEMPLATE = lib CONFIG += qt warn_on QT -= gui # The ABI version. !win32:VERSION = 1.0.0 # 1.0.0 is the first stable ABI. # The next binary incompatible change will be 2.0.0 and so on. # The existing QuaZIP policy on changing ABI requires to bump the # major version of QuaZIP itself as well. Note that there may be # other reasons for chaging the major version of QuaZIP, so # in case where there is a QuaZIP major version bump but no ABI change, # the VERSION variable will stay the same. # For example: # QuaZIP 1.0 is released after some 0.x, keeping binary compatibility. # VERSION stays 1.0.0. # Then some binary incompatible change is introduced. QuaZIP goes up to # 2.0, VERSION to 2.0.0. # And so on. # This one handles dllimport/dllexport directives. DEFINES += QUAZIP_BUILD # You'll need to define this one manually if using a build system other # than qmake or using QuaZIP sources directly in your project. CONFIG(staticlib): DEFINES += QUAZIP_STATIC # Input include(quazip.pri) unix:!symbian { headers.path=$$PREFIX/include/quazip headers.files=$$HEADERS target.path=$$PREFIX/lib/$${LIB_ARCH} INSTALLS += headers target OBJECTS_DIR=.obj MOC_DIR=.moc } win32 { headers.path=$$PREFIX/include/quazip headers.files=$$HEADERS target.path=$$PREFIX/lib INSTALLS += headers target # workaround for qdatetime.h macro bug DEFINES += NOMINMAX } symbian { # Note, on Symbian you may run into troubles with LGPL. # The point is, if your application uses some version of QuaZip, # and a newer binary compatible version of QuaZip is released, then # the users of your application must be able to relink it with the # new QuaZip version. For example, to take advantage of some QuaZip # bug fixes. # This is probably best achieved by building QuaZip as a static # library and providing linkable object files of your application, # so users can relink it. CONFIG += staticlib CONFIG += debug_and_release LIBS += -lezip #Export headers to SDK Epoc32/include directory exportheaders.sources = $$HEADERS exportheaders.path = quazip for(header, exportheaders.sources) { BLD_INF_RULES.prj_exports += "$$header $$exportheaders.path/$$basename(header)" } } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip.sln000066400000000000000000000015621255273444100227070ustar00rootroot00000000000000 Microsoft Visual Studio Solution File, Format Version 10.00 # Visual C++ Express 2008 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "quazip", "quazip.vcproj", "{E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.ActiveCfg = Debug|Win32 {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Debug|Win32.Build.0 = Debug|Win32 {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.ActiveCfg = Release|Win32 {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip.vcproj000066400000000000000000000133101255273444100234100ustar00rootroot00000000000000 merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip.vcxproj000066400000000000000000000135471255273444100236140ustar00rootroot00000000000000 Debug Win32 Release Win32 {E4AC5F56-B711-4F0E-BC83-CDE8B6CD53AD} Win32Proj DynamicLibrary DynamicLibrary <_ProjectFileVersion>10.0.30319.1 Debug\ Debug\ true Release\ Release\ true Disabled WIN32;_DEBUG;_WINDOWS;QUAZIP_BUILD;%(PreprocessorDefinitions) true EnableFastChecks MultiThreadedDebugDLL Level3 EditAndContinue QtCored4.lib;%(AdditionalDependencies) true Windows MachineX86 WIN32;NDEBUG;_WINDOWS;QUAZIP_BUILD;%(PreprocessorDefinitions) MultiThreadedDLL Level3 ProgramDatabase QtCore4.lib;%(AdditionalDependencies) true Windows true true MachineX86 merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip.vcxproj.filters000066400000000000000000000075341255273444100252620ustar00rootroot00000000000000 {93995380-89BD-4b04-88EB-625FBE52EBFB} h;hpp;hxx;hm;inl;inc;xsd {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx {4FC737F1-C7A5-4376-A066-2A32D752A2FF} cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Header Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files Source Files merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazip_global.h000066400000000000000000000033101255273444100236530ustar00rootroot00000000000000#ifndef QUAZIP_GLOBAL_H #define QUAZIP_GLOBAL_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include /** This is automatically defined when building a static library, but when including QuaZip sources directly into a project, QUAZIP_STATIC should be defined explicitly to avoid possible troubles with unnecessary importing/exporting. */ #ifdef QUAZIP_STATIC #define QUAZIP_EXPORT #else /** * When building a DLL with MSVC, QUAZIP_BUILD must be defined. * qglobal.h takes care of defining Q_DECL_* correctly for msvc/gcc. */ #if defined(QUAZIP_BUILD) #define QUAZIP_EXPORT Q_DECL_EXPORT #else #define QUAZIP_EXPORT Q_DECL_IMPORT #endif #endif // QUAZIP_STATIC #ifdef __GNUC__ #define UNUSED __attribute__((__unused__)) #else #define UNUSED #endif #define QUAZIP_EXTRA_NTFS_MAGIC 0x000Au #define QUAZIP_EXTRA_NTFS_TIME_MAGIC 0x0001u #endif // QUAZIP_GLOBAL_H merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazipdir.cpp000066400000000000000000000376701255273444100234050ustar00rootroot00000000000000/* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include "quazipdir.h" #include #include /// \cond internal class QuaZipDirPrivate: public QSharedData { friend class QuaZipDir; private: QuaZipDirPrivate(QuaZip *zip, const QString &dir = QString()): zip(zip), dir(dir), caseSensitivity(QuaZip::csDefault), filter(QDir::NoFilter), sorting(QDir::NoSort) {} QuaZip *zip; QString dir; QuaZip::CaseSensitivity caseSensitivity; QDir::Filters filter; QStringList nameFilters; QDir::SortFlags sorting; template bool entryInfoList(QStringList nameFilters, QDir::Filters filter, QDir::SortFlags sort, TFileInfoList &result) const; inline QString simplePath() const {return QDir::cleanPath(dir);} }; /// \endcond QuaZipDir::QuaZipDir(const QuaZipDir &that): d(that.d) { } QuaZipDir::QuaZipDir(QuaZip *zip, const QString &dir): d(new QuaZipDirPrivate(zip, dir)) { if (d->dir.startsWith('/')) d->dir = d->dir.mid(1); } QuaZipDir::~QuaZipDir() { } bool QuaZipDir::operator==(const QuaZipDir &that) { return d->zip == that.d->zip && d->dir == that.d->dir; } QuaZipDir& QuaZipDir::operator=(const QuaZipDir &that) { this->d = that.d; return *this; } QString QuaZipDir::operator[](int pos) const { return entryList().at(pos); } QuaZip::CaseSensitivity QuaZipDir::caseSensitivity() const { return d->caseSensitivity; } bool QuaZipDir::cd(const QString &directoryName) { if (directoryName == "/") { d->dir = ""; return true; } QString dirName = directoryName; if (dirName.endsWith('/')) dirName.chop(1); if (dirName.contains('/')) { QuaZipDir dir(*this); if (dirName.startsWith('/')) { #ifdef QUAZIP_QUAZIPDIR_DEBUG qDebug("QuaZipDir::cd(%s): going to /", dirName.toUtf8().constData()); #endif if (!dir.cd("/")) return false; } QStringList path = dirName.split('/', QString::SkipEmptyParts); for (QStringList::const_iterator i = path.constBegin(); i != path.end(); ++i) { const QString &step = *i; #ifdef QUAZIP_QUAZIPDIR_DEBUG qDebug("QuaZipDir::cd(%s): going to %s", dirName.toUtf8().constData(), step.toUtf8().constData()); #endif if (!dir.cd(step)) return false; } d->dir = dir.path(); return true; } else { // no '/' if (dirName == ".") { return true; } else if (dirName == "..") { if (isRoot()) { return false; } else { int slashPos = d->dir.lastIndexOf('/'); if (slashPos == -1) { d->dir = ""; } else { d->dir = d->dir.left(slashPos); } return true; } } else { // a simple subdirectory if (exists(dirName)) { if (isRoot()) d->dir = dirName; else d->dir += "/" + dirName; return true; } else { return false; } } } } bool QuaZipDir::cdUp() { return cd(".."); } uint QuaZipDir::count() const { return entryList().count(); } QString QuaZipDir::dirName() const { return QDir(d->dir).dirName(); } QuaZipFileInfo64 QuaZipDir_getFileInfo(QuaZip *zip, bool *ok, const QString &relativeName, bool isReal) { QuaZipFileInfo64 info; if (isReal) { *ok = zip->getCurrentFileInfo(&info); } else { *ok = true; info.compressedSize = 0; info.crc = 0; info.diskNumberStart = 0; info.externalAttr = 0; info.flags = 0; info.internalAttr = 0; info.method = 0; info.uncompressedSize = 0; info.versionCreated = info.versionNeeded = 0; } info.name = relativeName; return info; } static void QuaZipDir_convertInfoList(const QList &from, QList &to) { to = from; } static void QuaZipDir_convertInfoList(const QList &from, QStringList &to) { to.clear(); for (QList::const_iterator i = from.constBegin(); i != from.constEnd(); ++i) { to.append(i->name); } } static void QuaZipDir_convertInfoList(const QList &from, QList &to) { to.clear(); for (QList::const_iterator i = from.constBegin(); i != from.constEnd(); ++i) { QuaZipFileInfo info32; i->toQuaZipFileInfo(info32); to.append(info32); } } /// \cond internal /** An utility class to restore the current file. */ class QuaZipDirRestoreCurrent { public: inline QuaZipDirRestoreCurrent(QuaZip *zip): zip(zip), currentFile(zip->getCurrentFileName()) {} inline ~QuaZipDirRestoreCurrent() { zip->setCurrentFile(currentFile); } private: QuaZip *zip; QString currentFile; }; /// \endcond /// \cond internal class QuaZipDirComparator { private: QDir::SortFlags sort; static QString getExtension(const QString &name); int compareStrings(const QString &string1, const QString &string2); public: inline QuaZipDirComparator(QDir::SortFlags sort): sort(sort) {} bool operator()(const QuaZipFileInfo64 &info1, const QuaZipFileInfo64 &info2); }; QString QuaZipDirComparator::getExtension(const QString &name) { if (name.endsWith('.') || name.indexOf('.', 1) == -1) { return ""; } else { return name.mid(name.lastIndexOf('.') + 1); } } int QuaZipDirComparator::compareStrings(const QString &string1, const QString &string2) { if (sort & QDir::LocaleAware) { if (sort & QDir::IgnoreCase) { return string1.toLower().localeAwareCompare(string2.toLower()); } else { return string1.localeAwareCompare(string2); } } else { return string1.compare(string2, (sort & QDir::IgnoreCase) ? Qt::CaseInsensitive : Qt::CaseSensitive); } } bool QuaZipDirComparator::operator()(const QuaZipFileInfo64 &info1, const QuaZipFileInfo64 &info2) { QDir::SortFlags order = sort & (QDir::Name | QDir::Time | QDir::Size | QDir::Type); if ((sort & QDir::DirsFirst) == QDir::DirsFirst || (sort & QDir::DirsLast) == QDir::DirsLast) { if (info1.name.endsWith('/') && !info2.name.endsWith('/')) return (sort & QDir::DirsFirst) == QDir::DirsFirst; else if (!info1.name.endsWith('/') && info2.name.endsWith('/')) return (sort & QDir::DirsLast) == QDir::DirsLast; } bool result; int extDiff; switch (order) { case QDir::Name: result = compareStrings(info1.name, info2.name) < 0; break; case QDir::Type: extDiff = compareStrings(getExtension(info1.name), getExtension(info2.name)); if (extDiff == 0) { result = compareStrings(info1.name, info2.name) < 0; } else { result = extDiff < 0; } break; case QDir::Size: if (info1.uncompressedSize == info2.uncompressedSize) { result = compareStrings(info1.name, info2.name) < 0; } else { result = info1.uncompressedSize < info2.uncompressedSize; } break; case QDir::Time: if (info1.dateTime == info2.dateTime) { result = compareStrings(info1.name, info2.name) < 0; } else { result = info1.dateTime < info2.dateTime; } break; default: qWarning("QuaZipDirComparator(): Invalid sort mode 0x%2X", static_cast(sort)); return false; } return (sort & QDir::Reversed) ? !result : result; } template bool QuaZipDirPrivate::entryInfoList(QStringList nameFilters, QDir::Filters filter, QDir::SortFlags sort, TFileInfoList &result) const { QString basePath = simplePath(); if (!basePath.isEmpty()) basePath += "/"; int baseLength = basePath.length(); result.clear(); QuaZipDirRestoreCurrent saveCurrent(zip); if (!zip->goToFirstFile()) { return zip->getZipError() == UNZ_OK; } QDir::Filters fltr = filter; if (fltr == QDir::NoFilter) fltr = this->filter; if (fltr == QDir::NoFilter) fltr = QDir::AllEntries; QStringList nmfltr = nameFilters; if (nmfltr.isEmpty()) nmfltr = this->nameFilters; QSet dirsFound; QList list; do { QString name = zip->getCurrentFileName(); if (!name.startsWith(basePath)) continue; QString relativeName = name.mid(baseLength); if (relativeName.isEmpty()) continue; bool isDir = false; bool isReal = true; if (relativeName.contains('/')) { int indexOfSlash = relativeName.indexOf('/'); // something like "subdir/" isReal = indexOfSlash == relativeName.length() - 1; relativeName = relativeName.left(indexOfSlash + 1); if (dirsFound.contains(relativeName)) continue; isDir = true; } dirsFound.insert(relativeName); if ((fltr & QDir::Dirs) == 0 && isDir) continue; if ((fltr & QDir::Files) == 0 && !isDir) continue; if (!nmfltr.isEmpty() && !QDir::match(nmfltr, relativeName)) continue; bool ok; QuaZipFileInfo64 info = QuaZipDir_getFileInfo(zip, &ok, relativeName, isReal); if (!ok) { return false; } list.append(info); } while (zip->goToNextFile()); QDir::SortFlags srt = sort; if (srt == QDir::NoSort) srt = sorting; #ifdef QUAZIP_QUAZIPDIR_DEBUG qDebug("QuaZipDirPrivate::entryInfoList(): before sort:"); foreach (QuaZipFileInfo64 info, list) { qDebug("%s\t%s", info.name.toUtf8().constData(), info.dateTime.toString(Qt::ISODate).toUtf8().constData()); } #endif if (srt != QDir::NoSort && (srt & QDir::Unsorted) != QDir::Unsorted) { if (QuaZip::convertCaseSensitivity(caseSensitivity) == Qt::CaseInsensitive) srt |= QDir::IgnoreCase; QuaZipDirComparator lessThan(srt); qSort(list.begin(), list.end(), lessThan); } QuaZipDir_convertInfoList(list, result); return true; } /// \endcond QList QuaZipDir::entryInfoList(const QStringList &nameFilters, QDir::Filters filters, QDir::SortFlags sort) const { QList result; if (d->entryInfoList(nameFilters, filters, sort, result)) return result; else return QList(); } QList QuaZipDir::entryInfoList(QDir::Filters filters, QDir::SortFlags sort) const { return entryInfoList(QStringList(), filters, sort); } QList QuaZipDir::entryInfoList64(const QStringList &nameFilters, QDir::Filters filters, QDir::SortFlags sort) const { QList result; if (d->entryInfoList(nameFilters, filters, sort, result)) return result; else return QList(); } QList QuaZipDir::entryInfoList64(QDir::Filters filters, QDir::SortFlags sort) const { return entryInfoList64(QStringList(), filters, sort); } QStringList QuaZipDir::entryList(const QStringList &nameFilters, QDir::Filters filters, QDir::SortFlags sort) const { QStringList result; if (d->entryInfoList(nameFilters, filters, sort, result)) return result; else return QStringList(); } QStringList QuaZipDir::entryList(QDir::Filters filters, QDir::SortFlags sort) const { return entryList(QStringList(), filters, sort); } bool QuaZipDir::exists(const QString &filePath) const { if (filePath == "/" || filePath.isEmpty()) return true; QString fileName = filePath; if (fileName.endsWith('/')) fileName.chop(1); if (fileName.contains('/')) { QFileInfo fileInfo(fileName); #ifdef QUAZIP_QUAZIPDIR_DEBUG qDebug("QuaZipDir::exists(): fileName=%s, fileInfo.fileName()=%s, " "fileInfo.path()=%s", fileName.toUtf8().constData(), fileInfo.fileName().toUtf8().constData(), fileInfo.path().toUtf8().constData()); #endif QuaZipDir dir(*this); return dir.cd(fileInfo.path()) && dir.exists(fileInfo.fileName()); } else { if (fileName == "..") { return !isRoot(); } else if (fileName == ".") { return true; } else { QStringList entries = entryList(QDir::AllEntries, QDir::NoSort); #ifdef QUAZIP_QUAZIPDIR_DEBUG qDebug("QuaZipDir::exists(): looking for %s", fileName.toUtf8().constData()); for (QStringList::const_iterator i = entries.constBegin(); i != entries.constEnd(); ++i) { qDebug("QuaZipDir::exists(): entry: %s", i->toUtf8().constData()); } #endif Qt::CaseSensitivity cs = QuaZip::convertCaseSensitivity( d->caseSensitivity); if (filePath.endsWith('/')) { return entries.contains(filePath, cs); } else { return entries.contains(fileName, cs) || entries.contains(fileName + "/", cs); } } } } bool QuaZipDir::exists() const { return QuaZipDir(d->zip).exists(d->dir); } QString QuaZipDir::filePath(const QString &fileName) const { return QDir(d->dir).filePath(fileName); } QDir::Filters QuaZipDir::filter() { return d->filter; } bool QuaZipDir::isRoot() const { return d->simplePath().isEmpty(); } QStringList QuaZipDir::nameFilters() const { return d->nameFilters; } QString QuaZipDir::path() const { return d->dir; } QString QuaZipDir::relativeFilePath(const QString &fileName) const { return QDir("/" + d->dir).relativeFilePath(fileName); } void QuaZipDir::setCaseSensitivity(QuaZip::CaseSensitivity caseSensitivity) { d->caseSensitivity = caseSensitivity; } void QuaZipDir::setFilter(QDir::Filters filters) { d->filter = filters; } void QuaZipDir::setNameFilters(const QStringList &nameFilters) { d->nameFilters = nameFilters; } void QuaZipDir::setPath(const QString &path) { QString newDir = path; if (newDir == "/") { d->dir = ""; } else { if (newDir.endsWith('/')) newDir.chop(1); if (newDir.startsWith('/')) newDir = newDir.mid(1); d->dir = newDir; } } void QuaZipDir::setSorting(QDir::SortFlags sort) { d->sorting = sort; } QDir::SortFlags QuaZipDir::sorting() const { return d->sorting; } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazipdir.h000066400000000000000000000201521255273444100230350ustar00rootroot00000000000000#ifndef QUAZIP_QUAZIPDIR_H #define QUAZIP_QUAZIPDIR_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ class QuaZipDirPrivate; #include "quazip.h" #include "quazipfileinfo.h" #include #include #include /// Provides ZIP archive navigation. /** * This class is modelled after QDir, and is designed to provide similar * features for ZIP archives. * * The only significant difference from QDir is that the root path is not * '/', but an empty string since that's how the file paths are stored in * the archive. However, QuaZipDir understands the paths starting with * '/'. It is important in a few places: * * - In the cd() function. * - In the constructor. * - In the exists() function. * - In the relativePath() function. * * Note that since ZIP uses '/' on all platforms, the '\' separator is * not supported. */ class QUAZIP_EXPORT QuaZipDir { private: QSharedDataPointer d; public: /// The copy constructor. QuaZipDir(const QuaZipDir &that); /// Constructs a QuaZipDir instance pointing to the specified directory. /** If \a dir is not specified, points to the root of the archive. The same happens if the \a dir is "/". */ QuaZipDir(QuaZip *zip, const QString &dir = QString()); /// Destructor. ~QuaZipDir(); /// The assignment operator. bool operator==(const QuaZipDir &that); /// operator!= /** \return \c true if either this and \a that use different QuaZip instances or if they point to different directories. */ inline bool operator!=(const QuaZipDir &that) {return !operator==(that);} /// operator== /** \return \c true if both this and \a that use the same QuaZip instance and point to the same directory. */ QuaZipDir& operator=(const QuaZipDir &that); /// Returns the name of the entry at the specified position. QString operator[](int pos) const; /// Returns the current case sensitivity mode. QuaZip::CaseSensitivity caseSensitivity() const; /// Changes the 'current' directory. /** * If the path starts with '/', it is interpreted as an absolute * path from the root of the archive. Otherwise, it is interpreted * as a path relative to the current directory as was set by the * previous cd() or the constructor. * * Note that the subsequent path() call will not return a path * starting with '/' in all cases. */ bool cd(const QString &dirName); /// Goes up. bool cdUp(); /// Returns the number of entries in the directory. uint count() const; /// Returns the current directory name. /** The name doesn't include the path. */ QString dirName() const; /// Returns the list of the entries in the directory. /** \param nameFilters The list of file patterns to list, uses the same syntax as QDir. \param filters The entry type filters, only Files and Dirs are accepted. \param sort Sorting mode. */ QList entryInfoList(const QStringList &nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; /// Returns the list of the entries in the directory. /** \overload The same as entryInfoList(QStringList(), filters, sort). */ QList entryInfoList(QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; /// Returns the list of the entries in the directory with zip64 support. /** \param nameFilters The list of file patterns to list, uses the same syntax as QDir. \param filters The entry type filters, only Files and Dirs are accepted. \param sort Sorting mode. */ QList entryInfoList64(const QStringList &nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; /// Returns the list of the entries in the directory with zip64 support. /** \overload The same as entryInfoList64(QStringList(), filters, sort). */ QList entryInfoList64(QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; /// Returns the list of the entry names in the directory. /** The same as entryInfoList(nameFilters, filters, sort), but only returns entry names. */ QStringList entryList(const QStringList &nameFilters, QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; /// Returns the list of the entry names in the directory. /** \overload The same as entryList(QStringList(), filters, sort). */ QStringList entryList(QDir::Filters filters = QDir::NoFilter, QDir::SortFlags sort = QDir::NoSort) const; /// Returns \c true if the entry with the specified name exists. /** The ".." is considered to exist if the current directory is not root. The "." and "/" are considered to always exist. Paths starting with "/" are relative to the archive root, other paths are relative to the current dir. */ bool exists(const QString &fileName) const; /// Return \c true if the directory pointed by this QuaZipDir exists. bool exists() const; /// Returns the full path to the specified file. /** Doesn't check if the file actually exists. */ QString filePath(const QString &fileName) const; /// Returns the default filter. QDir::Filters filter(); /// Returns if the QuaZipDir points to the root of the archive. /** Not that the root path is the empty string, not '/'. */ bool isRoot() const; /// Return the default name filter. QStringList nameFilters() const; /// Returns the path to the current dir. /** The path never starts with '/', and the root path is an empty string. */ QString path() const; /// Returns the path to the specified file relative to the current dir. /** * This function is mostly useless, provided only for the sake of * completeness. * * @param fileName The path to the file, should start with "/" * if relative to the archive root. * @return Path relative to the current dir. */ QString relativeFilePath(const QString &fileName) const; /// Sets the default case sensitivity mode. void setCaseSensitivity(QuaZip::CaseSensitivity caseSensitivity); /// Sets the default filter. void setFilter(QDir::Filters filters); /// Sets the default name filter. void setNameFilters(const QStringList &nameFilters); /// Goes to the specified path. /** The difference from cd() is that this function never checks if the path actually exists and doesn't use relative paths, so it's possible to go to the root directory with setPath(""). Note that this function still chops the trailing and/or leading '/' and treats a single '/' as the root path (path() will still return an empty string). */ void setPath(const QString &path); /// Sets the default sorting mode. void setSorting(QDir::SortFlags sort); /// Returns the default sorting mode. QDir::SortFlags sorting() const; }; #endif // QUAZIP_QUAZIPDIR_H merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazipfile.cpp000066400000000000000000000335641255273444100235440ustar00rootroot00000000000000/* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant, see quazip/(un)zip.h files for details, basically it's zlib license. **/ #include "quazipfile.h" using namespace std; /// The implementation class for QuaZip. /** \internal This class contains all the private stuff for the QuaZipFile class, thus allowing to preserve binary compatibility between releases, the technique known as the Pimpl (private implementation) idiom. */ class QuaZipFilePrivate { friend class QuaZipFile; private: /// The pointer to the associated QuaZipFile instance. QuaZipFile *q; /// The QuaZip object to work with. QuaZip *zip; /// The file name. QString fileName; /// Case sensitivity mode. QuaZip::CaseSensitivity caseSensitivity; /// Whether this file is opened in the raw mode. bool raw; /// Write position to keep track of. /** QIODevice::pos() is broken for non-seekable devices, so we need our own position. */ qint64 writePos; /// Uncompressed size to write along with a raw file. quint64 uncompressedSize; /// CRC to write along with a raw file. quint32 crc; /// Whether \ref zip points to an internal QuaZip instance. /** This is true if the archive was opened by name, rather than by supplying an existing QuaZip instance. */ bool internal; /// The last error. int zipError; /// Resets \ref zipError. inline void resetZipError() const {setZipError(UNZ_OK);} /// Sets the zip error. /** This function is marked as const although it changes one field. This allows to call it from const functions that don't change anything by themselves. */ void setZipError(int zipError) const; /// The constructor for the corresponding QuaZipFile constructor. inline QuaZipFilePrivate(QuaZipFile *q): q(q), zip(NULL), internal(true), zipError(UNZ_OK) {} /// The constructor for the corresponding QuaZipFile constructor. inline QuaZipFilePrivate(QuaZipFile *q, const QString &zipName): q(q), internal(true), zipError(UNZ_OK) { zip=new QuaZip(zipName); } /// The constructor for the corresponding QuaZipFile constructor. inline QuaZipFilePrivate(QuaZipFile *q, const QString &zipName, const QString &fileName, QuaZip::CaseSensitivity cs): q(q), internal(true), zipError(UNZ_OK) { zip=new QuaZip(zipName); this->fileName=fileName; if (this->fileName.startsWith('/')) this->fileName = this->fileName.mid(1); this->caseSensitivity=cs; } /// The constructor for the QuaZipFile constructor accepting a file name. inline QuaZipFilePrivate(QuaZipFile *q, QuaZip *zip): q(q), zip(zip), internal(false), zipError(UNZ_OK) {} /// The destructor. inline ~QuaZipFilePrivate() { if (internal) delete zip; } }; QuaZipFile::QuaZipFile(): p(new QuaZipFilePrivate(this)) { } QuaZipFile::QuaZipFile(QObject *parent): QIODevice(parent), p(new QuaZipFilePrivate(this)) { } QuaZipFile::QuaZipFile(const QString& zipName, QObject *parent): QIODevice(parent), p(new QuaZipFilePrivate(this, zipName)) { } QuaZipFile::QuaZipFile(const QString& zipName, const QString& fileName, QuaZip::CaseSensitivity cs, QObject *parent): QIODevice(parent), p(new QuaZipFilePrivate(this, zipName, fileName, cs)) { } QuaZipFile::QuaZipFile(QuaZip *zip, QObject *parent): QIODevice(parent), p(new QuaZipFilePrivate(this, zip)) { } QuaZipFile::~QuaZipFile() { if (isOpen()) close(); delete p; } QString QuaZipFile::getZipName() const { return p->zip==NULL ? QString() : p->zip->getZipName(); } QuaZip *QuaZipFile::getZip() const { return p->internal ? NULL : p->zip; } QString QuaZipFile::getActualFileName()const { p->setZipError(UNZ_OK); if (p->zip == NULL || (openMode() & WriteOnly)) return QString(); QString name=p->zip->getCurrentFileName(); if(name.isNull()) p->setZipError(p->zip->getZipError()); return name; } void QuaZipFile::setZipName(const QString& zipName) { if(isOpen()) { qWarning("QuaZipFile::setZipName(): file is already open - can not set ZIP name"); return; } if(p->zip!=NULL && p->internal) delete p->zip; p->zip=new QuaZip(zipName); p->internal=true; } void QuaZipFile::setZip(QuaZip *zip) { if(isOpen()) { qWarning("QuaZipFile::setZip(): file is already open - can not set ZIP"); return; } if(p->zip!=NULL && p->internal) delete p->zip; p->zip=zip; p->fileName=QString(); p->internal=false; } void QuaZipFile::setFileName(const QString& fileName, QuaZip::CaseSensitivity cs) { if(p->zip==NULL) { qWarning("QuaZipFile::setFileName(): call setZipName() first"); return; } if(!p->internal) { qWarning("QuaZipFile::setFileName(): should not be used when not using internal QuaZip"); return; } if(isOpen()) { qWarning("QuaZipFile::setFileName(): can not set file name for already opened file"); return; } p->fileName=fileName; if (p->fileName.startsWith('/')) p->fileName = p->fileName.mid(1); p->caseSensitivity=cs; } void QuaZipFilePrivate::setZipError(int zipError) const { QuaZipFilePrivate *fakeThis = const_cast(this); // non-const fakeThis->zipError=zipError; if(zipError==UNZ_OK) q->setErrorString(QString()); else q->setErrorString(QuaZipFile::tr("ZIP/UNZIP API error %1").arg(zipError)); } bool QuaZipFile::open(OpenMode mode) { return open(mode, NULL); } bool QuaZipFile::open(OpenMode mode, int *method, int *level, bool raw, const char *password) { p->resetZipError(); if(isOpen()) { qWarning("QuaZipFile::open(): already opened"); return false; } if(mode&Unbuffered) { qWarning("QuaZipFile::open(): Unbuffered mode is not supported"); return false; } if((mode&ReadOnly)&&!(mode&WriteOnly)) { if(p->internal) { if(!p->zip->open(QuaZip::mdUnzip)) { p->setZipError(p->zip->getZipError()); return false; } if(!p->zip->setCurrentFile(p->fileName, p->caseSensitivity)) { p->setZipError(p->zip->getZipError()); p->zip->close(); return false; } } else { if(p->zip==NULL) { qWarning("QuaZipFile::open(): zip is NULL"); return false; } if(p->zip->getMode()!=QuaZip::mdUnzip) { qWarning("QuaZipFile::open(): file open mode %d incompatible with ZIP open mode %d", (int)mode, (int)p->zip->getMode()); return false; } if(!p->zip->hasCurrentFile()) { qWarning("QuaZipFile::open(): zip does not have current file"); return false; } } p->setZipError(unzOpenCurrentFile3(p->zip->getUnzFile(), method, level, (int)raw, password)); if(p->zipError==UNZ_OK) { setOpenMode(mode); p->raw=raw; return true; } else return false; } qWarning("QuaZipFile::open(): open mode %d not supported by this function", (int)mode); return false; } bool QuaZipFile::open(OpenMode mode, const QuaZipNewInfo& info, const char *password, quint32 crc, int method, int level, bool raw, int windowBits, int memLevel, int strategy) { zip_fileinfo info_z; p->resetZipError(); if(isOpen()) { qWarning("QuaZipFile::open(): already opened"); return false; } if((mode&WriteOnly)&&!(mode&ReadOnly)) { if(p->internal) { qWarning("QuaZipFile::open(): write mode is incompatible with internal QuaZip approach"); return false; } if(p->zip==NULL) { qWarning("QuaZipFile::open(): zip is NULL"); return false; } if(p->zip->getMode()!=QuaZip::mdCreate&&p->zip->getMode()!=QuaZip::mdAppend&&p->zip->getMode()!=QuaZip::mdAdd) { qWarning("QuaZipFile::open(): file open mode %d incompatible with ZIP open mode %d", (int)mode, (int)p->zip->getMode()); return false; } info_z.tmz_date.tm_year=info.dateTime.date().year(); info_z.tmz_date.tm_mon=info.dateTime.date().month() - 1; info_z.tmz_date.tm_mday=info.dateTime.date().day(); info_z.tmz_date.tm_hour=info.dateTime.time().hour(); info_z.tmz_date.tm_min=info.dateTime.time().minute(); info_z.tmz_date.tm_sec=info.dateTime.time().second(); info_z.dosDate = 0; info_z.internal_fa=(uLong)info.internalAttr; info_z.external_fa=(uLong)info.externalAttr; if (p->zip->isDataDescriptorWritingEnabled()) zipSetFlags(p->zip->getZipFile(), ZIP_WRITE_DATA_DESCRIPTOR); else zipClearFlags(p->zip->getZipFile(), ZIP_WRITE_DATA_DESCRIPTOR); p->setZipError(zipOpenNewFileInZip3_64(p->zip->getZipFile(), p->zip->getFileNameCodec()->fromUnicode(info.name).constData(), &info_z, info.extraLocal.constData(), info.extraLocal.length(), info.extraGlobal.constData(), info.extraGlobal.length(), p->zip->getCommentCodec()->fromUnicode(info.comment).constData(), method, level, (int)raw, windowBits, memLevel, strategy, password, (uLong)crc, p->zip->isZip64Enabled())); if(p->zipError==UNZ_OK) { p->writePos=0; setOpenMode(mode); p->raw=raw; if(raw) { p->crc=crc; p->uncompressedSize=info.uncompressedSize; } return true; } else return false; } qWarning("QuaZipFile::open(): open mode %d not supported by this function", (int)mode); return false; } bool QuaZipFile::isSequential()const { return true; } qint64 QuaZipFile::pos()const { if(p->zip==NULL) { qWarning("QuaZipFile::pos(): call setZipName() or setZip() first"); return -1; } if(!isOpen()) { qWarning("QuaZipFile::pos(): file is not open"); return -1; } if(openMode()&ReadOnly) // QIODevice::pos() is broken for sequential devices, // but thankfully bytesAvailable() returns the number of // bytes buffered, so we know how far ahead we are. return unztell(p->zip->getUnzFile()) - QIODevice::bytesAvailable(); else return p->writePos; } bool QuaZipFile::atEnd()const { if(p->zip==NULL) { qWarning("QuaZipFile::atEnd(): call setZipName() or setZip() first"); return false; } if(!isOpen()) { qWarning("QuaZipFile::atEnd(): file is not open"); return false; } if(openMode()&ReadOnly) // the same problem as with pos() return QIODevice::bytesAvailable() == 0 && unzeof(p->zip->getUnzFile())==1; else return true; } qint64 QuaZipFile::size()const { if(!isOpen()) { qWarning("QuaZipFile::atEnd(): file is not open"); return -1; } if(openMode()&ReadOnly) return p->raw?csize():usize(); else return p->writePos; } qint64 QuaZipFile::csize()const { unz_file_info64 info_z; p->setZipError(UNZ_OK); if(p->zip==NULL||p->zip->getMode()!=QuaZip::mdUnzip) return -1; p->setZipError(unzGetCurrentFileInfo64(p->zip->getUnzFile(), &info_z, NULL, 0, NULL, 0, NULL, 0)); if(p->zipError!=UNZ_OK) return -1; return info_z.compressed_size; } qint64 QuaZipFile::usize()const { unz_file_info64 info_z; p->setZipError(UNZ_OK); if(p->zip==NULL||p->zip->getMode()!=QuaZip::mdUnzip) return -1; p->setZipError(unzGetCurrentFileInfo64(p->zip->getUnzFile(), &info_z, NULL, 0, NULL, 0, NULL, 0)); if(p->zipError!=UNZ_OK) return -1; return info_z.uncompressed_size; } bool QuaZipFile::getFileInfo(QuaZipFileInfo *info) { QuaZipFileInfo64 info64; if (getFileInfo(&info64)) { info64.toQuaZipFileInfo(*info); return true; } else { return false; } } bool QuaZipFile::getFileInfo(QuaZipFileInfo64 *info) { if(p->zip==NULL||p->zip->getMode()!=QuaZip::mdUnzip) return false; p->zip->getCurrentFileInfo(info); p->setZipError(p->zip->getZipError()); return p->zipError==UNZ_OK; } void QuaZipFile::close() { p->resetZipError(); if(p->zip==NULL||!p->zip->isOpen()) return; if(!isOpen()) { qWarning("QuaZipFile::close(): file isn't open"); return; } if(openMode()&ReadOnly) p->setZipError(unzCloseCurrentFile(p->zip->getUnzFile())); else if(openMode()&WriteOnly) if(isRaw()) p->setZipError(zipCloseFileInZipRaw64(p->zip->getZipFile(), p->uncompressedSize, p->crc)); else p->setZipError(zipCloseFileInZip(p->zip->getZipFile())); else { qWarning("Wrong open mode: %d", (int)openMode()); return; } if(p->zipError==UNZ_OK) setOpenMode(QIODevice::NotOpen); else return; if(p->internal) { p->zip->close(); p->setZipError(p->zip->getZipError()); } } qint64 QuaZipFile::readData(char *data, qint64 maxSize) { p->setZipError(UNZ_OK); qint64 bytesRead=unzReadCurrentFile(p->zip->getUnzFile(), data, (unsigned)maxSize); if (bytesRead < 0) { p->setZipError((int) bytesRead); return -1; } return bytesRead; } qint64 QuaZipFile::writeData(const char* data, qint64 maxSize) { p->setZipError(ZIP_OK); p->setZipError(zipWriteInFileInZip(p->zip->getZipFile(), data, (uint)maxSize)); if(p->zipError!=ZIP_OK) return -1; else { p->writePos+=maxSize; return maxSize; } } QString QuaZipFile::getFileName() const { return p->fileName; } QuaZip::CaseSensitivity QuaZipFile::getCaseSensitivity() const { return p->caseSensitivity; } bool QuaZipFile::isRaw() const { return p->raw; } int QuaZipFile::getZipError() const { return p->zipError; } qint64 QuaZipFile::bytesAvailable() const { return size() - pos(); } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazipfile.h000066400000000000000000000470611255273444100232060ustar00rootroot00000000000000#ifndef QUA_ZIPFILE_H #define QUA_ZIPFILE_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant, see quazip/(un)zip.h files for details, basically it's zlib license. **/ #include #include "quazip_global.h" #include "quazip.h" #include "quazipnewinfo.h" class QuaZipFilePrivate; /// A file inside ZIP archive. /** \class QuaZipFile quazipfile.h * This is the most interesting class. Not only it provides C++ * interface to the ZIP/UNZIP package, but also integrates it with Qt by * subclassing QIODevice. This makes possible to access files inside ZIP * archive using QTextStream or QDataStream, for example. Actually, this * is the main purpose of the whole QuaZIP library. * * You can either use existing QuaZip instance to create instance of * this class or pass ZIP archive file name to this class, in which case * it will create internal QuaZip object. See constructors' descriptions * for details. Writing is only possible with the existing instance. * * Note that due to the underlying library's limitation it is not * possible to use multiple QuaZipFile instances to open several files * in the same archive at the same time. If you need to write to * multiple files in parallel, then you should write to temporary files * first, then pack them all at once when you have finished writing. If * you need to read multiple files inside the same archive in parallel, * you should extract them all into a temporary directory first. * * \section quazipfile-sequential Sequential or random-access? * * At the first thought, QuaZipFile has fixed size, the start and the * end and should be therefore considered random-access device. But * there is one major obstacle to making it random-access: ZIP/UNZIP API * does not support seek() operation and the only way to implement it is * through reopening the file and re-reading to the required position, * but this is prohibitively slow. * * Therefore, QuaZipFile is considered to be a sequential device. This * has advantage of availability of the ungetChar() operation (QIODevice * does not implement it properly for non-sequential devices unless they * support seek()). Disadvantage is a somewhat strange behaviour of the * size() and pos() functions. This should be kept in mind while using * this class. * **/ class QUAZIP_EXPORT QuaZipFile: public QIODevice { friend class QuaZipFilePrivate; Q_OBJECT private: QuaZipFilePrivate *p; // these are not supported nor implemented QuaZipFile(const QuaZipFile& that); QuaZipFile& operator=(const QuaZipFile& that); protected: /// Implementation of the QIODevice::readData(). qint64 readData(char *data, qint64 maxSize); /// Implementation of the QIODevice::writeData(). qint64 writeData(const char *data, qint64 maxSize); public: /// Constructs a QuaZipFile instance. /** You should use setZipName() and setFileName() or setZip() before * trying to call open() on the constructed object. **/ QuaZipFile(); /// Constructs a QuaZipFile instance. /** \a parent argument specifies this object's parent object. * * You should use setZipName() and setFileName() or setZip() before * trying to call open() on the constructed object. **/ QuaZipFile(QObject *parent); /// Constructs a QuaZipFile instance. /** \a parent argument specifies this object's parent object and \a * zipName specifies ZIP archive file name. * * You should use setFileName() before trying to call open() on the * constructed object. * * QuaZipFile constructed by this constructor can be used for read * only access. Use QuaZipFile(QuaZip*,QObject*) for writing. **/ QuaZipFile(const QString& zipName, QObject *parent =NULL); /// Constructs a QuaZipFile instance. /** \a parent argument specifies this object's parent object, \a * zipName specifies ZIP archive file name and \a fileName and \a cs * specify a name of the file to open inside archive. * * QuaZipFile constructed by this constructor can be used for read * only access. Use QuaZipFile(QuaZip*,QObject*) for writing. * * \sa QuaZip::setCurrentFile() **/ QuaZipFile(const QString& zipName, const QString& fileName, QuaZip::CaseSensitivity cs =QuaZip::csDefault, QObject *parent =NULL); /// Constructs a QuaZipFile instance. /** \a parent argument specifies this object's parent object. * * \a zip is the pointer to the existing QuaZip object. This * QuaZipFile object then can be used to read current file in the * \a zip or to write to the file inside it. * * \warning Using this constructor for reading current file can be * tricky. Let's take the following example: * \code * QuaZip zip("archive.zip"); * zip.open(QuaZip::mdUnzip); * zip.setCurrentFile("file-in-archive"); * QuaZipFile file(&zip); * file.open(QIODevice::ReadOnly); * // ok, now we can read from the file * file.read(somewhere, some); * zip.setCurrentFile("another-file-in-archive"); // oops... * QuaZipFile anotherFile(&zip); * anotherFile.open(QIODevice::ReadOnly); * anotherFile.read(somewhere, some); // this is still ok... * file.read(somewhere, some); // and this is NOT * \endcode * So, what exactly happens here? When we change current file in the * \c zip archive, \c file that references it becomes invalid * (actually, as far as I understand ZIP/UNZIP sources, it becomes * closed, but QuaZipFile has no means to detect it). * * Summary: do not close \c zip object or change its current file as * long as QuaZipFile is open. Even better - use another constructors * which create internal QuaZip instances, one per object, and * therefore do not cause unnecessary trouble. This constructor may * be useful, though, if you already have a QuaZip instance and do * not want to access several files at once. Good example: * \code * QuaZip zip("archive.zip"); * zip.open(QuaZip::mdUnzip); * // first, we need some information about archive itself * QByteArray comment=zip.getComment(); * // and now we are going to access files inside it * QuaZipFile file(&zip); * for(bool more=zip.goToFirstFile(); more; more=zip.goToNextFile()) { * file.open(QIODevice::ReadOnly); * // do something cool with file here * file.close(); // do not forget to close! * } * zip.close(); * \endcode **/ QuaZipFile(QuaZip *zip, QObject *parent =NULL); /// Destroys a QuaZipFile instance. /** Closes file if open, destructs internal QuaZip object (if it * exists and \em is internal, of course). **/ virtual ~QuaZipFile(); /// Returns the ZIP archive file name. /** If this object was created by passing QuaZip pointer to the * constructor, this function will return that QuaZip's file name * (or null string if that object does not have file name yet). * * Otherwise, returns associated ZIP archive file name or null * string if there are no name set yet. * * \sa setZipName() getFileName() **/ QString getZipName()const; /// Returns a pointer to the associated QuaZip object. /** Returns \c NULL if there is no associated QuaZip or it is * internal (so you will not mess with it). **/ QuaZip* getZip()const; /// Returns file name. /** This function returns file name you passed to this object either * by using * QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*) * or by calling setFileName(). Real name of the file may differ in * case if you used case-insensitivity. * * Returns null string if there is no file name set yet. This is the * case when this QuaZipFile operates on the existing QuaZip object * (constructor QuaZipFile(QuaZip*,QObject*) or setZip() was used). * * \sa getActualFileName **/ QString getFileName() const; /// Returns case sensitivity of the file name. /** This function returns case sensitivity argument you passed to * this object either by using * QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*) * or by calling setFileName(). * * Returns unpredictable value if getFileName() returns null string * (this is the case when you did not used setFileName() or * constructor above). * * \sa getFileName **/ QuaZip::CaseSensitivity getCaseSensitivity() const; /// Returns the actual file name in the archive. /** This is \em not a ZIP archive file name, but a name of file inside * archive. It is not necessary the same name that you have passed * to the * QuaZipFile(const QString&,const QString&,QuaZip::CaseSensitivity,QObject*), * setFileName() or QuaZip::setCurrentFile() - this is the real file * name inside archive, so it may differ in case if the file name * search was case-insensitive. * * Equivalent to calling getCurrentFileName() on the associated * QuaZip object. Returns null string if there is no associated * QuaZip object or if it does not have a current file yet. And this * is the case if you called setFileName() but did not open the * file yet. So this is perfectly fine: * \code * QuaZipFile file("somezip.zip"); * file.setFileName("somefile"); * QString name=file.getName(); // name=="somefile" * QString actual=file.getActualFileName(); // actual is null string * file.open(QIODevice::ReadOnly); * QString actual=file.getActualFileName(); // actual can be "SoMeFiLe" on Windows * \endcode * * \sa getZipName(), getFileName(), QuaZip::CaseSensitivity **/ QString getActualFileName()const; /// Sets the ZIP archive file name. /** Automatically creates internal QuaZip object and destroys * previously created internal QuaZip object, if any. * * Will do nothing if this file is already open. You must close() it * first. **/ void setZipName(const QString& zipName); /// Returns \c true if the file was opened in raw mode. /** If the file is not open, the returned value is undefined. * * \sa open(OpenMode,int*,int*,bool,const char*) **/ bool isRaw() const; /// Binds to the existing QuaZip instance. /** This function destroys internal QuaZip object, if any, and makes * this QuaZipFile to use current file in the \a zip object for any * further operations. See QuaZipFile(QuaZip*,QObject*) for the * possible pitfalls. * * Will do nothing if the file is currently open. You must close() * it first. **/ void setZip(QuaZip *zip); /// Sets the file name. /** Will do nothing if at least one of the following conditions is * met: * - ZIP name has not been set yet (getZipName() returns null * string). * - This QuaZipFile is associated with external QuaZip. In this * case you should call that QuaZip's setCurrentFile() function * instead! * - File is already open so setting the name is meaningless. * * \sa QuaZip::setCurrentFile **/ void setFileName(const QString& fileName, QuaZip::CaseSensitivity cs =QuaZip::csDefault); /// Opens a file for reading. /** Returns \c true on success, \c false otherwise. * Call getZipError() to get error code. * * \note Since ZIP/UNZIP API provides buffered reading only, * QuaZipFile does not support unbuffered reading. So do not pass * QIODevice::Unbuffered flag in \a mode, or open will fail. **/ virtual bool open(OpenMode mode); /// Opens a file for reading. /** \overload * Argument \a password specifies a password to decrypt the file. If * it is NULL then this function behaves just like open(OpenMode). **/ inline bool open(OpenMode mode, const char *password) {return open(mode, NULL, NULL, false, password);} /// Opens a file for reading. /** \overload * Argument \a password specifies a password to decrypt the file. * * An integers pointed by \a method and \a level will receive codes * of the compression method and level used. See unzip.h. * * If raw is \c true then no decompression is performed. * * \a method should not be \c NULL. \a level can be \c NULL if you * don't want to know the compression level. **/ bool open(OpenMode mode, int *method, int *level, bool raw, const char *password =NULL); /// Opens a file for writing. /** \a info argument specifies information about file. It should at * least specify a correct file name. Also, it is a good idea to * specify correct timestamp (by default, current time will be * used). See QuaZipNewInfo. * * The \a password argument specifies the password for crypting. Pass NULL * if you don't need any crypting. The \a crc argument was supposed * to be used for crypting too, but then it turned out that it's * false information, so you need to set it to 0 unless you want to * use the raw mode (see below). * * Arguments \a method and \a level specify compression method and * level. The only method supported is Z_DEFLATED, but you may also * specify 0 for no compression. If all of the files in the archive * use both method 0 and either level 0 is explicitly specified or * data descriptor writing is disabled with * QuaZip::setDataDescriptorWritingEnabled(), then the * resulting archive is supposed to be compatible with the 1.0 ZIP * format version, should you need that. Except for this, \a level * has no other effects with method 0. * * If \a raw is \c true, no compression is performed. In this case, * \a crc and uncompressedSize field of the \a info are required. * * Arguments \a windowBits, \a memLevel, \a strategy provide zlib * algorithms tuning. See deflateInit2() in zlib. **/ bool open(OpenMode mode, const QuaZipNewInfo& info, const char *password =NULL, quint32 crc =0, int method =Z_DEFLATED, int level =Z_DEFAULT_COMPRESSION, bool raw =false, int windowBits =-MAX_WBITS, int memLevel =DEF_MEM_LEVEL, int strategy =Z_DEFAULT_STRATEGY); /// Returns \c true, but \ref quazipfile-sequential "beware"! virtual bool isSequential()const; /// Returns current position in the file. /** Implementation of the QIODevice::pos(). When reading, this * function is a wrapper to the ZIP/UNZIP unztell(), therefore it is * unable to keep track of the ungetChar() calls (which is * non-virtual and therefore is dangerous to reimplement). So if you * are using ungetChar() feature of the QIODevice, this function * reports incorrect value until you get back characters which you * ungot. * * When writing, pos() returns number of bytes already written * (uncompressed unless you use raw mode). * * \note Although * \ref quazipfile-sequential "QuaZipFile is a sequential device" * and therefore pos() should always return zero, it does not, * because it would be misguiding. Keep this in mind. * * This function returns -1 if the file or archive is not open. * * Error code returned by getZipError() is not affected by this * function call. **/ virtual qint64 pos()const; /// Returns \c true if the end of file was reached. /** This function returns \c false in the case of error. This means * that you called this function on either not open file, or a file * in the not open archive or even on a QuaZipFile instance that * does not even have QuaZip instance associated. Do not do that * because there is no means to determine whether \c false is * returned because of error or because end of file was reached. * Well, on the other side you may interpret \c false return value * as "there is no file open to check for end of file and there is * no end of file therefore". * * When writing, this function always returns \c true (because you * are always writing to the end of file). * * Error code returned by getZipError() is not affected by this * function call. **/ virtual bool atEnd()const; /// Returns file size. /** This function returns csize() if the file is open for reading in * raw mode, usize() if it is open for reading in normal mode and * pos() if it is open for writing. * * Returns -1 on error, call getZipError() to get error code. * * \note This function returns file size despite that * \ref quazipfile-sequential "QuaZipFile is considered to be sequential device", * for which size() should return bytesAvailable() instead. But its * name would be very misguiding otherwise, so just keep in mind * this inconsistence. **/ virtual qint64 size()const; /// Returns compressed file size. /** Equivalent to calling getFileInfo() and then getting * compressedSize field, but more convenient and faster. * * File must be open for reading before calling this function. * * Returns -1 on error, call getZipError() to get error code. **/ qint64 csize()const; /// Returns uncompressed file size. /** Equivalent to calling getFileInfo() and then getting * uncompressedSize field, but more convenient and faster. See * getFileInfo() for a warning. * * File must be open for reading before calling this function. * * Returns -1 on error, call getZipError() to get error code. **/ qint64 usize()const; /// Gets information about current file. /** This function does the same thing as calling * QuaZip::getCurrentFileInfo() on the associated QuaZip object, * but you can not call getCurrentFileInfo() if the associated * QuaZip is internal (because you do not have access to it), while * you still can call this function in that case. * * File must be open for reading before calling this function. * * \return \c false in the case of an error. * * This function doesn't support zip64, but will still work fine on zip64 * archives if file sizes are below 4 GB, otherwise the values will be set * as if converted using QuaZipFileInfo64::toQuaZipFileInfo(). * * \sa getFileInfo(QuaZipFileInfo64*) **/ bool getFileInfo(QuaZipFileInfo *info); /// Gets information about current file with zip64 support. /** * @overload * * \sa getFileInfo(QuaZipFileInfo*) */ bool getFileInfo(QuaZipFileInfo64 *info); /// Closes the file. /** Call getZipError() to determine if the close was successful. **/ virtual void close(); /// Returns the error code returned by the last ZIP/UNZIP API call. int getZipError() const; /// Returns the number of bytes available for reading. virtual qint64 bytesAvailable() const; }; #endif merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazipfileinfo.cpp000066400000000000000000000147321255273444100244140ustar00rootroot00000000000000/* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include "quazipfileinfo.h" static QFile::Permissions permissionsFromExternalAttr(quint32 externalAttr) { quint32 uPerm = (externalAttr & 0xFFFF0000u) >> 16; QFile::Permissions perm = 0; if ((uPerm & 0400) != 0) perm |= QFile::ReadOwner; if ((uPerm & 0200) != 0) perm |= QFile::WriteOwner; if ((uPerm & 0100) != 0) perm |= QFile::ExeOwner; if ((uPerm & 0040) != 0) perm |= QFile::ReadGroup; if ((uPerm & 0020) != 0) perm |= QFile::WriteGroup; if ((uPerm & 0010) != 0) perm |= QFile::ExeGroup; if ((uPerm & 0004) != 0) perm |= QFile::ReadOther; if ((uPerm & 0002) != 0) perm |= QFile::WriteOther; if ((uPerm & 0001) != 0) perm |= QFile::ExeOther; return perm; } QFile::Permissions QuaZipFileInfo::getPermissions() const { return permissionsFromExternalAttr(externalAttr); } QFile::Permissions QuaZipFileInfo64::getPermissions() const { return permissionsFromExternalAttr(externalAttr); } bool QuaZipFileInfo64::toQuaZipFileInfo(QuaZipFileInfo &info) const { bool noOverflow = true; info.name = name; info.versionCreated = versionCreated; info.versionNeeded = versionNeeded; info.flags = flags; info.method = method; info.dateTime = dateTime; info.crc = crc; if (compressedSize > 0xFFFFFFFFu) { info.compressedSize = 0xFFFFFFFFu; noOverflow = false; } else { info.compressedSize = compressedSize; } if (uncompressedSize > 0xFFFFFFFFu) { info.uncompressedSize = 0xFFFFFFFFu; noOverflow = false; } else { info.uncompressedSize = uncompressedSize; } info.diskNumberStart = diskNumberStart; info.internalAttr = internalAttr; info.externalAttr = externalAttr; info.comment = comment; info.extra = extra; return noOverflow; } static QDateTime getNTFSTime(const QByteArray &extra, int position, int *fineTicks) { QDateTime dateTime; for (int i = 0; i <= extra.size() - 4; ) { unsigned type = static_cast(static_cast( extra.at(i))) | (static_cast(static_cast( extra.at(i + 1))) << 8); i += 2; unsigned length = static_cast(static_cast( extra.at(i))) | (static_cast(static_cast( extra.at(i + 1))) << 8); i += 2; if (type == QUAZIP_EXTRA_NTFS_MAGIC && length >= 32) { i += 4; // reserved while (i <= extra.size() - 4) { unsigned tag = static_cast( static_cast(extra.at(i))) | (static_cast( static_cast(extra.at(i + 1))) << 8); i += 2; int tagsize = static_cast( static_cast(extra.at(i))) | (static_cast( static_cast(extra.at(i + 1))) << 8); i += 2; if (tag == QUAZIP_EXTRA_NTFS_TIME_MAGIC && tagsize >= position + 8) { i += position; quint64 mtime = static_cast( static_cast(extra.at(i))) | (static_cast(static_cast( extra.at(i + 1))) << 8) | (static_cast(static_cast( extra.at(i + 2))) << 16) | (static_cast(static_cast( extra.at(i + 3))) << 24) | (static_cast(static_cast( extra.at(i + 4))) << 32) | (static_cast(static_cast( extra.at(i + 5))) << 40) | (static_cast(static_cast( extra.at(i + 6))) << 48) | (static_cast(static_cast( extra.at(i + 7))) << 56); // the NTFS time is measured from 1601 for whatever reason QDateTime base(QDate(1601, 1, 1), QTime(0, 0), Qt::UTC); dateTime = base.addMSecs(mtime / 10000); if (fineTicks != NULL) { *fineTicks = static_cast(mtime % 10000); } i += tagsize - position; } else { i += tagsize; } } } else { i += length; } } if (fineTicks != NULL && dateTime.isNull()) { *fineTicks = 0; } return dateTime; } QDateTime QuaZipFileInfo64::getNTFSmTime(int *fineTicks) const { return getNTFSTime(extra, 0, fineTicks); } QDateTime QuaZipFileInfo64::getNTFSaTime(int *fineTicks) const { return getNTFSTime(extra, 8, fineTicks); } QDateTime QuaZipFileInfo64::getNTFScTime(int *fineTicks) const { return getNTFSTime(extra, 16, fineTicks); } merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazipfileinfo.h000066400000000000000000000132551255273444100240600ustar00rootroot00000000000000#ifndef QUA_ZIPFILEINFO_H #define QUA_ZIPFILEINFO_H /* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include #include #include #include "quazip_global.h" /// Information about a file inside archive. /** Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to * fill this structure. */ struct QUAZIP_EXPORT QuaZipFileInfo { /// File name. QString name; /// Version created by. quint16 versionCreated; /// Version needed to extract. quint16 versionNeeded; /// General purpose flags. quint16 flags; /// Compression method. quint16 method; /// Last modification date and time. QDateTime dateTime; /// CRC. quint32 crc; /// Compressed file size. quint32 compressedSize; /// Uncompressed file size. quint32 uncompressedSize; /// Disk number start. quint16 diskNumberStart; /// Internal file attributes. quint16 internalAttr; /// External file attributes. quint32 externalAttr; /// Comment. QString comment; /// Extra field. QByteArray extra; /// Get the file permissions. /** Returns the high 16 bits of external attributes converted to QFile::Permissions. */ QFile::Permissions getPermissions() const; }; /// Information about a file inside archive (with zip64 support). /** Call QuaZip::getCurrentFileInfo() or QuaZipFile::getFileInfo() to * fill this structure. */ struct QUAZIP_EXPORT QuaZipFileInfo64 { /// File name. QString name; /// Version created by. quint16 versionCreated; /// Version needed to extract. quint16 versionNeeded; /// General purpose flags. quint16 flags; /// Compression method. quint16 method; /// Last modification date and time. /** * This is the time stored in the standard ZIP header. This format only allows * to store time with 2-second precision, so the seconds will always be even * and the milliseconds will always be zero. If you need more precise * date and time, you can try to call the getNTFSmTime() function or * its siblings, provided that the archive itself contains these NTFS times. */ QDateTime dateTime; /// CRC. quint32 crc; /// Compressed file size. quint64 compressedSize; /// Uncompressed file size. quint64 uncompressedSize; /// Disk number start. quint16 diskNumberStart; /// Internal file attributes. quint16 internalAttr; /// External file attributes. quint32 externalAttr; /// Comment. QString comment; /// Extra field. QByteArray extra; /// Get the file permissions. /** Returns the high 16 bits of external attributes converted to QFile::Permissions. */ QFile::Permissions getPermissions() const; /// Converts to QuaZipFileInfo /** If any of the fields are greater than 0xFFFFFFFFu, they are set to 0xFFFFFFFFu exactly, not just truncated. This function should be mainly used for compatibility with the old code expecting QuaZipFileInfo, in the cases when it's impossible or otherwise unadvisable (due to ABI compatibility reasons, for example) to modify that old code to use QuaZipFileInfo64. \return \c true if all fields converted correctly, \c false if an overflow occured. */ bool toQuaZipFileInfo(QuaZipFileInfo &info) const; /// Returns the NTFS modification time /** * The getNTFS*Time() functions only work if there is an NTFS extra field * present. Otherwise, they all return invalid null timestamps. * @param fineTicks If not NULL, the fractional part of milliseconds returned * there, measured in 100-nanosecond ticks. Will be set to * zero if there is no NTFS extra field. * @sa dateTime * @sa getNTFSaTime() * @sa getNTFScTime() * @return The NTFS modification time, UTC */ QDateTime getNTFSmTime(int *fineTicks = NULL) const; /// Returns the NTFS access time /** * The getNTFS*Time() functions only work if there is an NTFS extra field * present. Otherwise, they all return invalid null timestamps. * @param fineTicks If not NULL, the fractional part of milliseconds returned * there, measured in 100-nanosecond ticks. Will be set to * zero if there is no NTFS extra field. * @sa dateTime * @sa getNTFSmTime() * @sa getNTFScTime() * @return The NTFS access time, UTC */ QDateTime getNTFSaTime(int *fineTicks = NULL) const; /// Returns the NTFS creation time /** * The getNTFS*Time() functions only work if there is an NTFS extra field * present. Otherwise, they all return invalid null timestamps. * @param fineTicks If not NULL, the fractional part of milliseconds returned * there, measured in 100-nanosecond ticks. Will be set to * zero if there is no NTFS extra field. * @sa dateTime * @sa getNTFSmTime() * @sa getNTFSaTime() * @return The NTFS creation time, UTC */ QDateTime getNTFScTime(int *fineTicks = NULL) const; }; #endif merkaartor-0.18.2/3rdparty/quazip-0.7/quazip/quazipnewinfo.cpp000066400000000000000000000244421255273444100242650ustar00rootroot00000000000000/* Copyright (C) 2005-2014 Sergey A. Tachenov This file is part of QuaZIP. QuaZIP is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. QuaZIP 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with QuaZIP. If not, see . See COPYING file for the full LGPL text. Original ZIP package is copyrighted by Gilles Vollant and contributors, see quazip/(un)zip.h files for details. Basically it's the zlib license. */ #include #include "quazipnewinfo.h" #include static void QuaZipNewInfo_setPermissions(QuaZipNewInfo *info, QFile::Permissions perm, bool isDir) { quint32 uPerm = isDir ? 0040000 : 0100000; if ((perm & QFile::ReadOwner) != 0) uPerm |= 0400; if ((perm & QFile::WriteOwner) != 0) uPerm |= 0200; if ((perm & QFile::ExeOwner) != 0) uPerm |= 0100; if ((perm & QFile::ReadGroup) != 0) uPerm |= 0040; if ((perm & QFile::WriteGroup) != 0) uPerm |= 0020; if ((perm & QFile::ExeGroup) != 0) uPerm |= 0010; if ((perm & QFile::ReadOther) != 0) uPerm |= 0004; if ((perm & QFile::WriteOther) != 0) uPerm |= 0002; if ((perm & QFile::ExeOther) != 0) uPerm |= 0001; info->externalAttr = (info->externalAttr & ~0xFFFF0000u) | (uPerm << 16); } template void QuaZipNewInfo_init(QuaZipNewInfo &self, const FileInfo &existing) { self.name = existing.name; self.dateTime = existing.dateTime; self.internalAttr = existing.internalAttr; self.externalAttr = existing.externalAttr; self.comment = existing.comment; self.extraLocal = existing.extra; self.extraGlobal = existing.extra; self.uncompressedSize = existing.uncompressedSize; } QuaZipNewInfo::QuaZipNewInfo(const QuaZipFileInfo &existing) { QuaZipNewInfo_init(*this, existing); } QuaZipNewInfo::QuaZipNewInfo(const QuaZipFileInfo64 &existing) { QuaZipNewInfo_init(*this, existing); } QuaZipNewInfo::QuaZipNewInfo(const QString& name): name(name), dateTime(QDateTime::currentDateTime()), internalAttr(0), externalAttr(0), uncompressedSize(0) { } QuaZipNewInfo::QuaZipNewInfo(const QString& name, const QString& file): name(name), internalAttr(0), externalAttr(0), uncompressedSize(0) { QFileInfo info(file); QDateTime lm = info.lastModified(); if (!info.exists()) { dateTime = QDateTime::currentDateTime(); } else { dateTime = lm; QuaZipNewInfo_setPermissions(this, info.permissions(), info.isDir()); } } void QuaZipNewInfo::setFileDateTime(const QString& file) { QFileInfo info(file); QDateTime lm = info.lastModified(); if (info.exists()) dateTime = lm; } void QuaZipNewInfo::setFilePermissions(const QString &file) { QFileInfo info = QFileInfo(file); QFile::Permissions perm = info.permissions(); QuaZipNewInfo_setPermissions(this, perm, info.isDir()); } void QuaZipNewInfo::setPermissions(QFile::Permissions permissions) { QuaZipNewInfo_setPermissions(this, permissions, name.endsWith('/')); } void QuaZipNewInfo::setFileNTFSTimes(const QString &fileName) { QFileInfo fi(fileName); if (!fi.exists()) { qWarning("QuaZipNewInfo::setFileNTFSTimes(): '%s' doesn't exist", fileName.toUtf8().constData()); return; } setFileNTFSmTime(fi.lastModified()); setFileNTFSaTime(fi.lastRead()); setFileNTFScTime(fi.created()); } static void setNTFSTime(QByteArray &extra, const QDateTime &time, int position, int fineTicks) { int ntfsPos = -1, timesPos = -1; unsigned ntfsLength = 0, ntfsTimesLength = 0; for (int i = 0; i <= extra.size() - 4; ) { unsigned type = static_cast(static_cast( extra.at(i))) | (static_cast(static_cast( extra.at(i + 1))) << 8); i += 2; unsigned length = static_cast(static_cast( extra.at(i))) | (static_cast(static_cast( extra.at(i + 1))) << 8); i += 2; if (type == QUAZIP_EXTRA_NTFS_MAGIC) { ntfsPos = i - 4; // the beginning of the NTFS record ntfsLength = length; if (length <= 4) { break; // no times in the NTFS record } i += 4; // reserved while (i <= extra.size() - 4) { unsigned tag = static_cast( static_cast(extra.at(i))) | (static_cast( static_cast(extra.at(i + 1))) << 8); i += 2; unsigned tagsize = static_cast( static_cast(extra.at(i))) | (static_cast( static_cast(extra.at(i + 1))) << 8); i += 2; if (tag == QUAZIP_EXTRA_NTFS_TIME_MAGIC) { timesPos = i - 4; // the beginning of the NTFS times tag ntfsTimesLength = tagsize; break; } else { i += tagsize; } } break; // I ain't going to search for yet another NTFS record! } else { i += length; } } if (ntfsPos == -1) { // No NTFS record, need to create one. ntfsPos = extra.size(); ntfsLength = 32; extra.resize(extra.size() + 4 + ntfsLength); // the NTFS record header extra[ntfsPos] = static_cast(QUAZIP_EXTRA_NTFS_MAGIC); extra[ntfsPos + 1] = static_cast(QUAZIP_EXTRA_NTFS_MAGIC >> 8); extra[ntfsPos + 2] = 32; // the 2-byte size in LittleEndian extra[ntfsPos + 3] = 0; // zero the record memset(extra.data() + ntfsPos + 4, 0, 32); timesPos = ntfsPos + 8; // now set the tag data extra[timesPos] = static_cast(QUAZIP_EXTRA_NTFS_TIME_MAGIC); extra[timesPos + 1] = static_cast(QUAZIP_EXTRA_NTFS_TIME_MAGIC >> 8); // the size: extra[timesPos + 2] = 24; extra[timesPos + 3] = 0; ntfsTimesLength = 24; } if (timesPos == -1) { // No time tag in the NTFS record, need to add one. timesPos = ntfsPos + 4 + ntfsLength; extra.resize(extra.size() + 28); // Now we need to move the rest of the field // (possibly zero bytes, but memmove() is OK with that). // 0 ......... ntfsPos .. ntfsPos + 4 ... timesPos //
memmove(extra.data() + timesPos + 28, extra.data() + timesPos, extra.size() - 28 - timesPos); ntfsLength += 28; // now set the tag data extra[timesPos] = static_cast(QUAZIP_EXTRA_NTFS_TIME_MAGIC); extra[timesPos + 1] = static_cast(QUAZIP_EXTRA_NTFS_TIME_MAGIC >> 8); // the size: extra[timesPos + 2] = 24; extra[timesPos + 3] = 0; // zero the record memset(extra.data() + timesPos + 4, 0, 24); ntfsTimesLength = 24; } if (ntfsTimesLength < 24) { // Broken times field. OK, this is really unlikely, but just in case... size_t timesEnd = timesPos + 4 + ntfsTimesLength; extra.resize(extra.size() + (24 - ntfsTimesLength)); // Move it! // 0 ......... timesPos .... timesPos + 4 .. timesEnd //