Remove variants for no longer supported KTextEditor versions

parent 0a152b78
......@@ -28,11 +28,6 @@
#include "clangprivateexport.h"
#include <ktexteditor_version.h>
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Cursor)
#endif
class ClangIndex;
class KDEVCLANGPRIVATE_EXPORT ClangCodeCompletionModel : public KDevelop::CodeCompletionModel
......
......@@ -37,11 +37,6 @@
#include <KTextEditor/Document>
#include <KTextEditor/View>
#include <ktexteditor_version.h>
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Cursor);
#endif
void DeleteDocument::operator()(KTextEditor::View* view) const
{
delete view->document();
......
......@@ -38,11 +38,6 @@
#include <memory>
#include <ktexteditor_version.h>
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Range);
#endif
QTEST_MAIN(TestClangUtils)
using namespace KDevelop;
......
......@@ -32,11 +32,6 @@
using namespace KDevelop;
#include <ktexteditor_version.h>
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Range);
#endif
QTEST_GUILESS_MAIN(TestDUChainUtils);
void TestDUChainUtils::initTestCase()
......
......@@ -40,12 +40,6 @@
#include <QtTest/QTest>
#include <QLoggingCategory>
#include <ktexteditor_version.h>
#if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0)
Q_DECLARE_METATYPE(KTextEditor::Cursor);
Q_DECLARE_METATYPE(KTextEditor::Range);
#endif
Q_DECLARE_METATYPE(KDevelop::IProblem::Severity);
using namespace KDevelop;
......
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