Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/language/interfaces/abbreviations.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | |||||
46 | * @return bool true if match, else false | 46 | * @return bool true if match, else false | ||
47 | */ | 47 | */ | ||
48 | KDEVPLATFORMLANGUAGE_EXPORT bool matchesAbbreviationMulti(const QString& word, const QStringList& typedFragments); | 48 | KDEVPLATFORMLANGUAGE_EXPORT bool matchesAbbreviationMulti(const QString& word, const QStringList& typedFragments); | ||
49 | 49 | | |||
50 | /** | 50 | /** | ||
51 | * @brief Matches a path against a list of search fragments. | 51 | * @brief Matches a path against a list of search fragments. | ||
52 | * @return -1 when no match is found, otherwise a positive integer, higher values mean lower quality | 52 | * @return -1 when no match is found, otherwise a positive integer, higher values mean lower quality | ||
53 | */ | 53 | */ | ||
54 | KDEVPLATFORMLANGUAGE_EXPORT int matchPathFilter(const Path& toFilter, const QStringList& text); | 54 | KDEVPLATFORMLANGUAGE_EXPORT int matchPathFilter(const Path& toFilter, const QStringList& text, const Path& prefixPath); | ||
55 | } | 55 | } | ||
56 | 56 | | |||
57 | #endif | 57 | #endif | ||
58 | 58 | | |||
59 | // kate: space-indent on; indent-width 2 | 59 | // kate: space-indent on; indent-width 2 |