QmlProfiler: Fix nesting calculation.

The previous version makes no sense as two events for which
start2 > end1 cannot have start1 == start2. Also, as we only keep
parents, not children, in the parent list, we don't need all the
special cases for grandparents.

Change-Id: Ic6bae2fe237a31726fd55f560c309ba09b5af25d
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
QmlProfiler: Fix selection by typeId

Selection propagation by typeId was still using the old general
aggregator methods that have been removed by now.

Change-Id: I955149e6ed8f3d6274a2a15a882e1f10341302e4
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
QmlProfiler: Fix lock icon in selection details

It didn't show the "locked" state anymore.

Change-Id: Ia5f9e86bf265261c17ca1318bb166bbaf0414d78
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
QmlProfiler: Implement TimelineModelAggregator::clear()

Change-Id: I3c300a1ebc2286e0ac5d281f29dbffeb5259e62e
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Timeline: Create new library from contents of QmlProfiler

Change-Id: I964b2f149e237eb25a08600e8dab8968e8bc0cb9
Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>