summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-10-30 12:35:17 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-02 10:12:42 +0000
commitb4e6591188160a29ba87580cbf689051b4ee9aaa (patch)
tree28da4f9b0f876d3cbb59618c6feda58e48138007 /src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp
parent4b8a14e10fbb68167aac30e40bbeccf02336ba67 (diff)
downloadqt-creator-b4e6591188160a29ba87580cbf689051b4ee9aaa.tar.gz
QmlProfiler: Convert connections to Qt5 style
Change-Id: I1a490add706cd0cfce3f243e4ebc32a8c9a975c7 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp b/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp
index 2730d494fd..bd9c2a2a4b 100644
--- a/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp
+++ b/src/plugins/qmlprofiler/qmlprofilerviewmanager.cpp
@@ -93,16 +93,18 @@ void QmlProfilerViewManager::createViews()
this,
d->profilerModelManager);
d->traceView->setWindowTitle(tr("Timeline"));
- connect(d->traceView, SIGNAL(gotoSourceLocation(QString,int,int)),
- this, SIGNAL(gotoSourceLocation(QString,int,int)));
+ connect(d->traceView, &QmlProfilerTraceView::gotoSourceLocation,
+ this, &QmlProfilerViewManager::gotoSourceLocation);
d->eventsView = new QmlProfilerEventsWidget(mw, d->profilerTool, this,
d->profilerModelManager);
d->eventsView->setWindowTitle(tr("Events"));
- connect(d->eventsView, SIGNAL(gotoSourceLocation(QString,int,int)), this,
- SIGNAL(gotoSourceLocation(QString,int,int)));
- connect(d->eventsView, SIGNAL(typeSelected(int)), d->traceView, SLOT(selectByTypeId(int)));
- connect(d->traceView, SIGNAL(typeSelected(int)), d->eventsView, SLOT(selectByTypeId(int)));
+ connect(d->eventsView, &QmlProfilerEventsWidget::gotoSourceLocation,
+ this, &QmlProfilerViewManager::gotoSourceLocation);
+ connect(d->eventsView, &QmlProfilerEventsWidget::typeSelected,
+ d->traceView, &QmlProfilerTraceView::selectByTypeId);
+ connect(d->traceView, &QmlProfilerTraceView::typeSelected,
+ d->eventsView, &QmlProfilerEventsWidget::selectByTypeId);
connect(d->profilerModelManager, &QmlProfilerModelManager::visibleFeaturesChanged,
d->eventsView, &QmlProfilerEventsWidget::onVisibleFeaturesChanged);