Changeset View
Changeset View
Standalone View
Standalone View
codecompletion/completionworker.h
Show All 26 Lines | |||||
27 | 27 | | |||
28 | class CompletionWorker : public KDevelop::CodeCompletionWorker | 28 | class CompletionWorker : public KDevelop::CodeCompletionWorker | ||
29 | { | 29 | { | ||
30 | Q_OBJECT | 30 | Q_OBJECT | ||
31 | public: | 31 | public: | ||
32 | CompletionWorker(CompletionModel *parent); | 32 | CompletionWorker(CompletionModel *parent); | ||
33 | 33 | | |||
34 | protected: | 34 | protected: | ||
35 | KDevelop::CodeCompletionContext *createCompletionContext(KDevelop::DUContextPointer context, | 35 | KDevelop::CodeCompletionContext *createCompletionContext(const KDevelop::DUContextPointer &context, | ||
36 | const QString &contextText, | 36 | const QString &contextText, | ||
37 | const QString &followingText, | 37 | const QString &followingText, | ||
38 | const KDevelop::CursorInRevision &position) const override; | 38 | const KDevelop::CursorInRevision &position) const override; | ||
39 | }; | 39 | }; | ||
40 | 40 | | |||
41 | } | 41 | } | ||
42 | 42 | | |||
43 | #endif // COMPLETIONWORKER_H | 43 | #endif // COMPLETIONWORKER_H |