aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/clangrefactoring/clangsymbolsfindfilter.cpp
diff options
context:
space:
mode:
authorMarco Bubke <marco.bubke@qt.io>2020-06-05 19:55:10 +0200
committerMarco Bubke <marco.bubke@qt.io>2020-06-09 14:48:27 +0000
commit06866c3ee9de97cf518e1a20f28a8eadb35884ef (patch)
tree4925adbf83a258b43c6b6d7b4642a7b5ce7b79db /src/plugins/clangrefactoring/clangsymbolsfindfilter.cpp
parentdfb61968e34afb98847aae5953f598aff1923030 (diff)
Sqlite: Use a more efficient update hook
Change-Id: Ic6df1f4ba6b914c7751faf7cf89083fa50a92793 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/clangrefactoring/clangsymbolsfindfilter.cpp')
-rw-r--r--src/plugins/clangrefactoring/clangsymbolsfindfilter.cpp67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/plugins/clangrefactoring/clangsymbolsfindfilter.cpp b/src/plugins/clangrefactoring/clangsymbolsfindfilter.cpp
new file mode 100644
index 00000000000..c2555586346
--- /dev/null
+++ b/src/plugins/clangrefactoring/clangsymbolsfindfilter.cpp
@@ -0,0 +1,67 @@
+/****************************************************************************
+**
+** Copyright (C) 2017 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 "clangsymbolsfindfilter.h"
+
+#include <cpptools/cpptoolsconstants.h>
+
+#include <QSettings>
+
+using namespace Core;
+
+namespace ClangRefactoring {
+
+SymbolsFindFilter::SymbolsFindFilter()
+{
+}
+
+QString SymbolsFindFilter::id() const
+{
+ return QLatin1String(CppTools::Constants::SYMBOLS_FIND_FILTER_ID);
+}
+
+QString SymbolsFindFilter::displayName() const
+{
+ return QString(CppTools::Constants::SYMBOLS_FIND_FILTER_DISPLAY_NAME);
+}
+
+bool SymbolsFindFilter::isEnabled() const
+{
+ return true;
+}
+
+void SymbolsFindFilter::findAll(const QString &, FindFlags)
+{
+}
+
+void SymbolsFindFilter::writeSettings(QSettings *)
+{
+}
+
+void SymbolsFindFilter::readSettings(QSettings *)
+{
+}
+
+} // ClangRefactoring