Changeset View
Changeset View
Standalone View
Standalone View
languages/clang/codecompletion/model.h
Show All 22 Lines | |||||
23 | #define CLANGCODECOMPLETIONMODEL_H | 23 | #define CLANGCODECOMPLETIONMODEL_H | ||
24 | 24 | | |||
25 | #include <language/codecompletion/codecompletionmodel.h> | 25 | #include <language/codecompletion/codecompletionmodel.h> | ||
26 | 26 | | |||
27 | #include <QMetaType> | 27 | #include <QMetaType> | ||
28 | 28 | | |||
29 | #include "clangprivateexport.h" | 29 | #include "clangprivateexport.h" | ||
30 | 30 | | |||
31 | #include <ktexteditor_version.h> | | |||
32 | #if KTEXTEDITOR_VERSION < QT_VERSION_CHECK(5, 10, 0) | | |||
33 | Q_DECLARE_METATYPE(KTextEditor::Cursor) | | |||
34 | #endif | | |||
35 | | ||||
36 | class ClangIndex; | 31 | class ClangIndex; | ||
37 | 32 | | |||
38 | class KDEVCLANGPRIVATE_EXPORT ClangCodeCompletionModel : public KDevelop::CodeCompletionModel | 33 | class KDEVCLANGPRIVATE_EXPORT ClangCodeCompletionModel : public KDevelop::CodeCompletionModel | ||
39 | { | 34 | { | ||
40 | Q_OBJECT | 35 | Q_OBJECT | ||
41 | 36 | | |||
42 | public: | 37 | public: | ||
43 | explicit ClangCodeCompletionModel(ClangIndex* index, QObject* parent); | 38 | explicit ClangCodeCompletionModel(ClangIndex* index, QObject* parent); | ||
Show All 19 Lines |