Changeset View
Changeset View
Standalone View
Standalone View
src/lib/definition.cpp
Show First 20 Lines • Show All 181 Lines • ▼ Show 20 Line(s) | |||||
182 | } | 182 | } | ||
183 | 183 | | |||
184 | QStringList Definition::foldingIgnoreList() const | 184 | QStringList Definition::foldingIgnoreList() const | ||
185 | { | 185 | { | ||
186 | d->load(); | 186 | d->load(); | ||
187 | return d->foldingIgnoreList; | 187 | return d->foldingIgnoreList; | ||
188 | } | 188 | } | ||
189 | 189 | | |||
190 | QVector<Format> Definition::formats() const | ||||
191 | { | ||||
192 | d->load(); | ||||
193 | return QVector<Format>::fromList(d->formats.values()); | ||||
194 | } | ||||
195 | | ||||
190 | QVector<Definition> Definition::includedDefinitions() const | 196 | QVector<Definition> Definition::includedDefinitions() const | ||
191 | { | 197 | { | ||
192 | d->load(); | 198 | d->load(); | ||
193 | 199 | | |||
194 | QVector<Definition> definitions; | 200 | QVector<Definition> definitions; | ||
195 | 201 | | |||
196 | QQueue<Definition> queue; | 202 | QQueue<Definition> queue; | ||
197 | queue.enqueue(*this); | 203 | queue.enqueue(*this); | ||
▲ Show 20 Lines • Show All 393 Lines • Show Last 20 Lines |