diff options
author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2014-01-23 07:53:24 +0200 |
---|---|---|
committer | Orgad Shaneh <orgads@gmail.com> | 2014-01-24 11:35:03 +0100 |
commit | b7280455886e4879a80a05a56ca14af5ba92ca58 (patch) | |
tree | c7079def6f654e36f73b8f86cff447ca9bb5c74e /src/plugins/cppeditor/cppquickfix_test_utils.cpp | |
parent | f84074b81d8491128f6206ad6ac0b224565d351e (diff) | |
download | qt-creator-b7280455886e4879a80a05a56ca14af5ba92ca58.tar.gz |
CppEditor: Move InsertVirtualMethods to its own file
It contains many components, doesn't make sense to have it with all
other quickfixes.
Change-Id: Idede14c90ba9b612ae9e9048f5795d674811acfe
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Diffstat (limited to 'src/plugins/cppeditor/cppquickfix_test_utils.cpp')
-rw-r--r-- | src/plugins/cppeditor/cppquickfix_test_utils.cpp | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/src/plugins/cppeditor/cppquickfix_test_utils.cpp b/src/plugins/cppeditor/cppquickfix_test_utils.cpp deleted file mode 100644 index c4eae0afb2..0000000000 --- a/src/plugins/cppeditor/cppquickfix_test_utils.cpp +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2014 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 "cppquickfix_test_utils.h" - -#include "cppquickfixes.h" - -using namespace CppEditor::Internal; - -InsertVirtualMethodsDialogTest::InsertVirtualMethodsDialogTest(ImplementationMode mode, - bool insertVirtualKeyword, - QWidget *parent) - : InsertVirtualMethodsDialog(parent) -{ - setImplementationsMode(mode); - setInsertKeywordVirtual(insertVirtualKeyword); -} - -InsertVirtualMethodsDialog::ImplementationMode InsertVirtualMethodsDialogTest::implementationMode() const -{ - return m_implementationMode; -} - -bool InsertVirtualMethodsDialogTest::insertKeywordVirtual() const -{ - return m_insertKeywordVirtual; -} - -bool InsertVirtualMethodsDialogTest::gather() -{ - return true; -} |