aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/3rdparty/syntax-highlighting/src/quick/repositorywrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/3rdparty/syntax-highlighting/src/quick/repositorywrapper.cpp')
-rw-r--r--src/libs/3rdparty/syntax-highlighting/src/quick/repositorywrapper.cpp65
1 files changed, 0 insertions, 65 deletions
diff --git a/src/libs/3rdparty/syntax-highlighting/src/quick/repositorywrapper.cpp b/src/libs/3rdparty/syntax-highlighting/src/quick/repositorywrapper.cpp
deleted file mode 100644
index 733c799ed13..00000000000
--- a/src/libs/3rdparty/syntax-highlighting/src/quick/repositorywrapper.cpp
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- SPDX-FileCopyrightText: 2021 Volker Krause <vkrause@kde.org>
-
- SPDX-License-Identifier: MIT
-*/
-
-#include "repositorywrapper.h"
-
-#include <KSyntaxHighlighting/Definition>
-#include <KSyntaxHighlighting/Repository>
-#include <KSyntaxHighlighting/Theme>
-
-using namespace KSyntaxHighlighting;
-
-RepositoryWrapper::RepositoryWrapper(QObject *parent)
- : QObject(parent)
-{
-}
-
-Definition RepositoryWrapper::definitionForName(const QString &defName) const
-{
- return m_repository->definitionForName(defName);
-}
-
-Definition RepositoryWrapper::definitionForFileName(const QString &fileName) const
-{
- return m_repository->definitionForFileName(fileName);
-}
-
-QVector<Definition> RepositoryWrapper::definitionsForFileName(const QString &fileName) const
-{
- return m_repository->definitionsForFileName(fileName);
-}
-
-Definition RepositoryWrapper::definitionForMimeType(const QString &mimeType) const
-{
- return m_repository->definitionForMimeType(mimeType);
-}
-
-QVector<Definition> RepositoryWrapper::definitionsForMimeType(const QString &mimeType) const
-{
- return m_repository->definitionsForMimeType(mimeType);
-}
-
-QVector<Definition> RepositoryWrapper::definitions() const
-{
- return m_repository->definitions();
-}
-
-QVector<Theme> RepositoryWrapper::themes() const
-{
- return m_repository->themes();
-}
-
-Theme RepositoryWrapper::theme(const QString &themeName) const
-{
- return m_repository->theme(themeName);
-}
-
-Theme RepositoryWrapper::defaultTheme(DefaultTheme t) const
-{
- return m_repository->defaultTheme(static_cast<Repository::DefaultTheme>(t));
-}
-
-#include "moc_repositorywrapper.cpp"