summaryrefslogtreecommitdiffstats
path: root/installerbuilder/installerbase/tabcontroller.cpp
Commit message (Collapse)AuthorAgeFilesLines
* mass change 2011 -> 2012 for copyrightNiels Weber2012-01-311-1/+1
| | | | | | Change-Id: I66340dbc1f2a5a38ed98d1ad406c22b594d92b6e Reviewed-by: Alexander Lenhardt <alexander.lenhardt@nokia.com> Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Use qDebug instead of verbose.kh12012-01-171-3/+1
| | | | | | | The message handler now forwards everything to the verbosew riter anyway. Change-Id: I822f86e8f2e2e7690a3b855ed83199d2f41dc480 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Move the restart of the wizard into installer base.kh12011-12-011-3/+12
| | | | | | | | Also clear some more labels on restart or after new setings. Change-Id: I3a3727b0d4f2f43e13aafa5f6e499ac74277774c Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Make sure we reset the package fetch state.kh12011-11-301-0/+5
| | | | | | | | | Fixes the problem that after we've updated, installed components, the ui would still show the old state and the "Next" button would behave strange. Change-Id: Iaeb480e69f52230a15233dfaf3ea3116e9728042 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix warning about wrong initialization order.kh12011-11-301-1/+1
| | | | | Change-Id: I3cbcec3c8b22558b8e452be8abfa44b392e1c8b3 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* Update to the latest and greatest...kh12011-11-291-13/+12
| | | | | Change-Id: I7f0fb12735293e785229da22a8e794c2f7d7df96 Reviewed-by: Niels Weber <niels.2.weber@nokia.com>
* Remove fetch and implement "lazy" fetch.kh12011-11-281-155/+3
| | | | | | | | | Now it feels better then to bring up the dialog and start the fetch instantly, the user now has the opportunity to edit the network settings first and on "Next" we fetch the tree. Change-Id: I1ebce333bf5157421f2b62afbe5630b0ec1e0134 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Implement network settings dialog.kh12011-11-281-13/+74
| | | | | | | | | User settings are stored inside a network.xml file, e.g. proxy type, proxy authentification, repositories etc... Default repos are saved kind of encrypted inside the already existing ini file. Change-Id: Ie97f2e82af7faf4d15719c669a0fa4158b503ce3 Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Rename function and call it earlier in the chain.kh12011-11-281-7/+8
| | | | | | Change-Id: Iebbbe1163939777c7a97f45f2926cd102fb2c845 Reviewed-by: Niels Weber <niels.2.weber@nokia.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Fix some spelling errors.kh12011-09-081-3/+3
| | | | | | Change-Id: Ic744d6f0a5abd9ab311690e7a0c66832cb60f94a Reviewed-on: http://codereview.qt-project.org/4475 Reviewed-by: Karsten Heimrich <karsten.heimrich@nokia.com>
* Try to read installed packages only in non installer mode.kh12011-08-251-1/+1
| | | | | | | Change-Id: I955bf5d3b1c543a5f66c8afbb55b1e430d2c4993 Reviewed-on: http://codereview.qt.nokia.com/3588 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* Remove stupid check. Return the proper core status.kh12011-08-241-8/+2
| | | | | | | | | | | Also take into account the current status, break if it is already Canceled or Failure. Fix fetch remote packages, as it would set always Success, even if we already canceled. Change-Id: I3562d485c762c6df6ff230029bc678475afd5b2c Reviewed-on: http://codereview.qt.nokia.com/3502 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
* disable some not working dependency code and splitted components()Tim Jenssen2011-07-211-1/+1
|
* Fix error handling for all user defined errors.kh12011-07-191-4/+8
| | | | | | | | Review-by: tjenssen We missed most of our own defined error cases, thus we never noticed e.g. wrong schemes for local repositories. Also make sure we emit the info message signal on error.
* Hide KDJob from public API.kh12011-07-051-4/+2
|
* Have only two function to fetch local and remote packages.kh12011-07-041-2/+2
| | | | | | Move everything else into private and guess what to do on the run mode. This helps a lot on restart, as no packages need to be fetched again and no updates need to be rebuild.
* Implement package management even if we can't reach the repo.kh12011-06-301-3/+13
| | | | | | If we can't reach the given repo or if no repo is set, we still need to support package managment to be able to uninstall components found on the hard disk drive.
* Remove some superfluous code.kh12011-06-291-3/+0
| | | | Title and icon are already set in the gui base class.
* If there are no updates, show this in the ui as well.kh12011-06-291-4/+10
|
* Add an error function and display it in the ui.kh12011-06-291-4/+16
| | | | | If there happens to be an error during fetch, set the appropriate installer status and display an error message.
* Rename header/ source files to match class name.kh12011-06-151-1/+1
| | | | Fix includes as well.
* Rename from Installer to PackageManagerCore.kh12011-06-141-28/+27
| | | | | Note: Might break on any other platform than windows, needs some more tests. No break on windows so far...
* Rename the class to better fit it's real purpose.kh12011-06-141-2/+2
|
* Fix broken build after rename.kh12011-06-091-1/+1
|
* We need to fetch as long as we got packages.kh12011-06-051-33/+30
| | | | | | In case we could not reach the server, we never would fetch again when switching between update and package manage mode. Fix double meta info job message connect.
* Add convenient function.kh12011-06-051-0/+7
|
* Always ask to close the app, except for the finish page.kh12011-05-031-0/+4
|
* Shutdown the meta info job from installer.kh12011-04-201-4/+0
|
* Remove superfluous function. Small cleanup.kh12011-04-201-18/+9
|
* Always write the uninstaller.kh12011-04-191-8/+2
| | | | | Remove superluous signal. It is not written anyway in case of un/installer.
* Have a about to shutdown signal.kh12011-04-181-2/+1
| | | | | To not longer reley on the gui part for writing out the uninstaller.
* Reomove some superflous slots.kh12011-04-141-42/+3
|
* Emit the restart as late as possible.kh12011-04-141-29/+32
| | | | | | | This gives us the time to update the ui and show the start page. Fixes the "freeze" hang after we have finished e.g. the package manager and reevaluation of the repository.
* Even if we can't reach the server, update the ui.kh12011-03-181-10/+17
|
* Factor out meta package retrieval.kh12011-03-171-4/+4
|
* Preselect should be done during fetch.kh12011-03-151-15/+0
|
* They need to be slots.kh12011-03-141-46/+47
| | | | As we may recive change events from the intro page...
* Major cleanup.kh12011-03-141-310/+64
| | | | Use everything from installer now.
* Replace InstallerMode with AllMode.kh12011-03-111-1/+1
| | | | | | | | | Since the old implementation did fetch both updates and all packages in one go and keept the updates in a seperate list, we had to use AllMode to get the packages of both lists. Now the implementation fetches updates and keeps it in one list and all packages (including updates) in another one. So AllMode is now InstallerMode && UpdaterMode.
* Make use of the new fetch all packages function.kh12011-03-111-13/+29
|
* Add missing signals.kh12011-03-101-4/+2
| | | | | One to emit error message from meta info job and another one to cancel the job from the ui.
* Unify status values.kh12011-03-101-18/+18
|
* Rename. Also parse the locals component file.kh12011-03-101-9/+24
|
* Style cleanup. Put Updater into QInstaller namespace.kh12011-03-031-1/+1
|
* Do not hide the maintainance widgets during meta info update.kh12011-03-031-1/+4
| | | | | | | This is only done if we are runing the updater or package manager. As of before, the widgets where hidden and shown again wich feels a bit strange as we never leave the page, but it seemed so.
* Some more work to have the a proper wizard updater intergration.kh12011-03-031-56/+86
| | | | | | | Introduce some magic marker to differentiate between update and package management modus. The base installer now needs explicite arguments passed to make the app an updater or package manager. Adjustment some more classes to take the new markers into account.
* Make use of our new into page.kh12011-03-031-6/+10
|
* We would like to get rid of the tabbed ui.kh12011-03-031-7/+7
|
* Begin to turn the maintenance tool into a wizard as well.kh12011-03-031-86/+40
| | | | Note: Updater is currently totally broken.
* There's really no need to have the intro page in the base installer gui.kh12011-03-031-5/+8
| | | | | We now provide a method to retrieve a QInstaller::Page by Id. If we need to have a intro page, the inherited class should create them.