Changeset View
Changeset View
Standalone View
Standalone View
completion/worker.h
Show All 36 Lines | |||||
37 | class KDEVPHPCOMPLETION_EXPORT CodeCompletionWorker : public KDevelop::CodeCompletionWorker | 37 | class KDEVPHPCOMPLETION_EXPORT CodeCompletionWorker : public KDevelop::CodeCompletionWorker | ||
38 | { | 38 | { | ||
39 | Q_OBJECT | 39 | Q_OBJECT | ||
40 | 40 | | |||
41 | public: | 41 | public: | ||
42 | explicit CodeCompletionWorker(CodeCompletionModel* parent); | 42 | explicit CodeCompletionWorker(CodeCompletionModel* parent); | ||
43 | 43 | | |||
44 | protected: | 44 | protected: | ||
45 | virtual KDevelop::CodeCompletionContext* createCompletionContext(KDevelop::DUContextPointer context, | 45 | KDevelop::CodeCompletionContext* createCompletionContext(KDevelop::DUContextPointer context, | ||
46 | const QString &contextText, | 46 | const QString &contextText, | ||
47 | const QString &followingText, | 47 | const QString &followingText, | ||
48 | const KDevelop::CursorInRevision& position) const override; | 48 | const KDevelop::CursorInRevision& position) const override; | ||
49 | }; | 49 | }; | ||
50 | 50 | | |||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | #endif // PHPCODECOMPLETIONWORKER_H | 53 | #endif // PHPCODECOMPLETIONWORKER_H |