Commit cb9c6c9f authored by Daniel Teske's avatar Daniel Teske Committed by David Schulz

QmlJsEditor: Remove qmljseditoractionhandler

The class is not used anywhere.

Change-Id: I9bce8416ee24d8b3d1d9696ce2dd894100ba04df
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 70336e30
......@@ -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 \
......
......@@ -39,8 +39,6 @@ QtcPlugin {
"qmljseditor.h",
"qmljseditor.qrc",
"qmljseditor_global.h",
"qmljseditoractionhandler.cpp",
"qmljseditoractionhandler.h",
"qmljseditorconstants.h",
"qmljseditoreditable.cpp",
"qmljseditoreditable.h",
......
/****************************************************************************
**
** 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 <coreplugin/icore.h>
#include <coreplugin/actionmanager/actionmanager.h>
#include <QDebug>
#include <QAction>
#include <QMessageBox>
namespace QmlJSEditor {
namespace Internal {
QmlJSEditorActionHandler::QmlJSEditorActionHandler()
: TextEditor::TextEditorActionHandler(QmlJSEditor::Constants::C_QMLJSEDITOR_ID, Format)
{
}
void QmlJSEditorActionHandler::createActions()
{
TextEditor::TextEditorActionHandler::createActions();
}
} // namespace Internal
} // namespace QmlJSEditor
/****************************************************************************
**
** 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 <texteditor/texteditoractionhandler.h>
namespace QmlJSEditor {
namespace Internal {
class QmlJSEditorActionHandler : public TextEditor::TextEditorActionHandler
{
Q_OBJECT
public:
QmlJSEditorActionHandler();
void createActions();
};
} // namespace Internal
} // namespace QmlJSEditor
#endif // QMLJSEDITORACTIONHANDLER_H
......@@ -30,7 +30,6 @@
#include "qmljseditorfactory.h"
#include "qmljseditoreditable.h"
#include "qmljseditor.h"
#include "qmljseditoractionhandler.h"
#include "qmljseditorconstants.h"
#include "qmljseditorplugin.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment