diff --git a/src/plugins/qmljseditor/qmljseditor.pro b/src/plugins/qmljseditor/qmljseditor.pro index 2b1aaa156ce..d6201be0523 100644 --- a/src/plugins/qmljseditor/qmljseditor.pro +++ b/src/plugins/qmljseditor/qmljseditor.pro @@ -7,7 +7,6 @@ DEFINES += \ HEADERS += \ qmljseditor.h \ qmljseditor_global.h \ - qmljseditoractionhandler.h \ qmljseditorconstants.h \ qmljseditorfactory.h \ qmljseditorplugin.h \ @@ -39,7 +38,6 @@ HEADERS += \ SOURCES += \ qmljseditor.cpp \ - qmljseditoractionhandler.cpp \ qmljseditorfactory.cpp \ qmljseditorplugin.cpp \ qmlexpressionundercursor.cpp \ diff --git a/src/plugins/qmljseditor/qmljseditor.qbs b/src/plugins/qmljseditor/qmljseditor.qbs index 132202cae22..3e140130da9 100644 --- a/src/plugins/qmljseditor/qmljseditor.qbs +++ b/src/plugins/qmljseditor/qmljseditor.qbs @@ -39,8 +39,6 @@ QtcPlugin { "qmljseditor.h", "qmljseditor.qrc", "qmljseditor_global.h", - "qmljseditoractionhandler.cpp", - "qmljseditoractionhandler.h", "qmljseditorconstants.h", "qmljseditoreditable.cpp", "qmljseditoreditable.h", diff --git a/src/plugins/qmljseditor/qmljseditoractionhandler.cpp b/src/plugins/qmljseditor/qmljseditoractionhandler.cpp deleted file mode 100644 index e2a9738c6ba..00000000000 --- a/src/plugins/qmljseditor/qmljseditoractionhandler.cpp +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -****************************************************************************/ - -#include "qmljseditoractionhandler.h" -#include "qmljseditorconstants.h" -#include "qmljseditor.h" - -#include -#include - -#include -#include -#include - -namespace QmlJSEditor { -namespace Internal { - -QmlJSEditorActionHandler::QmlJSEditorActionHandler() - : TextEditor::TextEditorActionHandler(QmlJSEditor::Constants::C_QMLJSEDITOR_ID, Format) -{ -} - -void QmlJSEditorActionHandler::createActions() -{ - TextEditor::TextEditorActionHandler::createActions(); -} - - -} // namespace Internal -} // namespace QmlJSEditor diff --git a/src/plugins/qmljseditor/qmljseditoractionhandler.h b/src/plugins/qmljseditor/qmljseditoractionhandler.h deleted file mode 100644 index b38a033f255..00000000000 --- a/src/plugins/qmljseditor/qmljseditoractionhandler.h +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/legal -** -** 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 Digia. For licensing terms and -** conditions see http://qt.digia.com/licensing. For further information -** use the contact form at http://qt.digia.com/contact-us. -** -** GNU Lesser General Public License Usage -** Alternatively, this file may be used under the terms of the GNU Lesser -** General Public License version 2.1 as published by the Free Software -** Foundation and appearing in the file LICENSE.LGPL included in the -** packaging of this file. Please review the following information to -** ensure the GNU Lesser General Public License version 2.1 requirements -** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -****************************************************************************/ - -#ifndef QMLJSEDITORACTIONHANDLER_H -#define QMLJSEDITORACTIONHANDLER_H - -#include - -namespace QmlJSEditor { -namespace Internal { - -class QmlJSEditorActionHandler : public TextEditor::TextEditorActionHandler -{ - Q_OBJECT - -public: - QmlJSEditorActionHandler(); - - void createActions(); -}; - -} // namespace Internal -} // namespace QmlJSEditor - -#endif // QMLJSEDITORACTIONHANDLER_H diff --git a/src/plugins/qmljseditor/qmljseditorfactory.cpp b/src/plugins/qmljseditor/qmljseditorfactory.cpp index f7b52da4b0f..a1554b4c26f 100644 --- a/src/plugins/qmljseditor/qmljseditorfactory.cpp +++ b/src/plugins/qmljseditor/qmljseditorfactory.cpp @@ -30,7 +30,6 @@ #include "qmljseditorfactory.h" #include "qmljseditoreditable.h" #include "qmljseditor.h" -#include "qmljseditoractionhandler.h" #include "qmljseditorconstants.h" #include "qmljseditorplugin.h"