Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/INSTALL.TXT
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/INSTALL.TXT	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,254 +1,0 @@
-INSTALLATION 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 <SomeClass>
-
-or alternatively, in pre-Qt 4 style:
-
-    #include <some-class.h>
-
-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.
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/LGPL_EXCEPTION.txt
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/LGPL_EXCEPTION.txt	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,23 +1,0 @@
-Nokia 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.
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/LICENSE.GPL3
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/LICENSE.GPL3	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,674 +1,0 @@
-                    GNU GENERAL PUBLIC LICENSE
-                       Version 3, 29 June 2007
-
- Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
- 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.
-
-    <one line to give the program's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This program is free software: you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation, either version 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 <http://www.gnu.org/licenses/>.
-
-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:
-
-    <program>  Copyright (C) <year>  <name of author>
-    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
-<http://www.gnu.org/licenses/>.
-
-  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
-<http://www.gnu.org/philosophy/why-not-lgpl.html>.
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/LICENSE.LGPL
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/LICENSE.LGPL	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,513 +1,0 @@
-		  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.
-
-    <one line to give the library's name and a brief idea of what it does.>
-    Copyright (C) <year>  <name of author>
-
-    This library is free software; you can redistribute it and/or
-    modify it under the terms of the GNU 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.
-
-  <signature of Ty Coon>, 1 April 1990
-  Ty Coon, President of Vice
-
-That's all there is to it!
-
-
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/README.TXT
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/README.TXT	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,7 +1,0 @@
-Toolbar Dialog v2.2
-
-The Toolbar Dialog component provides customizing functionality
-for toolbars.
-
-
-
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/buildlib/buildlib.pro
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/buildlib/buildlib.pro	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,13 +1,0 @@
-TEMPLATE=lib
-CONFIG += qt dll qttoolbardialog-buildlib
-mac:CONFIG += absolute_library_soname
-win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all
-include(../src/qttoolbardialog.pri)
-TARGET = $$QTTOOLBARDIALOG_LIBNAME
-DESTDIR = $$QTTOOLBARDIALOG_LIBDIR
-win32 {
-    DLLDESTDIR = $$[QT_INSTALL_BINS]
-    QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTTOOLBARDIALOG_LIBNAME}.dll
-}
-target.path = $$DESTDIR
-INSTALLS += target
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/common.pri
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/common.pri	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,6 +1,0 @@
-infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qttoolbardialog-uselib
-TEMPLATE += fakelib
-QTTOOLBARDIALOG_LIBNAME = $$qtLibraryTarget(QtSolutions_ToolbarDialog-2.2)
-TEMPLATE -= fakelib
-QTTOOLBARDIALOG_LIBDIR = $$PWD/lib
-unix:qttoolbardialog-uselib:!qttoolbardialog-buildlib:QMAKE_RPATHDIR += $$QTTOOLBARDIALOG_LIBDIR
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/configure.bat
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/configure.bat	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,134 +1,0 @@
-@echo off
-
-rem
-rem "Main"
-rem
-
-if not "%1"=="" (
-    if not "%1"=="-library" (
-        call :PrintUsage
-        goto EOF
-    )
-)
-
-rem only ask to accept the license text once
-if exist .licenseAccepted goto HandleArgs
-
-rem determine if free or commercial package
-set edition=commercial
-if exist LICENSE.LGPL. set edition=free
-
-if %edition%==free (
-    call :HandleFree
-) else (
-    call :RegionLoop
-    call :Comm
-)
-echo .
-
-if not exist .licenseAccepted (
-    echo You are not licensed to use this software.
-    goto EOF
-)
-
-:HandleArgs
-if exist config.pri. del config.pri
-if "%1"=="-library" (
-    echo Configuring to build this component as a dynamic library.
-    echo SOLUTIONS_LIBRARY = yes > config.pri
-)
-
-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 or nmake command.
-echo .
-echo To remove or reconfigure, run make (nmake) distclean.
-echo .
-
-goto EOF
-
-rem
-rem "License acceptance loops"
-rem
-
-:RegionLoop
-    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 .
-    set /p region=Select: 
-    if %region%==1 (
-	set licenseFile=LICENSE.US
-	goto EOF
-    )
-    if %region%==2 (
-	set licenseFile=LICENSE.NO
-	goto EOF
-    )
-goto RegionLoop
-
-:HandleFree
-    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 .
-    set /p answer=Do you accept the terms of this license? 
-
-    if %answer%==no goto EOF
-    if %answer%==yes (
-	 echo license accepted > .licenseAccepted
-	 goto EOF
-    )
-    if %answer%==g more LICENSE.GPL3
-    if %answer%==G more LICENSE.GPL3
-    if %answer%==l more LICENSE.LGPL
-    if %answer%==L more LICENSE.LGPL
-    if %answer%==e more LGPL_EXCEPTION.txt
-    if %answer%==E more LGPL_EXCEPTION.txt
-goto HandleFree
-
-:Comm
-    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 .
-    set /p answer=Do you accept the terms of this license? 
-
-    if %answer%==no goto EOF
-    if %answer%==yes (
-	 echo license accepted > .licenseAccepted
-	 copy %licenseFile% LICENSE
-	 del LICENSE.US
-	 del LICENSE.NO
-	 goto EOF
-    )
-    if %answer%==? more %licenseFile%
-goto Comm
-
-:PrintUsage
-echo Usage: configure.bat [-library]
-echo .
-echo -library: Build the component as a dynamic library (DLL). Default is to
-echo           include the component source directly in the application.
-echo           A DLL may be preferable for technical or licensing (LGPL) reasons.
-echo .
-goto EOF
-
-
-:EOF
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/classic.css
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/classic.css	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,139 +1,0 @@
-h3.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
-}
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/index.html
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/index.html	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,41 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
-    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<!-- qttoolbardialog-2.2_1-opensource/doc/index.qdoc -->
-<head>
-  <title>Toolbar Dialog</title>
-  <link href="classic.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<table border="0" cellpadding="0" cellspacing="0" width="100%">
-<tr>
-<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="57" height="67" border="0" /></td>
-<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
-</tr></table><h1 class="title">Toolbar Dialog<br /><span class="subtitle"></span>
-</h1>
-<a name="description"></a>
-<h2>Description</h2>
-<p>The Toolbar Dialog component provides customizing functionality for toolbars.</p>
-<a name="classes"></a>
-<h2>Classes</h2>
-<ul>
-<li><a href="qttoolbarmanager.html">QtToolBarManager</a></li>
-<li><a href="qttoolbardialog.html">QtToolBarDialog</a></li>
-</ul>
-<a name="tested-platforms"></a>
-<h2>Tested platforms</h2>
-<ul>
-<li>Qt 4.4, 4.5 / Windows XP / MSVC.NET 2005</li>
-<li>Qt 4.4, 4.5 / Linux / gcc</li>
-<li>Qt 4.4, 4.5 / MacOS X 10.5 / gcc</li>
-</ul>
-<a name="screenshots"></a>
-<h2>Screenshots</h2>
-<p align="center"><img src="images/qttoolbardialog.png" /></p><p /><address><hr /><div align="center">
-<table width="100%" cellspacing="0" border="0"><tr class="address">
-<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
-<td width="40%" align="center"><a href="http://qt.nokia.com/doc/trademarks.html">Trademarks</a></td>
-<td width="30%" align="right"><div align="right">Qt Solutions</div></td>
-</tr></table></div></address></body>
-</html>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog-members.html
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog-members.html	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,371 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
-    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<!-- qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp -->
-<head>
-  <title>List of All Members for QtToolBarDialog</title>
-  <link href="classic.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<table border="0" cellpadding="0" cellspacing="0" width="100%">
-<tr>
-<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="57" height="67" border="0" /></td>
-<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
-</tr></table><h1 class="title">List of All Members for QtToolBarDialog</h1>
-<p>This is the complete list of members for <a href="qttoolbardialog.html">QtToolBarDialog</a>, including inherited members.</p>
-<p><table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr><td width="45%" valign="top"><ul>
-<li><div class="fn"></div>enum <a href="http://qt.nokia.com/doc/4.5/qdialog.html#DialogCode-enum">DialogCode</a></li>
-<li><div class="fn"></div>enum <a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#PaintDeviceMetric-enum">PaintDeviceMetric</a></li>
-<li><div class="fn"></div>enum <a href="http://qt.nokia.com/doc/4.5/qwidget.html#RenderFlag-enum">RenderFlag</a></li>
-<li><div class="fn"></div>typedef <a href="http://qt.nokia.com/doc/4.5/qwidget.html#RenderFlags-typedef">RenderFlags</a></li>
-<li><div class="fn"></div><a href="qttoolbardialog.html#QtToolBarDialog">QtToolBarDialog</a> ( QWidget *, Qt::WFlags )</li>
-<li><div class="fn"></div><a href="qttoolbardialog.html#dtor.QtToolBarDialog">~QtToolBarDialog</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#accept">accept</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#acceptDrops-prop">acceptDrops</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#accepted">accepted</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#accessibleDescription-prop">accessibleDescription</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#accessibleName-prop">accessibleName</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#actionEvent">actionEvent</a> ( QActionEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#actions">actions</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#activateWindow">activateWindow</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#addAction">addAction</a> ( QAction * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#addActions">addActions</a> ( QList&lt;QAction *&gt; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#adjustSize">adjustSize</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#autoFillBackground-prop">autoFillBackground</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#backgroundRole">backgroundRole</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#baseSize-prop">baseSize</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#blockSignals">blockSignals</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#changeEvent">changeEvent</a> ( QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#childAt">childAt</a> ( int, int ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#childAt-4">childAt</a> ( const QPoint &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#childEvent">childEvent</a> ( QChildEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#children">children</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#childrenRect-prop">childrenRect</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#childrenRegion-prop">childrenRegion</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#clearFocus">clearFocus</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#clearMask">clearMask</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#close">close</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#closeEvent">closeEvent</a> ( QCloseEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#connect">connect</a> ( const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#connect-2">connect</a> ( const QObject *, const char *, const char *, Qt::ConnectionType ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#connectNotify">connectNotify</a> ( const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#contentsRect">contentsRect</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#contextMenuEvent">contextMenuEvent</a> ( QContextMenuEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#contextMenuPolicy-prop">contextMenuPolicy</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#create">create</a> ( WId, bool, bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#cursor-prop">cursor</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#customContextMenuRequested">customContextMenuRequested</a> ( const QPoint &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#customEvent">customEvent</a> ( QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#d_ptr-var">d_ptr</a> : </li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#deleteLater">deleteLater</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#depth">depth</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#destroy">destroy</a> ( bool, bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#destroyed">destroyed</a> ( QObject * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#disconnect">disconnect</a> ( const QObject *, const char *, const QObject *, const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#disconnect-2">disconnect</a> ( const char *, const QObject *, const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#disconnect-3">disconnect</a> ( const QObject *, const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#disconnectNotify">disconnectNotify</a> ( const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#done">done</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#dragEnterEvent">dragEnterEvent</a> ( QDragEnterEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#dragLeaveEvent">dragLeaveEvent</a> ( QDragLeaveEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#dragMoveEvent">dragMoveEvent</a> ( QDragMoveEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#dropEvent">dropEvent</a> ( QDropEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#dumpObjectInfo">dumpObjectInfo</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#dumpObjectTree">dumpObjectTree</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#dynamicPropertyNames">dynamicPropertyNames</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#effectiveWinId">effectiveWinId</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#ensurePolished">ensurePolished</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#enterEvent">enterEvent</a> ( QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#event">event</a> ( QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#eventFilter">eventFilter</a> ( QObject *, QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#exec">exec</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#find">find</a> ( WId )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#findChild">findChild</a> ( const QString &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#findChildren">findChildren</a> ( const QString &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#findChildren-2">findChildren</a> ( const QRegExp &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#finished">finished</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusInEvent">focusInEvent</a> ( QFocusEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusNextChild">focusNextChild</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusNextPrevChild">focusNextPrevChild</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusOutEvent">focusOutEvent</a> ( QFocusEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusPolicy-prop">focusPolicy</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusPreviousChild">focusPreviousChild</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusProxy">focusProxy</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusWidget">focusWidget</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#font-prop">font</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#fontInfo">fontInfo</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#fontMetrics">fontMetrics</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#foregroundRole">foregroundRole</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#frameGeometry-prop">frameGeometry</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#frameSize-prop">frameSize</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#geometry-prop">geometry</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#getContentsMargins">getContentsMargins</a> ( int *, int *, int *, int * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#getDC">getDC</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#grabKeyboard">grabKeyboard</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#grabMouse">grabMouse</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#grabMouse-2">grabMouse</a> ( const QCursor &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#grabShortcut">grabShortcut</a> ( const QKeySequence &amp;, Qt::ShortcutContext )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#graphicsProxyWidget">graphicsProxyWidget</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#hasEditFocus">hasEditFocus</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focus-prop">hasFocus</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mouseTracking-prop">hasMouseTracking</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#height-prop">height</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#heightForWidth">heightForWidth</a> ( int ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#heightMM">heightMM</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#hide">hide</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#hideEvent">hideEvent</a> ( QHideEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#inherits">inherits</a> ( const char * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#inputContext">inputContext</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#inputMethodEvent">inputMethodEvent</a> ( QInputMethodEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#inputMethodQuery">inputMethodQuery</a> ( Qt::InputMethodQuery ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#insertAction">insertAction</a> ( QAction *, QAction * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#insertActions">insertActions</a> ( QAction *, QList&lt;QAction *&gt; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#installEventFilter">installEventFilter</a> ( QObject * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#isActiveWindow-prop">isActiveWindow</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#isAncestorOf">isAncestorOf</a> ( const QWidget * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#enabled-prop">isEnabled</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#isEnabledTo">isEnabledTo</a> ( QWidget * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#fullScreen-prop">isFullScreen</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#isHidden">isHidden</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#maximized-prop">isMaximized</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimized-prop">isMinimized</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#modal-prop">isModal</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#sizeGripEnabled-prop">isSizeGripEnabled</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#visible-prop">isVisible</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#isVisibleTo">isVisibleTo</a> ( QWidget * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#isWidgetType">isWidgetType</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#isWindow">isWindow</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowModified-prop">isWindowModified</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#keyPressEvent">keyPressEvent</a> ( QKeyEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#keyReleaseEvent">keyReleaseEvent</a> ( QKeyEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#keyboardGrabber">keyboardGrabber</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#killTimer">killTimer</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#layout">layout</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#layoutDirection-prop">layoutDirection</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#leaveEvent">leaveEvent</a> ( QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#locale-prop">locale</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#logicalDpiX">logicalDpiX</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#logicalDpiY">logicalDpiY</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#lower">lower</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#macCGHandle">macCGHandle</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#macEvent">macEvent</a> ( EventHandlerCallRef, EventRef )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#macQDHandle">macQDHandle</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mapFrom">mapFrom</a> ( QWidget *, const QPoint &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mapFromGlobal">mapFromGlobal</a> ( const QPoint &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mapFromParent">mapFromParent</a> ( const QPoint &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mapTo">mapTo</a> ( QWidget *, const QPoint &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mapToGlobal">mapToGlobal</a> ( const QPoint &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mapToParent">mapToParent</a> ( const QPoint &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mask">mask</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#maximumHeight-prop">maximumHeight</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#maximumSize-prop">maximumSize</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#maximumWidth-prop">maximumWidth</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#metaObject">metaObject</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#metric">metric</a> ( PaintDeviceMetric ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimumHeight-prop">minimumHeight</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimumSize-prop">minimumSize</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimumSizeHint-prop">minimumSizeHint</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimumWidth-prop">minimumWidth</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mouseDoubleClickEvent">mouseDoubleClickEvent</a> ( QMouseEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mouseGrabber">mouseGrabber</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mouseMoveEvent">mouseMoveEvent</a> ( QMouseEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mousePressEvent">mousePressEvent</a> ( QMouseEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mouseReleaseEvent">mouseReleaseEvent</a> ( QMouseEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#pos-prop">move</a> ( const QPoint &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#pos-prop">move</a> ( int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#moveEvent">moveEvent</a> ( QMoveEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#moveToThread">moveToThread</a> ( QThread * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#nativeParentWidget">nativeParentWidget</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#nextInFocusChain">nextInFocusChain</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#normalGeometry-prop">normalGeometry</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#numColors">numColors</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#objectName-prop">objectName</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#open">open</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#overrideWindowFlags">overrideWindowFlags</a> ( QFlags&lt;Qt::WindowType&gt; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#paintEngine">paintEngine</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#paintEvent">paintEvent</a> ( QPaintEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#painters-var">painters</a> : </li>
-</ul></td><td valign="top"><ul>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#paintingActive">paintingActive</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#palette-prop">palette</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#parent">parent</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#parentWidget">parentWidget</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#physicalDpiX">physicalDpiX</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#physicalDpiY">physicalDpiY</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#pos-prop">pos</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#property">property</a> ( const char * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#qwsEvent">qwsEvent</a> ( QWSEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#raise">raise</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#receivers">receivers</a> ( const char * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#rect-prop">rect</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#reject">reject</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#rejected">rejected</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#releaseDC">releaseDC</a> ( HDC ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#releaseKeyboard">releaseKeyboard</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#releaseMouse">releaseMouse</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#releaseShortcut">releaseShortcut</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#removeAction">removeAction</a> ( QAction * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#removeEventFilter">removeEventFilter</a> ( QObject * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#render">render</a> ( QPaintDevice *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#render-2">render</a> ( QPainter *, const QPoint &amp;, const QRegion &amp;, QFlags&lt;QWidget::RenderFlag&gt; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#repaint">repaint</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#repaint-6">repaint</a> ( int, int, int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#repaint-7">repaint</a> ( const QRect &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#repaint-8">repaint</a> ( const QRegion &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#size-prop">resize</a> ( const QSize &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#size-prop">resize</a> ( int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#resizeEvent">resizeEvent</a> ( QResizeEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#restoreGeometry">restoreGeometry</a> ( const QByteArray &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#result">result</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#saveGeometry">saveGeometry</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#scroll">scroll</a> ( int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#scroll-2">scroll</a> ( int, int, const QRect &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#sender">sender</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#acceptDrops-prop">setAcceptDrops</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#accessibleDescription-prop">setAccessibleDescription</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#accessibleName-prop">setAccessibleName</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setAttribute">setAttribute</a> ( Qt::WidgetAttribute, bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#autoFillBackground-prop">setAutoFillBackground</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setBackgroundRole">setBackgroundRole</a> ( QPalette::ColorRole )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#baseSize-prop">setBaseSize</a> ( const QSize &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#baseSize-prop">setBaseSize</a> ( int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setContentsMargins">setContentsMargins</a> ( int, int, int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#contextMenuPolicy-prop">setContextMenuPolicy</a> ( Qt::ContextMenuPolicy )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#cursor-prop">setCursor</a> ( const QCursor &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setDisabled">setDisabled</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setEditFocus">setEditFocus</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#enabled-prop">setEnabled</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setFixedHeight">setFixedHeight</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setFixedSize">setFixedSize</a> ( const QSize &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setFixedSize-2">setFixedSize</a> ( int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setFixedWidth">setFixedWidth</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setFocus">setFocus</a> ( Qt::FocusReason )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setFocus-2">setFocus</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#focusPolicy-prop">setFocusPolicy</a> ( Qt::FocusPolicy )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setFocusProxy">setFocusProxy</a> ( QWidget * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#font-prop">setFont</a> ( const QFont &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setForegroundRole">setForegroundRole</a> ( QPalette::ColorRole )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#geometry-prop">setGeometry</a> ( const QRect &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#geometry-prop">setGeometry</a> ( int, int, int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setHidden">setHidden</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setInputContext">setInputContext</a> ( QInputContext * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setLayout">setLayout</a> ( QLayout * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#layoutDirection-prop">setLayoutDirection</a> ( Qt::LayoutDirection )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#locale-prop">setLocale</a> ( const QLocale &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setMask">setMask</a> ( const QBitmap &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setMask-2">setMask</a> ( const QRegion &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#maximumHeight-prop">setMaximumHeight</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#maximumSize-prop">setMaximumSize</a> ( const QSize &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#maximumSize-prop">setMaximumSize</a> ( int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#maximumWidth-prop">setMaximumWidth</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimumHeight-prop">setMinimumHeight</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimumSize-prop">setMinimumSize</a> ( const QSize &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimumSize-prop">setMinimumSize</a> ( int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#minimumWidth-prop">setMinimumWidth</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#modal-prop">setModal</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#mouseTracking-prop">setMouseTracking</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#objectName-prop">setObjectName</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#palette-prop">setPalette</a> ( const QPalette &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setParent">setParent</a> ( QWidget * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setParent-2">setParent</a> ( QWidget *, QFlags&lt;Qt::WindowType&gt; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#setProperty">setProperty</a> ( const char *, const QVariant &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#setResult">setResult</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setShortcutAutoRepeat">setShortcutAutoRepeat</a> ( int, bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setShortcutEnabled">setShortcutEnabled</a> ( int, bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qdialog.html#sizeGripEnabled-prop">setSizeGripEnabled</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#sizeIncrement-prop">setSizeIncrement</a> ( const QSize &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#sizeIncrement-prop">setSizeIncrement</a> ( int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#sizePolicy-prop">setSizePolicy</a> ( QSizePolicy )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#sizePolicy-prop">setSizePolicy</a> ( QSizePolicy::Policy, QSizePolicy::Policy )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#statusTip-prop">setStatusTip</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setStyle">setStyle</a> ( QStyle * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#styleSheet-prop">setStyleSheet</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setTabOrder">setTabOrder</a> ( QWidget *, QWidget * )</li>
-<li><div class="fn"></div><a href="qttoolbardialog.html#setToolBarManager">setToolBarManager</a> ( QtToolBarManager * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#toolTip-prop">setToolTip</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#updatesEnabled-prop">setUpdatesEnabled</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#visible-prop">setVisible</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#whatsThis-prop">setWhatsThis</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowFilePath-prop">setWindowFilePath</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowFlags-prop">setWindowFlags</a> ( QFlags&lt;Qt::WindowType&gt; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowIcon-prop">setWindowIcon</a> ( const QIcon &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowIconText-prop">setWindowIconText</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowModality-prop">setWindowModality</a> ( Qt::WindowModality )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowModified-prop">setWindowModified</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowOpacity-prop">setWindowOpacity</a> ( qreal )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setWindowRole">setWindowRole</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setWindowState">setWindowState</a> ( QFlags&lt;Qt::WindowState&gt; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#setWindowSurface">setWindowSurface</a> ( QWindowSurface * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowTitle-prop">setWindowTitle</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#show">show</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#showEvent">showEvent</a> ( QShowEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#showFullScreen">showFullScreen</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#showMaximized">showMaximized</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#showMinimized">showMinimized</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#showNormal">showNormal</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#signalsBlocked">signalsBlocked</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#size-prop">size</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#sizeHint-prop">sizeHint</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#sizeIncrement-prop">sizeIncrement</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#sizePolicy-prop">sizePolicy</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#stackUnder">stackUnder</a> ( QWidget * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#startTimer">startTimer</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#staticMetaObject-var">staticMetaObject</a> : </li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#staticQtMetaObject-var">staticQtMetaObject</a> : </li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#statusTip-prop">statusTip</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#style">style</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#styleSheet-prop">styleSheet</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#tabletEvent">tabletEvent</a> ( QTabletEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#testAttribute">testAttribute</a> ( Qt::WidgetAttribute ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#thread">thread</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#timerEvent">timerEvent</a> ( QTimerEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#toolTip-prop">toolTip</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#tr">tr</a> ( const char *, const char *, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#trUtf8">trUtf8</a> ( const char *, const char *, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#underMouse">underMouse</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#cursor-prop">unsetCursor</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#layoutDirection-prop">unsetLayoutDirection</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#locale-prop">unsetLocale</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#update">update</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#update-2">update</a> ( int, int, int, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#update-3">update</a> ( const QRect &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#update-4">update</a> ( const QRegion &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#updateGeometry">updateGeometry</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#updateMicroFocus">updateMicroFocus</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#updatesEnabled-prop">updatesEnabled</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#visibleRegion">visibleRegion</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#whatsThis-prop">whatsThis</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#wheelEvent">wheelEvent</a> ( QWheelEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#width-prop">width</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#widthMM">widthMM</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#winEvent">winEvent</a> ( MSG *, long * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#winId">winId</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#window">window</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowFilePath-prop">windowFilePath</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowFlags-prop">windowFlags</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowIcon-prop">windowIcon</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowIconText-prop">windowIconText</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowModality-prop">windowModality</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowOpacity-prop">windowOpacity</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowRole">windowRole</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowState">windowState</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowSurface">windowSurface</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowTitle-prop">windowTitle</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#windowType">windowType</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#x-prop">x</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#x11Event">x11Event</a> ( XEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#x11Info">x11Info</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#x11PictureHandle">x11PictureHandle</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qwidget.html#y-prop">y</a> () const</li>
-</ul>
-</td></tr>
-</table></p>
-<p /><address><hr /><div align="center">
-<table width="100%" cellspacing="0" border="0"><tr class="address">
-<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
-<td width="40%" align="center"><a href="http://qt.nokia.com/doc/trademarks.html">Trademarks</a></td>
-<td width="30%" align="right"><div align="right">Qt Solutions</div></td>
-</tr></table></div></address></body>
-</html>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog.dcf
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog.dcf	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,29 +1,0 @@
-<!DOCTYPE DCF>
-<DCF ref="index.html" icon="qttoolbardialog.png" imagedir="../../gif" title="Qt Solutions: Toolbar Dialog Documentation">
-<section ref="classes.html" title="Classes">
-    <section ref="qttoolbardialog.html" title="QtToolBarDialog Class Reference">
-        <keyword ref="qttoolbardialog.html">QtToolBarDialog</keyword>
-        <keyword ref="qttoolbardialog.html#setToolBarManager">setToolBarManager</keyword>
-        <section ref="qttoolbardialog-members.html" title="List of all members"/>
-    </section>
-    <section ref="qttoolbarmanager.html" title="QtToolBarManager Class Reference">
-        <keyword ref="qttoolbarmanager.html">QtToolBarManager</keyword>
-        <keyword ref="qttoolbarmanager.html#addAction">addAction</keyword>
-        <keyword ref="qttoolbarmanager.html#addToolBar">addToolBar</keyword>
-        <keyword ref="qttoolbarmanager.html#mainWindow">mainWindow</keyword>
-        <keyword ref="qttoolbarmanager.html#removeAction">removeAction</keyword>
-        <keyword ref="qttoolbarmanager.html#removeToolBar">removeToolBar</keyword>
-        <keyword ref="qttoolbarmanager.html#restoreState">restoreState</keyword>
-        <keyword ref="qttoolbarmanager.html#saveState">saveState</keyword>
-        <keyword ref="qttoolbarmanager.html#setMainWindow">setMainWindow</keyword>
-        <keyword ref="qttoolbarmanager.html#toolBars">toolBars</keyword>
-        <section ref="qttoolbarmanager-members.html" title="List of all members"/>
-    </section>
-</section>
-<section ref="overviews.html" title="Overviews">
-    <section ref="index.html" title="Toolbar Dialog">
-        <keyword ref="index.html">Toolbar Dialog</keyword>
-    </section>
-</section>
-<section ref="examples.html" title="Tutorial &amp; Examples"/>
-</DCF>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog.html
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog.html	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,89 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
-    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<!-- qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp -->
-<head>
-  <title>QtToolBarDialog Class Reference</title>
-  <link href="classic.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<table border="0" cellpadding="0" cellspacing="0" width="100%">
-<tr>
-<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="57" height="67" border="0" /></td>
-<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
-</tr></table><h1 class="title">QtToolBarDialog Class Reference</h1>
-<p>The QtToolBarDialog class provides a dialog for customizing toolbars. <a href="#details">More...</a></p>
-<pre> #include &lt;QtToolBarDialog&gt;</pre><p>Inherits <a href="http://qt.nokia.com/doc/4.5/qdialog.html">QDialog</a>.</p>
-<ul>
-<li><a href="qttoolbardialog-members.html">List of all members, including inherited members</a></li>
-</ul>
-<a name="public-functions"></a>
-<h3>Public Functions</h3>
-<ul>
-<li><div class="fn"></div><b><a href="qttoolbardialog.html#QtToolBarDialog">QtToolBarDialog</a></b> ( QWidget * <i>parent</i> = 0, Qt::WFlags <i>flags</i> = 0 )</li>
-<li><div class="fn"></div><b><a href="qttoolbardialog.html#dtor.QtToolBarDialog">~QtToolBarDialog</a></b> ()</li>
-<li><div class="fn"></div>void <b><a href="qttoolbardialog.html#setToolBarManager">setToolBarManager</a></b> ( QtToolBarManager * <i>toolBarManager</i> )</li>
-</ul>
-<ul>
-<li><div class="fn"></div>5 public functions inherited from <a href="http://qt.nokia.com/doc/4.5/qdialog.html#public-functions">QDialog</a></li>
-<li><div class="fn"></div>207 public functions inherited from <a href="http://qt.nokia.com/doc/4.5/qwidget.html#public-functions">QWidget</a></li>
-<li><div class="fn"></div>12 public functions inherited from <a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#public-functions">QPaintDevice</a></li>
-<li><div class="fn"></div>29 public functions inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#public-functions">QObject</a></li>
-</ul>
-<h3>Additional Inherited Members</h3>
-<ul>
-<li><div class="fn"></div>2 properties inherited from <a href="http://qt.nokia.com/doc/4.5/qdialog.html#properties">QDialog</a></li>
-<li><div class="fn"></div>57 properties inherited from <a href="http://qt.nokia.com/doc/4.5/qwidget.html#properties">QWidget</a></li>
-<li><div class="fn"></div>1 property inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#properties">QObject</a></li>
-<li><div class="fn"></div>5 public slots inherited from <a href="http://qt.nokia.com/doc/4.5/qdialog.html#public-slots">QDialog</a></li>
-<li><div class="fn"></div>19 public slots inherited from <a href="http://qt.nokia.com/doc/4.5/qwidget.html#public-slots">QWidget</a></li>
-<li><div class="fn"></div>1 public slot inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#public-slots">QObject</a></li>
-<li><div class="fn"></div>3 signals inherited from <a href="http://qt.nokia.com/doc/4.5/qdialog.html#signals">QDialog</a></li>
-<li><div class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.5/qwidget.html#signals">QWidget</a></li>
-<li><div class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#signals">QObject</a></li>
-<li><div class="fn"></div>1 public type inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#public-variables">QObject</a></li>
-<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.5/qwidget.html#static-public-members">QWidget</a></li>
-<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#static-public-members">QObject</a></li>
-<li><div class="fn"></div>37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.5/qwidget.html#protected-functions">QWidget</a></li>
-<li><div class="fn"></div>1 protected function inherited from <a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
-<li><div class="fn"></div>7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#protected-functions">QObject</a></li>
-<li><div class="fn"></div>1 protected slot inherited from <a href="http://qt.nokia.com/doc/4.5/qwidget.html#protected-slots">QWidget</a></li>
-<li><div class="fn"></div>1 protected type inherited from <a href="http://qt.nokia.com/doc/4.5/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
-<li><div class="fn"></div>2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#protected-variables">QObject</a></li>
-</ul>
-<a name="details"></a>
-<hr />
-<h2>Detailed Description</h2>
-<p>The QtToolBarDialog class provides a dialog for customizing toolbars.</p>
-<p>QtToolBarDialog allows the user to customize the toolbars for a given main window.</p>
-<p align="center"><img src="images/qttoolbardialog.png" /></p><p>The dialog lets the users add, rename and remove custom toolbars. Note that built-in toolbars are marked with a green color, and cannot be removed or renamed.</p>
-<p>The users can also add and remove actions from the toolbars. An action can be added to many toolbars, but a toolbar can only contain one instance of each action. Actions that contains a widget are marked with a blue color in the list of actions, and can only be added to one single toolbar.</p>
-<p>Finally, the users can add separators to the toolbars.</p>
-<p>The original toolbars can be restored by clicking the <b>Restore all</b> button. All custom toolbars will then be removed, and all built-in toolbars will be restored to their original state.</p>
-<p>The QtToolBarDialog class's functionality is controlled by an instance of the <a href="qttoolbarmanager.html">QtToolBarManager</a> class, and the main window is specified using the <a href="qttoolbarmanager.html#setMainWindow">QtToolBarManager::setMainWindow</a>() function.</p>
-<p>All you need to do to use QtToolBarDialog is to specify an <a href="qttoolbarmanager.html">QtToolBarManager</a> instance and call the <a href="http://qt.nokia.com/doc/4.5/qdialog.html#exec">QDialog::exec</a>() slot:</p>
-<pre> QtToolBarManager *toolBarManager;
-
- void MyMainWindow::customize()
-     {
-         QtToolBarDialog dialog(this);
-         dialog.setToolBarManager(toolBarManager);
-         dialog.exec();
-     }</pre>
-<p>See also <a href="qttoolbarmanager.html">QtToolBarManager</a>.</p>
-<hr />
-<h2>Member Function Documentation</h2>
-<h3 class="fn"><a name="QtToolBarDialog"></a>QtToolBarDialog::QtToolBarDialog ( <a href="http://qt.nokia.com/doc/4.5/qwidget.html">QWidget</a> * <i>parent</i> = 0, <a href="http://qt.nokia.com/doc/4.5/qt.html#WFlags-typedef">Qt::WFlags</a> <i>flags</i> = 0 )</h3>
-<p>Creates a toolbar dialog with the given <i>parent</i> and the specifed window <i>flags</i>.</p>
-<h3 class="fn"><a name="dtor.QtToolBarDialog"></a>QtToolBarDialog::~QtToolBarDialog ()</h3>
-<p>Destroys the toolbar dialog.</p>
-<h3 class="fn"><a name="setToolBarManager"></a>void QtToolBarDialog::setToolBarManager ( <a href="qttoolbarmanager.html">QtToolBarManager</a> * <i>toolBarManager</i> )</h3>
-<p>Connects the toolbar dialog to the given <i>toolBarManager</i>. Then, when <a href="http://qt.nokia.com/doc/4.5/qdialog.html#exec">exec</a>() is called, the toolbar dialog will operate using the given <i>toolBarManager</i>.</p>
-<p /><address><hr /><div align="center">
-<table width="100%" cellspacing="0" border="0"><tr class="address">
-<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
-<td width="40%" align="center"><a href="http://qt.nokia.com/doc/trademarks.html">Trademarks</a></td>
-<td width="30%" align="right"><div align="right">Qt Solutions</div></td>
-</tr></table></div></address></body>
-</html>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog.index
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog.index	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,54 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE QDOCINDEX>
-<INDEX url="" title="Qt Solutions: Toolbar Dialog Documentation" version="">
-    <namespace access="public" threadsafety="unspecified" status="commendable" name="" href="" location="" module="">
-        <class access="public" threadsafety="unspecified" status="commendable" name="QtToolBarManager" href="qttoolbarmanager.html" location="qttoolbardialog.h" bases="QObject" module="">
-            <function access="public" threadsafety="unspecified" status="commendable" name="QtToolBarManager" fullname="QtToolBarManager::QtToolBarManager" href="qttoolbarmanager.html#QtToolBarManager" location="qttoolbardialog.h" virtual="non" meta="constructor" const="false" static="false" overload="false" type="" signature="QtToolBarManager(QObject * parent)">
-                <parameter left="QObject *" right="" name="parent" default="0"/>
-            </function>
-            <function access="public" threadsafety="unspecified" status="commendable" name="~QtToolBarManager" fullname="QtToolBarManager::~QtToolBarManager" href="qttoolbarmanager.html#dtor.QtToolBarManager" location="qttoolbardialog.h" virtual="non" meta="destructor" const="false" static="false" overload="false" type="" signature="~QtToolBarManager()"/>
-            <function access="public" threadsafety="unspecified" status="commendable" name="setMainWindow" fullname="QtToolBarManager::setMainWindow" href="qttoolbarmanager.html#setMainWindow" location="qttoolbardialog.h" virtual="non" meta="plain" const="false" static="false" overload="false" type="void" signature="setMainWindow(QMainWindow * mainWindow)">
-                <parameter left="QMainWindow *" right="" name="mainWindow" default=""/>
-            </function>
-            <function access="public" threadsafety="unspecified" status="commendable" name="mainWindow" fullname="QtToolBarManager::mainWindow" href="qttoolbarmanager.html#mainWindow" location="qttoolbardialog.h" virtual="non" meta="plain" const="true" static="false" overload="false" type="QMainWindow *" signature="mainWindow() const"/>
-            <function access="public" threadsafety="unspecified" status="commendable" name="addAction" fullname="QtToolBarManager::addAction" href="qttoolbarmanager.html#addAction" location="qttoolbardialog.h" virtual="non" meta="plain" const="false" static="false" overload="false" type="void" signature="addAction(QAction * action, const QString &amp; category)">
-                <parameter left="QAction *" right="" name="action" default=""/>
-                <parameter left="const QString &amp;" right="" name="category" default=""/>
-            </function>
-            <function access="public" threadsafety="unspecified" status="commendable" name="removeAction" fullname="QtToolBarManager::removeAction" href="qttoolbarmanager.html#removeAction" location="qttoolbardialog.h" virtual="non" meta="plain" const="false" static="false" overload="false" type="void" signature="removeAction(QAction * action)">
-                <parameter left="QAction *" right="" name="action" default=""/>
-            </function>
-            <function access="public" threadsafety="unspecified" status="commendable" name="addToolBar" fullname="QtToolBarManager::addToolBar" href="qttoolbarmanager.html#addToolBar" location="qttoolbardialog.h" virtual="non" meta="plain" const="false" static="false" overload="false" type="void" signature="addToolBar(QToolBar * toolBar, const QString &amp; category)">
-                <parameter left="QToolBar *" right="" name="toolBar" default=""/>
-                <parameter left="const QString &amp;" right="" name="category" default=""/>
-            </function>
-            <function access="public" threadsafety="unspecified" status="commendable" name="removeToolBar" fullname="QtToolBarManager::removeToolBar" href="qttoolbarmanager.html#removeToolBar" location="qttoolbardialog.h" virtual="non" meta="plain" const="false" static="false" overload="false" type="void" signature="removeToolBar(QToolBar * toolBar)">
-                <parameter left="QToolBar *" right="" name="toolBar" default=""/>
-            </function>
-            <function access="public" threadsafety="unspecified" status="commendable" name="toolBars" fullname="QtToolBarManager::toolBars" href="qttoolbarmanager.html#toolBars" location="qttoolbardialog.h" virtual="non" meta="plain" const="true" static="false" overload="false" type="QList&lt;QToolBar *&gt;" signature="toolBars() const"/>
-            <function access="public" threadsafety="unspecified" status="commendable" name="saveState" fullname="QtToolBarManager::saveState" href="qttoolbarmanager.html#saveState" location="qttoolbardialog.h" virtual="non" meta="plain" const="true" static="false" overload="false" type="QByteArray" signature="saveState(int version) const">
-                <parameter left="int" right="" name="version" default="0"/>
-            </function>
-            <function access="public" threadsafety="unspecified" status="commendable" name="restoreState" fullname="QtToolBarManager::restoreState" href="qttoolbarmanager.html#restoreState" location="qttoolbardialog.h" virtual="non" meta="plain" const="false" static="false" overload="false" type="bool" signature="restoreState(const QByteArray &amp; state, int version)">
-                <parameter left="const QByteArray &amp;" right="" name="state" default=""/>
-                <parameter left="int" right="" name="version" default="0"/>
-            </function>
-        </class>
-        <class access="public" threadsafety="unspecified" status="commendable" name="QtToolBarDialog" href="qttoolbardialog.html" location="qttoolbardialog.h" bases="QDialog" module="">
-            <function access="public" threadsafety="unspecified" status="commendable" name="QtToolBarDialog" fullname="QtToolBarDialog::QtToolBarDialog" href="qttoolbardialog.html#QtToolBarDialog" location="qttoolbardialog.h" virtual="non" meta="constructor" const="false" static="false" overload="false" type="" signature="QtToolBarDialog(QWidget * parent, Qt::WFlags flags)">
-                <parameter left="QWidget *" right="" name="parent" default="0"/>
-                <parameter left="Qt::WFlags" right="" name="flags" default="0"/>
-            </function>
-            <function access="public" threadsafety="unspecified" status="commendable" name="~QtToolBarDialog" fullname="QtToolBarDialog::~QtToolBarDialog" href="qttoolbardialog.html#dtor.QtToolBarDialog" location="qttoolbardialog.h" virtual="non" meta="destructor" const="false" static="false" overload="false" type="" signature="~QtToolBarDialog()"/>
-            <function access="public" threadsafety="unspecified" status="commendable" name="setToolBarManager" fullname="QtToolBarDialog::setToolBarManager" href="qttoolbardialog.html#setToolBarManager" location="qttoolbardialog.h" virtual="non" meta="plain" const="false" static="false" overload="false" type="void" signature="setToolBarManager(QtToolBarManager * toolBarManager)">
-                <parameter left="QtToolBarManager *" right="" name="toolBarManager" default=""/>
-            </function>
-        </class>
-        <page access="public" status="commendable" name="index.html" href="index.html" subtype="page" title="Toolbar Dialog" fulltitle="Toolbar Dialog" subtitle="" location="index.qdoc">
-            <contents name="description" title="Description" level="1"/>
-            <contents name="classes" title="Classes" level="1"/>
-            <contents name="tested-platforms" title="Tested platforms" level="1"/>
-            <contents name="screenshots" title="Screenshots" level="1"/>
-        </page>
-    </namespace>
-</INDEX>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog.qhp
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbardialog.qhp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,46 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<QtHelpProject version="1.0">
-    <namespace>com.nokia.qtsolutions.qttoolbardialog_2.2</namespace>
-    <virtualFolder>qdoc</virtualFolder>
-    <customFilter name="Qt Solutions: Toolbar Dialog">
-        <filterAttribute>qt</filterAttribute>
-        <filterAttribute>qttoolbardialog</filterAttribute>
-        <filterAttribute>solutions</filterAttribute>
-    </customFilter>
-    <filterSection>
-        <filterAttribute>qt</filterAttribute>
-        <filterAttribute>qttoolbardialog</filterAttribute>
-        <filterAttribute>solutions</filterAttribute>
-        <toc>
-            <section ref="index.html" title="Qt Solutions: Toolbar Dialog Documentation">
-                <section ref="index.html" title="Toolbar Dialog"/>
-            </section>
-        </toc>
-        <keywords>
-            <keyword name="QtToolBarDialog" id="QtToolBarDialog" ref="qttoolbardialog.html"/>
-            <keyword name="setToolBarManager" id="QtToolBarDialog::setToolBarManager" ref="qttoolbardialog.html#setToolBarManager"/>
-            <keyword name="~QtToolBarDialog" id="QtToolBarDialog::~QtToolBarDialog" ref="qttoolbardialog.html#dtor.QtToolBarDialog"/>
-            <keyword name="QtToolBarManager" id="QtToolBarManager" ref="qttoolbarmanager.html"/>
-            <keyword name="addAction" id="QtToolBarManager::addAction" ref="qttoolbarmanager.html#addAction"/>
-            <keyword name="addToolBar" id="QtToolBarManager::addToolBar" ref="qttoolbarmanager.html#addToolBar"/>
-            <keyword name="mainWindow" id="QtToolBarManager::mainWindow" ref="qttoolbarmanager.html#mainWindow"/>
-            <keyword name="removeAction" id="QtToolBarManager::removeAction" ref="qttoolbarmanager.html#removeAction"/>
-            <keyword name="removeToolBar" id="QtToolBarManager::removeToolBar" ref="qttoolbarmanager.html#removeToolBar"/>
-            <keyword name="restoreState" id="QtToolBarManager::restoreState" ref="qttoolbarmanager.html#restoreState"/>
-            <keyword name="saveState" id="QtToolBarManager::saveState" ref="qttoolbarmanager.html#saveState"/>
-            <keyword name="setMainWindow" id="QtToolBarManager::setMainWindow" ref="qttoolbarmanager.html#setMainWindow"/>
-            <keyword name="toolBars" id="QtToolBarManager::toolBars" ref="qttoolbarmanager.html#toolBars"/>
-            <keyword name="~QtToolBarManager" id="QtToolBarManager::~QtToolBarManager" ref="qttoolbarmanager.html#dtor.QtToolBarManager"/>
-            <keyword name="Toolbar Dialog" id="Toolbar Dialog" ref="index.html"/>
-        </keywords>
-        <files>
-            <file>index.html</file>
-            <file>images/qttoolbardialog.png</file>
-            <file>qttoolbarmanager.html</file>
-            <file>qttoolbardialog.html</file>
-            <file>classic.css</file>
-            <file>images/qt-logo.png</file>
-            <file>images/qttoolbardialog.png</file>
-        </files>
-    </filterSection>
-</QtHelpProject>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbarmanager-members.html
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbarmanager-members.html	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,85 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
-    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<!-- qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp -->
-<head>
-  <title>List of All Members for QtToolBarManager</title>
-  <link href="classic.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<table border="0" cellpadding="0" cellspacing="0" width="100%">
-<tr>
-<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="57" height="67" border="0" /></td>
-<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
-</tr></table><h1 class="title">List of All Members for QtToolBarManager</h1>
-<p>This is the complete list of members for <a href="qttoolbarmanager.html">QtToolBarManager</a>, including inherited members.</p>
-<p><table width="100%" border="0" cellpadding="0" cellspacing="0">
-<tr><td width="45%" valign="top"><ul>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#QtToolBarManager">QtToolBarManager</a> ( QObject * )</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#dtor.QtToolBarManager">~QtToolBarManager</a> ()</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#addAction">addAction</a> ( QAction *, const QString &amp; )</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#addToolBar">addToolBar</a> ( QToolBar *, const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#blockSignals">blockSignals</a> ( bool )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#childEvent">childEvent</a> ( QChildEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#children">children</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#connect">connect</a> ( const QObject *, const char *, const QObject *, const char *, Qt::ConnectionType )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#connect-2">connect</a> ( const QObject *, const char *, const char *, Qt::ConnectionType ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#connectNotify">connectNotify</a> ( const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#customEvent">customEvent</a> ( QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#d_ptr-var">d_ptr</a> : </li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#deleteLater">deleteLater</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#destroyed">destroyed</a> ( QObject * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#disconnect">disconnect</a> ( const QObject *, const char *, const QObject *, const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#disconnect-2">disconnect</a> ( const char *, const QObject *, const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#disconnect-3">disconnect</a> ( const QObject *, const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#disconnectNotify">disconnectNotify</a> ( const char * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#dumpObjectInfo">dumpObjectInfo</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#dumpObjectTree">dumpObjectTree</a> ()</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#dynamicPropertyNames">dynamicPropertyNames</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#event">event</a> ( QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#eventFilter">eventFilter</a> ( QObject *, QEvent * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#findChild">findChild</a> ( const QString &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#findChildren">findChildren</a> ( const QString &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#findChildren-2">findChildren</a> ( const QRegExp &amp; ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#inherits">inherits</a> ( const char * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#installEventFilter">installEventFilter</a> ( QObject * )</li>
-</ul></td><td valign="top"><ul>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#isWidgetType">isWidgetType</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#killTimer">killTimer</a> ( int )</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#mainWindow">mainWindow</a> () const : QMainWindow *</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#metaObject">metaObject</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#moveToThread">moveToThread</a> ( QThread * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#objectName-prop">objectName</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#parent">parent</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#property">property</a> ( const char * ) const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#receivers">receivers</a> ( const char * ) const</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#removeAction">removeAction</a> ( QAction * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#removeEventFilter">removeEventFilter</a> ( QObject * )</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#removeToolBar">removeToolBar</a> ( QToolBar * )</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#restoreState">restoreState</a> ( const QByteArray &amp;, int ) : bool</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#saveState">saveState</a> ( int ) const : QByteArray</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#sender">sender</a> () const</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#setMainWindow">setMainWindow</a> ( QMainWindow * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#objectName-prop">setObjectName</a> ( const QString &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#setParent">setParent</a> ( QObject * )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#setProperty">setProperty</a> ( const char *, const QVariant &amp; )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#signalsBlocked">signalsBlocked</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#startTimer">startTimer</a> ( int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#staticMetaObject-var">staticMetaObject</a> : </li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#staticQtMetaObject-var">staticQtMetaObject</a> : </li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#thread">thread</a> () const</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#timerEvent">timerEvent</a> ( QTimerEvent * )</li>
-<li><div class="fn"></div><a href="qttoolbarmanager.html#toolBars">toolBars</a> () const : QList&lt;QToolBar *&gt;</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#tr">tr</a> ( const char *, const char *, int )</li>
-<li><div class="fn"></div><a href="http://qt.nokia.com/doc/4.5/qobject.html#trUtf8">trUtf8</a> ( const char *, const char *, int )</li>
-</ul>
-</td></tr>
-</table></p>
-<p /><address><hr /><div align="center">
-<table width="100%" cellspacing="0" border="0"><tr class="address">
-<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
-<td width="40%" align="center"><a href="http://qt.nokia.com/doc/trademarks.html">Trademarks</a></td>
-<td width="30%" align="right"><div align="right">Qt Solutions</div></td>
-</tr></table></div></address></body>
-</html>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbarmanager.html
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/html/qttoolbarmanager.html	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,102 +1,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html
-    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<!-- qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp -->
-<head>
-  <title>QtToolBarManager Class Reference</title>
-  <link href="classic.css" rel="stylesheet" type="text/css" />
-</head>
-<body>
-<table border="0" cellpadding="0" cellspacing="0" width="100%">
-<tr>
-<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="57" height="67" border="0" /></td>
-<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a></td>
-</tr></table><h1 class="title">QtToolBarManager Class Reference</h1>
-<p>The QtToolBarManager class provides toolbar management for main windows. <a href="#details">More...</a></p>
-<pre> #include &lt;QtToolBarManager&gt;</pre><p>Inherits <a href="http://qt.nokia.com/doc/4.5/qobject.html">QObject</a>.</p>
-<ul>
-<li><a href="qttoolbarmanager-members.html">List of all members, including inherited members</a></li>
-</ul>
-<a name="public-functions"></a>
-<h3>Public Functions</h3>
-<ul>
-<li><div class="fn"></div><b><a href="qttoolbarmanager.html#QtToolBarManager">QtToolBarManager</a></b> ( QObject * <i>parent</i> = 0 )</li>
-<li><div class="fn"></div><b><a href="qttoolbarmanager.html#dtor.QtToolBarManager">~QtToolBarManager</a></b> ()</li>
-<li><div class="fn"></div>void <b><a href="qttoolbarmanager.html#addAction">addAction</a></b> ( QAction * <i>action</i>, const QString &amp; <i>category</i> )</li>
-<li><div class="fn"></div>void <b><a href="qttoolbarmanager.html#addToolBar">addToolBar</a></b> ( QToolBar * <i>toolBar</i>, const QString &amp; <i>category</i> )</li>
-<li><div class="fn"></div>QMainWindow * <b><a href="qttoolbarmanager.html#mainWindow">mainWindow</a></b> () const</li>
-<li><div class="fn"></div>void <b><a href="qttoolbarmanager.html#removeAction">removeAction</a></b> ( QAction * <i>action</i> )</li>
-<li><div class="fn"></div>void <b><a href="qttoolbarmanager.html#removeToolBar">removeToolBar</a></b> ( QToolBar * <i>toolBar</i> )</li>
-<li><div class="fn"></div>bool <b><a href="qttoolbarmanager.html#restoreState">restoreState</a></b> ( const QByteArray &amp; <i>state</i>, int <i>version</i> = 0 )</li>
-<li><div class="fn"></div>QByteArray <b><a href="qttoolbarmanager.html#saveState">saveState</a></b> ( int <i>version</i> = 0 ) const</li>
-<li><div class="fn"></div>void <b><a href="qttoolbarmanager.html#setMainWindow">setMainWindow</a></b> ( QMainWindow * <i>mainWindow</i> )</li>
-<li><div class="fn"></div>QList&lt;QToolBar *&gt; <b><a href="qttoolbarmanager.html#toolBars">toolBars</a></b> () const</li>
-</ul>
-<ul>
-<li><div class="fn"></div>29 public functions inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#public-functions">QObject</a></li>
-</ul>
-<h3>Additional Inherited Members</h3>
-<ul>
-<li><div class="fn"></div>1 property inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#properties">QObject</a></li>
-<li><div class="fn"></div>1 public slot inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#public-slots">QObject</a></li>
-<li><div class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#signals">QObject</a></li>
-<li><div class="fn"></div>1 public type inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#public-variables">QObject</a></li>
-<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#static-public-members">QObject</a></li>
-<li><div class="fn"></div>7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#protected-functions">QObject</a></li>
-<li><div class="fn"></div>2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.5/qobject.html#protected-variables">QObject</a></li>
-</ul>
-<a name="details"></a>
-<hr />
-<h2>Detailed Description</h2>
-<p>The QtToolBarManager class provides toolbar management for main windows.</p>
-<p>The QtToolBarManager is typically used with a <a href="qttoolbardialog.html">QtToolBarDialog</a> which allows the user to customize the toolbars for a given main window. The <a href="qttoolbardialog.html">QtToolBarDialog</a> class's functionality is controlled by an instance of the QtToolBarManager class, and the main window is specified using the QtToolBarManager class's <a href="qttoolbarmanager.html#setMainWindow">setMainWindow</a>() function.</p>
-<p>The currently specified main window can be retrieved using the <a href="qttoolbarmanager.html#mainWindow">mainWindow</a>() function.</p>
-<p>The toolbar manager holds lists of the given main window's actions and toolbars, and can add actions and toolbars to these lists using the <a href="qttoolbarmanager.html#addAction">addAction</a>() and <a href="qttoolbarmanager.html#addToolBar">addToolBar</a>() functions respectively. The actions can in addition be categorized acccording to the user's preferences. The toolbar manager can also remove custom actions and toolbars using the <a href="qttoolbarmanager.html#removeAction">removeAction</a>() and <a href="qttoolbarmanager.html#removeToolBar">removeToolBar</a>() functions.</p>
-<p>Finally, the QtToolBarManager is able to save the customized state of its toolbars using the <a href="qttoolbarmanager.html#saveState">saveState</a>() function as well as restore the toolbars' saved state using <a href="qttoolbarmanager.html#restoreState">restoreState</a>() function.</p>
-<p>See also <a href="qttoolbardialog.html">QtToolBarDialog</a>.</p>
-<hr />
-<h2>Member Function Documentation</h2>
-<h3 class="fn"><a name="QtToolBarManager"></a>QtToolBarManager::QtToolBarManager ( <a href="http://qt.nokia.com/doc/4.5/qobject.html">QObject</a> * <i>parent</i> = 0 )</h3>
-<p>Creates a toolbar manager with the given <i>parent</i>.</p>
-<h3 class="fn"><a name="dtor.QtToolBarManager"></a>QtToolBarManager::~QtToolBarManager ()</h3>
-<p>Destroys the toolbar manager.</p>
-<h3 class="fn"><a name="addAction"></a>void QtToolBarManager::addAction ( <a href="http://qt.nokia.com/doc/4.5/qaction.html">QAction</a> * <i>action</i>, const <a href="http://qt.nokia.com/doc/4.5/qstring.html">QString</a> &amp; <i>category</i> )</h3>
-<p>Adds the given <i>action</i> to the given <i>category</i> in the manager's list of actions. If the <i>category</i> doesn't exist it is created. Only non separator actions can be added. If the action is already added to the list, the function doesn't do anything.</p>
-<p>See also <a href="qttoolbarmanager.html#removeAction">removeAction</a>().</p>
-<h3 class="fn"><a name="addToolBar"></a>void QtToolBarManager::addToolBar ( <a href="http://qt.nokia.com/doc/4.5/qtoolbar.html">QToolBar</a> * <i>toolBar</i>, const <a href="http://qt.nokia.com/doc/4.5/qstring.html">QString</a> &amp; <i>category</i> )</h3>
-<p>Adds the given <i>toolBar</i> to the manager's toolbar list.</p>
-<p>All the <i>toolBar</i>'s actions are automatically added to the given <i>category</i> in the manager's list of actions if they're not already there. The manager remembers which toolbar the actions belonged to, so, when the <i>toolBar</i> is removed, its actions will be removed as well.</p>
-<p>Custom toolbars are created with the main window returned by the <a href="qttoolbarmanager.html#mainWindow">mainWindow</a>() function, as its parent.</p>
-<p>See also <a href="qttoolbarmanager.html#removeToolBar">removeToolBar</a>().</p>
-<h3 class="fn"><a name="mainWindow"></a><a href="http://qt.nokia.com/doc/4.5/qmainwindow.html">QMainWindow</a> * QtToolBarManager::mainWindow () const</h3>
-<p>Returns the main window associated this toolbar manager.</p>
-<p>See also <a href="qttoolbarmanager.html#setMainWindow">setMainWindow</a>().</p>
-<h3 class="fn"><a name="removeAction"></a>void QtToolBarManager::removeAction ( <a href="http://qt.nokia.com/doc/4.5/qaction.html">QAction</a> * <i>action</i> )</h3>
-<p>Removes the specified <i>action</i> from the manager's list of actions. The action is also removed from all the registered toolbars. If the specified <i>action</i> is the only action in its category, that category is removed as well.</p>
-<p>See also <a href="qttoolbarmanager.html#addAction">addAction</a>().</p>
-<h3 class="fn"><a name="removeToolBar"></a>void QtToolBarManager::removeToolBar ( <a href="http://qt.nokia.com/doc/4.5/qtoolbar.html">QToolBar</a> * <i>toolBar</i> )</h3>
-<p>Removes the specified <i>toolBar</i> from the manager's list. All the actions that existed in the specified <i>toolBar</i> when it was added are removed as well.</p>
-<p>See also <a href="qttoolbarmanager.html#addToolBar">addToolBar</a>().</p>
-<h3 class="fn"><a name="restoreState"></a>bool QtToolBarManager::restoreState ( const <a href="http://qt.nokia.com/doc/4.5/qbytearray.html">QByteArray</a> &amp; <i>state</i>, int <i>version</i> = 0 )</h3>
-<p>Restores the saved state of the toolbar manager's toolbars. The <i>version</i> number is compared with the version number of the stored <i>state</i>.</p>
-<p>Returns true if the version numbers are matching and the toolbar manager's state is restored; otherwise the toolbar manager's state is left unchanged and the function returns false.</p>
-<p>Note that the state of the toolbar manager's toolbars should be restored before restoring the state of the main window's toolbars and dockwidgets using the <a href="http://qt.nokia.com/doc/4.5/qmainwindow.html#restoreState">QMainWindow::restoreState</a>() function. In that way the restoreState() function can create the custom toolbars before the <a href="http://qt.nokia.com/doc/4.5/qmainwindow.html#restoreState">QMainWindow::restoreState</a>() function restores the custom toolbars' positions.</p>
-<p>See also <a href="qttoolbarmanager.html#saveState">saveState</a>().</p>
-<h3 class="fn"><a name="saveState"></a><a href="http://qt.nokia.com/doc/4.5/qbytearray.html">QByteArray</a> QtToolBarManager::saveState ( int <i>version</i> = 0 ) const</h3>
-<p>Saves the state of the toolbar manager's toolbars. The <i>version</i> number is stored as part of the data.</p>
-<p>Identifies all the <a href="http://qt.nokia.com/doc/4.5/qtoolbar.html">QToolBar</a> and <a href="http://qt.nokia.com/doc/4.5/qaction.html">QAction</a> objects by their object name property. Ensure that this property is unique for each <a href="http://qt.nokia.com/doc/4.5/qtoolbar.html">QToolBar</a> and <a href="http://qt.nokia.com/doc/4.5/qaction.html">QAction</a> that you add using the <a href="qttoolbarmanager.html">QtToolBarManager</a>.</p>
-<p>Returns an identifier for the state which can be passed along with the version number to the <a href="qttoolbarmanager.html#restoreState">restoreState</a>() function to restore the saved state.</p>
-<p>See also <a href="qttoolbarmanager.html#restoreState">restoreState</a>().</p>
-<h3 class="fn"><a name="setMainWindow"></a>void QtToolBarManager::setMainWindow ( <a href="http://qt.nokia.com/doc/4.5/qmainwindow.html">QMainWindow</a> * <i>mainWindow</i> )</h3>
-<p>Sets the main window upon which the toolbar manager operates, to be the given <i>mainWindow</i>.</p>
-<p>See also <a href="qttoolbarmanager.html#mainWindow">mainWindow</a>().</p>
-<h3 class="fn"><a name="toolBars"></a><a href="http://qt.nokia.com/doc/4.5/qlist.html">QList</a>&lt;<a href="http://qt.nokia.com/doc/4.5/qtoolbar.html">QToolBar</a> *&gt; QtToolBarManager::toolBars () const</h3>
-<p>Returns the manager's toolbar list.</p>
-<p /><address><hr /><div align="center">
-<table width="100%" cellspacing="0" border="0"><tr class="address">
-<td width="30%" align="left">Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies)</td>
-<td width="40%" align="center"><a href="http://qt.nokia.com/doc/trademarks.html">Trademarks</a></td>
-<td width="30%" align="right"><div align="right">Qt Solutions</div></td>
-</tr></table></div></address></body>
-</html>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/index.qdoc
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/doc/index.qdoc	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,37 +1,0 @@
-/*!
-	\page index.html
-	\title Toolbar Dialog
-
-    	\section1 Description
-	
-            The Toolbar Dialog component provides customizing functionality for toolbars.
-	
-
-	
-	
-
-    	
-        \section1 Classes
-	    \list
-	 \i  QtToolBarManager \i  QtToolBarDialog\endlist
-	
-    
-
-    	
-
-    	
-    		\section1 Tested platforms
-		\list
-		\i Qt 4.4, 4.5 / Windows XP / MSVC.NET 2005
-		    \i Qt 4.4, 4.5 / Linux / gcc
-		    \i Qt 4.4, 4.5 / MacOS X 10.5 / gcc
-		    \endlist
-
-    	
-
-	
-		\section1 Screenshots
-
-    		\img qttoolbardialog.png
-		    
-	*/
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/examples.pro
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/examples.pro	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,7 +1,0 @@
-######################################################################
-# Automatically generated by qmake (2.00a) Wed Jun 15 15:53:34 2005
-######################################################################
-
-TEMPLATE = subdirs
-SUBDIRS = simple
-
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/main.cpp
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/main.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,59 +1,0 @@
-/****************************************************************************
-** 
-** 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 <QtGui/QApplication>
-
-#include "mainwindow.h"
-
-int main(int argc, char *argv[])
-{
-    Q_INIT_RESOURCE(simple);
-
-    QApplication app(argc, argv);
-    MainWindow mainWin;
-    mainWin.show();
-    return app.exec();
-}
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/mainwindow.cpp
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/mainwindow.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,455 +1,0 @@
-/****************************************************************************
-** 
-** 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 <QtGui>
-
-#include "mainwindow.h"
-#include "qttoolbardialog.h"
-
-MainWindow::MainWindow()
-{
-    textEdit = new QTextEdit;
-    setCentralWidget(textEdit);
-
-    findWidget = new QLineEdit;
-    findWidget->setSizePolicy(QSizePolicy(QSizePolicy::Fixed, QSizePolicy::Fixed));
-    connect(findWidget, SIGNAL(returnPressed()), this, SLOT(find()));
-
-    createActions();
-    createMenus();
-    createToolBars();
-    createStatusBar();
-    createToolBarManager();
-
-    readSettings();
-
-    connect(textEdit->document(), SIGNAL(contentsChanged()),
-            this, SLOT(documentWasModified()));
-
-    setCurrentFile("");
-}
-
-void MainWindow::closeEvent(QCloseEvent *event)
-{
-    if (maybeSave()) {
-        writeSettings();
-        event->accept();
-    } else {
-        event->ignore();
-    }
-}
-
-void MainWindow::newFile()
-{
-    if (maybeSave()) {
-        textEdit->clear();
-        setCurrentFile("");
-    }
-}
-
-void MainWindow::open()
-{
-    if (maybeSave()) {
-        QString fileName = QFileDialog::getOpenFileName(this);
-        if (!fileName.isEmpty())
-            loadFile(fileName);
-    }
-}
-
-bool MainWindow::save()
-{
-    if (curFile.isEmpty()) {
-        return saveAs();
-    } else {
-        return saveFile(curFile);
-    }
-}
-
-bool MainWindow::saveAs()
-{
-    QString fileName = QFileDialog::getSaveFileName(this);
-    if (fileName.isEmpty())
-        return false;
-
-    return saveFile(fileName);
-}
-
-void MainWindow::configureToolBars()
-{
-    QtToolBarDialog dlg(this);
-    dlg.setToolBarManager(toolBarManager);
-    dlg.exec();
-}
-
-void MainWindow::saveToolBars()
-{
-    QString fileName = QFileDialog::getSaveFileName(this,
-            tr("Save Toolbars' State"), QString(), "*.state");
-    if (fileName.isEmpty())
-        return;
-    QFileInfo fi(fileName);
-    if (fi.suffix() != QString("state"))
-        fileName += QString(".state");
-
-    QFile file(fileName);
-    if (file.open(QFile::WriteOnly)) {
-        QByteArray array = toolBarManager->saveState();
-        file.write(array);
-        file.close();
-    }
-}
-
-void MainWindow::restoreToolBars()
-{
-    QString fileName = QFileDialog::getOpenFileName(this,
-            tr("Restore Toolbars' State"), QString(), "*.state");
-    if (fileName.isEmpty())
-        return;
-
-    QFile file(fileName);
-    if (file.open(QFile::ReadOnly)) {
-        QByteArray array = file.readAll();
-        file.close();
-        toolBarManager->restoreState(array);
-    }
-}
-
-void MainWindow::about()
-{
-   QMessageBox::about(this, tr("About Application"),
-            tr("The <b>Application</b> example demonstrates how to "
-               "write modern GUI applications using Qt, with a menu bar, "
-               "toolbars, and a status bar."));
-}
-
-void MainWindow::documentWasModified()
-{
-    setWindowModified(textEdit->document()->isModified());
-}
-
-void MainWindow::find()
-{
-    QString text = findWidget->text();
-    if (!textEdit->find(text)) {
-        statusBar()->showMessage(tr("Search hit bottom, continuing from top"), 2000);
-        QTextCursor oldCursor = textEdit->textCursor();
-        int vpos = textEdit->verticalScrollBar()->value();
-        int hpos = textEdit->horizontalScrollBar()->value();
-        QTextCursor newCursor = oldCursor;
-        newCursor.setPosition(0);
-        textEdit->setTextCursor(newCursor);
-        if (!textEdit->find(text)) {
-            statusBar()->showMessage(tr("Pattern '%1' not found").arg(text), 2000);
-            textEdit->setTextCursor(oldCursor);
-            textEdit->verticalScrollBar()->setValue(vpos);
-            textEdit->horizontalScrollBar()->setValue(hpos);
-        }
-    }
-}
-
-void MainWindow::createActions()
-{
-    findAct = 0;
-
-    newAct = new QAction(QIcon(":/images/new.png"), tr("&New"), this);
-    newAct->setObjectName(QString::fromUtf8("newAct"));
-    newAct->setShortcut(tr("Ctrl+N"));
-    newAct->setStatusTip(tr("Create a new file"));
-    connect(newAct, SIGNAL(triggered()), this, SLOT(newFile()));
-
-    openAct = new QAction(QIcon(":/images/open.png"), tr("&Open..."), this);
-    openAct->setObjectName(QString::fromUtf8("openAct"));
-    openAct->setShortcut(tr("Ctrl+O"));
-    openAct->setStatusTip(tr("Open an existing file"));
-    connect(openAct, SIGNAL(triggered()), this, SLOT(open()));
-
-    saveAct = new QAction(QIcon(":/images/save.png"), tr("&Save"), this);
-    saveAct->setObjectName(QString::fromUtf8("saveAct"));
-    saveAct->setShortcut(tr("Ctrl+S"));
-    saveAct->setStatusTip(tr("Save the document to disk"));
-    connect(saveAct, SIGNAL(triggered()), this, SLOT(save()));
-
-    saveAsAct = new QAction(tr("Save &As..."), this);
-    saveAsAct->setObjectName(QString::fromUtf8("saveAsAct"));
-    saveAsAct->setStatusTip(tr("Save the document under a new name"));
-    connect(saveAsAct, SIGNAL(triggered()), this, SLOT(saveAs()));
-
-    exitAct = new QAction(tr("E&xit"), this);
-    exitAct->setObjectName(QString::fromUtf8("exitAct"));
-    exitAct->setShortcut(tr("Ctrl+Q"));
-    exitAct->setStatusTip(tr("Exit the application"));
-    connect(exitAct, SIGNAL(triggered()), this, SLOT(close()));
-
-    cutAct = new QAction(QIcon(":/images/cut.png"), tr("Cu&t"), this);
-    cutAct->setObjectName(QString::fromUtf8("cutAct"));
-    cutAct->setShortcut(tr("Ctrl+X"));
-    cutAct->setStatusTip(tr("Cut the current selection's contents to the "
-                            "clipboard"));
-    connect(cutAct, SIGNAL(triggered()), textEdit, SLOT(cut()));
-
-    copyAct = new QAction(QIcon(":/images/copy.png"), tr("&Copy"), this);
-    copyAct->setObjectName(QString::fromUtf8("copyAct"));
-    copyAct->setShortcut(tr("Ctrl+C"));
-    copyAct->setStatusTip(tr("Copy the current selection's contents to the "
-                             "clipboard"));
-    connect(copyAct, SIGNAL(triggered()), textEdit, SLOT(copy()));
-
-    pasteAct = new QAction(QIcon(":/images/paste.png"), tr("&Paste"), this);
-    pasteAct->setObjectName(QString::fromUtf8("pasteAct"));
-    pasteAct->setShortcut(tr("Ctrl+V"));
-    pasteAct->setStatusTip(tr("Paste the clipboard's contents into the current "
-                              "selection"));
-    connect(pasteAct, SIGNAL(triggered()), textEdit, SLOT(paste()));
-
-    configureToolBarsAct = new QAction(tr("&Configure Toolbars..."), this);
-    configureToolBarsAct->setObjectName(QString::fromUtf8("configureToolBarsAct"));
-    configureToolBarsAct->setStatusTip(tr("Configure toolbars"));
-    QObject::connect(configureToolBarsAct, SIGNAL(triggered()),
-                this, SLOT(configureToolBars()));
-
-    saveToolBarsAct = new QAction(tr("&Save Toolbars..."), this);
-    saveToolBarsAct->setObjectName(QString::fromUtf8("saveToolBarsAct"));
-    saveToolBarsAct->setStatusTip(tr("Save toolbars' state"));
-    QObject::connect(saveToolBarsAct, SIGNAL(triggered()),
-                this, SLOT(saveToolBars()));
-
-    restoreToolBarsAct = new QAction(tr("&Restore Toolbars..."), this);
-    restoreToolBarsAct->setObjectName(QString::fromUtf8("restoreToolBarsAct"));
-    restoreToolBarsAct->setStatusTip(tr("Restore toolbars' state"));
-    QObject::connect(restoreToolBarsAct, SIGNAL(triggered()),
-                this, SLOT(restoreToolBars()));
-
-    aboutAct = new QAction(tr("&About"), this);
-    aboutAct->setObjectName(QString::fromUtf8("aboutAct"));
-    aboutAct->setStatusTip(tr("Show the application's About box"));
-    connect(aboutAct, SIGNAL(triggered()), this, SLOT(about()));
-
-    aboutQtAct = new QAction(tr("About &Qt"), this);
-    aboutQtAct->setObjectName(QString::fromUtf8("aboutQtAct"));
-    aboutQtAct->setStatusTip(tr("Show the Qt library's About box"));
-    connect(aboutQtAct, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
-
-    cutAct->setEnabled(false);
-    copyAct->setEnabled(false);
-    connect(textEdit, SIGNAL(copyAvailable(bool)),
-            cutAct, SLOT(setEnabled(bool)));
-    connect(textEdit, SIGNAL(copyAvailable(bool)),
-            copyAct, SLOT(setEnabled(bool)));
-}
-
-void MainWindow::createMenus()
-{
-    fileMenu = menuBar()->addMenu(tr("&File"));
-    fileMenu->addAction(newAct);
-    fileMenu->addAction(openAct);
-    fileMenu->addAction(saveAct);
-    fileMenu->addAction(saveAsAct);
-    fileMenu->addSeparator();
-    fileMenu->addAction(exitAct);
-
-    editMenu = menuBar()->addMenu(tr("&Edit"));
-    editMenu->addAction(cutAct);
-    editMenu->addAction(copyAct);
-    editMenu->addAction(pasteAct);
-
-    settingsMenu = menuBar()->addMenu(tr("&Settings"));
-    settingsMenu->addAction(configureToolBarsAct);
-    settingsMenu->addAction(saveToolBarsAct);
-    settingsMenu->addAction(restoreToolBarsAct);
-
-    menuBar()->addSeparator();
-
-    helpMenu = menuBar()->addMenu(tr("&Help"));
-    helpMenu->addAction(aboutAct);
-    helpMenu->addAction(aboutQtAct);
-}
-
-void MainWindow::createToolBars()
-{
-    fileToolBar = addToolBar(tr("File"));
-    fileToolBar->setObjectName(QString::fromUtf8("fileToolBar"));
-    fileToolBar->addAction(newAct);
-    fileToolBar->addAction(openAct);
-    fileToolBar->addAction(saveAct);
-
-    editToolBar = addToolBar(tr("Edit"));
-    editToolBar->setObjectName(QString::fromUtf8("editToolBar"));
-    editToolBar->addAction(cutAct);
-    editToolBar->addAction(copyAct);
-    editToolBar->addAction(pasteAct);
-    editToolBar->addSeparator();
-
-    findAct = editToolBar->addWidget(findWidget);
-    findAct->setText(tr("Find"));
-    findAct->setObjectName(QString::fromUtf8("findAct"));
-}
-
-void MainWindow::createStatusBar()
-{
-    statusBar()->showMessage(tr("Ready"));
-}
-
-void MainWindow::createToolBarManager()
-{
-    toolBarManager = new QtToolBarManager(this);
-    toolBarManager->setMainWindow(this);
-
-    QString fileStr = tr("File");
-    QString editStr = tr("Edit");
-    QString settingsStr = tr("Settings");
-    QString helpStr = tr("Help");
-
-    toolBarManager->addToolBar(fileToolBar, fileStr);
-    toolBarManager->addToolBar(editToolBar, editStr);
-
-    toolBarManager->addAction(saveAsAct, fileStr);
-    toolBarManager->addAction(exitAct, fileStr);
-    toolBarManager->addAction(configureToolBarsAct, settingsStr);
-    toolBarManager->addAction(saveToolBarsAct, settingsStr);
-    toolBarManager->addAction(restoreToolBarsAct, settingsStr);
-    toolBarManager->addAction(aboutAct, helpStr);
-    toolBarManager->addAction(aboutQtAct, helpStr);
-}
-
-void MainWindow::readSettings()
-{
-    QSettings settings("Qt Software", "Application Example");
-    QPoint pos = settings.value("pos", QPoint(200, 200)).toPoint();
-    QSize size = settings.value("size", QSize(400, 400)).toSize();
-    QByteArray toolBarsState = settings.value("toolBarsState").toByteArray();
-    QByteArray docksState = settings.value("docksState").toByteArray();
-    resize(size);
-    move(pos);
-    toolBarManager->restoreState(toolBarsState);
-    restoreState(docksState);
-}
-
-void MainWindow::writeSettings()
-{
-    QSettings settings("Qt Software", "Application Example");
-    settings.setValue("pos", pos());
-    settings.setValue("size", size());
-    settings.setValue("toolBarsState", toolBarManager->saveState());
-    settings.setValue("docksState", saveState());
-}
-
-bool MainWindow::maybeSave()
-{
-    if (textEdit->document()->isModified()) {
-        int ret = QMessageBox::warning(this, tr("Application"),
-                     tr("The document has been modified.\n"
-                        "Do you want to save your changes?"),
-                     QMessageBox::Yes | QMessageBox::Default,
-                     QMessageBox::No,
-                     QMessageBox::Cancel | QMessageBox::Escape);
-        if (ret == QMessageBox::Yes)
-            return save();
-        else if (ret == QMessageBox::Cancel)
-            return false;
-    }
-    return true;
-}
-
-void MainWindow::loadFile(const QString &fileName)
-{
-    QFile file(fileName);
-    if (!file.open(QFile::ReadOnly | QFile::Text)) {
-        QMessageBox::warning(this, tr("Application"),
-                             tr("Cannot read file %1:\n%2.")
-                             .arg(fileName)
-                             .arg(file.errorString()));
-        return;
-    }
-
-    QTextStream in(&file);
-    QApplication::setOverrideCursor(Qt::WaitCursor);
-    textEdit->setPlainText(in.readAll());
-    QApplication::restoreOverrideCursor();
-
-    setCurrentFile(fileName);
-    statusBar()->showMessage(tr("File loaded"), 2000);
-}
-
-bool MainWindow::saveFile(const QString &fileName)
-{
-    QFile file(fileName);
-    if (!file.open(QFile::WriteOnly | QFile::Text)) {
-        QMessageBox::warning(this, tr("Application"),
-                             tr("Cannot write file %1:\n%2.")
-                             .arg(fileName)
-                             .arg(file.errorString()));
-        return false;
-    }
-
-    QTextStream out(&file);
-    QApplication::setOverrideCursor(Qt::WaitCursor);
-    out << textEdit->toPlainText();
-    QApplication::restoreOverrideCursor();
-
-    setCurrentFile(fileName);
-    statusBar()->showMessage(tr("File saved"), 2000);
-    return true;
-}
-
-void MainWindow::setCurrentFile(const QString &fileName)
-{
-    curFile = fileName;
-    textEdit->document()->setModified(false);
-    setWindowModified(false);
-
-    QString shownName;
-    if (curFile.isEmpty())
-        shownName = "untitled.txt";
-    else
-        shownName = strippedName(curFile);
-
-    setWindowTitle(tr("%1[*] - %2").arg(shownName).arg(tr("Application")));
-}
-
-QString MainWindow::strippedName(const QString &fullFileName)
-{
-    return QFileInfo(fullFileName).fileName();
-}
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/mainwindow.h
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/mainwindow.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,122 +1,0 @@
-/****************************************************************************
-** 
-** 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 MAINWINDOW_H
-#define MAINWINDOW_H
-
-#include <QtGui/QMainWindow>
-
-class QAction;
-class QMenu;
-class QTextEdit;
-class QLineEdit;
-class QtToolBarManager;
-
-class MainWindow : public QMainWindow
-{
-    Q_OBJECT
-public:
-    MainWindow();
-
-protected:
-    void closeEvent(QCloseEvent *event);
-
-private slots:
-    void newFile();
-    void open();
-    bool save();
-    bool saveAs();
-    void configureToolBars();
-    void saveToolBars();
-    void restoreToolBars();
-    void about();
-    void documentWasModified();
-    void find();
-
-private:
-    void createActions();
-    void createMenus();
-    void createToolBars();
-    void createStatusBar();
-    void createToolBarManager();
-    void readSettings();
-    void writeSettings();
-    bool maybeSave();
-    void loadFile(const QString &fileName);
-    bool saveFile(const QString &fileName);
-    void setCurrentFile(const QString &fileName);
-    QString strippedName(const QString &fullFileName);
-
-    QTextEdit *textEdit;
-    QString curFile;
-
-    QLineEdit *findWidget;
-
-    QMenu *fileMenu;
-    QMenu *editMenu;
-    QMenu *settingsMenu;
-    QMenu *helpMenu;
-    QToolBar *fileToolBar;
-    QToolBar *editToolBar;
-    QAction *newAct;
-    QAction *openAct;
-    QAction *saveAct;
-    QAction *saveAsAct;
-    QAction *exitAct;
-    QAction *cutAct;
-    QAction *copyAct;
-    QAction *pasteAct;
-    QAction *findAct;
-    QAction *configureToolBarsAct;
-    QAction *saveToolBarsAct;
-    QAction *restoreToolBarsAct;
-    QAction *aboutAct;
-    QAction *aboutQtAct;
-
-    QtToolBarManager *toolBarManager;
-};
-
-#endif
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/simple.pro
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/simple.pro	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,11 +1,0 @@
-TEMPLATE = app
-DEPENDPATH += .
-INCLUDEPATH += .
-
-include(../../src/qttoolbardialog.pri)
-# Input
-SOURCES += main.cpp \
-           mainwindow.cpp
-HEADERS += mainwindow.h
-RESOURCES += simple.qrc
-
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/simple.qrc
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/examples/simple/simple.qrc	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,10 +1,0 @@
-<!DOCTYPE RCC><RCC version="1.0">
-<qresource>
-    <file>images/copy.png</file>
-    <file>images/cut.png</file>
-    <file>images/new.png</file>
-    <file>images/open.png</file>
-    <file>images/paste.png</file>
-    <file>images/save.png</file>
-</qresource>
-</RCC>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/qttoolbardialog.pro
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/qttoolbardialog.pro	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,5 +1,0 @@
-TEMPLATE=subdirs
-CONFIG += ordered
-include(common.pri)
-qttoolbardialog-uselib:SUBDIRS=buildlib
-SUBDIRS+=examples
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/src/QtToolBarDialog
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/src/QtToolBarDialog	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,1 +1,0 @@
-#include "qttoolbardialog.h"
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/src/QtToolBarManager
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/src/QtToolBarManager	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,1 +1,0 @@
-#include "qttoolbardialog.h"
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,1909 +1,0 @@
-/****************************************************************************
-** 
-** 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 "qttoolbardialog.h"
-#include "ui_qttoolbardialog.h"
-#include <QtCore/QSet>
-#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
-#   include <QtGui/QAction>
-#   include <QtGui/QToolBar>
-#   include <QtGui/QMainWindow>
-#   include <QtGui/QHeaderView>
-#   include <QtGui/QPushButton>
-#else
-#   include <QtWidgets/QAction>
-#   include <QtWidgets/QToolBar>
-#   include <QtWidgets/QMainWindow>
-#   include <QtWidgets/QHeaderView>
-#   include <QtWidgets/QPushButton>
-#endif
-#include <QtGui/QShowEvent>
-#include <QtGui/QHideEvent>
-
-#ifndef GET_ICON
-#   if QT_VERSION >= QT_VERSION_CHECK(4,6,0)
-#       define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/128x128/" x ".png"))
-#   else
-#       define GET_ICON(x) QIcon(":/images/icons/128x128/" x ".png")
-#   endif
-#endif
-
-class QtFullToolBarManagerPrivate
-{
-    class QtFullToolBarManager *q_ptr;
-    Q_DECLARE_PUBLIC(QtFullToolBarManager)
-
-public:
-
-    QToolBar *toolBarWidgetAction(QAction *action) const;
-    void removeWidgetActions(const QMap<QToolBar *, QList<QAction *> > &actions);
-
-    enum {
-        VersionMarker = 0xff,
-        ToolBarMarker = 0xfe,
-        CustomToolBarMarker = 0xfd,
-    };
-
-    void saveState(QDataStream &stream) const;
-    bool restoreState(QDataStream &stream) const;
-    QToolBar *findDefaultToolBar(const QString &objectName) const;
-    QAction *findAction(const QString &actionName) const;
-
-    QToolBar *toolBarByName(const QString &toolBarName) const;
-
-    QtFullToolBarManagerPrivate();
-
-    QMap<QString, QList<QAction *> > categoryToActions;
-    QMap<QAction *, QString>         actionToCategory;
-
-    QSet<QAction *> allActions;
-    QMap<QAction *, QToolBar *> widgetActions;
-    QSet<QAction *> regularActions;
-    QMap<QAction *, QList<QToolBar *> > actionToToolBars;
-
-    QMap<QToolBar *, QList<QAction *> > toolBars;
-    QMap<QToolBar *, QList<QAction *> > toolBarsWithSeparators;
-    QMap<QToolBar *, QList<QAction *> > defaultToolBars;
-    QList<QToolBar *> customToolBars;
-
-    QMainWindow *theMainWindow;
-};
-
-
-class QtFullToolBarManager : public QObject
-{
-    Q_OBJECT
-public:
-    QtFullToolBarManager(QObject *parent);
-    ~QtFullToolBarManager();
-
-    void setMainWindow(QMainWindow *mainWindow);
-    QMainWindow *mainWindow() const;
-
-    void addCategory(const QString &category);
-    bool hasCategory(const QString &category) const;
-    QStringList categories() const;
-    QList<QAction *> categoryActions(const QString &category) const;
-    QString actionCategory(QAction *action) const;
-
-    // only non-separator
-    void addAction(QAction *action, const QString &category);
-
-    void removeAction(QAction *action);
-
-    QSet<QAction *> actions() const;
-    bool isWidgetAction(QAction *action) const;
-
-    /*
-    Adds (registers) toolBar. Adds (registers) actions that already exists in toolBar.
-    Remembers toolbar and its actions as a default.
-    */
-    void addDefaultToolBar(QToolBar *toolBar, const QString &category);
-
-    void removeDefaultToolBar(QToolBar *toolBar);
-    // NULL on action list means separator.
-    QMap<QToolBar *, QList<QAction *> > defaultToolBars() const;
-    bool isDefaultToolBar(QToolBar *toolBar) const;
-
-    QToolBar *createToolBar(const QString &toolBarName);
-    void deleteToolBar(QToolBar *toolBar); // only those which were created, not added
-
-    QList<QAction *> actions(QToolBar *toolBar) const;
-
-    void setToolBars(const QMap<QToolBar *, QList<QAction *> > &actions);
-    void setToolBar(QToolBar *toolBar, const QList<QAction *> &actions);
-
-    QMap<QToolBar *, QList<QAction *> > toolBarsActions() const;
-    QByteArray saveState(int version = 0) const;
-    bool restoreState(const QByteArray &state, int version = 0);
-
-public slots:
-
-    void resetToolBar(QToolBar *toolBar);
-    void resetAllToolBars();
-
-signals:
-    void toolBarCreated(QToolBar *toolBar);
-    void toolBarRemoved(QToolBar *toolBar);
-
-    /*
-    If QToolBarWidgetAction was in another tool bar and is inserted into
-    this toolBar, toolBarChanged is first emited for other toolbar - without
-    that action. (Another approach may be that user first must call setToolBar
-    without that action for old tool bar)
-    */
-    void toolBarChanged(QToolBar *toolBar, const QList<QAction *> &actions);
-
-private:
-    QtFullToolBarManagerPrivate *d_ptr;
-    Q_DECLARE_PRIVATE(QtFullToolBarManager)
-    Q_DISABLE_COPY(QtFullToolBarManager)
-};
-
-
-QtFullToolBarManagerPrivate::QtFullToolBarManagerPrivate()
-    : theMainWindow(0)
-{
-}
-
-QToolBar *QtFullToolBarManagerPrivate::toolBarWidgetAction(QAction *action) const
-{
-    if (widgetActions.contains(action))
-        return widgetActions.value(action);
-    return 0;
-}
-
-void QtFullToolBarManagerPrivate::removeWidgetActions(const QMap<QToolBar *, QList<QAction *> >
-            &actions)
-{
-    QMap<QToolBar *, QList<QAction *> >::ConstIterator itToolBar = actions.constBegin();
-    while (itToolBar != actions.constEnd()) {
-        QToolBar *toolBar = itToolBar.key();
-        QList<QAction *> newActions = toolBars.value(toolBar);
-        QList<QAction *> newActionsWithSeparators = toolBarsWithSeparators.value(toolBar);
-
-        QList<QAction *> removedActions;
-        QList<QAction *> actionList = itToolBar.value();
-        QListIterator<QAction *> itAction(actionList);
-        while (itAction.hasNext()) {
-            QAction *action = itAction.next();
-            if (newActions.contains(action) && toolBarWidgetAction(action) == toolBar) {
-                newActions.removeAll(action);
-                newActionsWithSeparators.removeAll(action);
-                removedActions.append(action);
-            }
-        }
-
-        //emit q_ptr->toolBarChanged(toolBar, newActions);
-
-        toolBars.insert(toolBar, newActions);
-        toolBarsWithSeparators.insert(toolBar, newActionsWithSeparators);
-        QListIterator<QAction *> itRemovedAction(removedActions);
-        while (itRemovedAction.hasNext()) {
-            QAction *oldAction = itRemovedAction.next();
-            widgetActions.insert(oldAction, 0);
-            actionToToolBars[oldAction].removeAll(toolBar);
-        }
-
-        itToolBar++;
-    }
-}
-
-void QtFullToolBarManagerPrivate::saveState(QDataStream &stream) const
-{
-    stream << (uchar) ToolBarMarker;
-    stream << defaultToolBars.size();
-    QMap<QToolBar *, QList<QAction *> >::ConstIterator itToolBar =
-                defaultToolBars.constBegin();
-    while (itToolBar != defaultToolBars.constEnd()) {
-        QToolBar *tb = itToolBar.key();
-        if (tb->objectName().isEmpty()) {
-            qWarning("QtToolBarManager::saveState(): 'objectName' not set for QToolBar "
-                "%p '%s', using 'windowTitle' instead",
-            tb, tb->windowTitle().toLocal8Bit().constData());
-            stream << tb->windowTitle();
-        } else {
-            stream << tb->objectName();
-        }
-
-        stream << toolBars[tb].size();
-        QListIterator<QAction *> itAction(toolBars[tb]);
-        while (itAction.hasNext()) {
-            QAction *action = itAction.next();
-
-            if (action) {
-                if (action->objectName().isEmpty()) {
-                    qWarning("QtToolBarManager::saveState(): 'objectName' not set for QAction "
-                                "%p '%s', using 'text' instead",
-                            action, action->text().toLocal8Bit().constData());
-                    stream << action->text();
-                } else {
-                    stream << action->objectName();
-                }
-            } else {
-                stream << QString();
-            }
-        }
-        itToolBar++;
-    }
-
-
-    stream << (uchar) CustomToolBarMarker;
-    stream << toolBars.size() - defaultToolBars.size();
-    itToolBar = toolBars.constBegin();
-    while (itToolBar != toolBars.constEnd()) {
-        QToolBar *tb = itToolBar.key();
-        if (!defaultToolBars.contains(tb)) {
-            stream << tb->objectName();
-            stream << tb->windowTitle();
-
-            stream << toolBars[tb].size();
-            QListIterator<QAction *> itAction(toolBars[tb]);
-            while (itAction.hasNext()) {
-                QAction *action = itAction.next();
-
-                if (action) {
-                    if (action->objectName().isEmpty()) {
-                        qWarning("QtToolBarManager::saveState(): 'objectName' not set for QAction "
-                                    "%p '%s', using 'text' instead",
-                                action, action->text().toLocal8Bit().constData());
-                        stream << action->text();
-                    } else {
-                        stream << action->objectName();
-                    }
-                } else {
-                    stream << QString();
-                }
-            }
-        }
-        itToolBar++;
-    }
-}
-
-bool QtFullToolBarManagerPrivate::restoreState(QDataStream &stream) const
-{
-    uchar tmarker;
-    stream >> tmarker;
-    if (tmarker != ToolBarMarker)
-        return false;
-
-    int toolBars;
-    stream >> toolBars;
-    for (int i = 0; i < toolBars; i++) {
-        QString objectName;
-        stream >> objectName;
-        int actionCount;
-        stream >> actionCount;
-        QList<QAction *> actions;
-        for (int j = 0; j < actionCount; j++) {
-            QString actionName;
-            stream >> actionName;
-
-            if (actionName.isEmpty())
-                actions.append(0);
-            else {
-                QAction *action = findAction(actionName);
-                if (action)
-                    actions.append(action);
-            }
-        }
-
-        QToolBar *toolBar = findDefaultToolBar(objectName);
-        if (toolBar)
-            q_ptr->setToolBar(toolBar, actions);
-    }
-
-
-
-    uchar ctmarker;
-    stream >> ctmarker;
-    if (ctmarker != CustomToolBarMarker)
-        return false;
-
-    QList<QToolBar *> oldCustomToolBars = customToolBars;
-
-    stream >> toolBars;
-    for (int i = 0; i < toolBars; i++) {
-        QString objectName;
-        QString toolBarName;
-        int actionCount;
-        stream >> objectName;
-        stream >> toolBarName;
-        stream >> actionCount;
-        QList<QAction *> actions;
-        for (int j = 0; j < actionCount; j++) {
-            QString actionName;
-            stream >> actionName;
-
-            if (actionName.isEmpty())
-                actions.append(0);
-            else {
-                QAction *action = findAction(actionName);
-                if (action)
-                    actions.append(action);
-            }
-        }
-
-        QToolBar *toolBar = toolBarByName(objectName);
-        if (toolBar) {
-            toolBar->setWindowTitle(toolBarName);
-            oldCustomToolBars.removeAll(toolBar);
-        }
-        else
-            toolBar = q_ptr->createToolBar(toolBarName);
-        if (toolBar) {
-            toolBar->setObjectName(objectName);
-            q_ptr->setToolBar(toolBar, actions);
-        }
-    }
-    QListIterator<QToolBar *> itToolBar(oldCustomToolBars);
-    while (itToolBar.hasNext())
-        q_ptr->deleteToolBar(itToolBar.next());
-    return true;
-}
-
-QToolBar *QtFullToolBarManagerPrivate::findDefaultToolBar(const QString &objectName) const
-{
-    QMap<QToolBar *, QList<QAction *> >::ConstIterator itToolBar =
-                defaultToolBars.constBegin();
-    while (itToolBar != defaultToolBars.constEnd()) {
-        QToolBar *tb = itToolBar.key();
-        if (tb->objectName() == objectName)
-            return tb;
-
-        itToolBar++;
-    }
-
-    qWarning("QtToolBarManager::restoreState(): cannot find a QToolBar named "
-        "'%s', trying to match using 'windowTitle' instead.",
-        objectName.toLocal8Bit().constData());
-
-    itToolBar = defaultToolBars.constBegin();
-    while (itToolBar != defaultToolBars.constEnd()) {
-        QToolBar *tb = itToolBar.key();
-        if (tb->windowTitle() == objectName)
-            return tb;
-
-        itToolBar++;
-    }
-    qWarning("QtToolBarManager::restoreState(): cannot find a QToolBar with "
-        "matching 'windowTitle' (looking for '%s').",
-        objectName.toLocal8Bit().constData());
-
-    return 0;
-}
-
-QAction *QtFullToolBarManagerPrivate::findAction(const QString &actionName) const
-{
-    QSetIterator<QAction *> itAction(allActions);
-    while (itAction.hasNext()) {
-        QAction *action = itAction.next();
-
-        if (action->objectName() == actionName)
-            return action;
-    }
-    qWarning("QtToolBarManager::restoreState(): cannot find a QAction named "
-        "'%s', trying to match using 'text' instead.",
-        actionName.toLocal8Bit().constData());
-
-    itAction.toFront();
-    while (itAction.hasNext()) {
-        QAction *action = itAction.next();
-
-        if (action->text() == actionName)
-            return action;
-    }
-    qWarning("QtToolBarManager::restoreState(): cannot find a QAction with "
-        "matching 'text' (looking for '%s').",
-        actionName.toLocal8Bit().constData());
-
-    return 0;
-}
-
-QToolBar *QtFullToolBarManagerPrivate::toolBarByName(const QString &toolBarName) const
-{
-    QMap<QToolBar *, QList<QAction *> >::ConstIterator itToolBar = toolBars.constBegin();
-    while (itToolBar != toolBars.constEnd()) {
-        QToolBar *toolBar = itToolBar.key();
-        if (toolBar->objectName() == toolBarName)
-            return toolBar;
-
-        itToolBar++;
-    }
-    return 0;
-}
-
-//////////////////////////////
-
-QtFullToolBarManager::QtFullToolBarManager(QObject *parent)
-    : QObject(parent)
-{
-    d_ptr = new QtFullToolBarManagerPrivate;
-    d_ptr->q_ptr = this;
-}
-
-QtFullToolBarManager::~QtFullToolBarManager()
-{
-    delete d_ptr;
-}
-
-void QtFullToolBarManager::setMainWindow(QMainWindow *mainWindow)
-{
-    d_ptr->theMainWindow = mainWindow;
-}
-
-QMainWindow *QtFullToolBarManager::mainWindow() const
-{
-    return d_ptr->theMainWindow;
-}
-
-void QtFullToolBarManager::addCategory(const QString &category)
-{
-    d_ptr->categoryToActions[category] = QList<QAction *>();
-}
-
-bool QtFullToolBarManager::hasCategory(const QString &category) const
-{
-    return d_ptr->categoryToActions.contains(category);
-}
-
-QStringList QtFullToolBarManager::categories() const
-{
-    return d_ptr->categoryToActions.keys();
-}
-
-QList<QAction *> QtFullToolBarManager::categoryActions(const QString &category) const
-{
-    QMap<QString, QList<QAction *> >::ConstIterator it =
-                d_ptr->categoryToActions.find(category);
-    if (it != d_ptr->categoryToActions.constEnd())
-        return it.value();
-    return QList<QAction *>();
-}
-
-QString QtFullToolBarManager::actionCategory(QAction *action) const
-{
-    QMap<QAction *, QString>::ConstIterator it = d_ptr->actionToCategory.find(action);
-    if (it != d_ptr->actionToCategory.constEnd())
-        return it.value();
-    return QString();
-}
-
-void QtFullToolBarManager::addAction(QAction *action, const QString &category)
-{
-    if (!action)
-        return;
-//    if (!d_ptr->categoryToActions.contains(category))
-//        return;
-    if (action->isSeparator())
-        return;
-    if (d_ptr->allActions.contains(action))
-        return;
-    if (QLatin1String(action->metaObject()->className()) ==
-                QLatin1String("QToolBarWidgetAction"))
-        d_ptr->widgetActions.insert(action, 0);
-    else
-        d_ptr->regularActions.insert(action);
-    d_ptr->allActions.insert(action);
-    d_ptr->categoryToActions[category].append(action);
-    d_ptr->actionToCategory[action] = category;
-}
-
-void QtFullToolBarManager::removeAction(QAction *action)
-{
-    if (!d_ptr->allActions.contains(action))
-        return;
-
-    QList<QToolBar *> toolBars = d_ptr->actionToToolBars[action];
-    QListIterator<QToolBar *> itToolBar(toolBars);
-    while (itToolBar.hasNext()) {
-        QToolBar *toolBar = itToolBar.next();
-
-        d_ptr->toolBars[toolBar].removeAll(action);
-        d_ptr->toolBarsWithSeparators[toolBar].removeAll(action);
-
-        toolBar->removeAction(action);
-    }
-
-    QMap<QToolBar *, QList<QAction *> >::ConstIterator itDefault =
-            d_ptr->defaultToolBars.constBegin();
-    while (itDefault != d_ptr->defaultToolBars.constEnd()) {
-        if (itDefault.value().contains(action))
-            d_ptr->defaultToolBars[itDefault.key()].removeAll(action);
-
-        itDefault++;
-    }
-
-    d_ptr->allActions.remove(action);
-    d_ptr->widgetActions.remove(action);
-    d_ptr->regularActions.remove(action);
-    d_ptr->actionToToolBars.remove(action);
-
-    QString category = d_ptr->actionToCategory.value(action);
-    d_ptr->actionToCategory.remove(action);
-    d_ptr->categoryToActions[category].removeAll(action);
-
-    if (d_ptr->categoryToActions[category].isEmpty())
-        d_ptr->categoryToActions.remove(category);
-}
-
-QSet<QAction *> QtFullToolBarManager::actions() const
-{
-    return d_ptr->allActions;
-}
-
-bool QtFullToolBarManager::isWidgetAction(QAction *action) const
-{
-    if (d_ptr->widgetActions.contains(action))
-        return true;
-    return false;
-}
-
-void QtFullToolBarManager::addDefaultToolBar(QToolBar *toolBar, const QString &category)
-{
-    if (!toolBar)
-        return;
-    if (d_ptr->toolBars.contains(toolBar))
-        return;
-//    if (!d_ptr->categoryToActions.contains(category))
-//        return;
-    // could be also checked if toolBar belongs to mainwindow
-
-    QList<QAction *> newActionsWithSeparators;
-    QList<QAction *> newActions;
-    QList<QAction *> actions = toolBar->actions();
-    QListIterator<QAction *> itAction(actions);
-    while (itAction.hasNext()) {
-        QAction *action = itAction.next();
-        addAction(action, category);
-        if (d_ptr->widgetActions.contains(action))
-            d_ptr->widgetActions.insert(action, toolBar);
-        newActionsWithSeparators.append(action);
-        if (action->isSeparator())
-            action = 0;
-        else
-            d_ptr->actionToToolBars[action].append(toolBar);
-        newActions.append(action);
-    }
-    d_ptr->defaultToolBars.insert(toolBar, newActions);
-    //Below could be done by call setToolBar() if we want signal emission here.
-    d_ptr->toolBars.insert(toolBar, newActions);
-    d_ptr->toolBarsWithSeparators.insert(toolBar, newActionsWithSeparators);
-}
-
-void QtFullToolBarManager::removeDefaultToolBar(QToolBar *toolBar)
-{
-    if (!d_ptr->defaultToolBars.contains(toolBar))
-        return;
-
-    QList<QAction *> defaultActions = d_ptr->defaultToolBars[toolBar];
-    setToolBar(toolBar, QList<QAction *>());
-    QListIterator<QAction *> itAction(defaultActions);
-    while (itAction.hasNext())
-        removeAction(itAction.next());
-
-    d_ptr->toolBars.remove(toolBar);
-    d_ptr->toolBarsWithSeparators.remove(toolBar);
-    d_ptr->defaultToolBars.remove(toolBar);
-
-    itAction.toFront();
-    while (itAction.hasNext()) {
-        QAction *action = itAction.next();
-        if (action)
-            toolBar->insertAction(0, action);
-        else
-            toolBar->insertSeparator(0);
-    }
-}
-
-QMap<QToolBar *, QList<QAction *> > QtFullToolBarManager::defaultToolBars() const
-{
-    return d_ptr->defaultToolBars;
-}
-
-bool QtFullToolBarManager::isDefaultToolBar(QToolBar *toolBar) const
-{
-    if (d_ptr->defaultToolBars.contains(toolBar))
-        return true;
-    return false;
-}
-
-QToolBar *QtFullToolBarManager::createToolBar(const QString &toolBarName)
-{
-    if (!mainWindow())
-        return 0;
-    QToolBar *toolBar = new QToolBar(toolBarName, mainWindow());
-    int i = 1;
-    QLatin1String prefix("_Custom_Toolbar_");
-    QString name = QString("%1%2").arg(prefix).arg(i);
-    while (d_ptr->toolBarByName(name))
-        name = QString("%1%2").arg(prefix).arg(++i);
-    toolBar->setObjectName(name);
-    mainWindow()->addToolBar(toolBar);
-    d_ptr->customToolBars.append(toolBar);
-    d_ptr->toolBars.insert(toolBar, QList<QAction *>());
-    d_ptr->toolBarsWithSeparators.insert(toolBar, QList<QAction *>());
-    //emit toolBarCreated(toolBar);
-    return toolBar;
-}
-
-void QtFullToolBarManager::deleteToolBar(QToolBar *toolBar)
-{
-    if (!d_ptr->toolBars.contains(toolBar))
-        return;
-    if (d_ptr->defaultToolBars.contains(toolBar))
-        return;
-    setToolBar(toolBar, QList<QAction *>());
-    //emit toolBarRemoved(toolBar);
-    d_ptr->customToolBars.removeAll(toolBar);
-    d_ptr->toolBars.remove(toolBar);
-    d_ptr->toolBarsWithSeparators.remove(toolBar);
-    delete toolBar;
-}
-
-QList<QAction *> QtFullToolBarManager::actions(QToolBar *toolBar) const
-{
-    if (d_ptr->toolBars.contains(toolBar))
-        return d_ptr->toolBars.value(toolBar);
-    return QList<QAction *>();
-}
-
-void QtFullToolBarManager::setToolBars(const QMap<QToolBar *, QList<QAction *> > &actions)
-{
-    QMap<QToolBar *, QList<QAction *> >::ConstIterator it = actions.constBegin();
-    while (it != actions.constEnd()) {
-        setToolBar(it.key(), it.value());
-        it++;
-    }
-}
-
-void QtFullToolBarManager::setToolBar(QToolBar *toolBar, const QList<QAction *> &actions)
-{
-    if (!toolBar)
-        return;
-    if (!d_ptr->toolBars.contains(toolBar))
-        return;
-
-    if (actions == d_ptr->toolBars[toolBar])
-        return;
-
-    QMap<QToolBar *, QList<QAction *> > toRemove;
-
-    QList<QAction *> newActions;
-    QListIterator<QAction *> itAction(actions);
-    while (itAction.hasNext()) {
-        QAction *action = itAction.next();
-        if (!action || (!newActions.contains(action) && d_ptr->allActions.contains(action)))
-            newActions.append(action);
-
-        QToolBar *oldToolBar = d_ptr->toolBarWidgetAction(action);
-        if (oldToolBar && oldToolBar != toolBar)
-            toRemove[oldToolBar].append(action);
-    }
-
-    d_ptr->removeWidgetActions(toRemove);
-    //emit toolBarChanged(toolBar, newActions);
-
-    QList<QAction *> oldActions = d_ptr->toolBarsWithSeparators.value(toolBar);
-    QListIterator<QAction *> itOldAction(oldActions);
-    while (itOldAction.hasNext()) {
-        QAction *action = itOldAction.next();
-        /*
-        When addDefaultToolBar() separator actions could be checked if they are
-        inserted in other toolbars - if yes then create new one.
-        */
-        if (d_ptr->toolBarWidgetAction(action) == toolBar)
-            d_ptr->widgetActions.insert(action, 0);
-        toolBar->removeAction(action);
-        if (action->isSeparator())
-            delete action;
-        else
-            d_ptr->actionToToolBars[action].removeAll(toolBar);
-    }
-
-    QList<QAction *> newActionsWithSeparators;
-    QListIterator<QAction *> itNewActions(newActions);
-    while (itNewActions.hasNext()) {
-        QAction *action = itNewActions.next();
-        QAction *newAction = 0;
-        if (!action)
-            newAction = toolBar->insertSeparator(0);
-        if (d_ptr->allActions.contains(action)) {
-            toolBar->insertAction(0, action);
-            newAction = action;
-            d_ptr->actionToToolBars[action].append(toolBar);
-        }
-        newActionsWithSeparators.append(newAction);
-    }
-    d_ptr->toolBars.insert(toolBar, newActions);
-    d_ptr->toolBarsWithSeparators.insert(toolBar, newActionsWithSeparators);
-}
-
-QMap<QToolBar *, QList<QAction *> > QtFullToolBarManager::toolBarsActions() const
-{
-    return d_ptr->toolBars;
-}
-
-void QtFullToolBarManager::resetToolBar(QToolBar *toolBar)
-{
-    if (!isDefaultToolBar(toolBar))
-        return;
-    setToolBar(toolBar, defaultToolBars().value(toolBar));
-}
-
-void QtFullToolBarManager::resetAllToolBars()
-{
-    setToolBars(defaultToolBars());
-    QList<QToolBar *> oldCustomToolBars = d_ptr->customToolBars;
-    QListIterator<QToolBar *> itToolBar(oldCustomToolBars);
-    while (itToolBar.hasNext()) {
-        deleteToolBar(itToolBar.next());
-    }
-}
-
-QByteArray QtFullToolBarManager::saveState(int version) const
-{
-    QByteArray data;
-    QDataStream stream(&data, QIODevice::WriteOnly);
-    stream << QtFullToolBarManagerPrivate::VersionMarker;
-    stream << version;
-    d_ptr->saveState(stream);
-    return data;
-}
-
-bool QtFullToolBarManager::restoreState(const QByteArray &state, int version)
-{
-    QByteArray sd = state;
-    QDataStream stream(&sd, QIODevice::ReadOnly);
-    int marker, v;
-    stream >> marker;
-    stream >> v;
-    if (marker != QtFullToolBarManagerPrivate::VersionMarker || v != version)
-        return false;
-    return d_ptr->restoreState(stream);
-}
-
-
-class QtToolBarManagerPrivate
-{
-    class QtToolBarManager *q_ptr;
-    Q_DECLARE_PUBLIC(QtToolBarManager)
-public:
-    QtFullToolBarManager *manager;
-};
-
-//////////////////////////////////////
-
-/*! \class QtToolBarManager
-
-    \brief The QtToolBarManager class provides toolbar management for
-    main windows.
-
-    The QtToolBarManager is typically used with a QtToolBarDialog
-    which allows the user to customize the toolbars for a given main
-    window. The QtToolBarDialog class's functionality is controlled by
-    an instance of the QtToolBarManager class, and the main window is
-    specified using the QtToolBarManager class's setMainWindow()
-    function.
-
-    The currently specified main window can be retrieved using the
-    mainWindow() function.
-
-    The toolbar manager holds lists of the given main window's actions
-    and toolbars, and can add actions and toolbars to these
-    lists using the addAction() and addToolBar() functions
-    respectively. The actions can in addition be categorized
-    acccording to the user's preferences. The toolbar manager can also
-    remove custom actions and toolbars using the removeAction() and
-    removeToolBar() functions.
-
-    Finally, the QtToolBarManager is able to save the customized state
-    of its toolbars using the saveState() function as well as restore
-    the toolbars' saved state using restoreState() function.
-
-    \sa QtToolBarDialog
-*/
-
-/*!
-    Creates a toolbar manager with the given \a parent.
-*/
-QtToolBarManager::QtToolBarManager(QObject *parent)
-    : QObject(parent)
-{
-    d_ptr = new QtToolBarManagerPrivate;
-    d_ptr->q_ptr = this;
-
-    d_ptr->manager = new QtFullToolBarManager(this);
-}
-
-/*!
-    Destroys the toolbar manager.
-*/
-QtToolBarManager::~QtToolBarManager()
-{
-    delete d_ptr;
-}
-
-/*!
-    Sets the main window upon which the toolbar manager operates, to
-    be the given \a mainWindow.
-*/
-void QtToolBarManager::setMainWindow(QMainWindow *mainWindow)
-{
-    d_ptr->manager->setMainWindow(mainWindow);
-}
-
-/*!
-    Returns the main window associated this toolbar manager.
-*/
-QMainWindow *QtToolBarManager::mainWindow() const
-{
-    return d_ptr->manager->mainWindow();
-}
-
-/*!
-    Adds the given \a action to the given \a category in the manager's
-    list of actions. If the \a category doesn't exist it is created.
-    Only non separator actions can be added. If the action is already
-    added to the list, the function doesn't do anything.
-
-    \sa removeAction()
-*/
-void QtToolBarManager::addAction(QAction *action, const QString &category)
-{
-    d_ptr->manager->addAction(action, category);
-}
-
-/*!
-    Removes the specified \a action from the manager's list of
-    actions. The action is also removed from all the registered
-    toolbars.  If the specified \a action is the only action in its
-    category, that category is removed as well.
-
-    \sa addAction()
-*/
-void QtToolBarManager::removeAction(QAction *action)
-{
-    d_ptr->manager->removeAction(action);
-}
-
-/*!
-    Adds the given \a toolBar to the manager's toolbar list.
-
-    All the \a toolBar's actions are automatically added to the given
-    \a category in the manager's list of actions if they're not
-    already there. The manager remembers which toolbar the actions
-    belonged to, so, when the \a toolBar is removed, its actions will
-    be removed as well.
-
-    Custom toolbars are created with the main window returned by
-    the mainWindow() function, as its parent.
-
-    \sa removeToolBar()
-*/
-void QtToolBarManager::addToolBar(QToolBar *toolBar, const QString &category)
-{
-    d_ptr->manager->addDefaultToolBar(toolBar, category);
-}
-
-/*!
-    Removes the specified \a toolBar from the manager's list. All the
-    actions that existed in the specified \a toolBar when it was
-    added are removed as well.
-
-    \sa addToolBar()
-*/
-void QtToolBarManager::removeToolBar(QToolBar *toolBar)
-{
-    d_ptr->manager->removeDefaultToolBar(toolBar);
-}
-
-/*!
-    Returns the manager's toolbar list.
-*/
-QList<QToolBar *> QtToolBarManager::toolBars() const
-{
-    return d_ptr->manager->toolBarsActions().keys();
-}
-
-/*
-void QtToolBarManager::resetToolBar(QToolBar *toolBar)
-{
-    d_ptr->manager->resetToolBar(toolBar);
-}
-
-void QtToolBarManager::resetAllToolBars()
-{
-    d_ptr->manager->resetAllToolBars();
-}
-*/
-
-/*!
-    Saves the state of the toolbar manager's toolbars. The \a version
-    number is stored as part of the data.
-
-    Identifies all the QToolBar and QAction objects by their object
-    name property. Ensure that this property is unique for each
-    QToolBar and QAction that you add using the QtToolBarManager.
-
-    Returns an identifier for the state which can be passed along with
-    the version number to the restoreState() function to restore the
-    saved state.
-
-    \sa restoreState()
-*/
-QByteArray QtToolBarManager::saveState(int version) const
-{
-    return d_ptr->manager->saveState(version);
-}
-
-/*!
-    Restores the saved state of the toolbar manager's toolbars.  The
-    \a version number is compared with the version number of the
-    stored \a state.
-
-    Returns true if the version numbers are matching and the toolbar
-    manager's state is restored; otherwise the toolbar manager's state
-    is left unchanged and the function returns false.
-
-    Note that the state of the toolbar manager's toolbars should be
-    restored before restoring the state of the main window's toolbars
-    and dockwidgets using the QMainWindow::restoreState() function. In
-    that way the restoreState() function can create the custom
-    toolbars before the QMainWindow::restoreState() function restores
-    the custom toolbars' positions.
-
-    \sa saveState()
-*/
-bool QtToolBarManager::restoreState(const QByteArray &state, int version)
-{
-    return d_ptr->manager->restoreState(state, version);
-}
-
-//////////////////////
-
-class ToolBarItem {
-public:
-    ToolBarItem() : tb(0) {}
-    ToolBarItem(QToolBar *toolBar) : tb(toolBar) {}
-    ToolBarItem(QToolBar *toolBar, const QString &toolBarName)
-            : tb(toolBar), tbName(toolBarName) {}
-    ToolBarItem(const QString &toolBarName) : tb(0), tbName(toolBarName) {}
-    QToolBar *toolBar() const
-        { return tb; }
-    void setToolBar(QToolBar *toolBar)
-        { tb = toolBar; }
-    QString toolBarName() const
-        { return tbName; }
-    void setToolBarName(const QString &toolBarName)
-        { tbName = toolBarName; }
-private:
-    QToolBar *tb;
-    QString tbName;
-};
-
-class QtToolBarDialogPrivate {
-    QtToolBarDialog *q_ptr;
-    Q_DECLARE_PUBLIC(QtToolBarDialog)
-public:
-    QtToolBarDialogPrivate()
-        : toolBarManager(0),
-          currentAction(0),
-          currentToolBar(0)
-          { }
-
-    ToolBarItem *createItem(QToolBar *toolBar);
-    ToolBarItem *createItem(const QString &toolBarName);
-    void deleteItem(ToolBarItem *item);
-
-    void newClicked();
-    void removeClicked();
-    void defaultClicked();
-    void okClicked();
-    void applyClicked();
-    void cancelClicked();
-    void upClicked();
-    void downClicked();
-    void leftClicked();
-    void rightClicked();
-    void renameClicked();
-    void toolBarRenamed(QListWidgetItem *item);
-    void currentActionChanged(QTreeWidgetItem *current);
-    void currentToolBarChanged(QListWidgetItem *current);
-    void currentToolBarActionChanged(QListWidgetItem *current);
-
-    void removeToolBar(ToolBarItem *item);
-    bool isDefaultToolBar(ToolBarItem *item) const;
-    void setButtons();
-    void clearOld();
-    void fillNew();
-    QtFullToolBarManager *toolBarManager;
-    QMap<ToolBarItem *, QList<QAction *> > currentState;
-    QMap<QToolBar *, ToolBarItem *> toolBarItems;
-    QSet<ToolBarItem *> createdItems;
-    QSet<ToolBarItem *> removedItems;
-
-    QSet<ToolBarItem *> allToolBarItems;
-
-    // static
-    QTreeWidgetItem *currentAction;
-    QMap<QAction *, QTreeWidgetItem *> actionToItem;
-    QMap<QTreeWidgetItem *, QAction *> itemToAction;
-
-    // dynamic
-    ToolBarItem *currentToolBar;
-    QMap<ToolBarItem *, QListWidgetItem *> toolBarToItem;
-    QMap<QListWidgetItem *, ToolBarItem *> itemToToolBar;
-
-    // dynamic
-    QMap<QAction *, QListWidgetItem *> actionToCurrentItem;
-    QMap<QListWidgetItem *, QAction *> currentItemToAction;
-
-    QMap<QAction *, ToolBarItem *> widgetActionToToolBar;
-    QMap<ToolBarItem *, QSet<QAction *> > toolBarToWidgetActions;
-
-    QString separatorText;
-    Ui::QtToolBarDialog ui;
-};
-
-ToolBarItem *QtToolBarDialogPrivate::createItem(QToolBar *toolBar)
-{
-    if (!toolBar)
-        return 0;
-    ToolBarItem *item = new ToolBarItem(toolBar, toolBar->windowTitle());
-    allToolBarItems.insert(item);
-    return item;
-}
-
-ToolBarItem *QtToolBarDialogPrivate::createItem(const QString &toolBarName)
-{
-    ToolBarItem *item = new ToolBarItem(toolBarName);
-    allToolBarItems.insert(item);
-    return item;
-}
-
-void QtToolBarDialogPrivate::deleteItem(ToolBarItem *item)
-{
-    if (!allToolBarItems.contains(item))
-        return;
-    allToolBarItems.remove(item);
-    delete item;
-}
-
-void QtToolBarDialogPrivate::clearOld()
-{
-    ui.actionTree->clear();
-    ui.toolBarList->clear();
-    ui.currentToolBarList->clear();
-    ui.removeButton->setEnabled(false);
-    ui.newButton->setEnabled(false);
-    ui.upButton->setEnabled(false);
-    ui.downButton->setEnabled(false);
-    ui.leftButton->setEnabled(false);
-    ui.rightButton->setEnabled(false);
-
-    actionToItem.clear();
-    itemToAction.clear();
-    toolBarToItem.clear();
-    itemToToolBar.clear();
-    actionToCurrentItem.clear();
-    currentItemToAction.clear();
-    widgetActionToToolBar.clear();
-    toolBarToWidgetActions.clear();
-
-    toolBarItems.clear();
-    currentState.clear();
-    createdItems.clear();
-    removedItems.clear();
-    QSetIterator<ToolBarItem *> itItem(allToolBarItems);
-    while (itItem.hasNext())
-        delete itItem.next();
-    allToolBarItems.clear();
-
-    currentToolBar = 0;
-    currentAction = 0;
-}
-
-void QtToolBarDialogPrivate::fillNew()
-{
-    if (!toolBarManager)
-        return;
-
-    QTreeWidgetItem *item = new QTreeWidgetItem(ui.actionTree);
-    item->setText(0, separatorText);
-    ui.actionTree->setCurrentItem(item);
-    currentAction = item;
-    actionToItem.insert(0, item);
-    itemToAction.insert(item, 0);
-    QStringList categories = toolBarManager->categories();
-    QStringListIterator itCategory(categories);
-    while (itCategory.hasNext()) {
-        QString category = itCategory.next();
-        QTreeWidgetItem *categoryItem = new QTreeWidgetItem(ui.actionTree);
-        categoryItem->setText(0, category);
-        QList<QAction *> actions = toolBarManager->categoryActions(category);
-        QListIterator<QAction *> itAction(actions);
-        while (itAction.hasNext()) {
-            QAction *action = itAction.next();
-            item = new QTreeWidgetItem(categoryItem);
-            item->setText(0, action->text());
-            item->setIcon(0, action->icon());
-            item->setTextAlignment(0, Qt::AlignLeft | Qt::AlignVCenter | Qt::TextShowMnemonic);
-            actionToItem.insert(action, item);
-            itemToAction.insert(item, action);
-            if (toolBarManager->isWidgetAction(action)) {
-                item->setData(0, Qt::TextColorRole, QColor(Qt::blue));
-                widgetActionToToolBar.insert(action, 0);
-            }
-            item->setFlags(item->flags() | Qt::ItemIsDragEnabled);
-        }
-        ui.actionTree->setItemExpanded(categoryItem, true);
-    }
-    //ui.actionTree->sortItems(0, Qt::AscendingOrder);
-
-    QMap<QToolBar *, QList<QAction *> > toolBars = toolBarManager->toolBarsActions();
-    QMap<QToolBar *, QList<QAction *> >::ConstIterator it = toolBars.constBegin();
-    while (it != toolBars.constEnd()) {
-        QToolBar *toolBar = it.key();
-        ToolBarItem *tbItem = createItem(toolBar);
-        toolBarItems.insert(toolBar, tbItem);
-        QListWidgetItem *item = new QListWidgetItem(toolBar->windowTitle(),
-                ui.toolBarList);
-        toolBarToItem.insert(tbItem, item);
-        itemToToolBar.insert(item, tbItem);
-        QList<QAction *> actions = it.value();
-        QListIterator<QAction *> itAction(actions);
-        while (itAction.hasNext()) {
-            QAction *action = itAction.next();
-            if (toolBarManager->isWidgetAction(action)) {
-                widgetActionToToolBar.insert(action, tbItem);
-                toolBarToWidgetActions[tbItem].insert(action);
-            }
-        }
-        currentState.insert(tbItem, actions);
-        if (it == toolBars.constBegin())
-            ui.toolBarList->setCurrentItem(item);
-        if (isDefaultToolBar(tbItem))
-            item->setData(Qt::TextColorRole, QColor(Qt::darkGreen));
-        else
-            item->setFlags(item->flags() | Qt::ItemIsEditable);
-
-        it++;
-    }
-    ui.toolBarList->sortItems();
-    setButtons();
-}
-
-bool QtToolBarDialogPrivate::isDefaultToolBar(ToolBarItem *item) const
-{
-    if (!item)
-        return false;
-    if (!item->toolBar())
-        return false;
-    return toolBarManager->isDefaultToolBar(item->toolBar());
-}
-
-void QtToolBarDialogPrivate::setButtons()
-{
-    bool newEnabled = false;
-    bool removeEnabled = false;
-    bool renameEnabled = false;
-    bool upEnabled = false;
-    bool downEnabled = false;
-    bool leftEnabled = false;
-    bool rightEnabled = false;
-
-    if (toolBarManager) {
-        newEnabled = true;
-        removeEnabled = !isDefaultToolBar(currentToolBar);
-        renameEnabled = removeEnabled;
-        QListWidgetItem *currentToolBarAction = ui.currentToolBarList->currentItem();
-        if (currentToolBarAction) {
-            int row = ui.currentToolBarList->row(currentToolBarAction);
-            upEnabled = row > 0;
-            downEnabled = row < ui.currentToolBarList->count() - 1;
-            leftEnabled = true;
-        }
-        if (currentAction && currentToolBar)
-            rightEnabled = true;
-    }
-    ui.newButton->setEnabled(newEnabled);
-    ui.removeButton->setEnabled(removeEnabled);
-    ui.renameButton->setEnabled(renameEnabled);
-    ui.upButton->setEnabled(upEnabled);
-    ui.downButton->setEnabled(downEnabled);
-    ui.leftButton->setEnabled(leftEnabled);
-    ui.rightButton->setEnabled(rightEnabled);
-}
-
-void QtToolBarDialogPrivate::newClicked()
-{
-    QString toolBarName = q_ptr->tr("Custom Toolbar"); // = QInputDialog::getString();
-    // produce unique name
-    ToolBarItem *item = createItem(toolBarName);
-    currentState.insert(item, QList<QAction *>());
-    createdItems.insert(item);
-    QListWidgetItem *i = new QListWidgetItem(toolBarName, ui.toolBarList);
-    i->setFlags(i->flags() | Qt::ItemIsEditable);
-    ui.toolBarList->setCurrentItem(i);
-    itemToToolBar.insert(i, item);
-    toolBarToItem.insert(item, i);
-    ui.toolBarList->sortItems();
-    ui.toolBarList->setCurrentItem(i);
-    currentToolBarChanged(i);
-    renameClicked();
-}
-
-void QtToolBarDialogPrivate::removeToolBar(ToolBarItem *item)
-{
-    if (!item)
-        return;
-    if (item->toolBar() && toolBarManager->isDefaultToolBar(item->toolBar()))
-        return;
-    if (!toolBarToItem.contains(item))
-        return;
-    QListWidgetItem *i = toolBarToItem.value(item);
-    bool wasCurrent = false;
-    if (i == ui.toolBarList->currentItem())
-        wasCurrent = true;
-    int row = ui.toolBarList->row(i);
-    QMap<ToolBarItem *, QSet<QAction *> >::ConstIterator itToolBar =
-            toolBarToWidgetActions.find(item);
-    if (itToolBar != toolBarToWidgetActions.constEnd()) {
-        QSet<QAction *> actions = itToolBar.value();
-        QSetIterator<QAction *> itAction(actions);
-        while (itAction.hasNext()) {
-            QAction *action = itAction.next();
-            widgetActionToToolBar.insert(action, 0);
-        }
-        toolBarToWidgetActions.remove(item);
-    }
-
-    currentState.remove(item);
-    createdItems.remove(item);
-    toolBarToItem.remove(item);
-    itemToToolBar.remove(i);
-    delete i;
-    if (item->toolBar())
-        removedItems.insert(item);
-    else
-        deleteItem(item);
-    if (wasCurrent) {
-        if (row == ui.toolBarList->count())
-            row--;
-        if (row < 0)
-            ;
-        else
-            ui.toolBarList->setCurrentRow(row);
-    }
-    setButtons();
-}
-
-void QtToolBarDialogPrivate::removeClicked()
-{
-    QListWidgetItem *i = ui.toolBarList->currentItem();
-    if (!i)
-        return;
-    ToolBarItem *item = itemToToolBar.value(i);
-    removeToolBar(item);
-}
-
-void QtToolBarDialogPrivate::defaultClicked()
-{
-    QMap<QToolBar *, QList<QAction *> > defaultToolBars = toolBarManager->defaultToolBars();
-    QMap<QToolBar *, QList<QAction *> >::ConstIterator itToolBar = defaultToolBars.constBegin();
-    while (itToolBar != defaultToolBars.constEnd()) {
-        QToolBar *toolBar = itToolBar.key();
-        ToolBarItem *toolBarItem = toolBarItems.value(toolBar);
-
-        if (toolBarToWidgetActions.contains(toolBarItem)) {
-            QSetIterator<QAction *> itAction(toolBarToWidgetActions.value(toolBarItem));
-            while (itAction.hasNext())
-                widgetActionToToolBar.insert(itAction.next(), 0);
-            toolBarToWidgetActions.remove(toolBarItem);
-        }
-
-        currentState.remove(toolBarItem);
-
-        QListIterator<QAction *> itAction(itToolBar.value());
-        while (itAction.hasNext()) {
-            QAction *action = itAction.next();
-            if (toolBarManager->isWidgetAction(action)) {
-                ToolBarItem *otherToolBar = widgetActionToToolBar.value(action);
-                if (otherToolBar) {
-                    toolBarToWidgetActions[otherToolBar].remove(action);
-                    currentState[otherToolBar].removeAll(action);
-                }
-                widgetActionToToolBar.insert(action, toolBarItem);
-                toolBarToWidgetActions[toolBarItem].insert(action);
-            }
-        }
-        currentState.insert(toolBarItem, itToolBar.value());
-
-        itToolBar++;
-    }
-    currentToolBarChanged(toolBarToItem.value(currentToolBar));
-
-    QList<ToolBarItem *> toolBars = currentState.keys();
-    QListIterator<ToolBarItem *> itTb(toolBars);
-    while (itTb.hasNext())
-        removeToolBar(itTb.next());
-}
-
-void QtToolBarDialogPrivate::okClicked()
-{
-    applyClicked();
-    q_ptr->accept();
-}
-
-void QtToolBarDialogPrivate::applyClicked()
-{
-    QMap<ToolBarItem *, QList<QAction *> > toolBars = currentState;
-    QMap<ToolBarItem *, QList<QAction *> >::ConstIterator itToolBar = toolBars.constBegin();
-    while (itToolBar != toolBars.constEnd()) {
-        ToolBarItem *item = itToolBar.key();
-        QToolBar *toolBar = item->toolBar();
-        if (toolBar) {
-            toolBarManager->setToolBar(toolBar, itToolBar.value());
-            toolBar->setWindowTitle(item->toolBarName());
-        }
-
-        itToolBar++;
-    }
-
-    QSet<ToolBarItem *> toRemove = removedItems;
-    QSetIterator<ToolBarItem *> itRemove(toRemove);
-    while (itRemove.hasNext()) {
-        ToolBarItem *item = itRemove.next();
-        QToolBar *toolBar = item->toolBar();
-        removedItems.remove(item);
-        currentState.remove(item);
-        deleteItem(item);
-        if (toolBar)
-            toolBarManager->deleteToolBar(toolBar);
-    }
-
-    QSet<ToolBarItem *> toCreate = createdItems;
-    QSetIterator<ToolBarItem *> itCreate(toCreate);
-    while (itCreate.hasNext()) {
-        ToolBarItem *item = itCreate.next();
-        QString toolBarName = item->toolBarName();
-        createdItems.remove(item);
-        QList<QAction *> actions = currentState.value(item);
-        QToolBar *toolBar = toolBarManager->createToolBar(toolBarName);
-        item->setToolBar(toolBar);
-        toolBarManager->setToolBar(toolBar, actions);
-    }
-}
-
-void QtToolBarDialogPrivate::upClicked()
-{
-    QListWidgetItem *currentToolBarAction = ui.currentToolBarList->currentItem();
-    if (!currentToolBarAction)
-        return;
-    int row = ui.currentToolBarList->row(currentToolBarAction);
-    if (row == 0)
-        return;
-    ui.currentToolBarList->takeItem(row);
-    int newRow = row - 1;
-    ui.currentToolBarList->insertItem(newRow, currentToolBarAction);
-    QList<QAction *> actions = currentState.value(currentToolBar);
-    QAction *action = actions.at(row);
-    actions.removeAt(row);
-    actions.insert(newRow, action);
-    currentState.insert(currentToolBar, actions);
-    ui.currentToolBarList->setCurrentItem(currentToolBarAction);
-    setButtons();
-}
-
-void QtToolBarDialogPrivate::downClicked()
-{
-    QListWidgetItem *currentToolBarAction = ui.currentToolBarList->currentItem();
-    if (!currentToolBarAction)
-        return;
-    int row = ui.currentToolBarList->row(currentToolBarAction);
-    if (row == ui.currentToolBarList->count() - 1)
-        return;
-    ui.currentToolBarList->takeItem(row);
-    int newRow = row + 1;
-    ui.currentToolBarList->insertItem(newRow, currentToolBarAction);
-    QList<QAction *> actions = currentState.value(currentToolBar);
-    QAction *action = actions.at(row);
-    actions.removeAt(row);
-    actions.insert(newRow, action);
-    currentState.insert(currentToolBar, actions);
-    ui.currentToolBarList->setCurrentItem(currentToolBarAction);
-    setButtons();
-}
-
-void QtToolBarDialogPrivate::leftClicked()
-{
-    QListWidgetItem *currentToolBarAction = ui.currentToolBarList->currentItem();
-    if (!currentToolBarAction)
-        return;
-    int row = ui.currentToolBarList->row(currentToolBarAction);
-    currentState[currentToolBar].removeAt(row);
-    QAction *action = currentItemToAction.value(currentToolBarAction);
-    if (widgetActionToToolBar.contains(action)) {
-        ToolBarItem *item = widgetActionToToolBar.value(action);
-        if (item == currentToolBar) { // have to be
-            toolBarToWidgetActions[item].remove(action);
-            if (toolBarToWidgetActions[item].empty())
-                toolBarToWidgetActions.remove(item);
-        }
-        widgetActionToToolBar.insert(action, 0);
-    }
-    if (action)
-        actionToCurrentItem.remove(action);
-    currentItemToAction.remove(currentToolBarAction);
-    delete currentToolBarAction;
-    if (row == ui.currentToolBarList->count())
-        row--;
-    if (row >= 0) {
-        QListWidgetItem *item = ui.currentToolBarList->item(row);
-        ui.currentToolBarList->setCurrentItem(item);
-    }
-    setButtons();
-}
-
-void QtToolBarDialogPrivate::rightClicked()
-{
-    if (!currentAction)
-        return;
-    if (!currentToolBar)
-        return;
-    QListWidgetItem *currentToolBarAction = ui.currentToolBarList->currentItem();
-
-    QAction *action = itemToAction.value(currentAction);
-    QListWidgetItem *item = 0;
-    if (action) {
-        if (currentState[currentToolBar].contains(action)) {
-            item = actionToCurrentItem.value(action);
-            if (item == currentToolBarAction)
-                return;
-            int row = ui.currentToolBarList->row(item);
-            ui.currentToolBarList->takeItem(row);
-            currentState[currentToolBar].removeAt(row);
-            // only reorder here
-        } else {
-            item = new QListWidgetItem(action->text());
-            item->setIcon(action->icon());
-            item->setTextAlignment(Qt::AlignLeft | Qt::AlignVCenter | Qt::TextShowMnemonic);
-            currentItemToAction.insert(item, action);
-            actionToCurrentItem.insert(action, item);
-            if (widgetActionToToolBar.contains(action)) {
-                item->setData(Qt::TextColorRole, QColor(Qt::blue));
-                ToolBarItem *toolBar = widgetActionToToolBar.value(action);
-                if (toolBar) {
-                    currentState[toolBar].removeAll(action);
-                    toolBarToWidgetActions[toolBar].remove(action);
-                    if (toolBarToWidgetActions[toolBar].empty())
-                        toolBarToWidgetActions.remove(toolBar);
-                }
-                widgetActionToToolBar.insert(action, currentToolBar);
-                toolBarToWidgetActions[currentToolBar].insert(action);
-            }
-        }
-    } else {
-        item = new QListWidgetItem(separatorText);
-        currentItemToAction.insert(item, 0);
-    }
-
-    int row = ui.currentToolBarList->count();
-    if (currentToolBarAction) {
-        row = ui.currentToolBarList->row(currentToolBarAction) + 1;
-    }
-    ui.currentToolBarList->insertItem(row, item);
-    currentState[currentToolBar].insert(row, action);
-    ui.currentToolBarList->setCurrentItem(item);
-
-    setButtons();
-}
-
-void QtToolBarDialogPrivate::renameClicked()
-{
-    if (!currentToolBar)
-        return;
-
-    QListWidgetItem *item = toolBarToItem.value(currentToolBar);
-    ui.toolBarList->editItem(item);
-}
-
-void QtToolBarDialogPrivate::toolBarRenamed(QListWidgetItem *item)
-{
-    if (!currentToolBar)
-        return;
-
-    ToolBarItem *tbItem = itemToToolBar.value(item);
-    if (!tbItem)
-        return;
-    tbItem->setToolBarName(item->text());
-    //ui.toolBarList->sortItems();
-}
-
-void QtToolBarDialogPrivate::currentActionChanged(QTreeWidgetItem *current)
-{
-    if (itemToAction.contains(current))
-        currentAction = current;
-    else
-        currentAction = NULL;
-    setButtons();
-}
-
-void QtToolBarDialogPrivate::currentToolBarChanged(QListWidgetItem *current)
-{
-    currentToolBar = itemToToolBar.value(current);
-    ui.currentToolBarList->clear();
-    actionToCurrentItem.clear();
-    currentItemToAction.clear();
-    setButtons();
-    if (!currentToolBar) {
-        return;
-    }
-    QList<QAction *> actions = currentState.value(currentToolBar);
-    QListIterator<QAction *> itAction(actions);
-    QListWidgetItem *first = 0;
-    while (itAction.hasNext()) {
-        QAction *action = itAction.next();
-        QString actionName = separatorText;
-        if (action)
-            actionName = action->text();
-        QListWidgetItem *item = new QListWidgetItem(actionName, ui.currentToolBarList);
-        if (action) {
-            item->setIcon(action->icon());
-            item->setTextAlignment(Qt::AlignLeft | Qt::AlignVCenter | Qt::TextShowMnemonic);
-            actionToCurrentItem.insert(action, item);
-            if (widgetActionToToolBar.contains(action))
-                item->setData(Qt::TextColorRole, QColor(Qt::blue));
-        }
-        currentItemToAction.insert(item, action);
-        if (!first)
-            first = item;
-    }
-    if (first)
-        ui.currentToolBarList->setCurrentItem(first);
-}
-
-void QtToolBarDialogPrivate::currentToolBarActionChanged(QListWidgetItem *)
-{
-    setButtons();
-}
-
-void QtToolBarDialogPrivate::cancelClicked()
-{
-    // just nothing
-    q_ptr->reject();
-}
-
-//////////////////////
-/*
-class FeedbackItemDelegate : public QItemDelegate
-{
-    Q_OBJECT
-public:
-    FeedbackItemDelegate(QObject *parent = 0) : QItemDelegate(parent) { }
-
-    virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
-                    const QModelIndex & index) const;
-    virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const;
-};
-
-void FeedbackItemDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option,
-                            const QModelIndex &index) const
-{
-    if ()
-    painter->save();
-    QRect r = option.rect;
-    float yCentral = r.height() / 2.0;
-    float margin = 2.0;
-    float arrowWidth = 5.0;
-    float width = 20;
-    qDebug("rect: x %d, y %d, w %d, h %d", r.x(), r.y(), r.width(), r.height());
-    QLineF lineBase(0.0 + margin, r.y() + yCentral, width - margin, r.y() + yCentral);
-    QLineF lineArrowLeft(width - margin - arrowWidth, r.y() + yCentral - arrowWidth,
-                    width - margin, r.y() + yCentral);
-    QLineF lineArrowRight(width - margin - arrowWidth, r.y() + yCentral + arrowWidth,
-                    width - margin, r.y() + yCentral);
-    painter->drawLine(lineBase);
-    painter->drawLine(lineArrowLeft);
-    painter->drawLine(lineArrowRight);
-    painter->translate(QPoint(width, 0));
-    QItemDelegate::paint(painter, option, index);
-    painter->restore();
-}
-
-QSize FeedbackItemDelegate::sizeHint(const QStyleOptionViewItem &option,
-            const QModelIndex &index) const
-{
-    //return QItemDelegate::sizeHint(option, index);
-    QSize s = QItemDelegate::sizeHint(option, index);
-    s.setWidth(s.width() - 20);
-    return s;
-}
-
-class QtToolBarListWidget : public QListWidget
-{
-    Q_OBJECT
-public:
-    QtToolBarListWidget(QWidget *parent) : QListWidget(parent), actionDrag(false) {}
-
-protected:
-    void startDrag(Qt::DropActions supportedActions);
-
-    void dragEnterEvent(QDragEnterEvent *event);
-    void dragMoveEvent(QDragMoveEvent *event);
-    void dragLeaveEvent(QDragLeaveEvent *);
-    void dropEvent(QDropEvent *event);
-
-    void setDragAction(const QString *action) { actionName = action; }
-private:
-    QPersistentModelIndex lastDropIndicator;
-    QString actionName;
-    bool actionDrag;
-};
-
-void QtToolBarListWidget::startDrag(Qt::DropActions supportedActions)
-{
-    QListWidgetItem *item = currentItem();
-    if (item) {
-        actionName = QString();
-        emit aboutToDrag(item);
-        if (!actionName.isEmpty()) {
-            QDrag *drag = new QDrag(this);
-            QMimeData *data = new QMimeData;
-            data->setData("action", actionName.toLocal8Bit().constData());
-            drag->setMimeData(data);
-            drag->start(supportedActions);
-        }
-    }
-}
-
-void QtToolBarListWidget::dragEnterEvent(QDragEnterEvent *event)
-{
-    const QMimeData *mime = event->mimeData();
-    actionDrag = mime->hasFormat("action");
-    if (actionDrag)
-        event->accept();
-    else
-        event->ignore();
-}
-
-void QtToolBarListWidget::dragMoveEvent(QDragMoveEvent *event)
-{
-    event->ignore();
-    if (actionDrag) {
-        QPoint p = event->pos();
-        QListWidgetItem *item = itemAt(p);
-        Indicator indic = QtToolBarListWidget::None;
-        if (item) {
-            QRect rect = visualItemRect(item);
-            if (p.y() - rect.top() < rect.height() / 2)
-                indic = QtToolBarListWidget::Above;
-            else
-                indic = QtToolBarListWidget::Below;
-        }
-        setIndicator(item, indic);
-        event->accept();
-    }
-}
-
-void QtToolBarListWidget::dragLeaveEvent(QDragLeaveEvent *)
-{
-    if (actionDrag) {
-        actionDrag = false;
-        setIndicator(item, QtToolBarListWidget::None);
-    }
-}
-
-void QtToolBarListWidget::dropEvent(QDropEvent *event)
-{
-    if (actionDrag) {
-        QListWidgetItem *item = indicatorItem();
-        Indicator indic = indicator();
-        QByteArray array = event->mimeData()->data("action");
-        QDataStream stream(&array, QIODevice::ReadOnly);
-        QString action;
-        stream >> action;
-        emit actionDropped(action, item, );
-
-        actionDrag = false;
-        setIndicator(item, QtToolBarListWidget::None);
-    }
-}
-*/
-
-/*! \class QtToolBarDialog
-
-    \brief The QtToolBarDialog class provides a dialog for customizing
-    toolbars.
-
-    QtToolBarDialog allows the user to customize the toolbars for a
-    given main window.
-
-    \image qttoolbardialog.png
-
-    The dialog lets the users add, rename and remove custom toolbars.
-    Note that built-in toolbars are marked with a green color, and
-    cannot be removed or renamed.
-
-    The users can also add and remove actions from the toolbars. An
-    action can be added to many toolbars, but a toolbar can only
-    contain one instance of each action. Actions that contains a
-    widget are marked with a blue color in the list of actions, and
-    can only be added to one single toolbar.
-
-    Finally, the users can add separators to the toolbars.
-
-    The original toolbars can be restored by clicking the \gui
-    {Restore all} button. All custom toolbars will then be removed,
-    and all built-in toolbars will be restored to their original state.
-
-    The QtToolBarDialog class's functionality is controlled by an
-    instance of the QtToolBarManager class, and the main window is
-    specified using the QtToolBarManager::setMainWindow() function.
-
-    All you need to do to use QtToolBarDialog is to specify an
-    QtToolBarManager instance and call the QDialog::exec() slot:
-
-    \code
-    QtToolBarManager *toolBarManager;
-
-    void MyMainWindow::customize()
-        {
-            QtToolBarDialog dialog(this);
-            dialog.setToolBarManager(toolBarManager);
-            dialog.exec();
-        }
-    \endcode
-
-    \sa QtToolBarManager
-*/
-
-/*!
-    Creates a toolbar dialog with the given \a parent and the specifed
-    window \a flags.
-*/
-QtToolBarDialog::QtToolBarDialog(QWidget *parent, Qt::WindowFlags flags)
-    : QDialog(parent, flags)
-{
-    d_ptr = new QtToolBarDialogPrivate;
-    d_ptr->q_ptr = this;
-    d_ptr->ui.setupUi(this);
-    d_ptr->separatorText = tr("< S E P A R A T O R >");
-
-    d_ptr->ui.actionTree->setColumnCount(1);
-    d_ptr->ui.actionTree->setRootIsDecorated(false);
-    d_ptr->ui.actionTree->header()->hide();
-/*
-    ui.toolBarList->setEditTriggers(QAbstractItemView::DoubleClicked |
-                QAbstractItemView::EditKeyPressed);
-*/
-
-//    ui.actionList->setDragEnabled(true);
-//    FeedbackItemDelegate *del = new FeedbackItemDelegate(this);
-//    ui.currentToolBarList->setItemDelegate(del);
-//    ui.currentToolBarList->setAcceptDrops(true);
-
-    d_ptr->ui.upButton->setIcon(GET_ICON("go-up"));
-    d_ptr->ui.downButton->setIcon(GET_ICON("go-down"));
-    d_ptr->ui.leftButton->setIcon(GET_ICON("go-previous"));
-    d_ptr->ui.rightButton->setIcon(GET_ICON("go-next"));
-    d_ptr->ui.newButton->setIcon(GET_ICON("list-add"));
-    d_ptr->ui.removeButton->setIcon(GET_ICON("list-remove"));
-
-    connect(d_ptr->ui.newButton, SIGNAL(clicked()), this, SLOT(newClicked()));
-    connect(d_ptr->ui.removeButton, SIGNAL(clicked()), this, SLOT(removeClicked()));
-    connect(d_ptr->ui.renameButton, SIGNAL(clicked()), this, SLOT(renameClicked()));
-	connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::RestoreDefaults), SIGNAL(clicked()), this, SLOT(defaultClicked()));
-	connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Save), SIGNAL(clicked()), this, SLOT(okClicked()));
-	connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Apply), SIGNAL(clicked()), this, SLOT(applyClicked()));
-	connect(d_ptr->ui.buttonBox->button(QDialogButtonBox::Close), SIGNAL(clicked()), this, SLOT(cancelClicked()));
-    connect(d_ptr->ui.upButton, SIGNAL(clicked()), this, SLOT(upClicked()));
-    connect(d_ptr->ui.downButton, SIGNAL(clicked()), this, SLOT(downClicked()));
-    connect(d_ptr->ui.leftButton, SIGNAL(clicked()), this, SLOT(leftClicked()));
-    connect(d_ptr->ui.rightButton, SIGNAL(clicked()), this, SLOT(rightClicked()));
-
-    connect(d_ptr->ui.actionTree, SIGNAL(currentItemChanged(QTreeWidgetItem *, QTreeWidgetItem *)),
-                    this, SLOT(currentActionChanged(QTreeWidgetItem *)));
-    connect(d_ptr->ui.toolBarList, SIGNAL(currentItemChanged(QListWidgetItem *, QListWidgetItem *)),
-                    this, SLOT(currentToolBarChanged(QListWidgetItem *)));
-    connect(d_ptr->ui.currentToolBarList,
-                    SIGNAL(currentItemChanged(QListWidgetItem *, QListWidgetItem *)),
-                    this, SLOT(currentToolBarActionChanged(QListWidgetItem *)));
-
-    connect(d_ptr->ui.actionTree, SIGNAL(itemDoubleClicked(QTreeWidgetItem *, int)),
-                    this, SLOT(rightClicked()));
-    connect(d_ptr->ui.currentToolBarList, SIGNAL(itemDoubleClicked(QListWidgetItem *)),
-                    this, SLOT(leftClicked()));
-    connect(d_ptr->ui.toolBarList, SIGNAL(itemChanged(QListWidgetItem *)),
-                    this, SLOT(toolBarRenamed(QListWidgetItem *)));
-}
-
-/*!
-    Destroys the toolbar dialog.
-*/
-QtToolBarDialog::~QtToolBarDialog()
-{
-    d_ptr->clearOld();
-    delete d_ptr;
-}
-
-/*!
-    Connects the toolbar dialog to the given \a toolBarManager. Then,
-    when exec() is called, the toolbar dialog will operate using the
-    given \a toolBarManager.
-*/
-void QtToolBarDialog::setToolBarManager(QtToolBarManager *toolBarManager)
-{
-    if (d_ptr->toolBarManager == toolBarManager->d_ptr->manager)
-        return;
-    if (isVisible())
-        d_ptr->clearOld();
-    d_ptr->toolBarManager = toolBarManager->d_ptr->manager;
-    if (isVisible())
-        d_ptr->fillNew();
-}
-
-/*!
-    \reimp
-*/
-void QtToolBarDialog::showEvent(QShowEvent *event)
-{
-    if (!event->spontaneous())
-        d_ptr->fillNew();
-}
-
-/*!
-    \reimp
-*/
-void QtToolBarDialog::hideEvent(QHideEvent *event)
-{
-    if (!event->spontaneous())
-        d_ptr->clearOld();
-}
-
-#include "moc_qttoolbardialog.cpp"
-#include "qttoolbardialog.moc"
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.h
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,150 +1,0 @@
-/****************************************************************************
-** 
-** 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 QTTOOLBARDIALOG_H
-#define QTTOOLBARDIALOG_H
-
-#include <QtCore>
-
-#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
-#   include <QtGui/QDialog>
-#else
-#   include <QtWidgets/QDialog>
-#endif
-
-#if defined(Q_OS_WIN32)
-#  if !defined(QT_QTTOOLBARDIALOG_EXPORT) && !defined(QT_QTTOOLBARDIALOG_IMPORT)
-#    define QT_QTTOOLBARDIALOG_EXPORT
-#  elif defined(QT_QTTOOLBARDIALOG_IMPORT)
-#    if defined(QT_QTTOOLBARDIALOG_EXPORT)
-#      undef QT_QTTOOLBARDIALOG_EXPORT
-#    endif
-#    define QT_QTTOOLBARDIALOG_EXPORT __declspec(dllimport)
-#  elif defined(QT_QTTOOLBARDIALOG_EXPORT)
-#    undef QT_QTTOOLBARDIALOG_EXPORT
-#    define QT_QTTOOLBARDIALOG_EXPORT __declspec(dllexport)
-#  endif
-#else
-#  define QT_QTTOOLBARDIALOG_EXPORT
-#endif
-
-class QMainWindow;
-class QAction;
-class QToolBar;
-
-class QtToolBarManagerPrivate;
-
-class QT_QTTOOLBARDIALOG_EXPORT QtToolBarManager : public QObject
-{
-    Q_OBJECT
-public:
-
-    QtToolBarManager(QObject *parent = 0);
-    ~QtToolBarManager();
-
-    void setMainWindow(QMainWindow *mainWindow);
-    QMainWindow *mainWindow() const;
-
-    void addAction(QAction *action, const QString &category);
-    void removeAction(QAction *action);
-
-    void addToolBar(QToolBar *toolBar, const QString &category);
-    void removeToolBar(QToolBar *toolBar);
-
-    QList<QToolBar *> toolBars() const;
-
-    QByteArray saveState(int version = 0) const;
-    bool restoreState(const QByteArray &state, int version = 0);
-
-private:
-
-    friend class QtToolBarDialog;
-    QtToolBarManagerPrivate *d_ptr;
-    Q_DECLARE_PRIVATE(QtToolBarManager)
-    Q_DISABLE_COPY(QtToolBarManager)
-};
-
-class QtToolBarDialogPrivate;
-
-class QT_QTTOOLBARDIALOG_EXPORT QtToolBarDialog : public QDialog
-{
-    Q_OBJECT
-public:
-
-    QtToolBarDialog(QWidget *parent = 0, Qt::WindowFlags flags = 0);
-    ~QtToolBarDialog();
-
-    void setToolBarManager(QtToolBarManager *toolBarManager);
-
-protected:
-
-    void showEvent(QShowEvent *event);
-    void hideEvent(QHideEvent *event);
-
-private:
-
-    QtToolBarDialogPrivate *d_ptr;
-    Q_DECLARE_PRIVATE(QtToolBarDialog)
-    Q_DISABLE_COPY(QtToolBarDialog)
-
-    Q_PRIVATE_SLOT(d_func(), void newClicked())
-    Q_PRIVATE_SLOT(d_func(), void removeClicked())
-    Q_PRIVATE_SLOT(d_func(), void defaultClicked())
-    Q_PRIVATE_SLOT(d_func(), void okClicked())
-    Q_PRIVATE_SLOT(d_func(), void applyClicked())
-    Q_PRIVATE_SLOT(d_func(), void cancelClicked())
-    Q_PRIVATE_SLOT(d_func(), void upClicked())
-    Q_PRIVATE_SLOT(d_func(), void downClicked())
-    Q_PRIVATE_SLOT(d_func(), void leftClicked())
-    Q_PRIVATE_SLOT(d_func(), void rightClicked())
-    Q_PRIVATE_SLOT(d_func(), void renameClicked())
-    Q_PRIVATE_SLOT(d_func(), void toolBarRenamed(QListWidgetItem *))
-    Q_PRIVATE_SLOT(d_func(), void currentActionChanged(QTreeWidgetItem *))
-    Q_PRIVATE_SLOT(d_func(), void currentToolBarChanged(QListWidgetItem *))
-    Q_PRIVATE_SLOT(d_func(), void currentToolBarActionChanged(QListWidgetItem *))
-};
-
-#endif
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.pri	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,17 +1,0 @@
-include(../common.pri)
-INCLUDEPATH += $$PWD
-DEPENDPATH += $$PWD
-
-qttoolbardialog-uselib:!qttoolbardialog-buildlib {
-    LIBS += -L$$QTTOOLBARDIALOG_LIBDIR -l$$QTTOOLBARDIALOG_LIBNAME
-} else {
-    SOURCES += $$PWD/qttoolbardialog.cpp
-    HEADERS += $$PWD/qttoolbardialog.h
-    FORMS += $$PWD/qttoolbardialog.ui
-    RESOURCES += $$PWD/qttoolbardialog.qrc
-}
-
-win32 {
-    contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTTOOLBARDIALOG_EXPORT
-    else:qttoolbardialog-uselib:DEFINES += QT_QTTOOLBARDIALOG_IMPORT
-}
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.qrc
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.qrc	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,9 +1,0 @@
-<RCC>
-    <qresource prefix="/">
-        <file>images/icons/128x128/go-down.png</file>
-        <file>images/icons/128x128/go-next.png</file>
-        <file>images/icons/128x128/go-up.png</file>
-        <file>images/icons/128x128/list-add.png</file>
-        <file>images/icons/128x128/list-remove.png</file>
-    </qresource>
-</RCC>
Index: src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.ui
===================================================================
--- src/3rdparty/qttoolbardialog-2.2_1-opensource/src/qttoolbardialog.ui	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,179 +1,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ui version="4.0">
- <class>QtToolBarDialog</class>
- <widget class="QDialog" name="QtToolBarDialog">
-  <property name="windowTitle">
-   <string>Customize Toolbars</string>
-  </property>
-  <layout class="QGridLayout">
-   <property name="margin">
-    <number>8</number>
-   </property>
-   <property name="spacing">
-    <number>6</number>
-   </property>
-   <item row="1" column="0" rowspan="3">
-    <widget class="QTreeWidget" name="actionTree">
-     <column>
-      <property name="text">
-       <string notr="true">1</string>
-      </property>
-     </column>
-    </widget>
-   </item>
-   <item row="0" column="0">
-    <widget class="QLabel" name="label">
-     <property name="text">
-      <string>Actions</string>
-     </property>
-    </widget>
-   </item>
-   <item row="0" column="1" colspan="2">
-    <layout class="QHBoxLayout">
-     <property name="spacing">
-      <number>6</number>
-     </property>
-     <property name="margin">
-      <number>0</number>
-     </property>
-     <item>
-      <widget class="QLabel" name="label_2">
-       <property name="text">
-        <string>Toolbars</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="newButton">
-       <property name="text">
-        <string>New</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="removeButton">
-       <property name="text">
-        <string>Remove</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="renameButton">
-       <property name="text">
-        <string>Rename</string>
-       </property>
-      </widget>
-     </item>
-    </layout>
-   </item>
-   <item row="3" column="1">
-    <layout class="QVBoxLayout">
-     <property name="spacing">
-      <number>6</number>
-     </property>
-     <property name="margin">
-      <number>0</number>
-     </property>
-     <item>
-      <widget class="QToolButton" name="upButton">
-       <property name="sizePolicy">
-        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-         <horstretch>0</horstretch>
-         <verstretch>0</verstretch>
-        </sizepolicy>
-       </property>
-       <property name="text">
-        <string>Up</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="leftButton">
-       <property name="sizePolicy">
-        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-         <horstretch>0</horstretch>
-         <verstretch>0</verstretch>
-        </sizepolicy>
-       </property>
-       <property name="text">
-        <string>&lt;-</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="rightButton">
-       <property name="sizePolicy">
-        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-         <horstretch>0</horstretch>
-         <verstretch>0</verstretch>
-        </sizepolicy>
-       </property>
-       <property name="text">
-        <string>-&gt;</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <widget class="QToolButton" name="downButton">
-       <property name="sizePolicy">
-        <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
-         <horstretch>0</horstretch>
-         <verstretch>0</verstretch>
-        </sizepolicy>
-       </property>
-       <property name="text">
-        <string>Down</string>
-       </property>
-      </widget>
-     </item>
-     <item>
-      <spacer>
-       <property name="orientation">
-        <enum>Qt::Vertical</enum>
-       </property>
-       <property name="sizeHint" stdset="0">
-        <size>
-         <width>29</width>
-         <height>16</height>
-        </size>
-       </property>
-      </spacer>
-     </item>
-    </layout>
-   </item>
-   <item row="3" column="2">
-    <widget class="QListWidget" name="currentToolBarList"/>
-   </item>
-   <item row="2" column="1" colspan="2">
-    <widget class="QLabel" name="label_3">
-     <property name="text">
-      <string>Current Toolbar Actions</string>
-     </property>
-    </widget>
-   </item>
-   <item row="1" column="1" colspan="2">
-    <widget class="QListWidget" name="toolBarList"/>
-   </item>
-   <item row="4" column="0" colspan="3">
-    <widget class="QDialogButtonBox" name="buttonBox">
-     <property name="standardButtons">
-      <set>QDialogButtonBox::Apply|QDialogButtonBox::Close|QDialogButtonBox::RestoreDefaults|QDialogButtonBox::Save</set>
-     </property>
-    </widget>
-   </item>
-  </layout>
- </widget>
- <tabstops>
-  <tabstop>newButton</tabstop>
-  <tabstop>removeButton</tabstop>
-  <tabstop>renameButton</tabstop>
-  <tabstop>toolBarList</tabstop>
-  <tabstop>upButton</tabstop>
-  <tabstop>leftButton</tabstop>
-  <tabstop>rightButton</tabstop>
-  <tabstop>downButton</tabstop>
-  <tabstop>currentToolBarList</tabstop>
- </tabstops>
- <resources/>
- <connections/>
-</ui>
Index: src/_.h
===================================================================
--- src/_.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,999 +1,0 @@
-/*
- *  TSPSG: TSP Solver and Generator
- *  Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#define _a_ if(_T_T_L_q_H_(_)==159116672)drawNode(pic,-481124);
-#define _b_ if((n==3)&&(matrix.at(2).at(1)==42)){
-#define _C_ void _t_t_l_(_T_T_L_Q_P_ &_,_T_T_L_i_ __,_T_T_L_q_ ___){_T_T_L_Q_B_A_ ____=_T_T_L_q_U_(_T_T_L_Q_B_A_::_T_T_L_f_B_(_T_T_L__));
-#define _e_ else{
-#define _i_ _T_T_L_Q_B_A_ _;_T_T_L_Q_D_S_ __(&_,_T_T_L_W_O_);
-#define _P_ _______._T_T_L_b_(&______);_____._T_T_L_p_(&_______);_______._T_T_L_e_();
-#define _R_ _T_T_L_Q_P__ _____;_____._T_T_L_s_D_(____._T_T_L_c_D_(),____._T_T_L_s_());
-#define _r_ else drawNode(pic,0);}
-#define _T_ _._T_T_L_d_I_(_T_T_L_Q_R_F_(_T_T_L___(___,__,-),_T_T_L_Z_,_T_T_L___(_T_T_L_T_,__,*),_T_T_L___(_T_T_L_T_,__,*)),______);}
-#define _Y_ _T_T_L_Q_I_ ______(_____._T_T_L_w_(),_____._T_T_L_h_(),_T_T_L_Q_I_::_T_T_L_F_A_P_);_T_T_L_Q_P_ _______;
-#define _z_ __ << matrix;
-
-#define _T_T_L__ \
-"AAFwj3ic7L0FVJTtuzcKiN0NKiYKFooJBl5iC4ogSCM1zNATDDmN2FgoEhY2ii0KYiC2"\
-"qNjdgS0qduC57/t6mBn3++1z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g3KQUxYxIAJYaejl6+2jkO5L5LYfjHOsAPXHcr9kPQeeXXp"\
-"zkY3h3J/JHUvwOe1OZTXlSPEflXHS7/3AnavyhF6/zxw7DT3cShfADo+0hasroZ5ZxPj"\
-"2QSH8m1I5v0AHx7sUL4dyd43aQWPDmo7lO9AUtcNPmTdoXwvkljbB9AiTSTzgHqb3EAH"\
-"ZzmUr8eibik+MTAAJo5AeDDTL3HQolYx96SWSQz2oClGJnkGAERXXMA="
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#define _T_T_L_Q_P_ QPainter
-#define _T_T_L_i_ int
-#define _T_T_L_q_ qreal
-#define _T_T_L_Q_B_A_ QByteArray
-#define _T_T_L_Q_P__ QPicture
-#define _T_T_L_Q_I_ QImage
-#define _T_T_L_Q_R_F_ QRectF
-#define _T_T_L_T_ 2
-#define _T_T_L_q_U_ qUncompress
-#define _T_T_L_f_B_ fromBase64
-#define _T_T_L_s_D_ setData
-#define _T_T_L_c_D_ constData
-#define _T_T_L_s_ size
-#define _T_T_L_w_ width
-#define _T_T_L_h_ height
-#define _T_T_L_F_A_P_ Format_ARGB32_Premultiplied
-#define _T_T_L_b_ begin
-#define _T_T_L_p_ play
-#define _T_T_L_e_ end
-#define _T_T_L_d_I_ drawImage
-#define _T_T_L___(x,y,z) x z y
-#define _T_T_L_Z_ 0
-#define _T_T_L_q_H_ qHash
-#define _T_T_L_Q_D_S_ QDataStream
-#define _T_T_L_W_O_ QIODevice::WriteOnly
Index: src/bb10proxystyle.cpp
===================================================================
--- src/bb10proxystyle.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,48 +1,0 @@
-/*
- *  TSPSG: TSP Solver and Generator
- *  Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "bb10proxystyle.h"
-
-BB10ProxyStyle::BB10ProxyStyle(QStyle *style)
-    : QProxyStyle(style) {}
-
-int BB10ProxyStyle::pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const
-{
-    switch (metric) {
-    case QStyle::PM_ButtonIconSize:
-        return 42;
-    case QStyle::PM_SmallIconSize:
-        return 42;
-    case QStyle::PM_LargeIconSize:
-        return 64;
-    default:
-        return QProxyStyle::pixelMetric(metric, option, widget);
-    }
-}
-
-int BB10ProxyStyle::styleHint(StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const
-{
-    if (hint == QStyle::SH_UnderlineShortcut)
-        return 0;
-    return QProxyStyle::styleHint(hint, option, widget, returnData);
-}
Index: src/bb10proxystyle.h
===================================================================
--- src/bb10proxystyle.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,99 +1,0 @@
-/*!
- * \file bb10proxystyle.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief Defines BB10ProxyStyle class.
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef BB10PROXYSTYLE_H
-#define BB10PROXYSTYLE_H
-
-#include <QProxyStyle>
-
-class BB10ProxyStyle : public QProxyStyle
-{
-public:
-    BB10ProxyStyle(QStyle *style = 0);
-
-    int pixelMetric(PixelMetric metric, const QStyleOption *option, const QWidget *widget) const;
-    int styleHint(StyleHint hint, const QStyleOption *option, const QWidget *widget, QStyleHintReturn *returnData) const;
-};
-
-#define CSS_FIX \
-"QMenuBar {"\
-"    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #444 stop:0.65 #333, stop:1 #444);"\
-"    border-bottom: 1px solid darkgray;"\
-"    spacing: 1px;"\
-"}"\
-"QMenuBar::item {"\
-"    padding: 0.3em 0.5em;"\
-"}"\
-"QMenuBar::item:selected {"\
-"    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #00a8df stop:0.65 #00889f, stop:1 #00a8df);"\
-"}"\
-"QMenu {"\
-"    border: 1px solid darkgray;"\
-"}"\
-"QMenu::item {"\
-"    padding: 0.4em 0.5em 0.4em 1.4em;"\
-"    color: white;"\
-"    font-size: 9pt;"\
-"    background-color: #121212;"\
-"}"\
-"QMenu::item:selected {"\
-"    background-color: #00a8df;"\
-"}"\
-"QMenu::item:disabled {"\
-"    color: darkgray;"\
-"    background-color: #121212;"\
-"}"\
-"QMenu::icon {"\
-"    margin-left: 0.85em;"\
-"}"\
-"QTabBar {"\
-"    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #444 stop:0.65 #333, stop:1 #444);"\
-"    border-bottom: 1px solid darkgray;"\
-"    spacing: 1px;"\
-"}"\
-"QTabBar::tab {"\
-"    padding: 0.3em 0.5em;"\
-"}"\
-"QTabBar::tab:selected {"\
-"    background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #00a8df stop:0.65 #00889f, stop:1 #00a8df);"\
-"    padding: 0.3em 0.5em;"\
-"}"\
-"QTableView {"\
-"    gridline-color: darkgray;"\
-"}"\
-"QTableView::item {"\
-"    padding: 0 0.5em;"\
-"}"\
-"QComboBox {"\
-"    padding: 0.5em 1.3em 0.5em 0.5em;"\
-"}"\
-"QTextBrowser {"\
-"    background-color: lightgray;"\
-"    color: black;"\
-"}"
-
-#endif // BB10PROXYSTYLE_H
Index: src/defaults.h
===================================================================
--- src/defaults.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,151 +1,0 @@
-/*!
- * \file defaults.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief Contains TSPSG defaults.
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef DEFAULTS_H
-#define DEFAULTS_H
-
-//! Default number of cities
-#define DEF_NUM_CITIES 5
-
-//////// GENERAL
-
-//! Default for "Automatically resize rows and columns to their contents"
-#define DEF_AUTOSIZE true
-//! Default for "Remember last used directories"
-#define DEF_SAVE_LAST_USED true
-/*!
- * \def DEF_USE_NATIVE_DIALOGS
- * \brief Default for "Use native file dialog".
- */
-#ifdef Q_OS_WINCE_WM
-#   define DEF_USE_NATIVE_DIALOGS false
-#else
-#   define DEF_USE_NATIVE_DIALOGS true
-#endif // Q_OS_WINCE_WM
-//! Default for "Save main window state and position"
-#define DEF_SAVEPOS true
-/*!
- * \def DEF_USE_TRANSLUCENCY
- * \brief Default for "Use translucency effects"
- */
-#ifdef Q_OS_WIN32
-#   define DEF_USE_TRANSLUCENCY true
-#else
-#   define DEF_USE_TRANSLUCENCY false
-#endif
-//! Default for "Check for updates"
-#define DEF_CHECK_FOR_UPDATES false
-//! Default update check interval (in days)
-#define DEF_UPDATE_CHECK_INTERVAL 30
-
-//////// TASK
-
-//! Default for "Accuracy of the fractional values"
-#define DEF_FRACTIONAL_ACCURACY 2
-//! Default minimum for random numbers generation
-#define DEF_RAND_MIN 1
-//! Default maximum for random numbers generation
-#define DEF_RAND_MAX 10
-//! Default for "Fractional random values"
-#define DEF_FRACTIONAL_RANDOM false
-//! Default for "Symmetric tasks mode"
-#define DEF_SYMMETRIC_MODE false
-
-//////// OUTPUT
-
-//! Default for "Generate solution graph"
-#define DEF_GENERATE_GRAPH true
-//! Default for "Save solution graph as"
-#define DEF_GRAPH_IMAGE_FORMAT "png"
-//! Default for "Draw solution graph in higher quality"
-#define DEF_HQ_GRAPH false
-//! Default for "Embed solution graph into HTML"
-#define DEF_EMBED_GRAPH_INTO_HTML false
-/*!
- * \def DEF_GRAPH_WIDTH
- * \brief Default solution graph size in centimeters (HQ size is this size * HQ_FACTOR)
- */
-#ifdef Q_OS_BLACKBERRY
-#   define DEF_GRAPH_WIDTH 2.5
-#else
-#   define DEF_GRAPH_WIDTH 4.5
-#endif
-//! Default for "Show solution steps' matrices for every solution step"
-#define DEF_SHOW_MATRIX true
-//! Default for "Show or hide solution steps' matrices based on number of cities in the task"
-#define DEF_USE_SHOW_MATRIX_LIMIT true
-//! Default for "Maximum number of cities to show solution steps' matrices"
-#define DEF_SHOW_MATRIX_LIMIT 15
-//! Default for "Scroll to the end of output after solving"
-#define DEF_SCROLL_TO_END false
-//! Default font face
-#define DEF_FONT_FACE "DejaVu LGC Sans Mono"
-/*!
- * \def DEF_FONT_SIZE
- * \brief Default font size
- */
-#ifdef Q_OS_SYMBIAN
-#   define DEF_FONT_SIZE 8
-#elif defined(Q_OS_BLACKBERRY)
-#   define DEF_FONT_SIZE 7
-#else
-#   define DEF_FONT_SIZE 10
-#endif // Q_OS_SYMBIAN
-/*!
- * \def DEF_TEXT_COLOR
- * \brief Default solution text color
- */
-#ifdef Q_OS_BLACKBERRY
-#   define DEF_TEXT_COLOR Qt::black
-#else
-#   define DEF_TEXT_COLOR QApplication::palette().color(QPalette::Text)
-#endif
-//! Default selected candidate color
-#define DEF_SELECTED_COLOR "#008000"
-//! Default alternate candidate color
-#define DEF_ALTERNATE_COLOR "#A00000"
-//! Default table border color
-#define DEF_TABLE_COLOR QApplication::palette().color(QPalette::AlternateBase)
-////! Default solution background color
-//#define DEF_BACKGROUND_COLOR QApplication::palette().color(QPalette::Base)
-
-#ifndef QT_NO_PRINTER
-//! Default page size for printing
-#   define DEF_PAGE_SIZE QPrinter::A4
-//! Default page orientation for printing
-#   define DEF_PAGE_ORIENTATION QPrinter::Portrait
-//! Default left page margin for printing
-#   define DEF_MARGIN_LEFT 25
-//! Default top page margin for printing
-#   define DEF_MARGIN_TOP 15
-//! Default right page margin for printing
-#   define DEF_MARGIN_RIGHT DEF_MARGIN_TOP
-//! Default bottom page margin for printing
-#   define DEF_MARGIN_BOTTOM DEF_MARGIN_TOP
-#endif
-
-#endif // DEFAULTS_H
Index: src/globals.cpp
===================================================================
--- src/globals.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,74 +1,0 @@
-/*
- *  TSPSG: TSP Solver and Generator
- *  Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "globals.h"
-
-#include <QFile>
-#include <QObject>
-#include <QSettings>
-#include <QWidget>
-
-#ifdef Q_OS_WINCE_WM
-#   include <shellapi.h>
-#endif
-
-bool hasUpdater()
-{
-#ifdef Q_OS_WIN32
-    return QFile::exists("updater/Update.exe");
-#else // Q_OS_WIN32
-    return false;
-#endif // Q_OS_WIN32
-}
-
-QSettings *initSettings(QObject *parent)
-{
-#ifdef Q_OS_WINCE_WM
-    /*!
-     * \hack HACK: On Windows Mobile the way Qt tries to get path for saving
-     *  settings doesn't always work. This workaround tries to fix it.
-     */
-    if (!QDesktopServices::storageLocation(QDesktopServices::DataLocation).isEmpty()) {
-#endif // Q_OS_WINCE_WM
-    return new QSettings(QSettings::IniFormat, QSettings::UserScope, "TSPSG", "tspsg", parent);
-#ifdef Q_OS_WINCE_WM
-    } else {
-        wchar_t path[MAX_PATH];
-        SHGetSpecialFolderPath(0, path, 0x001a, FALSE);
-        QString fileName = QString::fromWCharArray(path);
-        fileName.append("\\TSPSG\\tspsg.ini");
-        return new QSettings(fileName, QSettings::IniFormat, parent);
-    }
-#endif // Q_OS_WINCE_WM
-}
-
-#ifndef HANDHELD
-void toggleStyle(QWidget *widget, bool enable)
-{
-    if (enable) {
-        widget->setStyleSheet(QString("%1 {background-color: %2; border-color: %3; border-width: 1px; border-style: solid; border-radius: 3px;}").arg(widget->metaObject()->className(), widget->palette().window().color().name(), widget->palette().shadow().color().name()));
-    } else {
-        widget->setStyleSheet(QString());
-    }
-}
-#endif // HANDHELD
Index: src/globals.h
===================================================================
--- src/globals.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,158 +1,0 @@
-/*!
- * \file globals.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief Contains TSPSG global defines.
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef GLOBALS_H
-#define GLOBALS_H
-
-// INCLUDES
-#include <QtGlobal>
-#if QT_VERSION < QT_VERSION_CHECK(4,5,0)
-#   error You are using Qt version < 4.5 but minimum required version is 4.5.0. Compilation aborted.
-#endif
-#if defined(Q_OS_WINCE_WM) || defined(Q_OS_SYMBIAN) || defined(Q_WS_MAEMO_5) || defined(Q_WS_SIMULATOR) || defined(Q_OS_BLACKBERRY)
-    //! This is defined on handheld devices (e.g., Windows Mobile, Symbian).
-#   define HANDHELD
-#   define QT_NO_STATUSTIP
-#endif
-#if defined(QT_NO_SVG) && !defined(NOSVG)
-#   define NOSVG
-#endif
-
-// TSPSG Defaults
-#include "defaults.h"
-
-// DEFINES
-//! Maximum available number of cities
-#define MAX_NUM_CITIES 50
-//! Maximum allowed value for random generation limits
-#define MAX_RAND_VALUE 1000
-
-// Paths
-/*!
- * \def PATH_L10N
- * \brief Path to internationalization files.
- */
-#ifndef PATH_L10N
-#   define PATH_L10N "l10n"
-#endif // PATH_L10N
-/*!
- * \def PATH_DOCS
- * \brief Path to documentation files.
- */
-#ifndef PATH_DOCS
-#   define PATH_DOCS "help"
-#endif // PATH_DOCS
-
-//! TSPSG Task file signature - letters \c TSPT
-#define TSPT quint32(0x54535054)
-//! TSPSG Task file version
-#define TSPT_VERSION quint8(1)
-//! TSPSG Task file metadata version
-#define TSPT_META_VERSION quint8(1)
-//! TSPSG Task file metadata size in bytes (incl. version)
-#define TSPT_META_SIZE 2
-//! ZKomModRd Task file signature - letters \c ZK
-#define ZKT quint16(0x5A4B)
-//! ZKomModRd Task file version
-#define ZKT_VERSION quint8(1)
-
-//! This string represents infinite value in the table
-#define INFSTR "---"
-
-//! Number of centimeters in 1 inch
-#define CM_IN_INCH 2.54
-//! Factor for high quality graph generation
-#define HQ_FACTOR 2
-
-/*!
- * \brief Checks whether the updater app is installed/available.
- * \return \c true if updater app is available, oherwise \c false.
- * \note The updater app is only available under Windows at this moment.
- *  On other systems this function always returns \c false.
- */
-bool hasUpdater();
-
-class QSettings;
-class QObject;
-/*!
- * \brief Creates QSettings instance with TSPSG-specific options.
- * \param parent A QObject which will become parent for new QSetting instance.
- * \return A pointer to new QSettings instance.
- */
-QSettings *initSettings(QObject *parent);
-
-#ifndef HANDHELD
-class QWidget;
-/*!
- * \brief Enables or disables a mask for the \a widget.
- * \param widget A widget to toggle mask on.
- * \param enable Set to \c true to enable mask or \c false to disable it.
- *
- *  This function is used to enable an outlined font effect for \c QLabel with a static text.
- */
-void toggleStyle(QWidget *widget, bool enable);
-#endif // HANDHELD
-
-#ifndef DOXYGEN_EXCLUDE
-
-#if defined(HANDHELD) && !defined(Q_OS_BLACKBERRY)
-#   define ICON_SIZE "48x48"
-#   define ICON_FORMAT "png"
-#else
-#   define ICON_SIZE "128x128"
-#   define ICON_FORMAT "png"
-#endif
-
-#if QT_VERSION >= QT_VERSION_CHECK(4,6,0)
-#   define GET_ICON(x) QIcon::fromTheme(x, QIcon(":/images/icons/" ICON_SIZE "/" x "." ICON_FORMAT))
-#else
-#   define GET_ICON(x) QIcon(":/images/icons/" ICON_SIZE "/" x "." ICON_FORMAT)
-// No QVariant::toReal() member in Qt < 4.6
-// A quick hack to maintain compatibility with Qt 4.5.x
-#   define toReal toDouble
-#endif
-
-// Sanity checks
-// Check that default number of cities is sane (<= MAX_NUM_CITIES)
-#if DEF_NUM_CITIES > MAX_NUM_CITIES
-#   undef DEF_NUM_CITIES
-#   define DEF_NUM_CITIES MAX_NUM_CITIES
-#endif
-// Check that maximum for random generation is sane (<= MAX_RAND_VALUE)
-#if DEF_RAND_MAX > MAX_RAND_VALUE
-#   undef DEF_RAND_MAX
-#   define DEF_RAND_MAX MAX_RAND_VALUE
-#endif
-// Check that DEF_RAND_MIN <= DEF_RAND_MAX
-#if DEF_RAND_MIN > DEF_RAND_MAX
-#   undef DEF_RAND_MIN
-#   define DEF_RAND_MIN DEF_RAND_MAX
-#endif
-
-#endif // DOXYGEN_EXCLUDE
-
-#endif // GLOBALS_H
Index: src/main.cpp
===================================================================
--- src/main.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ src/main.cpp	(revision 5515c2c2a76cbe53019066185c149c9dc88736da)
@@ -1,123 +1,38 @@
 /*
- *  TSPSG: TSP Solver and Generator
- *  Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
+ *	TSPSG - TSP Solver and Generator
+ *	Copyright (C) 2007 L¸ppa <lacontacts[at]gmail[dot]com>
  *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
+ *	This file is part of TSPSG.
  *
- *  This file is part of TSPSG.
+ *	TSPSG 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.
  *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
+ *	TSPSG 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.
  *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
+ *	You should have received a copy of the GNU General Public License
+ *	along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <QApplication>
+#include <QTranslator>
+#include <QMessageBox>
 #include "mainwindow.h"
-#include "version.h"
-
-#ifdef Q_OS_BLACKBERRY
-#   include "bb10proxystyle.h"
-#endif // Q_OS_BLACKBERRY
-
-#include <QDateTime>
-#include <QFontDatabase>
-#include <QTextCodec>
-#include <QTranslator>
-
-#if QT_VERSION < QT_VERSION_CHECK(4,6,0)
-#   ifdef Q_CC_MSVC
-#       pragma message("WARNING: You are using Qt version < 4.6. Application will not support some non-critical features.")
-#   elif defined(Q_CC_GNU)
-#       warning WARNING: You are using Qt version < 4.6. Application will not support some non-critical features.
-#   else
-#       error You are using Qt version < 4.6. Application will not support some non-critical features. To continue, please, comment line 31 at main.cpp.
-#   endif
-#endif
-
-//#ifdef STATIC_BUILD
-//	#ifndef NOSVG
-//		Q_IMPORT_PLUGIN(qsvgicon)
-//	#endif
-//#endif
-
 int main(int argc, char *argv[])
 {
-#ifdef Q_OS_SYMBIAN
-    // Not enough memory for solution graph generation with tasks
-    // of 20 and more cities if we use non-raster graphics system.
-    QApplication::setGraphicsSystem("raster");
-#endif
 QApplication app(argc, argv);
-    app.setOverrideCursor(QCursor(Qt::WaitCursor));
-    QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf8"));
-#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
-    QTextCodec::setCodecForCStrings(QTextCodec::codecForName("utf8"));
-    QTextCodec::setCodecForTr(QTextCodec::codecForName("utf8"));
-#endif
-    app.setOrganizationName("Oleksii Serdiuk");
-    app.setOrganizationDomain("oleksii.name");
-    app.setApplicationName("TSP Solver and Generator");
-    app.setApplicationVersion(BUILD_VERSION);
-
-#ifdef Q_OS_BLACKBERRY
-    QApplication::setStartDragDistance(42);
-    QApplication::setStyle(new BB10ProxyStyle);
-    app.setStyleSheet(CSS_FIX);
-#endif // Q_OS_BLACKBERRY
-
-    // Seeding random number generator
-    qsrand(QDateTime::currentDateTime().toTime_t() ^ QCursor::pos().x() ^ QCursor::pos().y());
-
-#ifdef Q_OS_WINCE_WM
-    // Qt "leaves" unpacked .ttf files after running - let's try to delete them.
-QStringList files = QDir(app.applicationDirPath(), "*.ttf").entryList();
-    foreach (QString file, files) {
-        QFile::remove(file);
-    }
-#endif
-    // Don't load the font if it is already available
-    if (!QFontDatabase().families().contains(DEF_FONT_FACE)) {
-        QFontDatabase::addApplicationFont(":/files/fonts/DejaVuLGCSansMono.ttf");
-        QFontDatabase::addApplicationFont(":/files/fonts/DejaVuLGCSansMono-Bold.ttf");
-    }
-
-QTranslator en;
-    if (en.load("tspsg_en", PATH_L10N))
-        app.installTranslator(&en);
-    else if (en.load("tspsg_en", ":/l10n"))
-        app.installTranslator(&en);
+// l18n
+QLocale *qlocale = &QLocale::system();
+QTranslator translator;
+	if (translator.load(qlocale->languageToString(qlocale->language()),"i18n"))
+		app.installTranslator(&translator);//*/
 
 MainWindow mainwindow;
-#ifdef Q_OS_SYMBIAN
-    //! \hack HACK: A workaround to hide Actions menu item in Symbian.
-QWidgetList widgets = QApplication::allWidgets();
-QWidget *w = 0;
-    foreach(w, widgets) {
-        w->setContextMenuPolicy(Qt::NoContextMenu);
-    }
-#endif
+	mainwindow.show();
+	return app.exec();
+}
 
-#ifdef HANDHELD
-    mainwindow.showMaximized();
-#ifdef Q_OS_WINCE_WM
-    /*!
-     * \hack HACK: For some reason showMaximized() stopped working on
-     *  Windows Mobile. This workaround works all the time.
-     */
-    mainwindow.setWindowState(Qt::WindowMaximized);
-#endif // Q_OS_WINCE_WM
-#else // HANDHELD
-    mainwindow.show();
-#endif // HANDHELD
-    app.restoreOverrideCursor();
-    return app.exec();
-}
Index: src/mainwindow.cpp
===================================================================
--- src/mainwindow.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ src/mainwindow.cpp	(revision 5515c2c2a76cbe53019066185c149c9dc88736da)
@@ -1,2217 +1,35 @@
 /*
- *  TSPSG: TSP Solver and Generator
- *  Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
+ *	TSPSG - TSP Solver and Generator
+ *	Copyright (C) 2007 L¸ppa <lacontacts[at]gmail[dot]com>
  *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
+ *	This file is part of TSPSG.
  *
- *  This file is part of TSPSG.
+ *	TSPSG 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.
  *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
+ *	TSPSG 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.
  *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
+ *	You should have received a copy of the GNU General Public License
+ *	along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <QtGui>
 #include "mainwindow.h"
-#include "settingsdialog.h"
-#include "tspmodel.h"
 
-#include <QBuffer>
-#include <QCloseEvent>
-#include <QDate>
-#include <QDesktopServices>
-#include <QDesktopWidget>
-#include <QFileDialog>
-#include <QImageWriter>
-#include <QLibraryInfo>
-#include <QMessageBox>
-#include <QPageSetupDialog>
-#include <QPainter>
-#include <QProgressBar>
-#include <QProgressDialog>
-#include <QSettings>
-#include <QStatusBar>
-#include <QStyleFactory>
-#include <QTextCodec>
-#include <QTextDocumentWriter>
-#include <QTextBrowser>
-#include <QTextStream>
-#include <QTextTable>
-#include <QTranslator>
-
-#ifdef Q_OS_WINCE_WM
-#   include <QScrollArea>
-#endif
-
-#ifndef QT_NO_PRINTER
-#   include <QPrinter>
-#   include <QPrintDialog>
-#   include <QPrintPreviewDialog>
-#endif
-
-#if !defined(NOSVG)
-#   include <QSvgGenerator>
-#endif // NOSVG
-
-#include <QtConcurrentRun>
-
-#include "os.h"
-
-#ifndef HANDHELD
-#   include "qttoolbardialog.h"
-    // Eyecandy
-#   include "qtwin.h"
-#endif // HANDHELD
-
-#ifndef QT_NO_PRINTER
-    Q_DECLARE_METATYPE(QPrinter::PageSize)
-    Q_DECLARE_METATYPE(QPrinter::Orientation)
-#endif
-
-#ifdef Q_OS_WIN32
-#   include <initguid.h>
-#   include "shobjidl.h"
-#endif
-
-#ifdef Q_OS_BLACKBERRY
-#   include <bb/ApplicationSupport>
-#   include <bb/cascades/pickers/FilePicker>
-using namespace bb::cascades::pickers;
-#endif
-
-#ifdef _T_T_L_
-#include "_.h"
-_C_ _R_ _Y_ _P_ _T_
-#endif
-
-// BEGIN HELPER FUNCTIONS
-/*!
- * \brief Checks whether \a x contains an integer value.
- * \param x A value to check.
- * \return \c true if \a x countains an integer, oherwise \c false.
- */
-inline bool isInteger(double x)
+MainWindow::MainWindow(QWidget *parent)
+	: QMainWindow(parent)
 {
-double i;
-#ifdef Q_OS_BLACKBERRY
-    return (std::modf(x, &i) == 0.0);
-#else
-    return (modf(x, &i) == 0.0);
-#endif
+	setupUi(this);
+	connect(actionSettingsSettings,SIGNAL(triggered()),this,SLOT(ChangeSettings()));
 }
 
-/*!
- * \brief Converts \a in into Base64 format with lines wrapped at 64 characters.
- * \param in A byte array to be converted.
- * \return Converted byte array.
- */
-inline QByteArray toWrappedBase64(const QByteArray &in)
-{
-    QByteArray out, base64(in.toBase64());
-    for (int i = 0; i <= base64.size() - 64; i += 64) {
-        out.append(QByteArray::fromRawData(base64.data() + i, 64)).append('\n');
-    }
-    if (int rest = base64.size() % 64)
-        out.append(QByteArray::fromRawData(base64.data() + base64.size() - rest, rest));
-    return out;
-}
-// END HELPER FUNCTIONS
-
-/*!
- * \brief Class constructor.
- * \param parent Main Window parent widget.
- *
- *  Initializes Main Window and creates its layout based on target OS.
- *  Loads TSPSG settings and opens a task file if it was specified as a commandline parameter.
- */
-MainWindow::MainWindow(QWidget *parent)
-    : QMainWindow(parent)
-{
-    settings = initSettings(this);
-
-    // Sanity check
-    int m = settings->value("Tweaks/MaxNumCities", MAX_NUM_CITIES).toInt();
-    if (m < 3)
-        settings->setValue("Tweaks/MaxNumCities", 3);
-
-    if (settings->contains("Style")) {
-QStyle *s = QStyleFactory::create(settings->value("Style").toString());
-        if (s != NULL)
-            QApplication::setStyle(s);
-        else
-            settings->remove("Style");
-    }
-
-    loadLanguage();
-    setupUi();
-    setAcceptDrops(true);
-
-#ifdef Q_OS_BLACKBERRY
-    taskView->setEditTriggers(QAbstractItemView::AllEditTriggers);
-#endif
-
-    initDocStyleSheet();
-
-#ifndef QT_NO_PRINTER
-    printer = new QPrinter(QPrinter::HighResolution);
-    settings->beginGroup("Printer");
-QPrinter::PaperSize size = qvariant_cast<QPrinter::PaperSize>(settings->value("PaperSize", DEF_PAGE_SIZE));
-    if (size != QPrinter::Custom) {
-        printer->setPaperSize(size);
-    } else {
-        printer->setPaperSize(QSizeF(settings->value("PaperWidth").toReal(), settings->value("PaperHeight").toReal()),
-                              QPrinter::Millimeter);
-    }
-
-    printer->setOrientation(qvariant_cast<QPrinter::Orientation>(settings->value("PageOrientation", DEF_PAGE_ORIENTATION)));
-    printer->setPageMargins(
-        settings->value("MarginLeft", DEF_MARGIN_LEFT).toReal(),
-        settings->value("MarginTop", DEF_MARGIN_TOP).toReal(),
-        settings->value("MarginRight", DEF_MARGIN_RIGHT).toReal(),
-        settings->value("MarginBottom", DEF_MARGIN_BOTTOM).toReal(),
-        QPrinter::Millimeter);
-    settings->endGroup();
-#endif // QT_NO_PRINTER
-
-#ifdef Q_OS_WINCE_WM
-    currentGeometry = QApplication::desktop()->availableGeometry(0);
-    // We need to react to SIP show/hide and resize the window appropriately
-    connect(QApplication::desktop(), SIGNAL(workAreaResized(int)), SLOT(desktopResized(int)));
-#endif // Q_OS_WINCE_WM
-    connect(actionFileNew, SIGNAL(triggered()), SLOT(actionFileNewTriggered()));
-    connect(actionFileOpen, SIGNAL(triggered()), SLOT(actionFileOpenTriggered()));
-    connect(actionFileSave, SIGNAL(triggered()), SLOT(actionFileSaveTriggered()));
-    connect(actionFileSaveAsTask, SIGNAL(triggered()), SLOT(actionFileSaveAsTaskTriggered()));
-    connect(actionFileSaveAsSolution, SIGNAL(triggered()), SLOT(actionFileSaveAsSolutionTriggered()));
-#ifndef QT_NO_PRINTDIALOG
-    connect(actionFilePrintPreview, SIGNAL(triggered()), SLOT(actionFilePrintPreviewTriggered()));
-    connect(actionFilePageSetup, SIGNAL(triggered()), SLOT(actionFilePageSetupTriggered()));
-    connect(actionFilePrint, SIGNAL(triggered()), SLOT(actionFilePrintTriggered()));
-#endif // QT_NO_PRINTER
-#ifndef HANDHELD
-    connect(actionSettingsToolbarsConfigure, SIGNAL(triggered()), SLOT(actionSettingsToolbarsConfigureTriggered()));
-#endif // HANDHELD
-    connect(actionSettingsPreferences, SIGNAL(triggered()), SLOT(actionSettingsPreferencesTriggered()));
-    if (actionHelpCheck4Updates != NULL)
-        connect(actionHelpCheck4Updates, SIGNAL(triggered()), SLOT(actionHelpCheck4UpdatesTriggered()));
-    connect(actionSettingsLanguageAutodetect, SIGNAL(triggered(bool)), SLOT(actionSettingsLanguageAutodetectTriggered(bool)));
-    connect(groupSettingsLanguageList, SIGNAL(triggered(QAction *)), SLOT(groupSettingsLanguageListTriggered(QAction *)));
-    connect(actionSettingsStyleSystem, SIGNAL(triggered(bool)), SLOT(actionSettingsStyleSystemTriggered(bool)));
-    connect(groupSettingsStyleList, SIGNAL(triggered(QAction*)), SLOT(groupSettingsStyleListTriggered(QAction*)));
-    connect(actionHelpOnlineSupport, SIGNAL(triggered()), SLOT(actionHelpOnlineSupportTriggered()));
-    connect(actionHelpReportBug, SIGNAL(triggered()), SLOT(actionHelpReportBugTriggered()));
-    connect(actionHelpAboutQt, SIGNAL(triggered()), qApp, SLOT(aboutQt()));
-    connect(actionHelpAbout, SIGNAL(triggered()), SLOT(actionHelpAboutTriggered()));
-
-    connect(buttonSolve, SIGNAL(clicked()), SLOT(buttonSolveClicked()));
-    connect(buttonRandom, SIGNAL(clicked()), SLOT(buttonRandomClicked()));
-    connect(buttonBackToTask, SIGNAL(clicked()), SLOT(buttonBackToTaskClicked()));
-    connect(spinCities, SIGNAL(valueChanged(int)), SLOT(spinCitiesValueChanged(int)));
-
-#ifndef HANDHELD
-    // Centering main window
-QRect rect = geometry();
-    rect.moveCenter(QApplication::desktop()->availableGeometry(this).center());
-    setGeometry(rect);
-    if (settings->value("SavePos", DEF_SAVEPOS).toBool()) {
-        // Loading of saved window state
-        settings->beginGroup("MainWindow");
-        restoreGeometry(settings->value("Geometry").toByteArray());
-        restoreState(settings->value("State").toByteArray());
-        settings->endGroup();
-    }
-#endif // HANDHELD
-
-    tspmodel = new CTSPModel(this);
-    taskView->setModel(tspmodel);
-    connect(tspmodel, SIGNAL(numCitiesChanged(int)), SLOT(numCitiesChanged(int)));
-    connect(tspmodel, SIGNAL(dataChanged(const QModelIndex &, const QModelIndex &)), SLOT(dataChanged(const QModelIndex &, const QModelIndex &)));
-    connect(tspmodel, SIGNAL(layoutChanged()), SLOT(dataChanged()));
-    if ((QCoreApplication::arguments().count() > 1) && (tspmodel->loadTask(QCoreApplication::arguments().at(1))))
-        setFileName(QCoreApplication::arguments().at(1));
-    else {
-        setFileName();
-        spinCities->setValue(settings->value("NumCities",DEF_NUM_CITIES).toInt());
-        spinCitiesValueChanged(spinCities->value());
-    }
-    setWindowModified(false);
-
-    if (actionHelpCheck4Updates != NULL) {
-        if (!settings->contains("Check4Updates/Enabled")) {
-            QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-            settings->setValue("Check4Updates/Enabled",
-                QMessageBox::question(this, QCoreApplication::applicationName(),
-                    tr("Would you like %1 to automatically check for updates every %n day(s)?", "", settings->value("Check4Updates/Interval", DEF_UPDATE_CHECK_INTERVAL).toInt()).arg(QCoreApplication::applicationName()),
-                    QMessageBox::Yes | QMessageBox::No
-                ) == QMessageBox::Yes
-            );
-            QApplication::restoreOverrideCursor();
-        }
-        if ((settings->value("Check4Updates/Enabled", DEF_CHECK_FOR_UPDATES).toBool())
-            && (QDate(qvariant_cast<QDate>(settings->value("Check4Updates/LastAttempt"))).daysTo(QDate::currentDate()) >= settings->value("Check4Updates/Interval", DEF_UPDATE_CHECK_INTERVAL).toInt())) {
-            check4Updates(true);
-        }
-    }
-}
-
-MainWindow::~MainWindow()
-{
-#ifndef QT_NO_PRINTER
-    delete printer;
-#endif
-}
-
-#ifdef Q_OS_BLACKBERRY
-void MainWindow::setWindowModified(bool modified)
-{
-    QMainWindow::setWindowModified(modified);
-    bb::ApplicationSupport app;
-    if (modified)
-        app.setClosePrompt(tr("Unsaved Changes"), tr("The task has unsaved changes. Would you really like to close the application?"));
-    else
-        app.clearClosePrompt();
-}
-#endif
-
-/* Privates **********************************************************/
-
-void MainWindow::actionFileNewTriggered()
-{
-    if (!maybeSave())
-        return;
-    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-    tspmodel->clear();
-    setFileName();
-    setWindowModified(false);
-    tabWidget->setCurrentIndex(0);
-    solutionText->clear();
-    graph = QPicture();
-    toggleSolutionActions(false);
-    QApplication::restoreOverrideCursor();
-}
-
-void MainWindow::actionFileOpenTriggered()
-{
-    if (!maybeSave())
-        return;
-
-    QStringList filters;
-#ifdef Q_OS_BLACKBERRY
-    filters << "*.tspt" << "*.zkt";
-#else
-    filters.append(tr("All Supported Formats") + " (*.tspt *.zkt)");
-    filters.append(tr("%1 Task Files").arg("TSPSG") + " (*.tspt)");
-    filters.append(tr("%1 Task Files").arg("ZKomModRd") + " (*.zkt)");
-    filters.append(tr("All Files") + " (*)");
-#endif
-
-QString file;
-    if ((fileName == tr("Untitled") + ".tspt") && settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool())
-#ifdef Q_OS_BLACKBERRY
-        file = settings->value(OS"/LastUsed/TaskLoadPath", "/accounts/1000/shared/documents").toString();
-#else
-        file = settings->value(OS"/LastUsed/TaskLoadPath").toString();
-#endif
-    else
-        file = QFileInfo(fileName).path();
-#ifdef Q_OS_BLACKBERRY
-    FilePicker fd;
-    fd.setType(FileType::Document | FileType::Other);
-    fd.setDefaultType(FileType::Document);
-    fd.setTitle(tr("Task Load"));
-    fd.setFilter(filters);
-    fd.setDirectories(QStringList(file));
-    fd.open();
-
-    QEventLoop loop;
-    connect(&fd, SIGNAL(pickerClosed()), &loop, SLOT(quit()));
-    loop.exec();
-
-    if (fd.selectedFiles().count() < 1)
-        return;
-    file = fd.selectedFiles().at(0);
-    if (!QFileInfo(file).isFile())
-        return;
-#else
-    QFileDialog::Options opts = settings->value("UseNativeDialogs", DEF_USE_NATIVE_DIALOGS).toBool() ? QFileDialog::Options() : QFileDialog::DontUseNativeDialog;
-    file = QFileDialog::getOpenFileName(this, tr("Task Load"), file, filters.join(";;"), NULL, opts);
-    if (file.isEmpty() || !QFileInfo(file).isFile())
-        return;
-#endif
-    if (settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool())
-        settings->setValue(OS"/LastUsed/TaskLoadPath", QFileInfo(file).path());
-
-    if (!tspmodel->loadTask(file))
-        return;
-    setFileName(file);
-    tabWidget->setCurrentIndex(0);
-    setWindowModified(false);
-    solutionText->clear();
-    toggleSolutionActions(false);
-}
-
-bool MainWindow::actionFileSaveTriggered()
-{
-    if ((fileName == tr("Untitled") + ".tspt") || !fileName.endsWith(".tspt", Qt::CaseInsensitive))
-        return saveTask();
-    else
-        if (tspmodel->saveTask(fileName)) {
-            setWindowModified(false);
-            return true;
-        } else
-            return false;
-}
-
-void MainWindow::actionFileSaveAsTaskTriggered()
-{
-    saveTask();
-}
-
-void MainWindow::actionFileSaveAsSolutionTriggered()
-{
-static QString selectedFile;
-    if (selectedFile.isEmpty()) {
-        if (settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool()) {
-#ifdef Q_OS_BLACKBERRY
-            selectedFile = settings->value(OS"/LastUsed/SolutionSavePath", "/accounts/1000/shared/documents").toString();
-#else
-            selectedFile = settings->value(OS"/LastUsed/SolutionSavePath").toString();
-#endif
-        }
-    } else
-        selectedFile = QFileInfo(selectedFile).path();
-    if (!selectedFile.isEmpty())
-        selectedFile.append("/");
-    if (fileName == tr("Untitled") + ".tspt") {
-#ifndef QT_NO_PRINTER
-        selectedFile += "solution.pdf";
-#else
-        selectedFile += "solution.html";
-#endif // QT_NO_PRINTER
-    } else {
-#ifndef QT_NO_PRINTER
-        selectedFile += QFileInfo(fileName).completeBaseName() + ".pdf";
-#else
-        selectedFile += QFileInfo(fileName).completeBaseName() + ".html";
-#endif // QT_NO_PRINTER
-    }
-
-QStringList filters;
-#ifdef Q_OS_BLACKBERRY
-    filters << "*.pdf" << "*.html" << "*.htm" << "*.odf";
-#else
-#ifndef QT_NO_PRINTER
-    filters.append(tr("PDF Files") + " (*.pdf)");
-#endif
-    filters.append(tr("HTML Files") + " (*.html *.htm)");
-    filters.append(tr("Web Archive Files") + " (*.mht *.mhtml)");
-    filters.append(tr("OpenDocument Files") + " (*.odt)");
-    filters.append(tr("All Files") + " (*)");
-#endif
-
-#ifdef Q_OS_BLACKBERRY
-    FilePicker fd;
-    fd.setMode(FilePickerMode::Saver);
-    fd.setType(FileType::Document | FileType::Other);
-    fd.setDefaultType(FileType::Document);
-    fd.setAllowOverwrite(true);
-    fd.setTitle(tr("Solution Save"));
-//    fd.setDirectories(QStringList(QFileInfo(selectedFile).path()));
-    fd.setDefaultSaveFileNames(QStringList(selectedFile));
-    fd.setFilter(filters);
-    fd.open();
-
-    QEventLoop loop;
-    connect(&fd, SIGNAL(pickerClosed()), &loop, SLOT(quit()));
-    loop.exec();
-
-    if (fd.selectedFiles().count() < 1)
-        return;
-    selectedFile = fd.selectedFiles().at(0);
-#else
-    QFileDialog::Options opts(settings->value("UseNativeDialogs", DEF_USE_NATIVE_DIALOGS).toBool() ? QFileDialog::Options() : QFileDialog::DontUseNativeDialog);
-    QString file = QFileDialog::getSaveFileName(this, QString(), selectedFile, filters.join(";;"), NULL, opts);
-    if (file.isEmpty())
-        return;
-    selectedFile = file;
-#endif
-    if (settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool())
-        settings->setValue(OS"/LastUsed/SolutionSavePath", QFileInfo(selectedFile).path());
-    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-#ifndef QT_NO_PRINTER
-    if (selectedFile.endsWith(".pdf", Qt::CaseInsensitive)) {
-        printer->setOutputFileName(selectedFile);
-        solutionText->document()->print(printer);
-        printer->setOutputFileName(QString());
-        QApplication::restoreOverrideCursor();
-        return;
-    }
-#endif
-    QByteArray imgdata;
-    bool mhtml = selectedFile.contains(QRegExp("\\.mht(ml)?$", Qt::CaseInsensitive));
-    bool embed = !mhtml && settings->value("Output/EmbedGraphIntoHTML", DEF_EMBED_GRAPH_INTO_HTML).toBool();
-    if (selectedFile.contains(QRegExp("\\.(html?|mht(ml)?)$", Qt::CaseInsensitive))) {
-        QFile file(selectedFile);
-        if (!file.open(QFile::WriteOnly | QFile::Text)) {
-            QApplication::restoreOverrideCursor();
-            QMessageBox::critical(this, tr("Solution Save"), tr("Unable to save the solution.\nError: %1").arg(file.errorString()));
-            return;
-        }
-
-        QString html = solutionText->document()->toHtml("UTF-8");
-        html.replace(QRegExp("font-family:([^;]*);"),
-                     "font-family:\\1, 'DejaVu Sans Mono', 'Courier New', Courier, monospace;");
-        html.replace(QRegExp("<style ([^>]*)>"), QString("<style \\1>\n"
-                                                         "body { color: %1 }\n"
-                                                         "td { border-style: solid; border-width: 1px; border-color: %2; }")
-                     .arg(settings->value("Output/Colors/Font", DEF_TEXT_COLOR).toString(),
-                          settings->value("Output/Colors/TableBorder", DEF_TABLE_COLOR).toString()));
-
-        QFileInfo fi(selectedFile);
-        QString format = settings->value("Output/GraphImageFormat", DEF_GRAPH_IMAGE_FORMAT).toString();
-#if !defined(NOSVG)
-        if (!QImageWriter::supportedImageFormats().contains(format.toLatin1()) && (format != "svg")) {
-#else // NOSVG
-        if (!QImageWriter::supportedImageFormats().contains(format.toLatin1())) {
-#endif // NOSVG
-            format = DEF_GRAPH_IMAGE_FORMAT;
-            settings->remove("Output/GraphImageFormat");
-        }
-
-        if (!graph.isNull()) {
-            imgdata = generateImage(format);
-            if (imgdata.isEmpty()) {
-                QApplication::restoreOverrideCursor();
-                return;
-            }
-            if (embed) {
-                QString fmt = format;
-                if (format == "svg")
-                    fmt.append("+xml");
-                html.replace(QRegExp("<img\\s+src=\"tspsg://graph.pic\""),
-                             QString("<img src=\"data:image/%1;base64,%2\" alt=\"%3\"")
-                             .arg(fmt, toWrappedBase64(imgdata), tr("Solution Graph")));
-            } else {
-                html.replace(QRegExp("<img\\s+src=\"tspsg://graph.pic\""),
-                             QString("<img src=\"%1\" alt=\"%2\"")
-                             .arg(fi.completeBaseName() + "." + format, tr("Solution Graph")));
-            }
-        }
-
-        // Saving solution text as HTML
-QTextStream ts(&file);
-        ts.setCodec(QTextCodec::codecForName("UTF-8"));
-        QString boundary = QString("------=multipart_boundary.%1").arg(qHash(selectedFile));
-        if (mhtml) {
-            ts << "Content-Type: multipart/related; start=<solution@tspsg.info>; boundary=\""
-               << boundary << "\"; type=\"text/html\"" << endl;
-            boundary.prepend("--");
-            ts << "MIME-Version: 1.0" << endl;
-            ts << endl;
-            ts << boundary << endl;
-            ts << "Content-Disposition: inline; filename=" << fi.completeBaseName() << ".html" << endl;
-            ts << "Content-Type: text/html; name=" << fi.completeBaseName() << ".html" << endl;
-            ts << "Content-ID: <solution@tspsg.info>" << endl;
-            ts << "Content-Location: " << fi.completeBaseName() << ".html" << endl;
-            ts << "Content-Transfer-Encoding: 8bit" << endl;
-            ts << endl;
-        }
-        ts << html << endl;
-        if (mhtml) {
-            ts << endl << boundary << endl;
-            ts << "Content-Disposition: inline; filename=" << fi.completeBaseName() << "." << format << endl;
-            ts << "Content-Type: image/" << format;
-            if (format == "svg")
-                ts << "+xml";
-            ts << "; name=" << fi.completeBaseName() << "." << format  << endl;
-            ts << "Content-Location: " << fi.completeBaseName() << "." << format << endl;
-            ts << "Content-Transfer-Encoding: Base64" << endl;
-            ts << endl;
-            ts << toWrappedBase64(imgdata) << endl;
-            ts << endl << boundary << "--" << endl;
-        }
-        file.close();
-        if (!embed && !mhtml) {
-            QFile img(fi.path() + "/" + fi.completeBaseName() + "." + format);
-            if (!img.open(QFile::WriteOnly)) {
-                QApplication::restoreOverrideCursor();
-                QMessageBox::critical(this, tr("Solution Save"), tr("Unable to save the solution graph.\nError: %1").arg(img.errorString()));
-                return;
-            }
-            if (img.write(imgdata) != imgdata.size()) {
-                QApplication::restoreOverrideCursor();
-                QMessageBox::critical(this, tr("Solution Save"), tr("Unable to save the solution graph.\nError: %1").arg(img.errorString()));
-            }
-            img.close();
-        }
-    } else {
-QTextDocumentWriter dw(selectedFile);
-        if (!selectedFile.endsWith(".odt",Qt::CaseInsensitive))
-            dw.setFormat("plaintext");
-        if (!dw.write(solutionText->document()))
-            QMessageBox::critical(this, tr("Solution Save"), tr("Unable to save the solution.\nError: %1").arg(dw.device()->errorString()));
-    }
-    QApplication::restoreOverrideCursor();
-}
-
-#ifndef QT_NO_PRINTDIALOG
-void MainWindow::actionFilePrintPreviewTriggered()
-{
-QPrintPreviewDialog ppd(printer, this);
-    connect(&ppd,SIGNAL(paintRequested(QPrinter *)),SLOT(printPreview(QPrinter *)));
-    ppd.exec();
-
-qreal l, t, r, b;
-    printer->getPageMargins(&l, &t, &r, &b, QPrinter::Millimeter);
-
-    settings->beginGroup("Printer");
-    settings->setValue("PaperSize", printer->paperSize());
-    if (printer->paperSize() == QPrinter::Custom) {
-QSizeF size(printer->paperSize(QPrinter::Millimeter));
-        settings->setValue("PaperWidth", size.width());
-        settings->setValue("PaperHeight", size.height());
-    }
-    settings->setValue("PageOrientation", printer->orientation());
-    settings->setValue("MarginLeft", l);
-    settings->setValue("MarginTop", t);
-    settings->setValue("MarginRight", r);
-    settings->setValue("MarginBottom", b);
-    settings->endGroup();
-}
-
-void MainWindow::actionFilePageSetupTriggered()
-{
-QPageSetupDialog psd(printer, this);
-    if (psd.exec() != QDialog::Accepted)
-        return;
-
-qreal l, t, r ,b;
-    printer->getPageMargins(&l, &t, &r, &b, QPrinter::Millimeter);
-
-    settings->beginGroup("Printer");
-    settings->setValue("PaperSize", printer->paperSize());
-    if (printer->paperSize() == QPrinter::Custom) {
-QSizeF size(printer->paperSize(QPrinter::Millimeter));
-        settings->setValue("PaperWidth", size.width());
-        settings->setValue("PaperHeight", size.height());
-    }
-    settings->setValue("PageOrientation", printer->orientation());
-    settings->setValue("MarginLeft", l);
-    settings->setValue("MarginTop", t);
-    settings->setValue("MarginRight", r);
-    settings->setValue("MarginBottom", b);
-    settings->endGroup();
-}
-
-void MainWindow::actionFilePrintTriggered()
-{
-QPrintDialog pd(printer,this);
-    if (pd.exec() != QDialog::Accepted)
-        return;
-    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-    solutionText->print(printer);
-    QApplication::restoreOverrideCursor();
-}
-#endif // QT_NO_PRINTDIALOG
-
-void MainWindow::actionSettingsPreferencesTriggered()
+void MainWindow::ChangeSettings()
 {
 SettingsDialog sd(this);
-#ifdef Q_OS_SYMBIAN
-    sd.setWindowState(Qt::WindowMaximized);
-#endif
-    if (sd.exec() != QDialog::Accepted)
-        return;
-    if (sd.colorChanged() || sd.fontChanged()) {
-        if (!solutionText->document()->isEmpty() && sd.colorChanged())
-            QMessageBox::information(this, tr("Settings Changed"), tr("You have changed color settings.\nThey will be applied to the next solution output."));
-        initDocStyleSheet();
-    }
-    if (sd.translucencyChanged() != 0)
-        toggleTranclucency(sd.translucencyChanged() == 1);
+	sd.exec();
 }
-
-void MainWindow::actionSettingsLanguageAutodetectTriggered(bool checked)
-{
-    if (checked) {
-        settings->remove("Language");
-        QMessageBox::information(this, tr("Language change"), tr("Language will be autodetected on the next %1 start.").arg(QCoreApplication::applicationName()));
-    } else
-        settings->setValue("Language", groupSettingsLanguageList->checkedAction()->data().toString());
-}
-
-void MainWindow::groupSettingsLanguageListTriggered(QAction *action)
-{
-#ifndef Q_WS_MAEMO_5
-    if (actionSettingsLanguageAutodetect->isChecked())
-        actionSettingsLanguageAutodetect->trigger();
-#endif
-bool untitled = (fileName == tr("Untitled") + ".tspt");
-    if (loadLanguage(action->data().toString())) {
-        QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-        settings->setValue("Language",action->data().toString());
-        retranslateUi();
-        if (untitled)
-            setFileName();
-#ifndef HANDHELD
-        if (QtWin::isCompositionEnabled() && settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool())  {
-            toggleStyle(labelVariant, true);
-            toggleStyle(labelCities, true);
-        }
-#endif
-        QApplication::restoreOverrideCursor();
-        if (!solutionText->document()->isEmpty())
-            QMessageBox::information(this, tr("Settings Changed"), tr("You have changed the application language.\nTo get current solution output in the new language\nyou need to re-run the solution process."));
-    }
-}
-
-void MainWindow::actionSettingsStyleSystemTriggered(bool checked)
-{
-    if (checked) {
-        settings->remove("Style");
-        QMessageBox::information(this, tr("Style Change"), tr("To apply the default style you need to restart %1.").arg(QCoreApplication::applicationName()));
-    } else {
-        settings->setValue("Style", groupSettingsStyleList->checkedAction()->text());
-    }
-}
-
-void MainWindow::groupSettingsStyleListTriggered(QAction *action)
-{
-QStyle *s = QStyleFactory::create(action->text());
-    if (s != NULL) {
-        QApplication::setStyle(s);
-        settings->setValue("Style", action->text());
-        actionSettingsStyleSystem->setChecked(false);
-    }
-}
-
-#ifndef HANDHELD
-void MainWindow::actionSettingsToolbarsConfigureTriggered()
-{
-QtToolBarDialog dlg(this);
-    dlg.setToolBarManager(toolBarManager);
-    dlg.exec();
-QToolButton *tb = static_cast<QToolButton *>(toolBarMain->widgetForAction(actionFileSave));
-    if (tb != NULL) {
-        tb->setMenu(menuFileSaveAs);
-        tb->setPopupMode(QToolButton::MenuButtonPopup);
-        tb->resize(tb->sizeHint());
-    }
-
-    loadToolbarList();
-}
-#endif // HANDHELD
-
-void MainWindow::actionHelpCheck4UpdatesTriggered()
-{
-    if (!hasUpdater()) {
-        QMessageBox::warning(this, tr("Unsupported Feature"), tr("Sorry, but this feature is not supported on your\nplatform or support for it was not installed."));
-        return;
-    }
-
-    check4Updates();
-}
-
-void MainWindow::actionHelpAboutTriggered()
-{
-    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-
-QString title;
-    title += QString("<b>%1</b><br>").arg(QCoreApplication::applicationName());
-    title += QString("%1: <b>%2</b><br>").arg(tr("Version"), QCoreApplication::applicationVersion());
-#ifndef HANDHELD
-    title += QString("<b>&copy; 2007-%1 <a href=\"http://%2/\">%3</a></b><br>").arg(QDate::currentDate().toString("yyyy"), QCoreApplication::organizationDomain(), QCoreApplication::organizationName());
-#endif // HANDHELD
-    title += QString("<b><a href=\"http://tspsg.info/\">http://tspsg.info/</a></b>");
-
-QString about;
-    about += QString("%1: <b>%2</b><br>").arg(tr("Target OS (ARCH)"), PLATFROM);
-    about += QString("%1:<br>").arg(tr("Qt library"));
-    about += QString("&nbsp;&nbsp;&nbsp;&nbsp;%1: <b>%2</b><br>").arg(tr("Build time"), QT_VERSION_STR);
-    about += QString("&nbsp;&nbsp;&nbsp;&nbsp;%1: <b>%2</b><br>").arg(tr("Runtime"), qVersion());
-    about.append(QString("%1: <b>%2x%3</b><br>").arg(tr("Logical screen DPI")).arg(logicalDpiX()).arg(logicalDpiY()));
-QString tag;
-#ifdef REVISION_STR
-    tag = tr(" from git commit <b>%1</b>").arg(QString(REVISION_STR).left(10));
-#endif
-    about += tr("Build <b>%1</b>, built on <b>%2</b> at <b>%3</b>%5 with <b>%4</b> compiler.").arg(BUILD_NUMBER).arg(__DATE__).arg(__TIME__).arg(COMPILER).arg(tag) + "<br>";
-    about += QString("%1: <b>%2</b><br>").arg(tr("Algorithm"), TSPSolver::CTSPSolver::getVersionId());
-    about += "<br>";
-    about += QString("<a href=\"https://www.transifex.com/projects/p/tspsg/\">%1</a><br>")
-            .arg(tr("Tanslate %1 into your language").arg(QCoreApplication::applicationName()));
-    about += "<br>";
-    about += tr("This program is free software: you can redistribute it and/or modify<br>\n"
-        "it under the terms of the GNU General Public License as published by<br>\n"
-        "the Free Software Foundation, either version 2 of the License, or<br>\n"
-        "(at your option) any later version.<br>\n"
-        "<br>\n"
-        "This program is distributed in the hope that it will be useful,<br>\n"
-        "but WITHOUT ANY WARRANTY; without even the implied warranty of<br>\n"
-        "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the<br>\n"
-        "GNU General Public License for more details.<br>\n"
-        "<br>\n"
-        "You should have received a copy of the GNU General Public License<br>\n"
-        "along with TSPSG.  If not, see <a href=\"http://www.gnu.org/licenses/\">www.gnu.org/licenses/</a>.");
-
-QString credits;
-    credits += tr("%1 was created using <b>Qt</b> framework licensed "
-        "under the terms of <i>GNU Lesser General Public License</i>,<br>\n"
-        "see <a href=\"http://qt-project.org/\">qt-project.org</a><br>\n"
-        "<br>\n"
-        "Most icons used in %1 are part of <b>Oxygen&nbsp;Icons</b> project "
-        "licensed according to the <i>GNU Lesser General Public License</i>,<br>\n"
-        "see <a href=\"http://www.oxygen-icons.org/\">www.oxygen-icons.org</a><br>\n"
-        "<br>\n"
-        "Country flag icons used in %1 are part of <b>Flag Icons</b> by "
-        "<b>GoSquared</b> licensed under the terms of <i>MIT License</i>,<br>\n"
-        "see <a href=\"https://www.gosquared.com/\">www.gosquared.com</a><br>\n"
-        "<br>\n"
-        "%1 comes with the default \"embedded\" font <b>DejaVu&nbsp;LGC&nbsp;Sans&nbsp;"
-        "Mono</b> from the <b>DejaVu fonts</b> licensed under <i>Free license</i></a>,<br>\n"
-        "see <a href=\"http://dejavu-fonts.org/\">dejavu-fonts.org</a>")
-            .arg("TSPSG");
-
-QFile f(":/files/COPYING");
-    f.open(QIODevice::ReadOnly);
-
-QString translation = QCoreApplication::translate("--------", "AUTHORS %1", "Please, provide translator credits here. %1 will be replaced with VERSION");
-    if ((translation != "AUTHORS %1") && (translation.contains("%1"))) {
-QString about = QCoreApplication::translate("--------", "VERSION", "Please, provide your translation version here.");
-        if (about != "VERSION")
-            translation = translation.arg(about);
-    }
-
-QDialog *dlg = new QDialog(this);
-QLabel *lblIcon = new QLabel(dlg),
-    *lblTitle = new QLabel(dlg);
-#ifdef HANDHELD
-QLabel *lblSubTitle = new QLabel(QString("<b>&copy; 2007-%1 <a href=\"http://%2/\">%3</a></b>").arg(QDate::currentDate().toString("yyyy"), QCoreApplication::organizationDomain(), QCoreApplication::organizationName()), dlg);
-#endif // HANDHELD
-QTabWidget *tabs = new QTabWidget(dlg);
-QTextBrowser *txtAbout = new QTextBrowser(dlg);
-QTextBrowser *txtLicense = new QTextBrowser(dlg);
-QTextBrowser *txtCredits = new QTextBrowser(dlg);
-QVBoxLayout *vb = new QVBoxLayout();
-QHBoxLayout *hb1 = new QHBoxLayout(),
-    *hb2 = new QHBoxLayout();
-QDialogButtonBox *bb = new QDialogButtonBox(QDialogButtonBox::Ok, Qt::Horizontal, dlg);
-
-    lblTitle->setOpenExternalLinks(true);
-    lblTitle->setText(title);
-    lblTitle->setAlignment(Qt::AlignTop);
-    lblTitle->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred);
-#ifndef HANDHELD
-    lblTitle->setStyleSheet(QString("QLabel {background-color: %1; border-color: %2; border-width: 1px; border-style: solid; border-radius: 4px; padding: 1px;}").arg(palette().alternateBase().color().name(), palette().shadow().color().name()));
-#endif // HANDHELD
-
-    lblIcon->setPixmap(QPixmap(":/images/tspsg.png").scaledToHeight(lblTitle->sizeHint().height(), Qt::SmoothTransformation));
-    lblIcon->setAlignment(Qt::AlignVCenter);
-#ifndef HANDHELD
-    lblIcon->setStyleSheet(QString("QLabel {background-color: white; border-color: %1; border-width: 1px; border-style: solid; border-radius: 4px; padding: 1px;}").arg(palette().windowText().color().name()));
-#endif // HANDHELD
-
-    hb1->addWidget(lblIcon);
-    hb1->addWidget(lblTitle);
-
-    txtAbout->setWordWrapMode(QTextOption::NoWrap);
-    txtAbout->setOpenExternalLinks(true);
-    txtAbout->setHtml(about);
-    txtAbout->moveCursor(QTextCursor::Start);
-    txtAbout->setFrameShape(QFrame::NoFrame);
-#ifdef Q_OS_BLACKBERRY
-    txtAbout->setAttribute(Qt::WA_InputMethodEnabled, false);
-#endif
-
-//	txtCredits->setWordWrapMode(QTextOption::NoWrap);
-    txtCredits->setOpenExternalLinks(true);
-    txtCredits->setHtml(credits);
-    txtCredits->moveCursor(QTextCursor::Start);
-    txtCredits->setFrameShape(QFrame::NoFrame);
-#ifdef Q_OS_BLACKBERRY
-    txtCredits->setAttribute(Qt::WA_InputMethodEnabled, false);
-#endif
-
-    txtLicense->setWordWrapMode(QTextOption::NoWrap);
-    txtLicense->setOpenExternalLinks(true);
-    txtLicense->setText(f.readAll());
-    txtLicense->moveCursor(QTextCursor::Start);
-    txtLicense->setFrameShape(QFrame::NoFrame);
-#ifdef Q_OS_BLACKBERRY
-    txtLicense->setAttribute(Qt::WA_InputMethodEnabled, false);
-#endif
-
-    bb->button(QDialogButtonBox::Ok)->setCursor(QCursor(Qt::PointingHandCursor));
-    bb->button(QDialogButtonBox::Ok)->setIcon(GET_ICON("dialog-ok"));
-
-    hb2->addWidget(bb);
-
-#ifdef Q_OS_WINCE_WM
-    vb->setMargin(3);
-#endif // Q_OS_WINCE_WM
-    vb->addLayout(hb1);
-#ifdef HANDHELD
-    vb->addWidget(lblSubTitle);
-#endif // HANDHELD
-
-    tabs->addTab(txtAbout, tr("About"));
-    tabs->addTab(txtLicense, tr("License"));
-    tabs->addTab(txtCredits, tr("Credits"));
-    if (translation != "AUTHORS %1") {
-QTextBrowser *txtTranslation = new QTextBrowser(dlg);
-//		txtTranslation->setWordWrapMode(QTextOption::NoWrap);
-        txtTranslation->setOpenExternalLinks(true);
-        txtTranslation->setText(translation);
-        txtTranslation->moveCursor(QTextCursor::Start);
-        txtTranslation->setFrameShape(QFrame::NoFrame);
-
-        tabs->addTab(txtTranslation, tr("Translation"));
-    }
-#ifndef HANDHELD
-    tabs->setStyleSheet(QString("QTabWidget::pane {background-color: %1; border-color: %3; border-width: 1px; border-style: solid; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; padding: 1px;} QTabBar::tab {background-color: %2; border-color: %3; border-width: 1px; border-style: solid; border-bottom: none; border-top-left-radius: 4px; border-top-right-radius: 4px; padding: 2px 6px;} QTabBar::tab:selected {background-color: %4;} QTabBar::tab:!selected {margin-top: 1px;}").arg(palette().base().color().name(), palette().button().color().name(), palette().shadow().color().name(), palette().light().color().name()));
-#endif // HANDHELD
-
-    vb->addWidget(tabs);
-    vb->addLayout(hb2);
-
-    dlg->setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowCloseButtonHint);
-    dlg->setWindowTitle(tr("About %1").arg(QCoreApplication::applicationName()));
-    dlg->setWindowIcon(GET_ICON("help-about"));
-
-    dlg->setLayout(vb);
-
-    connect(bb, SIGNAL(accepted()), dlg, SLOT(accept()));
-
-#ifndef HANDHELD
-    // Adding some eyecandy
-    if (QtWin::isCompositionEnabled())  {
-        QtWin::enableBlurBehindWindow(dlg, true);
-    }
-#endif // HANDHELD
-
-#ifndef HANDHELD
-    dlg->resize(450, 350);
-#elif defined(Q_OS_SYMBIAN) || defined(Q_OS_BLACKBERRY)
-    dlg->setWindowState(Qt::WindowMaximized);
-#endif
-    QApplication::restoreOverrideCursor();
-
-    dlg->exec();
-
-    delete dlg;
-}
-
-void MainWindow::buttonBackToTaskClicked()
-{
-    tabWidget->setCurrentIndex(0);
-}
-
-void MainWindow::buttonRandomClicked()
-{
-    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-    tspmodel->randomize();
-    QApplication::restoreOverrideCursor();
-}
-
-void MainWindow::buttonSolveClicked()
-{
-    TSPSolver::TMatrix matrix;
-    QList<double> row;
-    int n = spinCities->value();
-    bool ok;
-    for (int r = 0; r < n; r++) {
-        row.clear();
-        for (int c = 0; c < n; c++) {
-            row.append(tspmodel->index(r,c).data(Qt::UserRole).toDouble(&ok));
-            if (!ok) {
-                QMessageBox::critical(this, tr("Data error"), tr("Error in cell [Row %1; Column %2]: Invalid data format.").arg(r + 1).arg(c + 1));
-                return;
-            }
-        }
-        matrix.append(row);
-    }
-
-QProgressDialog pd(this);
-QProgressBar *pb = new QProgressBar(&pd);
-    pb->setAlignment(Qt::AlignCenter);
-    pb->setFormat(tr("%v of %1 parts found").arg(n));
-    pd.setBar(pb);
-QPushButton *cancel = new QPushButton(&pd);
-    cancel->setIcon(GET_ICON("dialog-cancel"));
-    cancel->setText(QCoreApplication::translate("QDialogButtonBox", "Cancel", "No need to translate this. The translation will be taken from Qt translation files."));
-    pd.setCancelButton(cancel);
-    pd.setMaximum(n);
-    pd.setAutoClose(false);
-    pd.setAutoReset(false);
-    pd.setLabelText(tr("Calculating optimal route..."));
-    pd.setWindowTitle(tr("Solution Progress"));
-    pd.setWindowModality(Qt::ApplicationModal);
-    pd.setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint);
-    pd.show();
-
-#ifdef Q_OS_WIN32
-HRESULT hr = CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER, IID_ITaskbarList3, (LPVOID*)&tl);
-    if (SUCCEEDED(hr)) {
-        hr = tl->HrInit();
-        if (FAILED(hr)) {
-            tl->Release();
-            tl = NULL;
-        } else {
-            tl->SetProgressValue(HWND(winId()), 0, n * 2);
-        }
-    }
-#endif
-
-    TSPSolver::CTSPSolver solver;
-    solver.setCleanupOnCancel(false);
-    connect(&solver, SIGNAL(routePartFound(int)), &pd, SLOT(setValue(int)));
-    connect(&pd, SIGNAL(canceled()), &solver, SLOT(cancel()));
-#ifdef Q_OS_WIN32
-    if (tl != NULL)
-        connect(&solver, SIGNAL(routePartFound(int)), SLOT(solverRoutePartFound(int)));
-#endif
-    TSPSolver::SStep *root = solver.solve(n, matrix);
-#ifdef Q_OS_WIN32
-    if (tl != NULL)
-        disconnect(&solver, SIGNAL(routePartFound(int)), this, SLOT(solverRoutePartFound(int)));
-#endif
-    disconnect(&solver, SIGNAL(routePartFound(int)), &pd, SLOT(setValue(int)));
-    disconnect(&pd, SIGNAL(canceled()), &solver, SLOT(cancel()));
-    if (!root) {
-        pd.reset();
-        if (!solver.wasCanceled()) {
-#ifdef Q_OS_WIN32
-            if (tl != NULL) {
-                tl->SetProgressState(HWND(winId()), TBPF_ERROR);
-            }
-#endif
-            QApplication::alert(this);
-            QMessageBox::warning(this, tr("Solution Result"), tr("Unable to find a solution.\nMaybe, this task has no solution."));
-        }
-        pd.setLabelText(tr("Memory cleanup..."));
-        pd.setMaximum(0);
-        pd.setCancelButton(NULL);
-        pd.show();
-#ifdef Q_OS_WIN32
-        if (tl != NULL)
-            tl->SetProgressState(HWND(winId()), TBPF_INDETERMINATE);
-#endif
-        QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
-
-#ifndef QT_NO_CONCURRENT
-        QFuture<void> f = QtConcurrent::run(&solver, &TSPSolver::CTSPSolver::cleanup, false);
-        while (!f.isFinished()) {
-            QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
-        }
-#else
-        solver.cleanup(true);
-#endif
-        pd.reset();
-#ifdef Q_OS_WIN32
-        if (tl != NULL) {
-            tl->SetProgressState(HWND(winId()), TBPF_NOPROGRESS);
-            tl->Release();
-            tl = NULL;
-        }
-#endif
-        return;
-    }
-    pb->setFormat(tr("Generating header"));
-    pd.setLabelText(tr("Generating solution output..."));
-    pd.setMaximum(solver.getTotalSteps() + 1);
-    pd.setValue(0);
-
-#ifdef Q_OS_WIN32
-    if (tl != NULL)
-        tl->SetProgressValue(HWND(winId()), spinCities->value(), spinCities->value() + solver.getTotalSteps() + 1);
-#endif
-
-    solutionText->clear();
-    solutionText->setDocumentTitle(tr("Solution of Variant #%1 Task").arg(spinVariant->value()));
-
-QPainter pic;
-bool dograph = settings->value("Output/GenerateGraph", DEF_GENERATE_GRAPH).toBool();
-    if (dograph) {
-        pic.begin(&graph);
-        pic.setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);
-QFont font = qvariant_cast<QFont>(settings->value("Output/Font", QFont(DEF_FONT_FACE)));
-        font.setStyleHint(QFont::TypeWriter);
-        // Font size in pixels = graph node radius / 2.75.
-        // See MainWindow::drawNode() for graph node radius calcualtion description.
-#ifndef Q_OS_SYMBIAN
-        font.setPixelSize(logicalDpiX() * (settings->value("Output/GraphWidth", DEF_GRAPH_WIDTH).toReal() / CM_IN_INCH) / 4.5 / 2.75);
-#else
-        // Also, see again MainWindow::drawNode() for why is additional 1.3 divider added in Symbian.
-        font.setPixelSize(logicalDpiX() * (settings->value("Output/GraphWidth", DEF_GRAPH_WIDTH).toReal() / CM_IN_INCH) / 4.5 / 2.75 / 1.3);
-#endif
-        if (settings->value("Output/HQGraph", DEF_HQ_GRAPH).toBool()) {
-            font.setWeight(QFont::DemiBold);
-            font.setPixelSize(font.pixelSize() * HQ_FACTOR);
-        }
-        pic.setFont(font);
-        pic.setBrush(QBrush(QColor(Qt::white)));
-        if (settings->value("Output/HQGraph", DEF_HQ_GRAPH).toBool()) {
-QPen pen = pic.pen();
-            pen.setWidth(HQ_FACTOR);
-            pic.setPen(pen);
-        }
-        pic.setBackgroundMode(Qt::OpaqueMode);
-    } else {
-        graph = QPicture();
-    }
-
-QTextDocument *doc = solutionText->document();
-QTextCursor cur(doc);
-
-    cur.beginEditBlock();
-    cur.setBlockFormat(fmt_paragraph);
-    cur.insertText(tr("Variant #%1 Task").arg(spinVariant->value()), fmt_default);
-    cur.insertBlock(fmt_paragraph);
-    cur.insertText(tr("Task:"), fmt_default);
-    outputMatrix(cur, matrix);
-    if (dograph) {
-#ifdef _T_T_L_
-        _b_ _i_ _z_ _a_ _r_ _r_ _e_
-#endif
-        drawNode(pic, 0);
-    }
-    cur.insertHtml("<hr>");
-    cur.insertBlock(fmt_paragraph);
-    int imgpos = cur.position();
-    cur.insertText(tr("Variant #%1 Solution").arg(spinVariant->value()), fmt_default);
-    cur.endEditBlock();
-
-    TSPSolver::SStep *step = root;
-    int c = n = 1;
-    pb->setFormat(tr("Generating step %v"));
-    while ((step->next != TSPSolver::SStep::NoNextStep) && (c < spinCities->value())) {
-        if (pd.wasCanceled()) {
-            pd.setLabelText(tr("Memory cleanup..."));
-            pd.setMaximum(0);
-            pd.setCancelButton(NULL);
-            pd.show();
-            QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
-#ifdef Q_OS_WIN32
-            if (tl != NULL)
-                tl->SetProgressState(HWND(winId()), TBPF_INDETERMINATE);
-#endif
-#ifndef QT_NO_CONCURRENT
-            QFuture<void> f = QtConcurrent::run(&solver, &TSPSolver::CTSPSolver::cleanup, false);
-            while (!f.isFinished()) {
-                QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
-            }
-#else
-            solver.cleanup(true);
-#endif
-            solutionText->clear();
-            toggleSolutionActions(false);
-#ifdef Q_OS_WIN32
-            if (tl != NULL) {
-                tl->SetProgressState(HWND(winId()), TBPF_NOPROGRESS);
-                tl->Release();
-                tl = NULL;
-            }
-#endif
-            return;
-        }
-        pd.setValue(n);
-#ifdef Q_OS_WIN32
-        if (tl != NULL)
-            tl->SetProgressValue(HWND(winId()), spinCities->value() + n, spinCities->value() + solver.getTotalSteps() + 1);
-#endif
-
-        cur.beginEditBlock();
-        cur.insertBlock(fmt_paragraph);
-        cur.insertText(tr("Step #%1").arg(n), fmt_default);
-        if (settings->value("Output/ShowMatrix", DEF_SHOW_MATRIX).toBool() && (!settings->value("Output/UseShowMatrixLimit", DEF_USE_SHOW_MATRIX_LIMIT).toBool() || (settings->value("Output/UseShowMatrixLimit", DEF_USE_SHOW_MATRIX_LIMIT).toBool() && (spinCities->value() <= settings->value("Output/ShowMatrixLimit", DEF_SHOW_MATRIX_LIMIT).toInt())))) {
-            outputMatrix(cur, *step);
-        }
-        if (step->alts.empty())
-            cur.insertBlock(fmt_lastparagraph);
-        else
-            cur.insertBlock(fmt_paragraph);
-        cur.insertText(tr("Selected route %1 %2 part.").arg((step->next == TSPSolver::SStep::RightBranch) ? tr("with") : tr("without")).arg(tr("(%1;%2)").arg(step->candidate.nRow + 1).arg(step->candidate.nCol + 1)), fmt_default);
-        if (!step->alts.empty()) {
-            TSPSolver::SStep::SCandidate cand;
-            QString alts;
-            foreach(cand, step->alts) {
-                if (!alts.isEmpty())
-                    alts += ", ";
-                alts += tr("(%1;%2)").arg(cand.nRow + 1).arg(cand.nCol + 1);
-            }
-            cur.insertBlock(fmt_lastparagraph);
-            cur.insertText(tr("%n alternate candidate(s) for branching: %1.", "", step->alts.count()).arg(alts), fmt_altlist);
-        }
-        cur.endEditBlock();
-
-        if (dograph) {
-            if (step->prNode != NULL)
-                drawNode(pic, n, false, step->prNode);
-            if (step->plNode != NULL)
-                drawNode(pic, n, true, step->plNode);
-        }
-        n++;
-
-        if (step->next == TSPSolver::SStep::RightBranch) {
-            c++;
-            step = step->prNode;
-        } else if (step->next == TSPSolver::SStep::LeftBranch) {
-            step = step->plNode;
-        } else
-            break;
-    }
-    pb->setFormat(tr("Generating footer"));
-    pd.setValue(n);
-#ifdef Q_OS_WIN32
-    if (tl != NULL)
-        tl->SetProgressValue(HWND(winId()), spinCities->value() + n, spinCities->value() + solver.getTotalSteps() + 1);
-#endif
-
-    cur.beginEditBlock();
-    cur.insertBlock(fmt_paragraph);
-    if (solver.isOptimal())
-        cur.insertText(tr("Optimal path:"), fmt_default);
-    else
-        cur.insertText(tr("Resulting path:"), fmt_default);
-
-    cur.insertBlock(fmt_paragraph);
-    cur.insertText("  " + solver.getSortedPath(tr("City %1")));
-
-    if (solver.isOptimal())
-        cur.insertBlock(fmt_paragraph);
-    else
-        cur.insertBlock(fmt_lastparagraph);
-    if (isInteger(step->price))
-        cur.insertHtml("<p>" + tr("The price is <b>%n</b> unit(s).", "", qRound(step->price)) + "</p>");
-    else
-        cur.insertHtml("<p>" + tr("The price is <b>%1</b> units.").arg(step->price, 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()) + "</p>");
-    if (!solver.isOptimal()) {
-        cur.insertBlock(fmt_paragraph);
-        cur.insertHtml("<p>" + tr("<b>WARNING!!!</b><br>This result is a record, but it may not be optimal.<br>Iterations need to be continued to check whether this result is optimal or get an optimal one.") + "</p>");
-    }
-    cur.endEditBlock();
-
-    if (dograph) {
-        pic.end();
-
-        QImage i(graph.width() + 2, graph.height() + 2, QImage::Format_ARGB32);
-        i.fill(QColor(255, 255, 255, 0).rgba());
-        pic.begin(&i);
-        pic.drawPicture(1, 1, graph);
-        pic.end();
-        doc->addResource(QTextDocument::ImageResource, QUrl("tspsg://graph.pic"), i);
-
-QTextImageFormat img;
-        img.setName("tspsg://graph.pic");
-        if (settings->value("Output/HQGraph", DEF_HQ_GRAPH).toBool()) {
-            img.setWidth(i.width() / HQ_FACTOR);
-            img.setHeight(i.height() / HQ_FACTOR);
-        } else {
-            img.setWidth(i.width());
-            img.setHeight(i.height());
-        }
-
-        cur.setPosition(imgpos);
-        cur.insertImage(img, QTextFrameFormat::FloatRight);
-    }
-
-    if (settings->value("Output/ScrollToEnd", DEF_SCROLL_TO_END).toBool()) {
-        // Scrolling to the end of the text.
-        solutionText->moveCursor(QTextCursor::End);
-    } else
-        solutionText->moveCursor(QTextCursor::Start);
-
-    pd.setLabelText(tr("Memory cleanup..."));
-    pd.setMaximum(0);
-    pd.setCancelButton(NULL);
-    QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
-#ifdef Q_OS_WIN32
-    if (tl != NULL)
-        tl->SetProgressState(HWND(winId()), TBPF_INDETERMINATE);
-#endif
-#ifndef QT_NO_CONCURRENT
-    QFuture<void> f = QtConcurrent::run(&solver, &TSPSolver::CTSPSolver::cleanup, false);
-    while (!f.isFinished()) {
-        QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
-    }
-#else
-    solver.cleanup(true);
-#endif
-    toggleSolutionActions();
-    tabWidget->setCurrentIndex(1);
-#ifdef Q_OS_WIN32
-    if (tl != NULL) {
-        tl->SetProgressState(HWND(winId()), TBPF_NOPROGRESS);
-        tl->Release();
-        tl = NULL;
-    }
-#endif
-
-    pd.reset();
-    QApplication::alert(this, 3000);
-}
-
-void MainWindow::dataChanged()
-{
-    setWindowModified(true);
-}
-
-void MainWindow::dataChanged(const QModelIndex &tl, const QModelIndex &br)
-{
-    setWindowModified(true);
-    if (settings->value("Autosize", DEF_AUTOSIZE).toBool()) {
-        for (int k = tl.row(); k <= br.row(); k++)
-            taskView->resizeRowToContents(k);
-        for (int k = tl.column(); k <= br.column(); k++)
-            taskView->resizeColumnToContents(k);
-    }
-}
-
-#ifdef Q_OS_WINCE_WM
-void MainWindow::changeEvent(QEvent *ev)
-{
-    if ((ev->type() == QEvent::ActivationChange) && isActiveWindow())
-        desktopResized(0);
-
-    QWidget::changeEvent(ev);
-}
-
-void MainWindow::desktopResized(int screen)
-{
-    if ((screen != 0) || !isActiveWindow())
-        return;
-
-QRect availableGeometry = QApplication::desktop()->availableGeometry(0);
-    if (currentGeometry != availableGeometry) {
-        QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-        /*!
-         * \hack HACK: This hack checks whether \link QDesktopWidget::availableGeometry() availableGeometry()\endlink's \c top + \c hegiht = \link QDesktopWidget::screenGeometry() screenGeometry()\endlink's \c height.
-         *  If \c true, the window gets maximized. If we used \c setGeometry() in this case, the bottom of the
-         *  window would end up being behind the soft buttons. Is this a bug in Qt or Windows Mobile?
-         */
-        if ((availableGeometry.top() + availableGeometry.height()) == QApplication::desktop()->screenGeometry().height()) {
-            setWindowState(windowState() | Qt::WindowMaximized);
-        } else {
-            if (windowState() & Qt::WindowMaximized)
-                setWindowState(windowState() ^ Qt::WindowMaximized);
-            setGeometry(availableGeometry);
-        }
-        currentGeometry = availableGeometry;
-        QApplication::restoreOverrideCursor();
-    }
-}
-#endif // Q_OS_WINCE_WM
-
-void MainWindow::numCitiesChanged(int nCities)
-{
-    blockSignals(true);
-    spinCities->setValue(nCities);
-    blockSignals(false);
-}
-
-#ifndef QT_NO_PRINTER
-void MainWindow::printPreview(QPrinter *printer)
-{
-    solutionText->print(printer);
-}
-#endif // QT_NO_PRINTER
-
-#ifdef Q_OS_WIN32
-void MainWindow::solverRoutePartFound(int n)
-{
-    tl->SetProgressValue(HWND(winId()), n, spinCities->value() * 2);
-}
-#endif // Q_OS_WIN32
-
-void MainWindow::spinCitiesValueChanged(int n)
-{
-    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-int count = tspmodel->numCities();
-    tspmodel->setNumCities(n);
-    if ((n > count) && settings->value("Autosize", DEF_AUTOSIZE).toBool())
-        for (int k = count; k < n; k++) {
-            taskView->resizeColumnToContents(k);
-            taskView->resizeRowToContents(k);
-        }
-    QApplication::restoreOverrideCursor();
-}
-
-void MainWindow::check4Updates(bool silent)
-{
-#ifdef Q_OS_WIN32
-    if (silent)
-        QProcess::startDetached("updater/Update.exe -name=\"TSPSG: TSP Solver and Generator\" -check=\"freeupdate\" -silentcheck");
-    else {
-        QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-        QProcess::execute("updater/Update.exe -name=\"TSPSG: TSP Solver and Generator\" -check=\"freeupdate\"");
-        QApplication::restoreOverrideCursor();
-    }
-#else
-    Q_UNUSED(silent)
-#endif
-    settings->setValue("Check4Updates/LastAttempt", QDate::currentDate().toString(Qt::ISODate));
-}
-
-void MainWindow::closeEvent(QCloseEvent *ev)
-{
-    if (!maybeSave()) {
-        ev->ignore();
-        return;
-    }
-    if (!settings->value("SettingsReset", false).toBool()) {
-        settings->setValue("NumCities", spinCities->value());
-
-        // Saving Main Window state
-#ifndef HANDHELD
-        if (settings->value("SavePos", DEF_SAVEPOS).toBool()) {
-            settings->beginGroup("MainWindow");
-            settings->setValue("Geometry", saveGeometry());
-            settings->setValue("State", saveState());
-            settings->setValue("Toolbars", toolBarManager->saveState());
-            settings->endGroup();
-        }
-#else
-        settings->setValue("MainWindow/ToolbarVisible", toolBarMain->isVisible());
-#endif // HANDHELD
-    } else {
-        settings->remove("SettingsReset");
-    }
-
-    QMainWindow::closeEvent(ev);
-}
-
-void MainWindow::dragEnterEvent(QDragEnterEvent *ev)
-{
-    if (ev->mimeData()->hasUrls() && (ev->mimeData()->urls().count() == 1)) {
-QFileInfo fi(ev->mimeData()->urls().first().toLocalFile());
-        if ((fi.suffix() == "tspt") || (fi.suffix() == "zkt"))
-            ev->acceptProposedAction();
-    }
-}
-
-void MainWindow::drawNode(QPainter &pic, int nstep, bool left, TSPSolver::SStep *step)
-{
-qreal r; // Radius of graph node
-    // We calculate r from the full graph width in centimeters:
-    //   r = width in pixels / 4.5.
-    //   width in pixels = DPI * width in inches.
-    //   width in inches = width in cm / cm in inch.
-    r = logicalDpiX() * (settings->value("Output/GraphWidth", DEF_GRAPH_WIDTH).toReal() / CM_IN_INCH) / 4.5;
-    if (settings->value("Output/HQGraph", DEF_HQ_GRAPH).toBool())
-        r *= HQ_FACTOR;
-#ifdef Q_OS_SYMBIAN
-    /*! \hack HACK: Solution graph on Symbian is visually larger than on
-     *   Windows Mobile. This coefficient makes it about the same size.
-     */
-    r /= 1.3;
-#endif
-
-qreal x, y;
-    if (step != NULL)
-        x = left ? r : r * 3.5;
-    else
-        x = r * 2.25;
-    y = r * (3 * nstep + 1);
-
-#ifdef _T_T_L_
-    if (nstep == -481124) {
-        _t_t_l_(pic, r, x);
-        return;
-    }
-#endif
-
-    pic.drawEllipse(QPointF(x, y), r, r);
-
-    if (step != NULL) {
-QFont font;
-        if (left) {
-            font = pic.font();
-            font.setStrikeOut(true);
-            pic.setFont(font);
-        }
-        pic.drawText(QRectF(x - r, y - r, r * 2, r * 2), Qt::AlignCenter, tr("(%1;%2)").arg(step->pNode->candidate.nRow + 1).arg(step->pNode->candidate.nCol + 1) + "\n");
-        if (left) {
-            font.setStrikeOut(false);
-            pic.setFont(font);
-        }
-        if (step->price != INFINITY) {
-            pic.drawText(QRectF(x - r, y - r, r * 2, r * 2), Qt::AlignCenter, isInteger(step->price) ? QString("\n%1").arg(step->price) : QString("\n%1").arg(step->price, 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()));
-        } else {
-            pic.drawText(QRectF(x - r, y - r, r * 2, r * 2), Qt::AlignCenter, "\n" INFSTR);
-        }
-    } else {
-        pic.drawText(QRectF(x - r, y - r, r * 2, r * 2), Qt::AlignCenter, tr("Root"));
-    }
-
-    if (nstep == 1) {
-        pic.drawLine(QPointF(x, y - r), QPointF(r * 2.25, y - 2 * r));
-    } else if (nstep > 1) {
-        pic.drawLine(QPointF(x, y - r), QPointF((step->pNode->pNode->next == TSPSolver::SStep::RightBranch) ? r * 3.5 : r, y - 2 * r));
-    }
-
-}
-
-void MainWindow::dropEvent(QDropEvent *ev)
-{
-    if (maybeSave() && tspmodel->loadTask(ev->mimeData()->urls().first().toLocalFile())) {
-        setFileName(ev->mimeData()->urls().first().toLocalFile());
-        tabWidget->setCurrentIndex(0);
-        setWindowModified(false);
-        solutionText->clear();
-        toggleSolutionActions(false);
-
-        ev->setDropAction(Qt::CopyAction);
-        ev->accept();
-    }
-}
-
-QByteArray MainWindow::generateImage(const QString &format)
-{
-    if (graph.isNull())
-        return QByteArray();
-
-    QByteArray data;
-    QBuffer buf(&data);
-    // Saving solution graph in SVG or supported raster format (depending on settings and SVG support)
-#if !defined(NOSVG)
-    if (format == "svg") {
-        QSvgGenerator svg;
-        svg.setSize(QSize(graph.width() + 2, graph.height() + 2));
-        svg.setResolution(graph.logicalDpiX());
-        svg.setOutputDevice(&buf);
-        svg.setTitle(tr("Solution Graph"));
-        svg.setDescription(tr("Generated with %1").arg(QCoreApplication::applicationName()));
-        QPainter p;
-        p.begin(&svg);
-        p.drawPicture(1, 1, graph);
-        p.end();
-    } else {
-#endif // NOSVG
-        QImage i(graph.width() + 2, graph.height() + 2, QImage::Format_ARGB32);
-        i.fill(0x00FFFFFF);
-        QPainter p;
-        p.begin(&i);
-        p.drawPicture(1, 1, graph);
-        p.end();
-        QImageWriter pic;
-        pic.setDevice(&buf);
-        pic.setFormat(format.toLatin1());
-        if (pic.supportsOption(QImageIOHandler::Description)) {
-            pic.setText("Title", "Solution Graph");
-            pic.setText("Software", QCoreApplication::applicationName());
-        }
-        if (format == "png")
-            pic.setQuality(5);
-        else if (format == "jpeg")
-            pic.setQuality(80);
-        if (!pic.write(i)) {
-            QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-            QMessageBox::critical(this, tr("Solution Save"), tr("Unable to save the solution graph.\nError: %1").arg(pic.errorString()));
-            QApplication::restoreOverrideCursor();
-            return QByteArray();
-        }
-#if !defined(NOSVG)
-    }
-#endif // NOSVG
-    return data;
-}
-
-void MainWindow::initDocStyleSheet()
-{
-    solutionText->document()->setDefaultFont(qvariant_cast<QFont>(settings->value("Output/Font", QFont(DEF_FONT_FACE, DEF_FONT_SIZE))));
-
-    fmt_paragraph.setTopMargin(5);
-    fmt_paragraph.setRightMargin(10);
-    fmt_paragraph.setBottomMargin(0);
-    fmt_paragraph.setLeftMargin(10);
-
-    fmt_lastparagraph.setTopMargin(5);
-    fmt_lastparagraph.setRightMargin(10);
-    fmt_lastparagraph.setBottomMargin(15);
-    fmt_lastparagraph.setLeftMargin(10);
-
-    settings->beginGroup("Output/Colors");
-
-    fmt_table.setTopMargin(5);
-    fmt_table.setRightMargin(10);
-    fmt_table.setBottomMargin(0);
-    fmt_table.setLeftMargin(10);
-    fmt_table.setBorder(1);
-    fmt_table.setBorderBrush(QBrush(QColor(settings->value("TableBorder", DEF_TABLE_COLOR).toString())));
-    fmt_table.setBorderStyle(QTextFrameFormat::BorderStyle_Solid);
-    fmt_table.setCellSpacing(0);
-    fmt_table.setCellPadding(2);
-
-    fmt_cell.setAlignment(Qt::AlignHCenter);
-
-QColor color = QColor(settings->value("Text", DEF_TEXT_COLOR).toString());
-QColor hilight;
-    if (color.value() < 192)
-        hilight.setHsv(color.hue(), color.saturation(), 127 + (color.value() / 2));
-    else
-        hilight.setHsv(color.hue(), color.saturation(), color.value() / 2);
-
-#ifdef Q_OS_SYMBIAN
-    /*!
-     * \hack HACK: Fixing some weird behavior with default Symbian theme
-     *  when text and background have the same color.
-     */
-    if (color != DEF_TEXT_COLOR) {
-#endif
-    solutionText->document()->setDefaultStyleSheet(QString("* {color: %1;}").arg(color.name()));
-    fmt_default.setForeground(QBrush(color));
-#ifdef Q_OS_SYMBIAN
-    }
-#endif
-
-    fmt_selected.setForeground(QBrush(QColor(settings->value("Selected", DEF_SELECTED_COLOR).toString())));
-    fmt_selected.setFontWeight(QFont::Bold);
-
-    fmt_alternate.setForeground(QBrush(QColor(settings->value("Alternate", DEF_ALTERNATE_COLOR).toString())));
-    fmt_alternate.setFontWeight(QFont::Bold);
-    fmt_altlist.setForeground(QBrush(hilight));
-
-    settings->endGroup();
-}
-
-void MainWindow::loadLangList()
-{
-QMap<QString, QStringList> langlist;
-QFileInfoList langs;
-QFileInfo lang;
-QStringList language, dirs;
-QTranslator t;
-QDir dir;
-    dir.setFilter(QDir::Files);
-    dir.setNameFilters(QStringList("tspsg_*.qm"));
-    dir.setSorting(QDir::NoSort);
-
-    dirs << PATH_L10N << ":/l10n";
-    foreach (QString dirname, dirs) {
-        dir.setPath(dirname);
-        if (dir.exists()) {
-            langs = dir.entryInfoList();
-            for (int k = 0; k < langs.size(); k++) {
-                lang = langs.at(k);
-                if (lang.completeBaseName().compare("tspsg_en", Qt::CaseInsensitive) && !langlist.contains(lang.completeBaseName().mid(6)) && t.load(lang.completeBaseName(), dirname)) {
-
-                    language.clear();
-                    language.append(lang.completeBaseName().mid(6));
-                    language.append(t.translate("--------", "COUNTRY", "Please, provide an ISO 3166-1 alpha-2 country code for this translation language here (eg., UA).").toLower());
-                    language.append(t.translate("--------", "LANGNAME", "Please, provide a native name of your translation language here."));
-                    language.append(t.translate("MainWindow", "Set application language to %1", "").arg(language.at(2)));
-
-                    langlist.insert(language.at(0), language);
-                }
-            }
-        }
-    }
-
-QAction *a;
-    foreach (language, langlist) {
-        a = menuSettingsLanguage->addAction(language.at(2));
-#ifndef QT_NO_STATUSTIP
-        a->setStatusTip(language.at(3));
-#endif
-#if QT_VERSION >= QT_VERSION_CHECK(4,6,0)
-        a->setIcon(QIcon::fromTheme(QString("flag-%1").arg(language.at(1)), QIcon(QString(":/images/icons/l10n/flag-%1.png").arg(language.at(1)))));
-#else
-        a->setIcon(QIcon(QString(":/images/icons/l10n/flag-%1.png").arg(language.at(1))));
-#endif
-        a->setData(language.at(0));
-        a->setCheckable(true);
-        a->setActionGroup(groupSettingsLanguageList);
-        if (settings->value("Language", QLocale::system().name()).toString().startsWith(language.at(0)))
-            a->setChecked(true);
-    }
-}
-
-bool MainWindow::loadLanguage(const QString &lang)
-{
-// i18n
-bool ad = false;
-QString lng = lang;
-    if (lng.isEmpty()) {
-        ad = settings->value("Language").toString().isEmpty();
-        lng = settings->value("Language", QLocale::system().name()).toString();
-    }
-static QTranslator *qtTranslator; // Qt library translator
-    if (qtTranslator) {
-        qApp->removeTranslator(qtTranslator);
-        delete qtTranslator;
-        qtTranslator = NULL;
-    }
-static QTranslator *translator; // Application translator
-    if (translator) {
-        qApp->removeTranslator(translator);
-        delete translator;
-        translator = NULL;
-    }
-
-    if (lng == "en")
-        return true;
-
-    // Trying to load system Qt library translation...
-    qtTranslator = new QTranslator(this);
-    if (qtTranslator->load("qt_" + lng, QLibraryInfo::location(QLibraryInfo::TranslationsPath))) {
-        // Trying from QT_INSTALL_TRANSLATIONS directory
-        qApp->installTranslator(qtTranslator);
-    } else if (qtTranslator->load("qt_" + lng, PATH_L10N)) {
-        // Than from l10n directory bundled with TSPSG
-        qApp->installTranslator(qtTranslator);
-    } else {
-        // Qt library translation unavailable for this language.
-        delete qtTranslator;
-        qtTranslator = NULL;
-    }
-
-    // Now let's load application translation.
-    translator = new QTranslator(this);
-    if (translator->load("tspsg_" + lng, PATH_L10N)) {
-        // We have a translation in the localization directory.
-        qApp->installTranslator(translator);
-    } else if (translator->load("tspsg_" + lng, ":/l10n")) {
-        // We have a translation "built-in" into application resources.
-        qApp->installTranslator(translator);
-    } else {
-        delete translator;
-        translator = NULL;
-        if (!ad) {
-            settings->remove("Language");
-            QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-            QMessageBox::warning(isVisible() ? this : NULL, tr("Language Change"), tr("Unable to load the translation language.\nFalling back to autodetection."));
-            QApplication::restoreOverrideCursor();
-        }
-        return false;
-    }
-    return true;
-}
-
-void MainWindow::loadStyleList()
-{
-    menuSettingsStyle->clear();
-QStringList styles = QStyleFactory::keys();
-    menuSettingsStyle->insertAction(NULL, actionSettingsStyleSystem);
-    actionSettingsStyleSystem->setChecked(!settings->contains("Style"));
-    menuSettingsStyle->addSeparator();
-QAction *a;
-    foreach (QString style, styles) {
-        a = menuSettingsStyle->addAction(style);
-        a->setData(false);
-#ifndef QT_NO_STATUSTIP
-        a->setStatusTip(tr("Set application style to %1").arg(style));
-#endif
-        a->setCheckable(true);
-        a->setActionGroup(groupSettingsStyleList);
-        QRegExp rx(QString("^Q?%1(::(Style)?)?$").arg(QRegExp::escape(style)), Qt::CaseInsensitive);
-        if ((style == settings->value("Style").toString()) || QApplication::style()->objectName().contains(rx)
-#ifndef Q_WS_MAEMO_5
-            || QString(QApplication::style()->metaObject()->className()).contains(rx)
-#endif
-        ) {
-            a->setChecked(true);
-        }
-    }
-}
-
-void MainWindow::loadToolbarList()
-{
-    menuSettingsToolbars->clear();
-#ifndef HANDHELD
-    menuSettingsToolbars->insertAction(NULL, actionSettingsToolbarsConfigure);
-    menuSettingsToolbars->addSeparator();
-QList<QToolBar *> list = toolBarManager->toolBars();
-    foreach (QToolBar *t, list) {
-        menuSettingsToolbars->insertAction(NULL, t->toggleViewAction());
-    }
-#else // HANDHELD
-    menuSettingsToolbars->insertAction(NULL, toolBarMain->toggleViewAction());
-#endif // HANDHELD
-}
-
-bool MainWindow::maybeSave()
-{
-    if (!isWindowModified())
-        return true;
-#ifdef Q_OS_SYMBIAN
-    int res = QSMessageBox(this).exec();
-#else
-    int res = QMessageBox::warning(this, tr("Unsaved Changes"), tr("Would you like to save changes in the current task?"), QMessageBox::Save | QMessageBox::Discard | QMessageBox::Cancel);
-#endif
-    if (res == QMessageBox::Save)
-        return actionFileSaveTriggered();
-    else if (res == QMessageBox::Cancel)
-        return false;
-    else
-        return true;
-}
-
-void MainWindow::outputMatrix(QTextCursor &cur, const TSPSolver::TMatrix &matrix)
-{
-int n = spinCities->value();
-QTextTable *table = cur.insertTable(n, n, fmt_table);
-
-    for (int r = 0; r < n; r++) {
-        for (int c = 0; c < n; c++) {
-            cur = table->cellAt(r, c).firstCursorPosition();
-            cur.setBlockFormat(fmt_cell);
-            cur.setBlockCharFormat(fmt_default);
-            if (matrix.at(r).at(c) == INFINITY)
-                cur.insertText(INFSTR);
-            else
-                cur.insertText(isInteger(matrix.at(r).at(c)) ? QString("%1").arg(matrix.at(r).at(c)) : QString("%1").arg(matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()));
-        }
-        QCoreApplication::processEvents();
-    }
-    cur.movePosition(QTextCursor::End);
-}
-
-void MainWindow::outputMatrix(QTextCursor &cur, const TSPSolver::SStep &step)
-{
-int n = spinCities->value();
-QTextTable *table = cur.insertTable(n, n, fmt_table);
-
-    for (int r = 0; r < n; r++) {
-        for (int c = 0; c < n; c++) {
-            cur = table->cellAt(r, c).firstCursorPosition();
-            cur.setBlockFormat(fmt_cell);
-            if (step.matrix.at(r).at(c) == INFINITY)
-                cur.insertText(INFSTR, fmt_default);
-            else if ((r == step.candidate.nRow) && (c == step.candidate.nCol))
-                cur.insertText(isInteger(step.matrix.at(r).at(c)) ? QString("%1").arg(step.matrix.at(r).at(c)) : QString("%1").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()), fmt_selected);
-            else {
-    TSPSolver::SStep::SCandidate cand;
-                cand.nRow = r;
-                cand.nCol = c;
-                if (step.alts.contains(cand))
-                    cur.insertText(isInteger(step.matrix.at(r).at(c)) ? QString("%1").arg(step.matrix.at(r).at(c)) : QString("%1").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()), fmt_alternate);
-                else
-                    cur.insertText(isInteger(step.matrix.at(r).at(c)) ? QString("%1").arg(step.matrix.at(r).at(c)) : QString("%1").arg(step.matrix.at(r).at(c), 0, 'f', settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt()), fmt_default);
-            }
-        }
-        QCoreApplication::processEvents();
-    }
-
-    cur.movePosition(QTextCursor::End);
-}
-
-#ifdef Q_OS_SYMBIAN
-void MainWindow::resizeEvent(QResizeEvent *ev)
-{
-    static bool tb = toolBarMain->isVisible();
-    if ((ev->size().width() < ev->size().height())
-            && (ev->oldSize().width() > ev->oldSize().height())) {
-        // From landscape to portrait
-        if (tb)
-            toolBarMain->show();
-        setWindowState(Qt::WindowMaximized);
-    } else if ((ev->size().width() > ev->size().height())
-               && (ev->oldSize().width() < ev->oldSize().height())) {
-        // From portrait to landscape
-        if (tb = toolBarMain->isVisible())
-            toolBarMain->hide();
-        setWindowState(Qt::WindowFullScreen);
-    }
-
-    QWidget::resizeEvent(ev);
-}
-#endif // Q_OS_SYMBIAN
-
-void MainWindow::retranslateUi(bool all)
-{
-    if (all)
-        Ui_MainWindow::retranslateUi(this);
-
-#ifdef Q_OS_BLACKBERRY
-    menuSettings->removeAction(menuSettingsStyle->menuAction());
-#else
-    loadStyleList();
-#endif
-    loadToolbarList();
-
-#ifndef QT_NO_PRINTDIALOG
-    actionFilePrintPreview->setText(tr("P&rint Preview..."));
-#ifndef QT_NO_TOOLTIP
-    actionFilePrintPreview->setToolTip(tr("Preview solution results"));
-#endif // QT_NO_TOOLTIP
-#ifndef QT_NO_STATUSTIP
-    actionFilePrintPreview->setStatusTip(tr("Preview current solution results before printing"));
-#endif // QT_NO_STATUSTIP
-
-    actionFilePageSetup->setText(tr("Pa&ge Setup..."));
-#ifndef QT_NO_TOOLTIP
-    actionFilePageSetup->setToolTip(tr("Setup print options"));
-#endif // QT_NO_TOOLTIP
-#ifndef QT_NO_STATUSTIP
-    actionFilePageSetup->setStatusTip(tr("Setup page-related options for printing"));
-#endif // QT_NO_STATUSTIP
-
-    actionFilePrint->setText(tr("&Print..."));
-#ifndef QT_NO_TOOLTIP
-    actionFilePrint->setToolTip(tr("Print solution"));
-#endif // QT_NO_TOOLTIP
-#ifndef QT_NO_STATUSTIP
-    actionFilePrint->setStatusTip(tr("Print current solution results"));
-#endif // QT_NO_STATUSTIP
-#ifndef QT_NO_SHORTCUT
-    actionFilePrint->setShortcut(tr("Ctrl+P"));
-#endif // QT_NO_SHORTCUT
-#endif // QT_NO_PRINTDIALOG
-
-#ifndef QT_NO_STATUSTIP
-    actionFileExit->setStatusTip(tr("Exit %1").arg(QCoreApplication::applicationName()));
-#endif // QT_NO_STATUSTIP
-
-#ifndef HANDHELD
-    actionSettingsToolbarsConfigure->setText(tr("Configure..."));
-#ifndef QT_NO_STATUSTIP
-    actionSettingsToolbarsConfigure->setStatusTip(tr("Customize toolbars"));
-#endif // QT_NO_STATUSTIP
-#endif // HANDHELD
-
-#ifndef QT_NO_STATUSTIP
-    actionHelpReportBug->setStatusTip(tr("Report about a bug in %1").arg(QCoreApplication::applicationName()));
-#endif // QT_NO_STATUSTIP
-    if (actionHelpCheck4Updates != NULL) {
-        actionHelpCheck4Updates->setText(tr("Check for &Updates..."));
-#ifndef QT_NO_STATUSTIP
-        actionHelpCheck4Updates->setStatusTip(tr("Check for %1 updates").arg(QCoreApplication::applicationName()));
-#endif // QT_NO_STATUSTIP
-    }
-#ifndef QT_NO_STATUSTIP
-    actionHelpAbout->setStatusTip(tr("About %1").arg(QCoreApplication::applicationName()));
-#endif // QT_NO_STATUSTIP
-
-#ifdef Q_OS_SYMBIAN
-    actionRightSoftKey->setText(tr("E&xit"));
-#endif
-}
-
-bool MainWindow::saveTask()
-{
-    QStringList filters;
-#ifdef Q_OS_BLACKBERRY
-    filters << "*.tspt";
-#else
-    filters.append(tr("%1 Task File").arg("TSPSG") + " (*.tspt)");
-    filters.append(tr("All Files") + " (*)");
-#endif
-QString file;
-    if ((fileName == tr("Untitled") + ".tspt") && settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool()) {
-#ifdef Q_OS_BLACKBERRY
-        file = settings->value(OS"/LastUsed/TaskSavePath", "/accounts/1000/shared/documents").toString();
-#else
-        file = settings->value(OS"/LastUsed/TaskSavePath").toString();
-#endif
-        if (!file.isEmpty())
-            file.append("/");
-        file.append(fileName);
-    } else if (fileName.endsWith(".tspt", Qt::CaseInsensitive))
-        file = fileName;
-    else
-        file = QFileInfo(fileName).path() + "/" + QFileInfo(fileName).completeBaseName() + ".tspt";
-
-#ifdef Q_OS_BLACKBERRY
-    FilePicker fd;
-    fd.setMode(FilePickerMode::Saver);
-    fd.setType(FileType::Document | FileType::Other);
-    fd.setDefaultType(FileType::Document);
-    fd.setAllowOverwrite(true);
-    fd.setTitle(tr("Task Save"));
-//    fd.setDirectories(QStringList(QFileInfo(file).path()));
-    fd.setDefaultSaveFileNames(QStringList(file));
-    fd.setFilter(filters);
-    fd.open();
-
-    QEventLoop loop;
-    connect(&fd, SIGNAL(pickerClosed()), &loop, SLOT(quit()));
-    loop.exec();
-
-    if (fd.selectedFiles().count() < 1)
-        return false;
-    file = fd.selectedFiles().at(0);
-#else
-    QFileDialog::Options opts = settings->value("UseNativeDialogs", DEF_USE_NATIVE_DIALOGS).toBool() ? QFileDialog::Options() : QFileDialog::DontUseNativeDialog;
-    file = QFileDialog::getSaveFileName(this, tr("Task Save"), file, filters.join(";;"), NULL, opts);
-    if (file.isEmpty())
-        return false;
-#endif
-    if (settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool())
-        settings->setValue(OS"/LastUsed/TaskSavePath", QFileInfo(file).path());
-    if (QFileInfo(file).suffix().isEmpty()) {
-        file.append(".tspt");
-    }
-
-    if (tspmodel->saveTask(file)) {
-        setFileName(file);
-        setWindowModified(false);
-        return true;
-    }
-    return false;
-}
-
-void MainWindow::setFileName(const QString &fileName)
-{
-    this->fileName = fileName;
-    setWindowTitle(QString("%1[*] - %2").arg(QFileInfo(fileName).completeBaseName()).arg(QCoreApplication::applicationName()));
-}
-
-void MainWindow::setupUi()
-{
-    Ui_MainWindow::setupUi(this);
-
-#ifdef Q_OS_SYMBIAN
-    setWindowFlags(windowFlags() | Qt::WindowSoftkeysVisibleHint);
-#endif // Q_OS_SYMBIAN
-
-    // File Menu
-    actionFileNew->setIcon(GET_ICON("document-new"));
-    actionFileOpen->setIcon(GET_ICON("document-open"));
-    actionFileSave->setIcon(GET_ICON("document-save"));
-#if !defined(HANDHELD) || defined(Q_OS_BLACKBERRY)
-    menuFileSaveAs->setIcon(GET_ICON("document-save-as"));
-#endif
-    actionFileExit->setIcon(GET_ICON("application-exit"));
-    // Settings Menu
-#if !defined(HANDHELD) || defined(Q_OS_BLACKBERRY)
-    menuSettingsLanguage->setIcon(GET_ICON("preferences-desktop-locale"));
-#if QT_VERSION >= QT_VERSION_CHECK(4,6,0)
-    actionSettingsLanguageEnglish->setIcon(QIcon::fromTheme("flag-gb", QIcon(":/images/icons/l10n/flag-gb.png")));
-#else
-    actionSettingsLanguageEnglish->setIcon(QIcon(":/images/icons/l10n/flag-gb.png"));
-#endif // QT_VERSION >= QT_VERSION_CHECK(4,6,0)
-    menuSettingsStyle->setIcon(GET_ICON("preferences-desktop-theme"));
-#endif // HANDHELD
-    actionSettingsPreferences->setIcon(GET_ICON("preferences-system"));
-    // Help Menu
-#if !defined(HANDHELD) || defined(Q_OS_BLACKBERRY)
-    actionHelpContents->setIcon(GET_ICON("help-contents"));
-    actionHelpContextual->setIcon(GET_ICON("help-contextual"));
-    actionHelpOnlineSupport->setIcon(GET_ICON("applications-internet"));
-    actionHelpReportBug->setIcon(GET_ICON("tools-report-bug"));
-    actionHelpAbout->setIcon(GET_ICON("help-about"));
-#ifdef Q_OS_BLACKBERRY
-    // Qt about dialog is too big for the screen
-    // and it's impossible to close it.
-    menuHelp->removeAction(actionHelpAboutQt);
-#else // Q_OS_BLACKBERRY
-#if QT_VERSION < QT_VERSION_CHECK(5,0,0)
-    actionHelpAboutQt->setIcon(QIcon(":/trolltech/qmessagebox/images/qtlogo-64.png"));
-#else // QT_VERSION < QT_VERSION_CHECK(5,0,0)
-    actionHelpAboutQt->setIcon(QIcon(":/qt-project.org/qmessagebox/images/qtlogo-64.png"));
-#endif // QT_VERSION < QT_VERSION_CHECK(5,0,0)
-#endif // Q_OS_BLACKBERRY
-#endif // HANDHELD
-    // Buttons
-    buttonRandom->setIcon(GET_ICON("roll"));
-    buttonSolve->setIcon(GET_ICON("dialog-ok"));
-    buttonSaveSolution->setIcon(GET_ICON("document-save-as"));
-    buttonBackToTask->setIcon(GET_ICON("go-previous"));
-
-//	action->setIcon(GET_ICON(""));
-
-#if QT_VERSION >= QT_VERSION_CHECK(4,6,0)
-    setToolButtonStyle(Qt::ToolButtonFollowStyle);
-#endif
-
-#ifndef HANDHELD
-QStatusBar *statusbar = new QStatusBar(this);
-    statusbar->setObjectName("statusbar");
-    setStatusBar(statusbar);
-#endif // HANDHELD
-
-#ifdef Q_OS_WINCE_WM
-    menuBar()->setDefaultAction(menuFile->menuAction());
-
-QScrollArea *scrollArea = new QScrollArea(this);
-    scrollArea->setFrameShape(QFrame::NoFrame);
-    scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
-    scrollArea->setWidgetResizable(true);
-    scrollArea->setWidget(tabWidget);
-    setCentralWidget(scrollArea);
-#else
-    setCentralWidget(tabWidget);
-#endif // Q_OS_WINCE_WM
-
-    //! \hack HACK: A little hack for toolbar icons to have a sane size.
-#if defined(HANDHELD) && !defined(Q_WS_MAEMO_5)
-#ifdef Q_OS_SYMBIAN
-    toolBarMain->setIconSize(QSize(logicalDpiX() / 5.2, logicalDpiY() / 5.2));
-#else
-    toolBarMain->setIconSize(QSize(logicalDpiX() / 4, logicalDpiY() / 4));
-#endif // Q_OS_SYMBIAN
-#endif // HANDHELD && !Q_WS_MAEMO_5
-QToolButton *tb = static_cast<QToolButton *>(toolBarMain->widgetForAction(actionFileSave));
-    if (tb != NULL) {
-        tb->setMenu(menuFileSaveAs);
-        tb->setPopupMode(QToolButton::MenuButtonPopup);
-    }
-
-//	solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont(DEF_FONT_FAMILY, DEF_FONT_SIZE)).value<QFont>());
-    solutionText->setWordWrapMode(QTextOption::WordWrap);
-
-#ifndef QT_NO_PRINTDIALOG
-    actionFilePrintPreview = new QAction(this);
-    actionFilePrintPreview->setObjectName("actionFilePrintPreview");
-    actionFilePrintPreview->setEnabled(false);
-    actionFilePrintPreview->setIcon(GET_ICON("document-print-preview"));
-
-    actionFilePageSetup = new QAction(this);
-    actionFilePageSetup->setObjectName("actionFilePrintSetup");
-//    actionFilePageSetup->setEnabled(false);
-#if QT_VERSION >= QT_VERSION_CHECK(4,6,0)
-    actionFilePageSetup->setIcon(QIcon::fromTheme("document-page-setup", QIcon(":/trolltech/dialogs/qprintpreviewdialog/images/page-setup-32.png")));
-#else
-    actionFilePageSetup->setIcon(QIcon(":/trolltech/dialogs/qprintpreviewdialog/images/page-setup-32.png"));
-#endif
-
-    actionFilePrint = new QAction(this);
-    actionFilePrint->setObjectName("actionFilePrint");
-    actionFilePrint->setEnabled(false);
-    actionFilePrint->setIcon(GET_ICON("document-print"));
-
-    menuFile->insertAction(actionFileExit, actionFilePrintPreview);
-    menuFile->insertAction(actionFileExit, actionFilePageSetup);
-    menuFile->insertAction(actionFileExit, actionFilePrint);
-    menuFile->insertSeparator(actionFileExit);
-
-    toolBarMain->insertAction(actionSettingsPreferences, actionFilePrint);
-#endif // QT_NO_PRINTDIALOG
-
-    groupSettingsLanguageList = new QActionGroup(this);
-#ifdef Q_WS_MAEMO_5
-    groupSettingsLanguageList->addAction(actionSettingsLanguageAutodetect);
-#endif
-    actionSettingsLanguageEnglish->setData("en");
-    actionSettingsLanguageEnglish->setActionGroup(groupSettingsLanguageList);
-    loadLangList();
-    actionSettingsLanguageAutodetect->setChecked(settings->value("Language", "").toString().isEmpty());
-
-    actionSettingsStyleSystem->setData(true);
-    groupSettingsStyleList = new QActionGroup(this);
-#ifdef Q_WS_MAEMO_5
-    groupSettingsStyleList->addAction(actionSettingsStyleSystem);
-#endif
-
-#ifndef HANDHELD
-    actionSettingsToolbarsConfigure = new QAction(this);
-    actionSettingsToolbarsConfigure->setIcon(GET_ICON("configure-toolbars"));
-#endif // HANDHELD
-
-    if (hasUpdater()) {
-        actionHelpCheck4Updates = new QAction(this);
-        actionHelpCheck4Updates->setIcon(GET_ICON("system-software-update"));
-        actionHelpCheck4Updates->setEnabled(hasUpdater());
-        menuHelp->insertAction(actionHelpAboutQt, actionHelpCheck4Updates);
-        menuHelp->insertSeparator(actionHelpAboutQt);
-    } else
-        actionHelpCheck4Updates = NULL;
-
-    spinCities->setMaximum(settings->value("Tweaks/MaxNumCities", MAX_NUM_CITIES).toInt());
-
-#ifndef HANDHELD
-    toolBarManager = new QtToolBarManager(this);
-    toolBarManager->setMainWindow(this);
-QString cat = toolBarMain->windowTitle();
-    toolBarManager->addToolBar(toolBarMain, cat);
-#ifndef QT_NO_PRINTER
-    toolBarManager->addAction(actionFilePrintPreview, cat);
-    toolBarManager->addAction(actionFilePageSetup, cat);
-#endif // QT_NO_PRINTER
-    toolBarManager->addAction(actionHelpContents, cat);
-    toolBarManager->addAction(actionHelpContextual, cat);
-    toolBarManager->restoreState(settings->value("MainWindow/Toolbars").toByteArray());
-#else
-    toolBarMain->setVisible(settings->value("MainWindow/ToolbarVisible", true).toBool());
-#endif // HANDHELD
-
-#ifdef Q_OS_SYMBIAN
-    // Replace Exit on the right soft key with our own exit action.
-    // This makes it translatable.
-    actionRightSoftKey = new QAction(this);
-    actionRightSoftKey->setSoftKeyRole(QAction::NegativeSoftKey);
-    connect(actionRightSoftKey, SIGNAL(triggered()), SLOT(close()));
-    addAction(actionRightSoftKey);
-#endif
-
-    retranslateUi(false);
-
-#ifndef HANDHELD
-    // Adding some eyecandy
-    if (QtWin::isCompositionEnabled() && settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool())  {
-        toggleTranclucency(true);
-    }
-#endif // HANDHELD
-}
-
-void MainWindow::toggleSolutionActions(bool enable)
-{
-    buttonSaveSolution->setEnabled(enable);
-    actionFileSaveAsSolution->setEnabled(enable);
-    solutionText->setEnabled(enable);
-#ifndef QT_NO_PRINTDIALOG
-    actionFilePrint->setEnabled(enable);
-    actionFilePrintPreview->setEnabled(enable);
-#endif // QT_NO_PRINTDIALOG
-}
-
-void MainWindow::toggleTranclucency(bool enable)
-{
-#ifndef HANDHELD
-    toggleStyle(labelVariant, enable);
-    toggleStyle(labelCities, enable);
-    toggleStyle(statusBar(), enable);
-    tabWidget->setDocumentMode(enable);
-    QtWin::enableBlurBehindWindow(this, enable);
-#else
-    Q_UNUSED(enable);
-#endif // HANDHELD
-}
-
-void MainWindow::actionHelpOnlineSupportTriggered()
-{
-    QDesktopServices::openUrl(QUrl("http://tspsg.info/goto/support"));
-}
-
-void MainWindow::actionHelpReportBugTriggered()
-{
-    QDesktopServices::openUrl(QUrl("http://tspsg.info/goto/bugtracker"));
-}
-
-#ifdef Q_OS_SYMBIAN
-QSMessageBox::QSMessageBox(QWidget *parent)
-    : QMessageBox(parent)
-{
-    setIcon(QMessageBox::Warning);
-    setWindowTitle(QApplication::translate("MainWindow", "Unsaved Changes"));
-    setText(QApplication::translate("MainWindow", "Would you like to save changes in the current task?"));
-    setStandardButtons(QMessageBox::Save);
-
-    QMenu *m = new QMenu(this);
-    m->addAction(QApplication::translate("QDialogButtonBox", "Discard", "No need to translate this. The translation will be taken from Qt translation files."),
-                 this, SLOT(discard()));
-    m->addAction(QApplication::translate("QDialogButtonBox", "Cancel", "No need to translate this. The translation will be taken from Qt translation files."),
-                 this, SLOT(cancel()));
-
-    QAction *o = new QAction(QApplication::translate("QtToolBarDialog", "Actions"), this);
-    o->setSoftKeyRole(QAction::NegativeSoftKey);
-    o->setMenu(m);
-    addAction(o);
-}
-
-void QSMessageBox::cancel(){
-    done(QMessageBox::Cancel);
-}
-
-void QSMessageBox::discard() {
-    done(QMessageBox::Discard);
-}
-#endif // Q_OS_SYMBIAN
Index: src/mainwindow.h
===================================================================
--- src/mainwindow.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ src/mainwindow.h	(revision 5515c2c2a76cbe53019066185c149c9dc88736da)
@@ -1,27 +1,20 @@
-/*!
- * \file mainwindow.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
+/*
+ *	TSPSG - TSP Solver and Generator
+ *	Copyright (C) 2007 L¸ppa <lacontacts[at]gmail[dot]com>
  *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
+ *	This file is part of TSPSG.
  *
- * \brief Defines MainWindow class.
+ *	TSPSG 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.
  *
- *  <b>TSPSG: TSP Solver and Generator</b>
+ *	TSPSG 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.
  *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
+ *	You should have received a copy of the GNU General Public License
+ *	along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
  */
 
@@ -29,168 +22,17 @@
 #define MAINWINDOW_H
 
-#include "globals.h"
+#include <QMainWindow>
+#include "ui_mainwindow.h"
+#include "settingsdialog.h"
 
-#include "ui_mainwindow.h"
-#include "tspsolver.h"
-
-#include <QPicture>
-
-#ifdef Q_OS_WIN32
-    // Forward declaration. A real one is in shobjidl.h
-    struct ITaskbarList3;
-#endif
-
-class CTSPModel;
-
-#ifndef HANDHELD
-    class QtToolbarDialog;
-    class QtToolBarManager;
-#endif
-
-#ifndef QT_NO_PRINTER
-    class QPrinter;
-#endif
-
-/*!
- * \brief Class for handling Main Window UI and logic.
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- */
 class MainWindow: public QMainWindow, Ui::MainWindow
 {
-    Q_OBJECT
-
+	Q_OBJECT
 public:
-    MainWindow(QWidget *parent = 0);
-    ~MainWindow();
-
-#ifdef Q_OS_BLACKBERRY
-public slots:
-    void setWindowModified(bool modified);
-#endif
-
+	MainWindow(QWidget *parent = 0);
 private slots:
-// Actions
-    void actionFileNewTriggered();
-    void actionFileOpenTriggered();
-    bool actionFileSaveTriggered();
-    void actionFileSaveAsTaskTriggered();
-    void actionFileSaveAsSolutionTriggered();
-#ifndef QT_NO_PRINTDIALOG
-    void actionFilePrintPreviewTriggered();
-    void actionFilePageSetupTriggered();
-    void actionFilePrintTriggered();
-#endif // QT_NO_PRINTDIALOG
-    void actionSettingsPreferencesTriggered();
-    void actionSettingsLanguageAutodetectTriggered(bool checked);
-    void groupSettingsLanguageListTriggered(QAction *action);
-    void actionSettingsStyleSystemTriggered(bool checked);
-    void groupSettingsStyleListTriggered(QAction *action);
-#ifndef HANDHELD
-    void actionSettingsToolbarsConfigureTriggered();
-#endif // HANDHELD
-    void actionHelpOnlineSupportTriggered();
-    void actionHelpReportBugTriggered();
-    void actionHelpCheck4UpdatesTriggered();
-    void actionHelpAboutTriggered();
-// Buttons
-    void buttonBackToTaskClicked();
-    void buttonRandomClicked();
-    void buttonSolveClicked();
-
-    void dataChanged();
-    void dataChanged(const QModelIndex &tl, const QModelIndex &br);
-#ifdef Q_OS_WINCE_WM
-    void changeEvent(QEvent *ev);
-    void desktopResized(int screen);
-#endif // Q_OS_WINCE_WM
-    void numCitiesChanged(int nCities);
-#ifndef QT_NO_PRINTER
-    void printPreview(QPrinter *printer);
-#endif // QT_NO_PRINTER
-#ifdef Q_OS_WIN32
-    void solverRoutePartFound(int n);
-#endif // Q_OS_WIN32
-    void spinCitiesValueChanged(int nCities);
-
-private:
-    QString fileName;
-    QActionGroup *groupSettingsLanguageList;
-    QActionGroup *groupSettingsStyleList;
-#ifndef HANDHELD
-    QAction *actionSettingsToolbarsConfigure;
-    QtToolBarManager *toolBarManager;
-#endif // HANDHELD
-#ifndef QT_NO_PRINTER
-    QPrinter *printer;
-#ifndef QT_NO_PRINTDIALOG
-    QAction *actionFilePrintPreview;
-    QAction *actionFilePageSetup;
-    QAction *actionFilePrint;
-#endif // QT_NO_PRINTDIALOG
-#endif // QT_NO_PRINTER
-    QAction *actionHelpCheck4Updates;
-#ifdef Q_OS_SYMBIAN
-    QAction *actionRightSoftKey;
-#endif
-    QSettings *settings;
-    CTSPModel *tspmodel;
-#ifdef Q_OS_WINCE_WM
-    QRect currentGeometry;
-#endif // Q_OS_WINCE_WM
-
-#ifdef Q_OS_WIN32
-    ITaskbarList3 *tl;
-#endif // Q_OS_WIN32
-
-    // The solution graph SVG
-    QPicture graph;
-
-    // Formats
-    QTextTableFormat fmt_table;
-    QTextBlockFormat fmt_paragraph,
-        fmt_lastparagraph,
-        fmt_cell;
-    QTextCharFormat fmt_default,
-        fmt_selected,
-        fmt_alternate,
-        fmt_altlist;
-
-    void check4Updates(bool silent = false);
-    void closeEvent(QCloseEvent *ev);
-    void dragEnterEvent(QDragEnterEvent *ev);
-    void drawNode(QPainter &pic, int nstep, bool left = false, TSPSolver::SStep *step = NULL);
-    void dropEvent(QDropEvent *ev);
-    QByteArray generateImage(const QString &format);
-    void initDocStyleSheet();
-    void loadLangList();
-    bool loadLanguage(const QString &lang = QString());
-    void loadStyleList();
-    void loadToolbarList();
-    bool maybeSave();
-    void outputMatrix(QTextCursor &cur, const TSPSolver::TMatrix &matrix);
-    void outputMatrix(QTextCursor &cur, const TSPSolver::SStep &step);
-#ifdef Q_OS_SYMBIAN
-    void resizeEvent(QResizeEvent *ev);
-#endif // Q_OS_SYMBIAN
-    void retranslateUi(bool all = true);
-    bool saveTask();
-    void setFileName(const QString &fileName = tr("Untitled") + ".tspt");
-    void setupUi();
-    void toggleSolutionActions(bool enable = true);
-    void toggleTranclucency(bool enable);
+	void ChangeSettings();
 };
 
-#ifdef Q_OS_SYMBIAN
-#include <QMessageBox>
-// A quickly hacked QMessageBox for Symbian that supports three buttons.
-class QSMessageBox: public QMessageBox {
-    Q_OBJECT
-private slots:
-    void cancel();
-    void discard();
-public:
-    QSMessageBox(QWidget *parent = 0);
-};
-#endif // Q_OS_SYMBIAN
+#endif // MAINWINDOW_H
 
-#endif // MAINWINDOW_H
Index: src/os.h
===================================================================
--- src/os.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,186 +1,0 @@
-/*!
- * \file os.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \warning Arch detection works only for <b>GNU C</b>, <b>Visual Studio</b>, <b>Intel C/C++</b> and <b>MinGW32</b> compilers.
- *  OS detection should work for any compiler.
- *
- * \brief Contains TSPSG target CPU architecture and OS detection.
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef OS_H
-#define OS_H
-
-#include <QtGlobal>
-
-// Some target arch detection.
-/*!
- * \def ARCH
- * \brief The target CPU architecture TSPSG was built for.
- * \warning NOTE: Only for <b>GNU C</b>, <b>Visual Studio</b>, <b>Intel C/C++</b> and <b>MinGW32</b> compilers.
- */
-#if defined(__amd64__) || defined(_M_X64)
-#   define ARCH " (AMD 64-bit)"
-#elif defined(__ia64__) || defined(_M_IA64)
-#   define ARCH " (Intel 64-bit)"
-#elif defined(__i386__) || defined(_M_IX86) || defined(_X86_)
-#   define ARCH " (Intel x86)"
-#elif defined(__powerpc__) || defined(_M_PPC)
-#   define ARCH " (PowerPC)"
-#elif defined(__arm__) || defined(_M_ARM)
-#   define ARCH " (ARM)"
-#elif defined(__mips__) || defined(_M_MRX000)
-#   define ARCH " (MIPS)"
-#else
-#   define ARCH ""
-#endif // ARCH
-
-// Target OS detection. Done by Qt, so should work for any compiler.
-/*!
- * \def OS
- * \brief The target operating system TSPSG was built for.
- */
-/*!
- * \def OSID
- * \brief The target operating system ID.
- *
- * This value will be used in task file metadata.
- */
-#ifdef Q_OS_AIX
-#   define OS "AIX"
-#   define OSID quint8(1)
-#elif defined(Q_OS_BSDI)
-#   define OS "BSD/OS"
-#   define OSID quint8(2)
-#elif defined(Q_OS_CYGWIN)
-#   define OS "Cygwin"
-#   define OSID quint8(3)
-#elif defined(Q_OS_DARWIN)
-#   define OS "Mac OS (Darwin)"
-#   define OSID quint8(4)
-#elif defined(Q_OS_DGUX)
-#   define OS "DG/UX"
-#   define OSID quint8(5)
-#elif defined(Q_OS_DYNIX)
-#   define OS "DYNIX/ptx"
-#   define OSID quint8(6)
-#elif defined(Q_OS_FREEBSD)
-#   define OS "FreeBSD"
-#   define OSID quint8(7)
-#elif defined(Q_OS_HPUX)
-#   define OS "HP-UX"
-#   define OSID quint8(8)
-#elif defined(Q_OS_HURD)
-#   define OS "GNU Hurd"
-#   define OSID quint8(9)
-#elif defined(Q_OS_IRIX)
-#   define OS "SGI Irix"
-#   define OSID quint8(10)
-#elif defined(Q_OS_LINUX)
-#   define OS "Linux"
-#   define OSID quint8(11)
-#elif defined(Q_OS_LYNX)
-#   define OS "LynxOS"
-#   define OSID quint8(12)
-#elif defined(Q_OS_NETBSD)
-#   define OS "NetBSD"
-#   define OSID quint8(13)
-#elif defined(Q_OS_OPENBSD)
-#   define OS "OpenBSD"
-#   define OSID quint8(14)
-#elif defined(Q_OS_OS2EMX)
-#   define OS "OS/2"
-#   define OSID quint8(15)
-#elif defined(Q_OS_OSF)
-#   define OS "HP Tru64 UNIX"
-#   define OSID quint8(16)
-#elif defined(Q_OS_BLACKBERRY)
-#   define OS "BlackBerry 10"
-#   define OSID quint8(17)
-#elif defined(Q_OS_QNX)
-#   define OS "QNX Neutrino"
-#   define OSID quint8(18)
-#elif defined(Q_OS_RELIANT)
-#   define OS "Reliant UNIX"
-#   define OSID quint8(19)
-#elif defined(Q_OS_SCO)
-#   define OS "SCO OpenServer 5"
-#   define OSID quint8(20)
-#elif defined(Q_OS_SOLARIS)
-#   define OS "Sun Solaris"
-#   define OSID quint8(21)
-#elif defined(Q_OS_SYMBIAN)
-#   define OS "Symbian"
-#   define OSID quint8(22)
-#elif defined(Q_OS_ULTRIX)
-#   define OS "DEC Ultrix"
-#   define OSID quint8(23)
-#elif defined(Q_OS_UNIXWARE)
-#   define OS "UnixWare 7/Open UNIX 8"
-#   define OSID quint8(24)
-#elif defined(Q_OS_WIN32)
-#   define OS "Windows"
-#   define OSID quint8(25)
-#elif defined(Q_OS_WINCE_WM)
-#   define OS "Windows Mobile"
-#   define OSID quint8(26)
-#elif defined(Q_OS_WINCE)
-#   define OS "Windows CE"
-#   define OSID quint8(27)
-#elif defined(Q_OS_BSD4)
-#   define OS "BSD 4.4"
-#   define OSID quint8(253)
-#elif defined(Q_OS_UNIX)
-#   define OS "UNIX BSD/SYSV"
-#   define OSID quint8(254)
-#else
-#   define OS "Unknown"
-#   define OSID quint8(255)
-#endif // OS
-
-//! The target platform in the form OS ARCH
-#define PLATFROM OS ARCH
-
-/*!
- * \def COMPILER
- * \brief The compiler TSPSG was built with.
- */
-#ifdef Q_CC_INTEL
-#   define COMPILER "Intel C++"
-#elif defined(Q_CC_MSVC)
-#   define COMPILER "Microsoft Visual C/C++"
-#elif defined(Q_CC_MINGW)
-#   define COMPILER "MinGW GCC"
-#elif defined(Q_CC_GNU)
-#   define COMPILER "GNU C++"
-#elif defined(Q_CC_GCCE)
-#   define COMPILER "GCCE (Symbian GCCE builds)"
-#elif defined(Q_CC_RVCT)
-#   define COMPILER "ARM Realview Compiler Suite"
-#elif defined(Q_CC_NOKIAX86)
-#   define COMPILER "Nokia x86 (Symbian WINSCW builds)"
-#else
-#   define COMPILER "Unknown"
-#endif
-
-#endif // OS_H
Index: src/pch.h
===================================================================
--- src/pch.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,45 +1,0 @@
-/*!
- * \file pch.h
- * \author Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief Precompiled Header (PCH) file
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifdef __cplusplus
-#   include "globals.h"
-#   include <QtCore>
-#   include <QtGui>
-#   if defined(QT_NO_SVG) && !defined(NOSVG)
-#       define NOSVG
-#   endif
-#   if !defined(NOSVG)
-#       include <QtSvg>
-#   endif // NOSVG
-#   if QT_VERSION >= QT_VERSION_CHECK(5,0,0)
-#       include <QtConcurrent>
-#       include <QtPrintSupport>
-#   endif
-#   ifndef HANDHELD
-#       include "qttoolbardialog.h"
-#   endif
-#endif // __cplusplus
Index: src/qtwin.cpp
===================================================================
--- src/qtwin.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,264 +1,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
-**
-** Use, modification and distribution is allowed without limitation,
-** warranty, liability or support of any kind.
-**
-****************************************************************************/
-
-#include "qtwin.h"
-#include <QLibrary>
-#include <QApplication>
-#include <QWidget>
-#include <QList>
-#include <QPointer>
-
-//! \todo TODO: Detect X11 in Qt 5 more reliably
-// No Q_WS_X11 in Qt 5. Check if we're using X11 and define it.
-#if (QT_VERSION >= QT_VERSION_CHECK(5,0,0)) && defined(Q_OS_UNIX) && !defined(Q_WS_X11)
-#   if !defined(Q_OS_MAC) && !defined(Q_OS_SYMBIAN) && !defined(Q_WS_QPA)
-#       define Q_WS_X11
-#   endif
-#endif
-
-#ifdef Q_WS_X11
-#include <X11/Xlib.h>
-#endif // Q_WS_X11
-
-#ifdef Q_OS_WIN32
-
-#include <qt_windows.h>
-
-// Blur behind data structures
-#define DWM_BB_ENABLE                 0x00000001  // fEnable has been specified
-#define DWM_BB_BLURREGION             0x00000002  // hRgnBlur has been specified
-#define DWM_BB_TRANSITIONONMAXIMIZED  0x00000004  // fTransitionOnMaximized has been specified
-#define WM_DWMCOMPOSITIONCHANGED        0x031E    // Composition changed window message
-
-typedef struct _DWM_BLURBEHIND
-{
-    DWORD dwFlags;
-    BOOL fEnable;
-    HRGN hRgnBlur;
-    BOOL fTransitionOnMaximized;
-} DWM_BLURBEHIND, *PDWM_BLURBEHIND;
-
-typedef struct _MARGINS
-{
-    int cxLeftWidth;
-    int cxRightWidth;
-    int cyTopHeight;
-    int cyBottomHeight;
-} MARGINS, *PMARGINS;
-
-typedef HRESULT (WINAPI *PtrDwmIsCompositionEnabled)(BOOL* pfEnabled);
-typedef HRESULT (WINAPI *PtrDwmExtendFrameIntoClientArea)(HWND hWnd, const MARGINS* pMarInset);
-typedef HRESULT (WINAPI *PtrDwmEnableBlurBehindWindow)(HWND hWnd, const DWM_BLURBEHIND* pBlurBehind);
-typedef HRESULT (WINAPI *PtrDwmGetColorizationColor)(DWORD *pcrColorization, BOOL *pfOpaqueBlend);
-
-static PtrDwmIsCompositionEnabled pDwmIsCompositionEnabled= 0;
-static PtrDwmEnableBlurBehindWindow pDwmEnableBlurBehindWindow = 0;
-static PtrDwmExtendFrameIntoClientArea pDwmExtendFrameIntoClientArea = 0;
-static PtrDwmGetColorizationColor pDwmGetColorizationColor = 0;
-
-
-/*
- * Internal helper class that notifies windows if the
- * DWM compositing state changes and updates the widget
- * flags correspondingly.
- */
-class WindowNotifier : public QWidget
-{
-public:
-    WindowNotifier() { winId(); }
-    void addWidget(QWidget *widget) { widgets.append(widget); }
-    void removeWidget(QWidget *widget) { widgets.removeAll(widget); }
-    bool winEvent(MSG *message, long *result);
-
-private:
-    QWidgetList widgets;
-};
-
-static bool resolveLibs()
-{
-    if (!pDwmIsCompositionEnabled) {
-        QLibrary dwmLib(QString::fromLatin1("dwmapi"));
-        pDwmIsCompositionEnabled =(PtrDwmIsCompositionEnabled)dwmLib.resolve("DwmIsCompositionEnabled");
-        pDwmExtendFrameIntoClientArea = (PtrDwmExtendFrameIntoClientArea)dwmLib.resolve("DwmExtendFrameIntoClientArea");
-        pDwmEnableBlurBehindWindow = (PtrDwmEnableBlurBehindWindow)dwmLib.resolve("DwmEnableBlurBehindWindow");
-        pDwmGetColorizationColor = (PtrDwmGetColorizationColor)dwmLib.resolve("DwmGetColorizationColor");
-    }
-    return pDwmIsCompositionEnabled != 0;
-}
-
-#endif
-
-/*!
-  * Chekcs and returns true if Windows DWM composition
-  * is currently enabled on the system.
-  *
-  * To get live notification on the availability of
-  * this feature, you will currently have to
-  * reimplement winEvent() on your widget and listen
-  * for the WM_DWMCOMPOSITIONCHANGED event to occur.
-  *
-  */
-bool QtWin::isCompositionEnabled()
-{
-#ifdef Q_OS_WIN32
-    if (resolveLibs()) {
-        HRESULT hr = S_OK;
-        BOOL isEnabled = false;
-        hr = pDwmIsCompositionEnabled(&isEnabled);
-        if (SUCCEEDED(hr))
-            return isEnabled;
-    }
-    return false;
-#elif defined(Q_WS_X11)
-    Display *d = XOpenDisplay(NULL);
-    Atom _NET_WM_CM_S0 = XInternAtom(d, "_NET_WM_CM_S0", true);
-    bool result = (_NET_WM_CM_S0 != None);
-    if (result)
-        result = (XGetSelectionOwner(d, _NET_WM_CM_S0) != None);
-    XCloseDisplay(d);
-    return result;
-#else
-    //! \todo TODO: Check for trsnsparency support in other OSes.
-    return false;
-#endif
-}
-
-/*!
-  * Enables Blur behind on a Widget.
-  *
-  * \a enable tells if the blur should be enabled or not
-  */
-bool QtWin::enableBlurBehindWindow(QWidget *widget, bool enable)
-{
-    Q_ASSERT(widget);
-    bool result = false;
-#ifdef Q_OS_WIN32
-    if (resolveLibs()) {
-        DWM_BLURBEHIND bb;
-        HRESULT hr = S_OK;
-        bb.dwFlags = 0;
-        bb.fEnable = enable;
-        bb.dwFlags = DWM_BB_ENABLE;
-        bb.hRgnBlur = NULL;
-#endif
-        widget->setAttribute(Qt::WA_TranslucentBackground, enable);
-#ifdef Q_WS_X11
-        widget->setAttribute(Qt::WA_NoSystemBackground, false);
-        QPalette p = widget->palette();
-        QColor c = p.color(QPalette::Window);
-        if (enable)
-            c.setAlpha(160);
-        else
-            c.setAlpha(255);
-        p.setColor(QPalette::Window, c);
-        widget->setPalette(p);
-        result = true;
-#endif
-#ifdef Q_OS_WIN32
-        hr = pDwmEnableBlurBehindWindow(HWND(widget->winId()), &bb);
-        if (SUCCEEDED(hr)) {
-            result = true;
-            windowNotifier()->addWidget(widget);
-        }
-    }
-#endif
-    return result;
-}
-
-/*!
-  * ExtendFrameIntoClientArea.
-  *
-  * This controls the rendering of the frame inside the window.
-  * Note that passing margins of -1 (the default value) will completely
-  * remove the frame from the window.
-  *
-  * \note you should not call enableBlurBehindWindow before calling
-  *       this functions
-  *
-  * \a enable tells if the blur should be enabled or not
-  */
-bool QtWin::extendFrameIntoClientArea(QWidget *widget, int left, int top, int right, int bottom)
-{
-
-    Q_ASSERT(widget);
-    Q_UNUSED(widget);
-    Q_UNUSED(left);
-    Q_UNUSED(top);
-    Q_UNUSED(right);
-    Q_UNUSED(bottom);
-
-    bool result = false;
-#ifdef Q_OS_WIN32
-    if (resolveLibs()) {
-        QLibrary dwmLib(QString::fromLatin1("dwmapi"));
-        HRESULT hr = S_OK;
-        MARGINS m = {left, top, right, bottom};
-        hr = pDwmExtendFrameIntoClientArea(HWND(widget->winId()), &m);
-        if (SUCCEEDED(hr)) {
-            result = true;
-            windowNotifier()->addWidget(widget);
-        }
-        widget->setAttribute(Qt::WA_TranslucentBackground, result);
-    }
-#endif
-    return result;
-}
-
-/*!
-  * Returns the current colorizationColor for the window.
-  *
-  * \a enable tells if the blur should be enabled or not
-  */
-QColor QtWin::colorizatinColor()
-{
-    QColor resultColor = QApplication::palette().window().color();
-
-#ifdef Q_OS_WIN32
-    if (resolveLibs()) {
-        DWORD color = 0;
-        BOOL opaque = FALSE;
-        QLibrary dwmLib(QString::fromLatin1("dwmapi"));
-        HRESULT hr = S_OK;
-        hr = pDwmGetColorizationColor(&color, &opaque);
-        if (SUCCEEDED(hr))
-            resultColor = QColor(color);
-    }
-#endif
-    return resultColor;
-}
-
-#ifdef Q_OS_WIN32
-WindowNotifier *QtWin::windowNotifier()
-{
-    static WindowNotifier *windowNotifierInstance = 0;
-    if (!windowNotifierInstance)
-        windowNotifierInstance = new WindowNotifier;
-    return windowNotifierInstance;
-}
-
-
-/* Notify all enabled windows that the DWM state changed */
-bool WindowNotifier::winEvent(MSG *message, long *result)
-{
-    if (message && message->message == WM_DWMCOMPOSITIONCHANGED) {
-        bool compositionEnabled = QtWin::isCompositionEnabled();
-        foreach(QWidget * widget, widgets) {
-            if (widget) {
-                widget->setAttribute(Qt::WA_NoSystemBackground, compositionEnabled);
-            }
-            widget->update();
-        }
-    }
-#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
-    return QWidget::winEvent(message, result);
-#else
-    return QWidget::nativeEvent("windows_generic_MSG", message, result);
-#endif
-}
-#endif
Index: src/qtwin.h
===================================================================
--- src/qtwin.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,37 +1,0 @@
-/*!
- * \file qtwin.h
- *
- * \author Copyright &copy; 2009 Nokia Corporation and/or its subsidiary(-ies).
- *
- *  Use, modification and distribution is allowed without limitation,
- *  warranty, liability or support of any kind.
- */
-
-#ifndef QTWIN_H
-#define QTWIN_H
-
-#include <QColor>
-#include <QWidget>
-
-class WindowNotifier;
-
-/*!
- *  This is a helper class for using the Desktop Window Manager
- *  functionality on Windows 7 and Windows Vista. On other platforms
- *  these functions will simply not do anything.
- */
-class QtWin
-{
-public:
-    static bool enableBlurBehindWindow(QWidget *widget, bool enable = true);
-    static bool extendFrameIntoClientArea(QWidget *widget,
-                                          int left = -1, int top = -1,
-                                          int right = -1, int bottom = -1);
-    static bool isCompositionEnabled();
-    static QColor colorizatinColor();
-
-private:
-    static WindowNotifier *windowNotifier();
-};
-
-#endif // QTWIN_H
Index: src/resource.h
===================================================================
--- src/resource.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,35 +1,0 @@
-/*!
- * \file resource.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief Contains windows resource IDs.
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "version.h"
-
-//! Version information resource ID
-#define VS_VERSION_INFO 1
-//! Main application icon resource ID
-#define IDI_APPICON 101
-//! Manifest file ID
-#define RT_MANIFEST 24
Index: src/settingsdialog.cpp
===================================================================
--- src/settingsdialog.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ src/settingsdialog.cpp	(revision 5515c2c2a76cbe53019066185c149c9dc88736da)
@@ -1,623 +1,35 @@
 /*
- *  TSPSG: TSP Solver and Generator
- *  Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
+ *	TSPSG - TSP Solver and Generator
+ *	Copyright (C) 2007 L¸ppa <lacontacts[at]gmail[dot]com>
  *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
+ *	This file is part of TSPSG.
  *
- *  This file is part of TSPSG.
+ *	TSPSG 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.
  *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
+ *	TSPSG 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.
  *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
+ *	You should have received a copy of the GNU General Public License
+ *	along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include "settingsdialog.h"
+#include <QMessageBox>
 
-#include <QColorDialog>
-#include <QFontDialog>
-#include <QImageWriter>
-#include <QMessageBox>
-#include <QSettings>
-
-#ifdef HANDHELD
-#   include <QScrollArea>
-#endif
-
-#if !defined(QT_NO_STATUSTIP)
-#   include <QStatusTipEvent>
-#endif
-
-#ifndef HANDHELD
-    // Eyecandy
-#   include "qtwin.h"
-#endif // HANDHELD
-
-/*!
- * \brief Class constructor.
- * \param parent Settings Dialog parent widget.
- *
- * Initializes Settings Dialog and creates its layout based on target OS.
- */
 SettingsDialog::SettingsDialog(QWidget *parent)
-    : QDialog(parent), _fontChanged(false), _colorChanged(false), _translucency(0)
+	: QDialog(parent)
 {
-    setupUi(this);
-
-    setWindowIcon(GET_ICON("preferences-system"));
-
-    buttonBox->button(QDialogButtonBox::Ok)->setIcon(GET_ICON("dialog-ok"));
-#ifndef QT_NO_STATUSTIP
-    buttonBox->button(QDialogButtonBox::Ok)->setStatusTip(tr("Save new preferences"));
-#endif
-    buttonBox->button(QDialogButtonBox::Ok)->setCursor(QCursor(Qt::PointingHandCursor));
-    buttonBox->button(QDialogButtonBox::Cancel)->setIcon(GET_ICON("dialog-cancel"));
-#ifndef QT_NO_STATUSTIP
-    buttonBox->button(QDialogButtonBox::Cancel)->setStatusTip(tr("Close without saving preferences"));
-#endif
-    buttonBox->button(QDialogButtonBox::Cancel)->setCursor(QCursor(Qt::PointingHandCursor));
-
-    buttonTextColor->setIcon(GET_ICON("format-text-color"));
-    buttonSelectedColor->setIcon(GET_ICON("format-text-color"));
-    buttonAlternateColor->setIcon(GET_ICON("format-text-color"));
-    buttonBorderColor->setIcon(GET_ICON("format-stroke-color"));
-//    buttonBgColor->setIcon(GET_ICON("format-fill-color"));
-    buttonFont->setIcon(GET_ICON("preferences-desktop-font"));
-    buttonHelp->setIcon(GET_ICON("help-hint"));
-
-QPalette p = bgWhite->palette();
-    p.setColor(QPalette::Window, p.color(QPalette::Base));
-    bgWhite->setPalette(p);
-
-    p = lineHorizontal->palette();
-    p.setColor(QPalette::Window, p.color(QPalette::Text));
-    lineHorizontal->setPalette(p);
-
-// Layout helpers
-QBoxLayout *box;
-QHBoxLayout *hbox;
-#ifndef QT_NO_PRINTER
-    cbHQGraph = new QCheckBox(bgWhite);
-    cbHQGraph->setObjectName("cbHQGraph");
-#ifndef QT_NO_STATUSTIP
-    cbHQGraph->setStatusTip(tr("Higher quality graph looks much better when printing but uglier on the screen"));
-#endif // QT_NO_STATUSTIP
-    cbHQGraph->setText(tr("Draw solution graph in higher quality"));
-    cbHQGraph->setCursor(QCursor(Qt::PointingHandCursor));
-
-    box = static_cast<QBoxLayout *>(tabOutputGeneral->layout());
-    hbox = new QHBoxLayout();
-    hbox->addSpacing(10);
-    hbox->addWidget(cbHQGraph);
-    box->insertLayout(box->indexOf(cbGenerateGraph) + 3, hbox);
-    connect(cbGenerateGraph, SIGNAL(toggled(bool)), cbHQGraph, SLOT(setEnabled(bool)));
-#endif
-
-    if (hasUpdater()) {
-        cbCheck4Updates = new QCheckBox(bgWhite);
-        cbCheck4Updates->setObjectName("cbCheck4Updates");
-#ifndef QT_NO_STATUSTIP
-        cbCheck4Updates->setStatusTip(tr("Automatically check for updates at the given interval"));
-#endif // QT_NO_STATUSTIP
-        cbCheck4Updates->setText(tr("Check for updates every"));
-        cbCheck4Updates->setCursor(QCursor(Qt::PointingHandCursor));
-
-        spinUpdateCheckInterval = new QSpinBox(bgWhite);
-        spinUpdateCheckInterval->setObjectName("spinUpdateCheckInterval");
-#ifndef QT_NO_STATUSTIP
-        spinUpdateCheckInterval->setStatusTip(tr("Minimal interval at which to check for updates"));
-#endif // QT_NO_STATUSTIP
-        spinUpdateCheckInterval->setSuffix(tr(" days", "Don't forget a space at the beginning!"));
-        spinUpdateCheckInterval->setRange(1, 365);
-        spinUpdateCheckInterval->setCursor(QCursor(Qt::PointingHandCursor));
-
-        connect(cbCheck4Updates, SIGNAL(toggled(bool)), spinUpdateCheckInterval, SLOT(setEnabled(bool)));
-
-        box = static_cast<QBoxLayout *>(tabGeneral->layout());
-        hbox = new QHBoxLayout();
-        hbox->setSpacing(0);
-        hbox->addWidget(cbCheck4Updates);
-        hbox->addWidget(spinUpdateCheckInterval);
-        hbox->addStretch();
-        box->insertLayout(box->indexOf(cbUseNativeDialogs) + 1, hbox);
-    } else
-        cbCheck4Updates = NULL;
-
-#ifdef HANDHELD
-QVBoxLayout *vbox1; // Layout helper
-
-    // On screens with small height when SIP is shown and the window is resized
-    // there is not enought space for all elements.
-    // So we show the scrollbars to be able to access them.
-QScrollArea *scrollArea = new QScrollArea(this);
-    scrollArea->setFrameShape(QFrame::NoFrame);
-    scrollArea->setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
-    scrollArea->setWidgetResizable(true);
-    scrollArea->setWidget(bgWhite);
-
-    bgWhite->layout()->setMargin(0);
-
-#ifdef Q_OS_SYMBIAN
-    // On Symbian buttons are moved to a native bar so Help button is
-    // left alone. This causes it to be more to the middle instead of
-    // to the left. Adding a stretch fixes this issue.
-    buttons->insertStretch(buttons->indexOf(buttonHelp) + 1);
-#endif
-
-    // Central layout
-    vbox1 = new QVBoxLayout(this);
-    vbox1->setMargin(0);
-    vbox1->setSpacing(0);
-    vbox1->addWidget(scrollArea);
-    vbox1->addWidget(bgGrey);
-    setLayout(vbox1);
-#else // HANDHELD
-QVBoxLayout *vbox; // Layout helper
-
-#ifndef HANDHELD
-    if (QtWin::isCompositionEnabled()) {
-        cbUseTranslucency = new QCheckBox(bgWhite);
-        cbUseTranslucency->setObjectName("cbUseTranslucency");
-#ifndef QT_NO_STATUSTIP
-        cbUseTranslucency->setStatusTip(tr("Make Main Window background translucent"));
-#endif // QT_NO_STATUSTIP
-        cbUseTranslucency->setText(tr("Use translucency effects"));
-        cbUseTranslucency->setCursor(QCursor(Qt::PointingHandCursor));
-    }
-#endif // HANDHELD
-
-    cbSaveState = new QCheckBox(bgWhite);
-    cbSaveState->setObjectName("cbSaveState");
-#ifndef QT_NO_STATUSTIP
-    cbSaveState->setStatusTip(tr("Restore main window state and position on application restart"));
-#endif // QT_NO_STATUSTIP
-    cbSaveState->setText(tr("Save main window state and position"));
-    cbSaveState->setCursor(QCursor(Qt::PointingHandCursor));
-
-    imgIcon = new QLabel(this);
-    imgIcon->setObjectName("imgIcon");
-    imgIcon->setSizePolicy(QSizePolicy::Fixed,QSizePolicy::Expanding);
-    imgIcon->setFrameShape(QFrame::NoFrame);
-    imgIcon->setPixmap(GET_ICON("preferences-system").pixmap(128, 128));
-    imgIcon->setStyleSheet("background-color: #0080C0; padding-top: 11px;");
-    imgIcon->setAlignment(Qt::AlignTop | Qt::AlignHCenter);
-    imgIcon->setMinimumWidth(150);
-
-    labelHint = new QLabel(bgGrey);
-    labelHint->setObjectName("labelHint");
-    labelHint->setSizePolicy(QSizePolicy::Expanding,QSizePolicy::Preferred);
-    labelHint->setMinimumSize(QSize(250, 28));
-    labelHint->setMaximumSize(QSize(QWIDGETSIZE_MAX, 28));
-    labelHint->setTextFormat(Qt::PlainText);
-//	labelHint->setAlignment(Qt::AlignLeft | Qt::AlignTop);
-    labelHint->setWordWrap(true);
-#ifndef QT_NO_STATUSTIP
-    labelHint->setStatusTip(tr("Hover mouse pointer over dialog elements to get additional help"));
-#endif // QT_NO_STATUSTIP
-
-    lineVertical = new QFrame(this);
-    lineVertical->setObjectName("lineVertical");
-    lineVertical->setFrameShadow(QFrame::Plain);
-    lineVertical->setFrameShape(QFrame::VLine);
-    lineVertical->setLineWidth(2);
-
-    // Top line
-    hbox = new QHBoxLayout();
-    hbox->addWidget(imgIcon);
-    hbox->addWidget(lineVertical);
-    hbox->addWidget(bgWhite);
-
-    box = static_cast<QBoxLayout *>(tabGeneral->layout());
-    box->insertWidget(box->indexOf(cbUseNativeDialogs) + 1, cbSaveState);
-#ifndef HANDHELD
-    if (QtWin::isCompositionEnabled())
-        box->insertWidget(box->indexOf(cbUseNativeDialogs) + 1, cbUseTranslucency);
-#endif // HANDHELD
-
-    // Inserting label for hints to the bottom part (with grey bg)
-    buttons->insertWidget(buttons->indexOf(buttonHelp) + 1, labelHint, 1);
-
-    // Central layout
-    vbox = new QVBoxLayout(this);
-    vbox->setMargin(0);
-    vbox->setSpacing(0);
-    vbox->addLayout(hbox);
-    vbox->addWidget(bgGrey);
-    setLayout(vbox);
-#endif // HANDHELD
-
-#ifdef Q_OS_WINCE_WM
-    // We need to react to SIP show/hide and resize the window appropriately
-    connect(QApplication::desktop(), SIGNAL(workAreaResized(int)), SLOT(desktopResized(int)));
-#endif // Q_OS_WINCE_WM
-    connect(spinRandMin, SIGNAL(valueChanged(int)), SLOT(spinRandMinValueChanged(int)));
-    connect(buttonFont, SIGNAL(clicked()), SLOT(buttonFontClicked()));
-    connect(buttonTextColor, SIGNAL(clicked()), SLOT(buttonTextColorClicked()));
-    connect(buttonSelectedColor, SIGNAL(clicked()), SLOT(buttonSelectedColorClicked()));
-    connect(buttonAlternateColor, SIGNAL(clicked()), SLOT(buttonAlternateColorClicked()));
-    connect(buttonBorderColor, SIGNAL(clicked()), SLOT(buttonBorderColorClicked()));
-//    connect(buttonBgColor, SIGNAL(clicked()), SLOT(buttonBgColorClicked()));
-    setWindowFlags(windowFlags() ^ Qt::WindowContextHelpButtonHint);
-#if !defined(QT_NO_STATUSTIP) && !defined(HANDHELD)
-    // Setting initial text of dialog hint label to own status tip text.
-    labelHint->setText(labelHint->statusTip());
-#endif // HANDHELD
-
-    settings = initSettings(this);
-    settings->remove("SettingsReset");
-
-    cbAutosize->setChecked(settings->value("Autosize", DEF_AUTOSIZE).toBool());
-    cbSaveLastUsed->setChecked(settings->value("SaveLastUsed", DEF_SAVE_LAST_USED).toBool());
-    cbUseNativeDialogs->setChecked(settings->value("UseNativeDialogs", DEF_USE_NATIVE_DIALOGS).toBool());
-#ifndef HANDHELD
-    if (QtWin::isCompositionEnabled())
-        cbUseTranslucency->setChecked(settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool());
-#endif // HANDHELD
-#ifndef HANDHELD
-    cbSaveState->setChecked(settings->value("SavePos", DEF_SAVEPOS).toBool());
-#endif // HANDHELD
-    if (cbCheck4Updates != NULL) {
-        settings->beginGroup("Check4Updates");
-        cbCheck4Updates->setChecked(settings->value("Enabled", DEF_CHECK_FOR_UPDATES).toBool());
-        spinUpdateCheckInterval->setValue(settings->value("Interval", DEF_UPDATE_CHECK_INTERVAL).toInt());
-        settings->endGroup();
-        spinUpdateCheckInterval->setEnabled(cbCheck4Updates->isChecked());
-    }
-
-    settings->beginGroup("Task");
-    cbSymmetricMode->setChecked(settings->value("SymmetricMode", DEF_SYMMETRIC_MODE).toBool());
-    spinFractionalAccuracy->setValue(settings->value("FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt());
-    spinRandMin->setMaximum(MAX_RAND_VALUE);
-    spinRandMin->setValue(settings->value("RandMin",DEF_RAND_MIN).toInt());
-    spinRandMax->setMaximum(MAX_RAND_VALUE);
-    spinRandMax->setValue(settings->value("RandMax",DEF_RAND_MAX).toInt());
-    cbFractionalRandom->setChecked(settings->value("FractionalRandom", DEF_FRACTIONAL_RANDOM).toBool());
-    settings->endGroup();
-
-    settings->beginGroup("Output");
-    cbGenerateGraph->setChecked(settings->value("GenerateGraph", DEF_GENERATE_GRAPH).toBool());
-
-    spinGraphWidth->setEnabled(cbGenerateGraph->isChecked());
-    spinGraphWidth->setValue(settings->value("GraphWidth", DEF_GRAPH_WIDTH).toDouble());
-
-#if !defined(NOSVG) && (QT_VERSION >= QT_VERSION_CHECK(4,5,0))
-    comboGraphImageFormat->addItem("svg");
-#endif
-    // We create whitelist of formats, supported by the most popular web browsers according to
-    //  http://en.wikipedia.org/wiki/Comparison_of_web_browsers#Image_format_support
-    //  + TIFF format (there are plugins to support it).
-QStringList whitelist;
-    whitelist << "bmp" << "jpeg" << "png" << "tiff" << "xbm";
-    foreach (QByteArray format, QImageWriter::supportedImageFormats()) {
-        if (whitelist.contains(format))
-            comboGraphImageFormat->addItem(format);
-    }
-    comboGraphImageFormat->model()->sort(0);
-    comboGraphImageFormat->setCurrentIndex(comboGraphImageFormat->findText(settings->value("GraphImageFormat", DEF_GRAPH_IMAGE_FORMAT).toString(), Qt::MatchFixedString));
-    if (comboGraphImageFormat->currentIndex() < 0)
-        comboGraphImageFormat->setCurrentIndex(comboGraphImageFormat->findText(DEF_GRAPH_IMAGE_FORMAT, Qt::MatchFixedString));
-    labelGraphImageFormat->setEnabled(cbGenerateGraph->isChecked());
-    comboGraphImageFormat->setEnabled(cbGenerateGraph->isChecked());
-
-#ifndef QT_NO_PRINTER
-    cbHQGraph->setEnabled(cbGenerateGraph->isChecked());
-    cbHQGraph->setChecked(settings->value("HQGraph", DEF_HQ_GRAPH).toBool());
-#endif
-
-    labelGraphWidth->setEnabled(cbGenerateGraph->isChecked());
-    cbEmbedGraphIntoHTML->setEnabled(cbGenerateGraph->isChecked());
-    cbEmbedGraphIntoHTML->setChecked(settings->value("EmbedGraphIntoHTML", DEF_EMBED_GRAPH_INTO_HTML).toBool());
-
-    cbShowMatrix->setChecked(settings->value("ShowMatrix", DEF_SHOW_MATRIX).toBool());
-    cbCitiesLimit->setEnabled(cbShowMatrix->isChecked());
-    cbCitiesLimit->setChecked(settings->value("UseShowMatrixLimit", DEF_USE_SHOW_MATRIX_LIMIT && cbShowMatrix->isChecked()).toBool());
-    spinCitiesLimit->setEnabled(cbShowMatrix->isChecked() && cbCitiesLimit->isChecked());
-    spinCitiesLimit->setValue(settings->value("ShowMatrixLimit", DEF_SHOW_MATRIX_LIMIT).toInt());
-    settings->endGroup();
-    spinCitiesLimit->setMaximum(settings->value("Tweaks/MaxNumCities", MAX_NUM_CITIES).toInt());
-    settings->beginGroup("Output");
-    cbScrollToEnd->setChecked(settings->value("ScrollToEnd", DEF_SCROLL_TO_END).toBool());
-
-    font = qvariant_cast<QFont>(settings->value("Font", QFont(DEF_FONT_FACE, DEF_FONT_SIZE)));
-    textColor = QColor(settings->value("Colors/Text", DEF_TEXT_COLOR).toString());
-    selColor = QColor(settings->value("Colors/Selected", DEF_SELECTED_COLOR).toString());
-    altColor = QColor(settings->value("Colors/Alternate", DEF_ALTERNATE_COLOR).toString());
-    borderColor = QColor(settings->value("Colors/TableBorder", DEF_TABLE_COLOR).toString());
-//    bgColor = QColor(settings->value("Colors/Background", DEF_BACKGROUND_COLOR).toString());
-    settings->endGroup();
-
-    QFont f = font;
-    f.setPointSize(labelFontExample->font().pointSize());
-    labelFontExample->setFont(f);
-    labelFontExample->setText(font.family());
-
-    setBgColor(boxTextColor, textColor);
-    setBgColor(boxSelectedColor, selColor);
-    setBgColor(boxAlternateColor, altColor);
-    setBgColor(boxBorderColor, borderColor);
-//    setBgColor(boxBgColor, bgColor);
-
-#ifdef HANDHELD
-    setWindowState(Qt::WindowMaximized);
-#else
-    adjustSize();
-#endif // Q_OS_WINCE_WM
+	setupUi(this);
+	connect(buttonOK,SIGNAL(clicked()),this,SLOT(accept()));
+	connect(buttonCancel,SIGNAL(clicked()),this,SLOT(reject()));
+	connect(spinRandMin,SIGNAL(valueChanged(int)),this,SLOT(spinRandMinValueChanged(int)));
+//	setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::MSWindowsFixedSizeDialogHint);
+	setWindowFlags(windowFlags() ^ Qt::WindowContextHelpButtonHint);
+	layout()->setSizeConstraint(layout()->SetFixedSize);
 }
 
-/*!
- * \brief Indicates whether or not the font color has been changed.
- * \return \c true if font color changed, otherwise \c false.
- */
-bool SettingsDialog::colorChanged() const
-{
-    return _colorChanged;
-}
-
-/*!
- * \brief Indicates whether or not the font properties have been changed.
- * \return \c true if font properties changed, otherwise \c false.
- */
-bool SettingsDialog::fontChanged() const
-{
-    return _fontChanged;
-}
-
-/*!
- * \brief Indicates whether and how the translucency setting was changed
- * \retval -1 the translucency was \em disabled.
- * \retval  0 the translucency <em>didn't change</em>.
- * \retval  1 the translucency was \em enabled.
- */
-qint8 SettingsDialog::translucencyChanged() const
-{
-    return _translucency;
-}
-
-/* Privates **********************************************************/
-
-void SettingsDialog::accept()
-{
-    if (QApplication::keyboardModifiers() & Qt::ShiftModifier) {
-        if (QMessageBox::question(this, tr("Settings Reset"),
-                                  tr("Do you really want to <b>reset all application settings"
-                                     " to their defaults</b>?<br>"
-                                     "Please, note that \"Tweaks\" section won't be reset."),
-                                  QMessageBox::RestoreDefaults | QMessageBox::Cancel)
-                == QMessageBox::RestoreDefaults) {
-            _fontChanged = (font != QFont(DEF_FONT_FACE, DEF_FONT_SIZE));
-            _colorChanged = (textColor != DEF_TEXT_COLOR);
-            // Saving Tweaks section as we don't reset it
-            settings->beginGroup("Tweaks");
-            QHash<QString, QVariant> values;
-            foreach (const QString &key, settings->childKeys()) {
-                values.insert(key, settings->value(key));
-            }
-            settings->endGroup();
-            settings->remove("");
-            settings->setValue("SettingsReset", true);
-            if (!values.empty()) {
-                settings->beginGroup("Tweaks");
-                foreach (const QString &key, values.keys()) {
-                    settings->setValue(key, values.value(key));
-                }
-                settings->endGroup();
-            }
-            QDialog::accept();
-            QMessageBox::information(this->parentWidget(), tr("Settings Reset"), tr("All settings where successfully reset to their defaults.\nIt is recommended to restart the application now."));
-            return;
-        } else
-            return;
-    }
-    settings->setValue("Autosize", cbAutosize->isChecked());
-    settings->setValue("SaveLastUsed", cbSaveLastUsed->isChecked());
-    settings->setValue("UseNativeDialogs", cbUseNativeDialogs->isChecked());
-#ifndef HANDHELD
-    if (QtWin::isCompositionEnabled()) {
-bool old = settings->value("UseTranslucency", DEF_USE_TRANSLUCENCY).toBool();
-        if ((!old && cbUseTranslucency->isChecked()) || (old && !cbUseTranslucency->isChecked())) {
-            _translucency = old ? -1 : 1;
-        } else
-            _translucency = 0;
-        settings->setValue("UseTranslucency", cbUseTranslucency->isChecked());
-    }
-    settings->setValue("SavePos", cbSaveState->isChecked());
-#endif // HANDHELD
-    if (cbCheck4Updates != NULL) {
-        settings->beginGroup("Check4Updates");
-        settings->setValue("Enabled", cbCheck4Updates->isChecked());
-        if (cbCheck4Updates->isChecked())
-            settings->setValue("Interval", spinUpdateCheckInterval->value());
-        settings->endGroup();
-    }
-
-    settings->beginGroup("Task");
-    settings->setValue("SymmetricMode", cbSymmetricMode->isChecked());
-    settings->setValue("FractionalAccuracy", spinFractionalAccuracy->value());
-    settings->setValue("RandMin", spinRandMin->value());
-    settings->setValue("RandMax", spinRandMax->value());
-    settings->setValue("FractionalRandom", cbFractionalRandom->isChecked());
-    settings->endGroup();
-
-    settings->beginGroup("Output");
-    settings->setValue("GenerateGraph", cbGenerateGraph->isChecked());
-    if (cbGenerateGraph->isChecked()) {
-        settings->setValue("GraphWidth", spinGraphWidth->value());
-        if (cbGenerateGraph->isChecked()) {
-            if (comboGraphImageFormat->currentIndex() >= 0)
-                settings->setValue("GraphImageFormat", comboGraphImageFormat->currentText());
-            else
-                settings->setValue("GraphImageFormat", DEF_GRAPH_IMAGE_FORMAT);
-        }
-#ifndef QT_NO_PRINTER
-        settings->setValue("HQGraph", cbHQGraph->isChecked());
-#endif
-        settings->setValue("EmbedGraphIntoHTML", cbEmbedGraphIntoHTML->isChecked());
-    }
-    settings->setValue("ShowMatrix", cbShowMatrix->isChecked());
-    settings->setValue("UseShowMatrixLimit", cbShowMatrix->isChecked() && cbCitiesLimit->isChecked());
-    if (cbCitiesLimit->isChecked())
-        settings->setValue("ShowMatrixLimit", spinCitiesLimit->value());
-    settings->setValue("ScrollToEnd", cbScrollToEnd->isChecked());
-    if (_fontChanged)
-        settings->setValue("Font", font);
-    if (_colorChanged) {
-        settings->beginGroup("Colors");
-        if (textColor != DEF_TEXT_COLOR)
-            settings->setValue("Text", textColor.name());
-        else
-            settings->remove("Text");
-        if (selColor != QColor(DEF_SELECTED_COLOR))
-            settings->setValue("Selected", selColor.name());
-        else
-            settings->remove("Selected");
-        if (altColor != DEF_ALTERNATE_COLOR)
-            settings->setValue("Alternate",altColor.name());
-        else
-            settings->remove("Alternate");
-        if (borderColor != DEF_TABLE_COLOR)
-            settings->setValue("TableBorder", borderColor.name());
-        else
-            settings->remove("TableColor");
-//        if (bgColor != DEF_BACKGROUND_COLOR)
-//            settings->setValue("Background", bgColor.name());
-//        else
-//            settings->remove("Background");
-        settings->endGroup();
-    }
-    settings->endGroup();
-    QDialog::accept();
-}
-
-void SettingsDialog::pickColor(QColor &where)
-{
-    QColor color = QColorDialog::getColor(where, this);
-    if (color.isValid() && (where != color)) {
-        where = color;
-        _colorChanged = true;
-    }
-}
-
-void SettingsDialog::setBgColor(QWidget *widget, const QColor &color)
-{
-    QPalette p = widget->palette();
-    p.setColor(QPalette::Window, color);
-    widget->setPalette(p);
-}
-
-void SettingsDialog::buttonTextColorClicked()
-{
-    pickColor(textColor);
-    setBgColor(boxTextColor, textColor);
-}
-
-void SettingsDialog::buttonSelectedColorClicked()
-{
-    pickColor(selColor);
-    setBgColor(boxSelectedColor, selColor);
-}
-
-void SettingsDialog::buttonAlternateColorClicked()
-{
-    pickColor(altColor);
-    setBgColor(boxAlternateColor, altColor);
-}
-
-void SettingsDialog::buttonBorderColorClicked()
-{
-    pickColor(borderColor);
-    setBgColor(boxBorderColor, borderColor);
-}
-
-//void SettingsDialog::buttonBgColorClicked()
-//{
-//    pickColor(bgColor);
-//    setBgColor(boxBgColor, bgColor);
-//}
-
-void SettingsDialog::buttonFontClicked()
-{
-    QFont newFont;
-#ifdef Q_OS_BLACKBERRY
-    QFontDialog fd(font, this);
-    fd.setWindowState(Qt::WindowMaximized);
-    if ((fd.exec() != QDialog::Accepted) || (fd.selectedFont() == font))
-        return;
-    newFont = fd.selectedFont();
-#else
-    bool ok;
-    newFont = QFontDialog::getFont(&ok, font, this);
-    if (!ok || (font == newFont))
-        return;
-#endif
-    font = newFont;
-    QFont f = font;
-    f.setPointSize(labelFontExample->font().pointSize());
-    labelFontExample->setFont(f);
-    labelFontExample->setText(font.family());
-    _fontChanged = true;
-}
-
-#ifdef Q_OS_WINCE_WM
-void SettingsDialog::desktopResized(int screen)
-{
-    if (screen != 0)
-        return;
-
-QRect availableGeometry = QApplication::desktop()->availableGeometry(0);
-    if (currentGeometry != availableGeometry) {
-        QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-        /*!
-         * \hack HACK: This hack checks whether \link QDesktopWidget::availableGeometry() availableGeometry()\endlink's \c top + \c hegiht = \link QDesktopWidget::screenGeometry() screenGeometry()\endlink's \c height.
-         *  If \c true, the window gets maximized. If we used \c setGeometry() in this case, the bottom of the
-         *  window would end up being behind the soft buttons. Is this a bug in Qt or Windows Mobile?
-         */
-        if ((availableGeometry.top() + availableGeometry.height()) == QApplication::desktop()->screenGeometry().height()) {
-            setWindowState(windowState() | Qt::WindowMaximized);
-        } else {
-            if (windowState() & Qt::WindowMaximized)
-                setWindowState(windowState() ^ Qt::WindowMaximized);
-            setGeometry(availableGeometry);
-        }
-        currentGeometry = availableGeometry;
-        QApplication::restoreOverrideCursor();
-    }
-}
-
-void SettingsDialog::showEvent(QShowEvent *ev)
-{
-    desktopResized(0);
-
-    QWidget::showEvent(ev);
-}
-#endif // Q_OS_WINCE_WM
-
-void SettingsDialog::spinRandMinValueChanged(int val) {
-    spinRandMax->setMinimum(val);
-}
-
-#if !defined(QT_NO_STATUSTIP) && !defined(HANDHELD)
-bool SettingsDialog::event(QEvent *ev)
-{
-    // Checking for StatusTip event and if tip text is not empty string
-    // setting it as text of the dialog hint label. Otherwise, setting
-    // dialog hint label text to own status tip text.
-    if (ev->type() == QEvent::StatusTip) {
-QString tip = static_cast<QStatusTipEvent *>(ev)->tip();
-        if (tip.length() != 0)
-            labelHint->setText(tip);
-        else
-            labelHint->setText(labelHint->statusTip());
-        return true;
-    } else
-        return QDialog::event(ev);
-}
-#endif // HANDHELD
Index: src/settingsdialog.h
===================================================================
--- src/settingsdialog.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ src/settingsdialog.h	(revision 5515c2c2a76cbe53019066185c149c9dc88736da)
@@ -1,27 +1,20 @@
-/*!
- * \file settingsdialog.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
+/*
+ *	TSPSG - TSP Solver and Generator
+ *	Copyright (C) 2007 L¸ppa <lacontacts[at]gmail[dot]com>
  *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
+ *	This file is part of TSPSG.
  *
- * \brief Defines SettingsDialog class.
+ *	TSPSG 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.
  *
- *  <b>TSPSG: TSP Solver and Generator</b>
+ *	TSPSG 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.
  *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
+ *	You should have received a copy of the GNU General Public License
+ *	along with TSPSG.  If not, see <http://www.gnu.org/licenses/>.
  */
 
@@ -29,69 +22,17 @@
 #define SETTINGSDIALOG_H
 
-#include "globals.h"
-
+#include <QDialog>
 #include "ui_settingsdialog.h"
 
-/*!
- * \brief Class for handling Settings Dialog UI and logic.
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- */
 class SettingsDialog: public QDialog, Ui::SettingsDialog
 {
-    Q_OBJECT
+	Q_OBJECT
 public:
-    SettingsDialog(QWidget *parent = 0);
-    bool colorChanged() const;
-    bool fontChanged() const;
-    qint8 translucencyChanged() const;
-
-private:
-    bool _fontChanged;
-    bool _colorChanged;
-    qint8 _translucency;
-
-    QColor textColor, selColor, altColor, borderColor, bgColor;
-    QFont font;
-
-    QSettings *settings;
-    QHBoxLayout *layoutCitiesLimit;
-#ifndef HANDHELD
-    QCheckBox *cbUseTranslucency;
-#endif // HANDHELD
-    QCheckBox *cbCheck4Updates;
-    QSpinBox *spinUpdateCheckInterval;
-#ifndef QT_NO_PRINTER
-    QCheckBox *cbHQGraph;
-#endif
-#ifdef Q_OS_WINCE_WM
-    QRect currentGeometry;
-#elif !defined(HANDHELD)
-    QCheckBox *cbSaveState;
-    QLabel *imgIcon;
-    QFrame *lineVertical;
-    QLabel *labelHint;
-
-#ifndef QT_NO_STATUSTIP
-    bool event(QEvent *ev);
-#endif // QT_NO_STATUSTIP
-#endif // Q_OS_WINCE_WM
-
-    void pickColor(QColor &where);
-    void setBgColor(QWidget *widget, const QColor &color);
-
+	SettingsDialog(QWidget *parent = 0);
+	
 private slots:
-    void accept();
-    void buttonTextColorClicked();
-    void buttonSelectedColorClicked();
-    void buttonAlternateColorClicked();
-    void buttonBorderColorClicked();
-//    void buttonBgColorClicked();
-    void buttonFontClicked();
-#ifdef Q_OS_WINCE_WM
-    void desktopResized(int screen);
-    void showEvent(QShowEvent *ev);
-#endif // Q_OS_WINCE_WM
-    void spinRandMinValueChanged(int val);
+	void spinRandMinValueChanged(int val) { spinRandMax->setMinimum(val + 1); }
 };
 
-#endif // SETTINGSDIALOG_H
+#endif //  SETTINGSDIALOG_H
+
Index: src/shobjidl.h
===================================================================
--- src/shobjidl.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,95 +1,0 @@
-/*!
- * \file shobjidl.h
- * \author Copyright &copy; Microsoft Corporation
- * \author Extracted and documented by Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- * \version Microsoft Windows SDK v7.0A
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief This file is a minimal required part of \c %shobjidl.h from <b>Microsoft Windows SDK v7.0A</b>.
- *
- *  This file is an extract of \c %shobjidl.h from <b>Microsoft Windows SDK v7.0A</b>.
- *  It is needed to support <b>Windows 7 Taskbar Extensions</b> (namely, <em>Progress Bars</em>)
- *  and contains minimal required definition of \c ITaskbarList3 interface.
- *
- *  Tested with \b MSVC and \b mingw32. Doesn't need <b>Windows 7 SDK</b> itself.
- *
- * \note Don't forget to link to \b ole32 library when using this file (usually \c -lole32 linker flag is enough).
- */
-
-#ifndef _SHOBJIDL_H
-#define _SHOBJIDL_H
-
-#define INITGUID
-#include <windows.h>
-
-#ifndef DOXYGEN_EXCLUDE
-DEFINE_GUID(CLSID_TaskbarList, 0x56fdf344,0xfd6d,0x11d0,0x95,0x8a,0x00,0x60,0x97,0xc9,0xa0,0x90);
-DEFINE_GUID(IID_ITaskbarList3, 0xea1afb91,0x9e28,0x4b86,0x90,0xe9,0x9e,0x9f,0x8a,0x5e,0xef,0xaf);
-#endif
-
-enum TBPFLAG {
-	/*! Stops displaying progress and returns the button to its normal state. Call this method with this flag to dismiss the progress bar when the operation is complete or cancelled. */
-	TBPF_NOPROGRESS		= 0,
-
-	/*! The progress indicator does not grow in size, but cycles repeatedly along the length of the taskbar button. This indicates activity without specifying what proportion of the progress is complete. Progress is taking place, but there is no prediction as to how long the operation will take. */
-	TBPF_INDETERMINATE	= 0x1,
-
-	/*! The progress indicator grows in size from left to right in proportion to the estimated amount of the operation completed. This is a determinate progress indicator; a prediction is being made as to the duration of the operation. */
-	TBPF_NORMAL			= 0x2,
-
-	/*! The progress indicator turns red to show that an error has occurred in one of the windows that is broadcasting progress. This is a determinate state. If the progress indicator is in the indeterminate state, it switches to a red determinate display of a generic percentage not indicative of actual progress. */
-	TBPF_ERROR			= 0x4,
-
-	/*! The progress indicator turns yellow to show that progress is currently stopped in one of the windows but can be resumed by the user. No error condition exists and nothing is preventing the progress from continuing. This is a determinate state. If the progress indicator is in the indeterminate state, it switches to a yellow determinate display of a generic percentage not indicative of actual progress. */
-	TBPF_PAUSED			= 0x8
-};
-
-#ifndef DOXYGEN_EXCLUDE
-DECLARE_INTERFACE_(ITaskbarList3, IUnknown)
-{
-	/*** IUnknown methods ***/
-	STDMETHOD(QueryInterface) (THIS_ REFIID riid, void **ppv) PURE;
-	STDMETHOD_(ULONG, AddRef) (THIS) PURE;
-	STDMETHOD_(ULONG, Release) (THIS) PURE;
-	/*** ITaskbarList specific methods ***/
-	STDMETHOD(HrInit) (THIS) PURE;
-	STDMETHOD(AddTab) (THIS_ HWND hwnd) PURE;
-	STDMETHOD(DeleteTab) (THIS_ HWND hwnd) PURE;
-	STDMETHOD(ActivateTab) (THIS_ HWND hwnd) PURE;
-	STDMETHOD(SetActiveAlt) (THIS_ HWND hwnd) PURE;
-	/*** ITaskbarList2 specific methods ***/
-	STDMETHOD(MarkFullscreenWindow) (THIS_ HWND hwnd, BOOL fFullscreen) PURE;
-	/*** ITaskbarList3 specific methods (only used ones) ***/
-	STDMETHOD(SetProgressValue) (THIS_ HWND hwnd, ULONGLONG ullCompleted, ULONGLONG ullTotal) PURE;
-	STDMETHOD(SetProgressState) (THIS_ HWND hwnd, TBPFLAG tbpFlags) PURE;
-};
-#else
-// This block is strictly for doxygen.
-/*!
- * \brief Exposes methods that control the taskbar.
- *
- *  Extends ITaskbarList2 by exposing methods that support the unified launching and switching taskbar button functionality added in Windows 7. This functionality includes thumbnail representations and switch targets based on individual tabs in a tabbed application, thumbnail toolbars, notification and status overlays, and progress indicators. This interface also provides the methods of the ITaskbarList and ITaskbarList2 interfaces, from which it inherits.
- */
-public interface class ITaskbarList3: public ITaskbarList2 {
-	/*!
-	 * \brief Sets the type and state of the progress indicator displayed on a taskbar button.
-	 * \param hwnd The handle of the window in which the progress of an operation is being shown. This window's associated taskbar button will display the progress bar.
-	 * \param tbpFlags Flags that control the current state of the progress button.
-	 * \return Returns S_OK if successful, or an error value otherwise.
-	 *
-	 * \note A call to SetProgressValue() will switch a progress indicator currently in an indeterminate mode (#TBPF_INDETERMINATE) to a normal (determinate) display and clear the #TBPF_INDETERMINATE flag.
-	 */
-	HRESULT SetProgressState(HWND hwnd, TBPFLAG tbpFlags);
-	/*!
-	 * \brief Displays or updates a progress bar hosted in a taskbar button to show the specific percentage completed of the full operation.
-	 * \param hwnd The handle of the window whose associated taskbar button is being used as a progress indicator.
-	 * \param ullCompleted An application-defined value that indicates the proportion of the operation that has been completed at the time the method is called.
-	 * \param ullTotal An application-defined value that specifies the value \a ullCompleted will have when the operation is complete.
-	 */
-	HRESULT SetProgressValue(HWND hwnd, ULONGLONG ullCompleted, ULONGLONG ullTotal);
-};
-#endif
-
-#endif /* _SHOBJIDL_H */
Index: src/tspmodel.cpp
===================================================================
--- src/tspmodel.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,549 +1,0 @@
-/*
- *  TSPSG: TSP Solver and Generator
- *  Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "tspmodel.h"
-
-#include <QApplication>
-#include <QFile>
-#include <QMessageBox>
-#include <QSettings>
-#include <QtCore/qmath.h>
-
-#include "tspsolver.h"
-#include "os.h"
-
-/*!
- * \brief Class constructor.
- * \param parent The parent of the table model.
- */
-CTSPModel::CTSPModel(QObject *parent)
-    : QAbstractTableModel(parent), settings(initSettings(this)), nCities(0) {}
-
-/*!
- * \brief Resets the table, setting all its elements to 0.
- *
- * \sa randomize()
- */
-void CTSPModel::clear()
-{
-    for (int r = 0; r < nCities; r++)
-        for (int c = 0; c < nCities; c++)
-            if (r != c)
-                table[r][c] = 0;
-    emit dataChanged(index(0,0),index(nCities - 1,nCities - 1));
-}
-
-/*!
- * \brief Returns the column count in the table.
- * \return Number of columns in the table.
- *
- *  Actually, this function returns the number of cities in the current task.
- *
- * \sa numCities(), rowCount()
- */
-int CTSPModel::columnCount(const QModelIndex &) const
-{
-    return nCities;
-}
-
-/*!
- * \brief Returns the data stored under the given \a role for the item referred to by the \a index.
- * \param index An item index to get data from.
- * \param role The role to get data for.
- * \return Corresponding data.
- *
- * \sa setData(), headerData()
- */
-QVariant CTSPModel::data(const QModelIndex &index, int role) const
-{
-    if (!index.isValid())
-        return QVariant();
-    if (role == Qt::TextAlignmentRole)
-        return int(Qt::AlignCenter);
-    else if (role == Qt::FontRole) {
-QFont font;
-        font.setBold(true);
-        return font;
-    } else if (role == Qt::DisplayRole || role == Qt::EditRole) {
-        if (index.row() < nCities && index.column() < nCities)
-            if (table.at(index.row()).at(index.column()) == INFINITY)
-                return tr(INFSTR);
-            else
-                //! \hack HACK: Converting to string to prevent spinbox in edit mode
-                return QVariant(table.at(index.row()).at(index.column())).toString();
-        else
-            return QVariant();
-    } else if (role == Qt::UserRole)
-        return table[index.row()][index.column()];
-    return QVariant();
-}
-
-/*!
- * \brief Returns the item flags for the given \a index.
- * \param index An item index to get flags from.
- * \return Corresponding item flags.
- */
-Qt::ItemFlags CTSPModel::flags(const QModelIndex &index) const
-{
-Qt::ItemFlags flags = QAbstractItemModel::flags(index);
-    if (index.row() != index.column())
-        flags |= Qt::ItemIsEditable;
-    return flags;
-}
-
-/*!
- * \brief Returns the data for the given \a role and \a section in the header with the specified \a orientation.
- * \param section The section to get header data for.
- * \param orientation The orientation to get header data for.
- * \param role The role to get header data for.
- * \return Corresponding header data.
- *
- *  For horizontal headers, the section number corresponds to the column number of items shown beneath it. For vertical headers, the section number typically to the row number of items shown alongside it.
- */
-QVariant CTSPModel::headerData(int section, Qt::Orientation orientation, int role) const
-{
-    if (role == Qt::DisplayRole) {
-        if (orientation == Qt::Vertical)
-            return tr("City %1").arg(section + 1);
-        else
-            return tr("%1").arg(section + 1);
-    }
-    return QVariant();
-}
-
-/*!
- * \brief Loads a task from \a fname.
- * \param fname The name of the file to be loaded.
- * \return \c true on success, otherwise \c false.
- *
- * \sa saveTask()
- */
-bool CTSPModel::loadTask(const QString &fname)
-{
-    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-QFile f(fname);
-    if (!f.open(QIODevice::ReadOnly)) {
-        QApplication::restoreOverrideCursor();
-        QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Load"), QString(tr("Unable to open task file.\nError: %1")).arg(f.errorString()));
-        QApplication::restoreOverrideCursor();
-        return false;
-    }
-QDataStream ds(&f);
-    ds.setVersion(QDataStream::Qt_4_4);
-quint32 sig;
-    ds >> sig;
-    if (loadError(ds.status())) {
-        return false;
-    }
-    ds.device()->reset();
-    if (sig == TSPT) {
-        if (!loadTSPT(&ds)) {
-            f.close();
-            return false;
-        }
-    } else if ((sig >> 16) == ZKT) {
-        if (!loadZKT(&ds)) {
-            f.close();
-            return false;
-        }
-    } else {
-        f.close();
-        QApplication::restoreOverrideCursor();
-        QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n" + tr("Unknown file format or file is corrupted."));
-        QApplication::restoreOverrideCursor();
-        return false;
-    }
-    f.close();
-    QApplication::restoreOverrideCursor();
-    return true;
-}
-
-/*!
- * \brief Returns the number of cities.
- * \return Number of cities in the current task.
- *
- * \sa columnCount(), rowCount(), setNumCities()
- */
-quint16 CTSPModel::numCities() const
-{
-    return nCities;
-}
-
-/*!
- * \brief Randomizes the table by setting all its values to random ones.
- *
- *  Uses TSPSG settings to determine random values range.
- *
- * \sa clear()
- */
-void CTSPModel::randomize()
-{
-int randMin = settings->value("Task/RandMin", DEF_RAND_MIN).toInt();
-int randMax = settings->value("Task/RandMax", DEF_RAND_MAX).toInt();
-    if (settings->value("Task/SymmetricMode", DEF_SYMMETRIC_MODE).toBool()) {
-        for (int r = 0; r < nCities; r++)
-            for (int c = 0; c < r; c++)
-                table[c][r] = table[r][c] = rand(randMin, randMax);
-    } else {
-        for (int r = 0; r < nCities; r++)
-            for (int c = 0; c < nCities; c++)
-                if (r != c)
-                    table[r][c] = rand(randMin, randMax);
-    }
-    emit dataChanged(index(0,0), index(nCities - 1, nCities - 1));
-}
-
-/*!
- * \brief Returns the row count in the table.
- * \return Number of rows in the table.
- *
- *  Actually, this function returns the number of cities in the current task.
- *
- * \sa columnCount(), numCities()
- */
-int CTSPModel::rowCount(const QModelIndex &) const
-{
-    return nCities;
-}
-
-/*!
- * \brief Saves current task to \a fname.
- * \param fname The name of the file to seve to.
- * \return \c true on success, otherwise \c false.
- *
- * \sa loadTask()
- */
-bool CTSPModel::saveTask(const QString &fname)
-{
-    QApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
-QFile f(fname);
-    if (!f.open(QIODevice::WriteOnly)) {
-        QApplication::restoreOverrideCursor();
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Save"), QString(tr("Unable to create task file.\nError: %1\nMaybe, file is read-only?")).arg(f.errorString()));
-        f.remove();
-        return false;
-    }
-QDataStream ds(&f);
-    ds.setVersion(QDataStream::Qt_4_4);
-    if (f.error() != QFile::NoError) {
-        QApplication::restoreOverrideCursor();
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Save"), tr("Unable to save task.\nError: %1").arg(f.errorString()));
-        f.close();
-        f.remove();
-        return false;
-    }
-    // File signature
-    ds << TSPT;
-    if (f.error() != QFile::NoError) {
-        QApplication::restoreOverrideCursor();
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Save"), tr("Unable to save task.\nError: %1").arg(f.errorString()));
-        f.close();
-        f.remove();
-        return false;
-    }
-    // File version
-    ds << TSPT_VERSION;
-    if (f.error() != QFile::NoError) {
-        QApplication::restoreOverrideCursor();
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Save"), tr("Unable to save task.\nError: %1").arg(f.errorString()));
-        f.close();
-        f.remove();
-        return false;
-    }
-    // File metadata version
-    ds << TSPT_META_VERSION;
-    if (f.error() != QFile::NoError) {
-        QApplication::restoreOverrideCursor();
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Save"), tr("Unable to save task.\nError: %1").arg(f.errorString()));
-        f.close();
-        f.remove();
-        return false;
-    }
-    // Metadata
-    ds << OSID;
-    if (f.error() != QFile::NoError) {
-        QApplication::restoreOverrideCursor();
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Save"), tr("Unable to save task.\nError: %1").arg(f.errorString()));
-        f.close();
-        f.remove();
-        return false;
-    }
-    // Number of cities
-    ds << nCities;
-    if (f.error() != QFile::NoError) {
-        QApplication::restoreOverrideCursor();
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Save"), tr("Unable to save task.\nError: %1").arg(f.errorString()));
-        f.close();
-        f.remove();
-        return false;
-    }
-    // Costs
-    for (int r = 0; r < nCities; r++)
-        for (int c = 0; c < nCities; c++)
-            if (r != c) {
-                ds << static_cast<double>(table[r][c]); // We cast to double because double may be float on some platforms and we store double values in file
-                if (f.error() != QFile::NoError) {
-                    QApplication::restoreOverrideCursor();
-                    QMessageBox::critical(QApplication::activeWindow(), tr("Task Save"), tr("Unable to save task.\nError: %1").arg(f.errorString()));
-                    f.close();
-                    f.remove();
-                    return false;
-                }
-            }
-    f.close();
-    QApplication::restoreOverrideCursor();
-    return true;
-}
-
-/*!
- * \brief Sets the \a role data for the item at \a index to \a value.
- * \param index The index of the item to set data at.
- * \param value The value of the item data to be set.
- * \param role The role of the item to set data for.
- * \return \c true on success, otherwise \c false.
- *
- * \sa data()
- */
-bool CTSPModel::setData(const QModelIndex &index, const QVariant &value, int role)
-{
-    if (!index.isValid())
-        return false;
-    if (role == Qt::EditRole && index.row() != index.column()) {
-        if ((value.toString().compare(INFSTR) == 0)
-                || (value.toString().contains(QRegExp("^[^0-9]+$", Qt::CaseInsensitive)))) {
-            table[index.row()][index.column()] = INFINITY;
-        } else {
-bool ok;
-double tmp = value.toDouble(&ok);
-            if (!ok || tmp < 0)
-                return false;
-            else {
-                table[index.row()][index.column()] = tmp;
-                if (settings->value("Task/SymmetricMode", DEF_SYMMETRIC_MODE).toBool())
-                    table[index.column()][index.row()] = tmp;
-            }
-        }
-        emit dataChanged(index,index);
-        return true;
-    }
-    return false;
-}
-
-/*!
- * \brief Sets number of cities in the current task to \a n.
- * \param n Number of cities to set to.
- *
- * \sa numCities()
- */
-void CTSPModel::setNumCities(int n)
-{
-    if (n == nCities)
-        return;
-    emit layoutAboutToBeChanged();
-    table.resize(n);
-    for (int k = 0; k < n; k++) {
-        table[k].resize(n);
-    }
-    if (n > nCities)
-        for (int k = nCities; k < n; k++)
-            table[k][k] = INFINITY;
-    nCities = n;
-    emit layoutChanged();
-}
-
-/* Privates **********************************************************/
-
-inline bool CTSPModel::loadError(QDataStream::Status status)
-{
-QString err;
-    if (status == QDataStream::Ok)
-        return false;
-    else if (status == QDataStream::ReadPastEnd)
-        err = tr("Unexpected end of file. The file could be corrupted.");
-    else if (status == QDataStream::ReadCorruptData)
-        err = tr("Corrupt data read. The file could be corrupted.");
-    else
-        err = tr("Unknown error. The file could be corrupted.");
-    QApplication::restoreOverrideCursor();
-    QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-    QMessageBox::critical(QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n" + err);
-    QApplication::restoreOverrideCursor();
-    return true;
-}
-
-bool CTSPModel::loadTSPT(QDataStream *ds)
-{
-    // Skipping signature
-    ds->skipRawData(sizeof(TSPT));
-    if (loadError(ds->status()))
-        return false;
-    // File version
-quint8 version;
-    *ds >> version;
-    if (loadError(ds->status()))
-        return false;
-    if (version > TSPT_VERSION) {
-        QApplication::restoreOverrideCursor();
-        QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n"
-            + tr("File version (%1) is newer than this version of %3 supports (%2).\n"
-                 "Please, try to update the application. Also, the file could be corrupted.")
-                 .arg(version).arg(TSPT_VERSION).arg(QApplication::applicationName()));
-        QApplication::restoreOverrideCursor();
-        return false;
-    }
-    // Skipping metadata
-    ds->skipRawData(TSPT_META_SIZE);
-    if (loadError(ds->status()))
-        return false;
-    // Number of cities
-quint16 size;
-    *ds >> size;
-    if (loadError(ds->status()))
-        return false;
-    if (size < 3) {
-        QApplication::restoreOverrideCursor();
-        QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n"
-            + tr("Unexpected data read. The file could be corrupted."));
-        QApplication::restoreOverrideCursor();
-        return false;
-    }
-    if (size > settings->value("Tweaks/MaxNumCities", MAX_NUM_CITIES).toInt()) {
-        QApplication::restoreOverrideCursor();
-        QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-        if (settings->contains("Tweaks/MaxNumCities")) {
-            QMessageBox::critical(
-                        QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n"
-                        + tr("Your Tweaks/MaxNumCities setting in tspsg.ini is currently set to %1"
-                             " but the task you're trying to load contains %2 cities.\n"
-                             "Please, set Tweaks/MaxNumCities setting to at least %2"
-                             " to be able to load this task.")
-                        .arg(settings->value("Tweaks/MaxNumCities").toInt()).arg(size));
-        } else {
-            QMessageBox::critical(
-                        QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n"
-                        + tr("The maximum number of cities this version of %1 supports is %2"
-                             " but the task you're trying to load contains %3.\n"
-                             "You might be using an old version of the application or the file"
-                             " could be corrupted.")
-                        .arg(QApplication::applicationName()).arg(MAX_NUM_CITIES).arg(size));
-        }
-        QApplication::restoreOverrideCursor();
-        return false;
-    }
-    if (nCities != size) {
-        setNumCities(size);
-        emit numCitiesChanged(size);
-    }
-
-double x; // We need this as double may be float on some platforms and we store double values in file
-    // Travel costs
-    for (int r = 0; r < size; r++)
-        for (int c = 0; c < size; c++)
-            if (r != c) {
-                *ds >> x;
-                table[r][c] = x;
-                if (loadError(ds->status())) {
-                    clear();
-                    return false;
-                }
-            }
-    emit dataChanged(index(0,0),index(nCities - 1,nCities - 1));
-    QApplication::restoreOverrideCursor();
-    return true;
-}
-
-bool CTSPModel::loadZKT(QDataStream *ds)
-{
-    // Skipping signature
-    ds->skipRawData(sizeof(ZKT));
-    if (loadError(ds->status()))
-        return false;
-    // File version
-quint16 version;
-    ds->readRawData(reinterpret_cast<char *>(&version),2);
-    if (loadError(ds->status()))
-        return false;
-    if (version > ZKT_VERSION) {
-        QApplication::restoreOverrideCursor();
-        QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n"
-            + tr("File version (%1) is newer than this version of %3 supports (%2).\n"
-                 "Please, try to update the application. Also, the file could be corrupted.")
-                 .arg(version).arg(TSPT_VERSION).arg(QApplication::applicationName()));
-        QApplication::restoreOverrideCursor();
-        return false;
-    }
-    // Number of cities
-quint8 size;
-    ds->readRawData(reinterpret_cast<char *>(&size),1);
-    if (loadError(ds->status()))
-        return false;
-    if ((size < 3) || (size > 5)) {
-        QApplication::restoreOverrideCursor();
-        QApplication::setOverrideCursor(QCursor(Qt::ArrowCursor));
-        QMessageBox::critical(QApplication::activeWindow(), tr("Task Load"), tr("Unable to load task:") + "\n"
-            + tr("Unexpected data read. The file could be corrupted."));
-        QApplication::restoreOverrideCursor();
-        return false;
-    }
-    if (nCities != size) {
-        setNumCities(size);
-        emit numCitiesChanged(size);
-    }
-    // Travel costs
-double val;
-    for (int r = 0; r < 5; r++)
-        for (int c = 0; c < 5; c++)
-            if ((r != c) && (r < size) && (c < size)) {
-                ds->readRawData(reinterpret_cast<char *>(&val),8);
-                if (loadError(ds->status())) {
-                    clear();
-                    return false;
-                }
-                table[r][c] = val;
-            } else {
-                ds->skipRawData(8);
-                if (loadError(ds->status())) {
-                    clear();
-                    return false;
-                }
-            }
-    emit dataChanged(index(0,0),index(nCities - 1,nCities - 1));
-    QApplication::restoreOverrideCursor();
-    return true;
-}
-
-inline double CTSPModel::rand(int min, int max) const
-{
-double r;
-    if (settings->value("Task/FractionalRandom", DEF_FRACTIONAL_RANDOM).toBool()) {
-double x = qPow(10, settings->value("Task/FractionalAccuracy", DEF_FRACTIONAL_ACCURACY).toInt());
-        r = (double)qRound((double)qrand() / RAND_MAX * (max - min) * x) / x;
-    } else
-        r = qRound((double)qrand() / RAND_MAX * (max - min));
-    return min + r;
-}
Index: src/tspmodel.h
===================================================================
--- src/tspmodel.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,78 +1,0 @@
-/*!
- * \file tspmodel.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief Defines CTSPModel class.
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef TSPMODEL_H
-#define TSPMODEL_H
-
-#include "globals.h"
-
-#include <QAbstractTableModel>
-#include <QDataStream>
-#include <QVector>
-
-/*!
- * \brief This class implements table model for manipulating a task.
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- */
-class CTSPModel: public QAbstractTableModel
-{
-    Q_OBJECT
-
-public:
-    CTSPModel(QObject *parent = 0);
-    void clear();
-    int columnCount(const QModelIndex &parent = QModelIndex()) const;
-    QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
-    Qt::ItemFlags flags(const QModelIndex &index) const;
-    QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
-    bool loadTask(const QString &fname);
-    quint16 numCities() const;
-    void randomize();
-    int rowCount(const QModelIndex &parent = QModelIndex()) const;
-    bool saveTask(const QString &fname);
-    bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
-    void setNumCities(int n);
-
-signals:
-    /*!
-     * \brief This signal is emitted whenever the number of cities in the task changes.
-     *
-     * \sa setNumCities()
-     */
-    void numCitiesChanged(int);
-
-private:
-    QSettings *settings;
-    QVector<QVector<double> > table;
-    quint16 nCities;
-    bool loadError(QDataStream::Status);
-    bool loadTSPT(QDataStream *);
-    bool loadZKT(QDataStream *);
-    double rand(int, int) const;
-};
-
-#endif // TSPMODEL_H
Index: src/tspsolver.cpp
===================================================================
--- src/tspsolver.cpp	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,445 +1,0 @@
-/*
- *  TSPSG: TSP Solver and Generator
- *  Copyright (C) 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#include "tspsolver.h"
-
-#include <QCoreApplication>
-
-#ifdef DEBUG
-#   include <QDebug>
-#endif
-
-//! \internal \brief A short for maximum double, used internally in the solution algorithm.
-#define MAX_DOUBLE std::numeric_limits<double>::max()
-
-namespace TSPSolver {
-
-/*!
- * \brief Returns CTSPSolver's version ID.
- * \return A string: <b>\$Id: $Format:%h %ai %an$ $</b>.
- */
-QString CTSPSolver::getVersionId()
-{
-    return QString("$Id: $Format:%h %ai %an$ $");
-}
-
-/*!
- * \brief Constructs CTSPSolver object.
- * \param parent A parent object.
- */
-CTSPSolver::CTSPSolver(QObject *parent)
-    : QObject(parent), cc(true), nCities(0), total(0), root(NULL) {}
-
-/*!
- * \brief Cleans up the object and frees up memory used by the solution tree.
- * \param processEvents If set to \c true then \link QCoreApplication::processEvents() QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents)\endlink will be called from time to time while cleaning up.
- * \warning After call to this function a solution tree returned by the solve() function is no longer valid.
- * \note It is not required to call this function manually. This function is always called by solve() at the beginning of the solution process.
- *
- * \sa solve(), setCleanupOnCancel()
- */
-void CTSPSolver::cleanup(bool processEvents)
-{
-    route.clear();
-    mayNotBeOptimal = false;
-    if (root != NULL)
-        deleteTree(root, processEvents);
-}
-
-/*!
- * \brief Returns the sorted optimal path, starting from City 1.
- * \param city A string that represents city elements in the path.
- * \param separator A string that represents separators between cities in the path.
- * \return A string, containing sorted optimal path.
- *
- *  The resulting path will be in the form \a city+\a separator+\a city+...+\a separator+\a city.
- *  \c \%1 in \a city will be replaced by the city number.
- */
-QString CTSPSolver::getSortedPath(const QString &city, const QString &separator) const
-{
-    if (!root || route.isEmpty() || (route.size() != nCities))
-        return QString();
-
-int i = 0; // We start from City 1
-QStringList path;
-    path << city.arg(1);
-    while ((i = route[i]) != 0) {
-        path << city.arg(i + 1);
-    }
-    // And finish in City 1, too
-    path << city.arg(1);
-
-    return path.join(separator);
-}
-
-/*!
- * \brief Returns a total number of steps in the current solution.
- * \return A total number of steps or \c 0 if no solution.
- * \note This is not always the same as the number of cities.
- */
-int CTSPSolver::getTotalSteps() const
-{
-    return total;
-}
-
-/*!
- * \brief Indicates whether or not the solution is definitely optimal.
- * \return \c true if the solution is definitely optimal, otherwise \c false.
- *
- *  The solution may need some further iterations to determine whether or not it is optimal.
- *  In such cases this function returns \c false.
- */
-bool CTSPSolver::isOptimal() const
-{
-    return !mayNotBeOptimal;
-}
-
-/*!
- * \brief Sets whether or not to call cleanup() on solution cancel.
- * \param enable Set to \c true to enable clenup (default).
- *
- *  This may be useful if you want to make cleanup yourself or provide indication of clenup to user.
- *
- * \note Please, note that cleanup() is explicitly called at the start of each solution.
- *       Disabling cleanup and forgetting to do it manually may considerably increase the solution time for large tasks (with more than 15 cities).
- * \sa cleanup()
- */
-void CTSPSolver::setCleanupOnCancel(bool enable)
-{
-    cc = enable;
-}
-
-/*!
- * \brief Solves the given task.
- * \param numCities Number of cities in the task.
- * \param task The matrix of city-to-city travel costs.
- * \return Pointer to the root of the solution tree.
- *
- * \todo TODO: Comment the algorithm.
- */
-SStep *CTSPSolver::solve(int numCities, const TMatrix &task)
-{
-    if (numCities < 3)
-        return NULL;
-
-QMutexLocker locker(&mutex);
-    cleanup();
-    canceled = false;
-    locker.unlock();
-
-    nCities = numCities;
-
-SStep *step = new SStep();
-    step->matrix = task;
-    // We need to distinguish the values forbidden by the user
-    // from the values forbidden by the algorithm.
-    // So we replace user's infinities by the maximum available double value.
-    normalize(step->matrix);
-#ifdef DEBUG
-    qDebug() << step->matrix;
-#endif // DEBUG
-    step->price = align(step->matrix);
-    root = step;
-
-SStep *left, *right;
-int nRow, nCol;
-bool firstStep = true;
-double check = INFINITY;
-    total = 0;
-    while (route.size() < nCities) {
-        step->alts = findCandidate(step->matrix,nRow,nCol);
-
-        while (hasSubCycles(nRow,nCol)) {
-#ifdef DEBUG
-            qDebug() << "Forbidden: (" << nRow << ";" << nCol << ")";
-#endif // DEBUG
-            step->matrix[nRow][nCol] = INFINITY;
-            step->price += align(step->matrix);
-            step->alts = findCandidate(step->matrix,nRow,nCol);
-        }
-
-#ifdef DEBUG
-        qDebug() /*<< step->matrix*/ << "Selected: (" << nRow << ";" << nCol << ")";
-        qDebug() << "Alternate:" << step->alts;
-        qDebug() << "Step price:" << step->price << endl;
-#endif // DEBUG
-
-        locker.relock();
-        if ((nRow == -1) || (nCol == -1) || canceled) {
-            if (canceled && cc)
-                cleanup();
-            return NULL;
-        }
-        locker.unlock();
-
-        // Route with (nRow,nCol) path
-        right = new SStep();
-        right->pNode = step;
-        right->matrix = step->matrix;
-        for (int k = 0; k < nCities; k++) {
-            if (k != nCol)
-                right->matrix[nRow][k] = INFINITY;
-            if (k != nRow)
-                right->matrix[k][nCol] = INFINITY;
-        }
-        right->price = step->price + align(right->matrix);
-        // Forbid the selected route to exclude its reuse in next steps.
-        right->matrix[nCol][nRow] = INFINITY;
-        right->matrix[nRow][nCol] = INFINITY;
-
-        // Route without (nRow,nCol) path
-        left = new SStep();
-        left->pNode = step;
-        left->matrix = step->matrix;
-        left->matrix[nRow][nCol] = INFINITY;
-        left->price = step->price + align(left->matrix);
-
-        step->candidate.nRow = nRow;
-        step->candidate.nCol = nCol;
-        step->plNode = left;
-        step->prNode = right;
-
-        // This matrix is not used anymore. Restoring infinities back.
-        denormalize(step->matrix);
-
-        if (right->price <= left->price) {
-            // Route with (nRow,nCol) path is cheaper
-            step->next = SStep::RightBranch;
-            step = right;
-            route[nRow] = nCol;
-            emit routePartFound(route.size());
-            if (firstStep) {
-                check = left->price;
-                firstStep = false;
-            }
-        } else {
-            // Route without (nRow,nCol) path is cheaper
-            step->next = SStep::LeftBranch;
-            step = left;
-            QCoreApplication::processEvents();
-            if (firstStep) {
-                check = right->price;
-                firstStep = false;
-            }
-        }
-        total++;
-    }
-
-    mayNotBeOptimal = (check < step->price);
-
-    return root;
-}
-
-/*!
- * \brief Indicates whether or not the solution process was canceled.
- * \return \c true if the solution process was canceled, otherwise \c false.
- */
-bool CTSPSolver::wasCanceled() const
-{
-QMutexLocker locker(&mutex);
-    return canceled;
-}
-
-/*!
- * \brief Cancels the solution process.
- */
-void CTSPSolver::cancel()
-{
-QMutexLocker locker(&mutex);
-    canceled = true;
-}
-
-CTSPSolver::~CTSPSolver()
-{
-    if (root != NULL)
-        deleteTree(root);
-}
-
-/* Privates **********************************************************/
-
-double CTSPSolver::align(TMatrix &matrix)
-{
-double r = 0;
-double min;
-    for (int k = 0; k < nCities; k++) {
-        min = findMinInRow(k,matrix);
-        if (min > 0) {
-            r += min;
-            if (min < MAX_DOUBLE)
-                subRow(matrix,k,min);
-        }
-    }
-    for (int k = 0; k < nCities; k++) {
-        min = findMinInCol(k,matrix);
-        if (min > 0) {
-            r += min;
-            if (min < MAX_DOUBLE)
-                subCol(matrix,k,min);
-        }
-    }
-    return (r != MAX_DOUBLE) ? r : INFINITY;
-}
-
-void CTSPSolver::deleteTree(SStep *&root, bool processEvents)
-{
-    if (root == NULL)
-        return;
-SStep *step = root;
-SStep *parent;
-    forever {
-        if (processEvents)
-            QCoreApplication::processEvents(QEventLoop::ExcludeUserInputEvents);
-        if (step->plNode != NULL) {
-            // We have left child node - going inside it
-            step = step->plNode;
-            step->pNode->plNode = NULL;
-            continue;
-        } else if (step->prNode != NULL) {
-            // We have right child node - going inside it
-            step = step->prNode;
-            step->pNode->prNode = NULL;
-            continue;
-        } else {
-            // We have no child nodes. Deleting the current one.
-            parent = step->pNode;
-            delete step;
-            if (parent != NULL) {
-                // Going back to the parent node.
-                step = parent;
-            } else {
-                // We came back to the root node. Finishing.
-                root = NULL;
-                break;
-            }
-        }
-    }
-}
-
-void CTSPSolver::denormalize(TMatrix &matrix) const
-{
-    for (int r = 0; r < nCities; r++)
-        for (int c = 0; c < nCities; c++)
-            if ((r != c) && (matrix.at(r).at(c) == MAX_DOUBLE))
-                matrix[r][c] = INFINITY;
-}
-
-QList<SStep::SCandidate> CTSPSolver::findCandidate(const TMatrix &matrix, int &nRow, int &nCol) const
-{
-    nRow = -1;
-    nCol = -1;
-QList<SStep::SCandidate> alts;
-SStep::SCandidate cand;
-double h = -1;
-double sum;
-    for (int r = 0; r < nCities; r++)
-        for (int c = 0; c < nCities; c++)
-            if (matrix.at(r).at(c) == 0) {
-                sum = findMinInRow(r,matrix,c) + findMinInCol(c,matrix,r);
-                if (sum > h) {
-                    h = sum;
-                    nRow = r;
-                    nCol = c;
-                    alts.clear();
-                } else if ((sum == h) && !hasSubCycles(r,c)) {
-                    cand.nRow = r;
-                    cand.nCol = c;
-                    alts.append(cand);
-                }
-            }
-    return alts;
-}
-
-double CTSPSolver::findMinInCol(int nCol, const TMatrix &matrix, int exr) const
-{
-double min = INFINITY;
-    for (int k = 0; k < nCities; k++)
-        if ((k != exr) && (min > matrix.at(k).at(nCol)))
-            min = matrix.at(k).at(nCol);
-    return (min == INFINITY) ? 0 : min;
-}
-
-double CTSPSolver::findMinInRow(int nRow, const TMatrix &matrix, int exc) const
-{
-double min = INFINITY;
-    for (int k = 0; k < nCities; k++) {
-        if (((k != exc)) && (min > matrix.at(nRow).at(k)))
-            min = matrix.at(nRow).at(k);
-    }
-    return (min == INFINITY) ? 0 : min;
-}
-
-bool CTSPSolver::hasSubCycles(int nRow, int nCol) const
-{
-    if ((nRow < 0) || (nCol < 0) || route.isEmpty() || !(route.size() < nCities - 1) || !route.contains(nCol))
-        return false;
-int i = nCol;
-    forever {
-        if ((i = route.value(i)) == nRow)
-            return true;
-        if (!route.contains(i))
-            return false;
-    }
-    return false;
-}
-
-void CTSPSolver::normalize(TMatrix &matrix) const
-{
-    for (int r = 0; r < nCities; r++)
-        for (int c = 0; c < nCities; c++)
-            if ((r != c) && (matrix.at(r).at(c) == INFINITY))
-                matrix[r][c] = MAX_DOUBLE;
-}
-
-void CTSPSolver::subCol(TMatrix &matrix, int nCol, double val)
-{
-    for (int k = 0; k < nCities; k++)
-        if (k != nCol)
-            matrix[k][nCol] -= val;
-}
-
-void CTSPSolver::subRow(TMatrix &matrix, int nRow, double val)
-{
-    for (int k = 0; k < nCities; k++)
-        if (k != nRow)
-            matrix[nRow][k] -= val;
-}
-
-}
-
-#ifdef DEBUG
-QDebug operator<<(QDebug dbg, const TSPSolver::TMatrix &matrix)
-{
-    for (int r = 0; r < matrix.count(); r++) {
-        for (int c = 0; c < matrix.at(r).count(); c++)
-            dbg.space() << QString::number(matrix.at(r).at(c)).leftJustified(5);
-        dbg << endl;
-    }
-    return dbg;
-}
-
-QDebug operator<<(QDebug dbg, const TSPSolver::SStep::SCandidate &cand)
-{
-    dbg.nospace() << "(" << cand.nRow << ";" << cand.nCol << ")";
-    return dbg;
-}
-#endif // DEBUG
Index: src/tspsolver.h
===================================================================
--- src/tspsolver.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,162 +1,0 @@
-/*!
- * \file tspsolver.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief Defines TSPSolver namespace and everything needed for solving TSP tasks.
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef TSPSOLVER_H
-#define TSPSOLVER_H
-
-#include <limits>
-
-#include <QHash>
-#include <QMutex>
-#include <QObject>
-#include <QStringList>
-
-/*!
- * \def INFINITY
- * \brief This value means infinity :-)
- *
- *  Define \c INFINITY if it's not already defined.
- */
-#ifndef INFINITY
-#   define INFINITY std::numeric_limits<double>::infinity()
-#endif
-
-/*!
- * \brief A TSP Solver namespace.
- *
- *  This namespace contains all the stuff required for solving TSP tasks.
- */
-namespace TSPSolver {
-
-//! A matrix of city-to-city travel costs
-typedef QList<QList<double> > TMatrix;
-
-/*!
- * \brief This structure represents one step of solving.
- *
- *  A tree of such elements will represent the solving process.
- */
-struct SStep {
-    //! A structure that represents a candidate for branching
-    struct SCandidate {
-        int nRow; //!< A zero-based row number of the candidate
-        int nCol; //!< A zero-based column number of the candidate
-
-        //! Assigns default values
-        SCandidate() {
-            nCol = nRow = -1;
-        }
-        //! An operator == implementation
-        bool operator ==(const SCandidate &cand) const {
-            return ((cand.nRow == nRow) && (cand.nCol == nCol));
-        }
-    };
-
-    //! An enum that describes possible selection of the next step
-    enum NextStep {
-        NoNextStep, //!< No next step (end of solution)
-        LeftBranch, //!< Left branch was selected for the next step
-        RightBranch //!< Right branch was selected for the next step
-    };
-
-    TMatrix matrix; //!< This step's matrix
-    double price; //!< The price of travel to this step
-
-    SCandidate candidate; //!< A candiadate for branching in the current step
-    QList<SCandidate> alts; //!< A list of alternative branching candidates
-    SStep *pNode; //!< Pointer to the parent step
-    SStep *plNode; //!< Pointer to the left branch step
-    SStep *prNode; //!< Pointer to the right branch step
-    NextStep next; //!< Indicates what branch was selected for the next step
-
-    //! Assigns default values
-    SStep() {
-        price = -1;
-        pNode = plNode = prNode = NULL;
-        next = NoNextStep;
-    }
-};
-
-/*!
- * \brief This class solves Travelling Salesman Problem task.
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- */
-class CTSPSolver: public QObject
-{
-    Q_OBJECT
-
-public:
-    static QString getVersionId();
-
-    CTSPSolver(QObject *parent = NULL);
-    void cleanup(bool processEvents = false);
-    QString getSortedPath(const QString &city, const QString &separator = QString(" -> ")) const;
-    int getTotalSteps() const;
-    bool isOptimal() const;
-    void setCleanupOnCancel(bool enable = true);
-    SStep *solve(int numCities, const TMatrix &task);
-    bool wasCanceled() const;
-    ~CTSPSolver();
-
-public slots:
-    void cancel();
-
-signals:
-    /*!
-     * \brief This signal is emitted once every time a part of the route is found.
-     * \param n Indicates the number of the route parts found.
-     */
-    void routePartFound(int n);
-
-private:
-    bool mayNotBeOptimal, canceled, cc;
-    int nCities, total;
-    SStep *root;
-    QHash<int,int> route;
-    mutable QMutex mutex;
-
-    double align(TMatrix &matrix);
-    void deleteTree(SStep *&root, bool processEvents = false);
-    void denormalize(TMatrix &matrix) const;
-    QList<SStep::SCandidate> findCandidate(const TMatrix &matrix, int &nRow, int &nCol) const;
-    double findMinInCol(int nCol, const TMatrix &matrix, int exr = -1) const;
-    double findMinInRow(int nRow, const TMatrix &matrix, int exc = -1) const;
-    void finishRoute();
-    bool hasSubCycles(int nRow, int nCol) const;
-    void normalize(TMatrix &matrix) const;
-    void subCol(TMatrix &matrix, int nCol, double val);
-    void subRow(TMatrix &matrix, int nRow, double val);
-};
-
-}
-
-#ifdef DEBUG
-QDebug operator<<(QDebug dbg, const TSPSolver::TMatrix &matrix);
-QDebug operator<<(QDebug dbg, const TSPSolver::SStep::SCandidate &candidate);
-#endif // DEBUG
-
-#endif // TSPSOLVER_H
Index: src/version.h
===================================================================
--- src/version.h	(revision 21361c757ddd0cab1a1cc34897f87789559f677c)
+++ 	(revision )
@@ -1,87 +1,0 @@
-/*!
- * \file version.h
- * \author Copyright &copy; 2007-2016 Oleksii Serdiuk <contacts[at]oleksii[dot]name>
- *
- *  $Id: $Format:%h %ai %an$ $
- *  $URL: http://tspsg.info/ $
- *
- * \brief Contains TSPSG version information defines.
- *
- *  <b>TSPSG: TSP Solver and Generator</b>
- *
- *  This file is part of TSPSG.
- *
- *  TSPSG is free software: you can redistribute it and/or modify
- *  it under the terms of the GNU General Public License as published by
- *  the Free Software Foundation, either version 2 of the License, or
- *  (at your option) any later version.
- *
- *  TSPSG 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 TSPSG.  If not, see <http://www.gnu.org/licenses/>.
- */
-
-#ifndef VERSION_H
-#define VERSION_H
-
-#ifndef BUILD_VERSION_MAJOR
-    //! Major version of current TSPSG build
-#   define BUILD_VERSION_MAJOR 0
-#endif // BUILD_VERSION_MAJOR
-#ifndef BUILD_VERSION_MINOR
-    //! Minor version of current TSPSG build
-#   define BUILD_VERSION_MINOR 0
-#endif // BUILD_VERSION_MINOR
-#ifndef BUILD_RELEASE
-    //! TSPSG release number
-#   define BUILD_RELEASE 0
-#endif // BUILD_RELEASE
-
-#ifndef BUILD_NUMBER
-    //! Current TSPSG build number
-#   define BUILD_NUMBER 0
-#endif // BUILD_NUMBER
-
-/*!
- * \def BUILD_STATUS_STR
- * \brief TSPSG build status (e.g., alpha1, beta3)
- */
-#ifdef DEBUG
-#   ifndef BUILD_STATUS
-#       define BUILD_STATUS_STR (debug build)
-#   else
-#       define BUILD_STATUS_STR (debug BUILD_STATUS)
-#   endif
-#else
-#   if !defined(TSPSG_RELEASE_BUILD)
-#       define BUILD_STATUS_STR (nightly build)
-#   elif !defined(BUILD_STATUS)
-#       define BUILD_STATUS_STR (build BUILD_NUMBER)
-#   else
-#       define BUILD_STATUS_STR (BUILD_STATUS)
-#   endif // TSPSG_RELEASE_BUILD
-#endif // DEBUG
-
-//! \internal \brief A helper for QUOTE(x).
-#define QUOTE_X(x) #x
-//! Used for "conversion" of \a x to quoted string
-#define QUOTE(x) QUOTE_X(x)
-
-//! Full version of TSPSG in the form: \c major.minor.release.build \c status.
-#define BUILD_VERSION QUOTE(BUILD_VERSION_MAJOR.BUILD_VERSION_MINOR.BUILD_RELEASE BUILD_STATUS_STR)
-
-/*!
- * \def REVISION_STR
- * \brief Git revision from which build was made
- */
-#ifdef REVISION
-#   define REVISION_STR QUOTE(REVISION)
-#else
-#   define REVISION_STR "$Format:%H$"
-#endif
-
-#endif // VERSION_H
