diff options
author | hjk <hjk@qt.io> | 2018-09-27 15:09:09 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2018-09-28 07:38:55 +0000 |
commit | 92325c90ceee294b9040c35726116f354cd71cae (patch) | |
tree | 51fee7eb14ff71fbcf0b386c548ee79df1726cff /src/plugins/debugger/snapshothandler.h | |
parent | b3e2c580f2fcbc06ece01be7927bcd6588e92793 (diff) | |
download | qt-creator-92325c90ceee294b9040c35726116f354cd71cae.tar.gz |
Debugger: Rename snapshothandler.{cpp,h} to enginemanager.{cpp,h}
That's what they are nowadays.
Change-Id: I1bd6db18f2142ecf488eba51ca739675eac753c7
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/debugger/snapshothandler.h')
-rw-r--r-- | src/plugins/debugger/snapshothandler.h | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/src/plugins/debugger/snapshothandler.h b/src/plugins/debugger/snapshothandler.h deleted file mode 100644 index 1107a7f100..0000000000 --- a/src/plugins/debugger/snapshothandler.h +++ /dev/null @@ -1,69 +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 <utils/treemodel.h> - -#include <QAbstractTableModel> -#include <QComboBox> -#include <QPointer> - -namespace Debugger { -namespace Internal { - -class DebuggerEngine; - -class EngineManager : public QObject -{ - Q_OBJECT - -public: - explicit EngineManager(); - ~EngineManager() final; - - static EngineManager *instance(); - static QAbstractItemModel *model(); - - static void registerEngine(DebuggerEngine *engine); - static void unregisterEngine(DebuggerEngine *engine); - static void activateEngine(DebuggerEngine *engine); - static void activateDebugMode(); - static bool isLastOf(const QString &type); - - static QList<QPointer<DebuggerEngine> > engines(); - static QPointer<DebuggerEngine> currentEngine(); - - static void selectUiForCurrentEngine(); - - static QWidget *engineChooser(); - -signals: - void engineStateChanged(DebuggerEngine *engine); - void currentEngineChanged(); -}; - -} // namespace Internal -} // namespace Debugger |