summaryrefslogtreecommitdiffstats
path: root/installerbuilder/libinstaller/componentmodel.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert: 308dc03e a1a130b9 5fb0f4ackh12011-08-101-27/+22
| | | | | | | | | | | | | | The proper fix for 308dc03e would have been to check if we run in installer mode and only than check default components initially. Not sure how a1a130b9 could state that the code would work as expected, as proper testing would have revealed that the "Next" button now was enabled always enabled in package manager mode and always disabled in updater mode... Fixes also the problem seen by Niels that in package manager case components would have been scheduled for uninstall even if we just selected a new component without removing an other. Reviewed-By: Niels Weber
* The old name indicated the opposite of what the method was doing.Niels Weber2011-08-041-1/+1
| | | | Reviewed-by: Maurice
* renamed list to set, because data type is a setTim Jenssen2011-07-281-17/+17
| | | | Review-by: Maurice Kalinowski
* now default works as expectedTim Jenssen2011-07-281-22/+25
| | | | Review-by: Maurice Kalinowski
* Optimize the selection code and fix broken offline state.kh12011-07-191-3/+7
| | | | | | | | | | Review-by: tjenssen Do not change the checked state of a component if the state is already the requested one. Also supress the state if the component is a tri state component, as the setData call will force the selection of tri state components. Avoid expensive setData calls in case nothing changed.
* Edit role now translates to display role as well.kh12011-06-201-4/+5
|
* Add some documentation.kh12011-06-201-2/+116
|
* Fix bug where we had to specify a column more then needed.kh12011-06-201-12/+10
|
* 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-6/+6
| | | | | Note: Might break on any other platform than windows, needs some more tests. No break on windows so far...
* Rename to match actual class name. Fix includes.kh12011-06-091-1/+1
|
* Fix broken initial check state for updater mode.kh12011-06-081-4/+12
|
* Handle virtual components differently.kh12011-06-061-14/+22
| | | | | | | | | | Review-by: tjenssen Checking/ unchecking a virtual component does not modify the parent item. Checking/ unchecking a parent item that owns virtual components does not modify the components check state. Dependencies to virtual components should get resolved later, so we do not need to handle them at all.
* Fix broken selection behavior.kh12011-05-051-5/+12
| | | | | We need to update the current selection list to be able to emit the proper selection changed value.
* Make sure we take only "real" components into account.kh12011-04-201-3/+3
| | | | Fixes the wrongly enabled "Next" on component selection.
* Resolve todo.kh12011-04-121-5/+10
| | | | | Start with the offset where we did append the new root components, so we won't mess with the initial checked list.
* Check installed components by default.kh12011-04-121-3/+2
|
* One more convenient function.kh12011-04-091-0/+8
|
* Add some convenient functions.kh12011-04-091-0/+10
|
* Evaluate checked list first.kh12011-04-091-4/+4
| | | | | | | Fixes some strange behavior in case we depend on the default check state changed signal. It would emit true since it would fill the current checked list first and later the initial checked list.
* Rework the initial checked handling.kh12011-04-071-54/+37
| | | | | Remove double cache since we can lookup the index by the component name as well.
* Implement default handling.kh12011-04-061-31/+81
|
* Limit the number of roles.kh12011-04-061-1/+2
|
* Append, not set.kh12011-04-051-1/+1
|
* Remove the root component.kh12011-04-051-36/+29
| | | | | | I've had several crashes caused be by the deleting order, so get rid of the root component at all. Now we keep a list of root components again.
* Have flags initialized by default. More doc.kh12011-04-041-1/+1
|
* Add slots to select/ deselect all components.kh12011-04-011-0/+14
|
* Move into proper named files and rename.kh12011-04-011-0/+322