From e76685107af65423d4c8eea7d680fd5e42ea0c19 Mon Sep 17 00:00:00 2001 From: Ulf Hermann Date: Fri, 29 Apr 2016 14:04:07 +0200 Subject: [PATCH] QmlProfiler: Remove timeline model factory Change-Id: I173f23730f3b6c6b7fb41bb3810f2f21ae6b0acb Reviewed-by: Christian Kandeler --- src/plugins/qmlprofiler/qmlprofiler.pro | 2 - src/plugins/qmlprofiler/qmlprofiler.qbs | 1 - src/plugins/qmlprofiler/qmlprofilerplugin.h | 1 - .../qmlprofilertimelinemodelfactory.cpp | 31 -------------- .../qmlprofilertimelinemodelfactory.h | 40 ------------------- 5 files changed, 75 deletions(-) delete mode 100644 src/plugins/qmlprofiler/qmlprofilertimelinemodelfactory.cpp delete mode 100644 src/plugins/qmlprofiler/qmlprofilertimelinemodelfactory.h diff --git a/src/plugins/qmlprofiler/qmlprofiler.pro b/src/plugins/qmlprofiler/qmlprofiler.pro index 6b4b54e6fb2..e8bf900b3b1 100644 --- a/src/plugins/qmlprofiler/qmlprofiler.pro +++ b/src/plugins/qmlprofiler/qmlprofiler.pro @@ -34,7 +34,6 @@ SOURCES += \ qmlprofilerstatisticsmodel.cpp \ qmlprofilerstatisticsview.cpp \ qmlprofilertimelinemodel.cpp \ - qmlprofilertimelinemodelfactory.cpp \ qmlprofilertool.cpp \ qmlprofilertracefile.cpp \ qmlprofilertraceview.cpp \ @@ -74,7 +73,6 @@ HEADERS += \ qmlprofilerstatisticsmodel.h \ qmlprofilerstatisticsview.h \ qmlprofilertimelinemodel.h \ - qmlprofilertimelinemodelfactory.h \ qmlprofilertool.h \ qmlprofilertracefile.h \ qmlprofilertraceview.h \ diff --git a/src/plugins/qmlprofiler/qmlprofiler.qbs b/src/plugins/qmlprofiler/qmlprofiler.qbs index 2595e58c1f4..304422a3691 100644 --- a/src/plugins/qmlprofiler/qmlprofiler.qbs +++ b/src/plugins/qmlprofiler/qmlprofiler.qbs @@ -51,7 +51,6 @@ QtcPlugin { "qmlprofilerstatisticsmodel.cpp", "qmlprofilerstatisticsmodel.h", "qmlprofilerstatisticsview.cpp", "qmlprofilerstatisticsview.h", "qmlprofilertimelinemodel.cpp", "qmlprofilertimelinemodel.h", - "qmlprofilertimelinemodelfactory.cpp", "qmlprofilertimelinemodelfactory.h", "qmlprofilertool.cpp", "qmlprofilertool.h", "qmlprofilertracefile.cpp", "qmlprofilertracefile.h", "qmlprofilertraceview.cpp", "qmlprofilertraceview.h", diff --git a/src/plugins/qmlprofiler/qmlprofilerplugin.h b/src/plugins/qmlprofiler/qmlprofilerplugin.h index 833eb2a3359..111e1b11665 100644 --- a/src/plugins/qmlprofiler/qmlprofilerplugin.h +++ b/src/plugins/qmlprofiler/qmlprofilerplugin.h @@ -26,7 +26,6 @@ #pragma once #include "qmlprofiler_global.h" -#include "qmlprofilertimelinemodelfactory.h" #include "qmlprofilersettings.h" #include diff --git a/src/plugins/qmlprofiler/qmlprofilertimelinemodelfactory.cpp b/src/plugins/qmlprofiler/qmlprofilertimelinemodelfactory.cpp deleted file mode 100644 index 65b9d593c34..00000000000 --- a/src/plugins/qmlprofiler/qmlprofilertimelinemodelfactory.cpp +++ /dev/null @@ -1,31 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of Qt Creator. -** -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -****************************************************************************/ - -#include "qmlprofilertimelinemodelfactory.h" - -// The presence of this file makes sure that moc generates metadata - -namespace QmlProfiler { -} diff --git a/src/plugins/qmlprofiler/qmlprofilertimelinemodelfactory.h b/src/plugins/qmlprofiler/qmlprofilertimelinemodelfactory.h deleted file mode 100644 index 6087c2d389c..00000000000 --- a/src/plugins/qmlprofiler/qmlprofilertimelinemodelfactory.h +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: https://www.qt.io/licensing/ -** -** This file is part of Qt Creator. -** -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see https://www.qt.io/terms-conditions. For further -** information use the contact form at https://www.qt.io/contact-us. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU -** General Public License version 3 as published by the Free Software -** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT -** included in the packaging of this file. Please review the following -** information to ensure the GNU General Public License requirements will -** be met: https://www.gnu.org/licenses/gpl-3.0.html. -** -****************************************************************************/ - -#pragma once - -#include "qmlprofilertimelinemodel.h" -#include "qmlprofilermodelmanager.h" - -namespace QmlProfiler { - -class QMLPROFILER_EXPORT QmlProfilerTimelineModelFactory : public QObject -{ - Q_OBJECT -public: - virtual QList create(QmlProfilerModelManager *manager) = 0; -}; - -}