Definition at line 18 of file KisAbrStorage.cpp.
◆ AbrTagIterator()
| AbrTagIterator::AbrTagIterator |
( |
KisAbrBrushCollectionSP | brushCollection, |
|
|
const QString & | location, |
|
|
const QString & | resourceType ) |
|
inline |
Definition at line 21 of file KisAbrStorage.cpp.
25 {}
KisAbrBrushCollectionSP m_brushCollection
◆ hasNext()
| bool AbrTagIterator::hasNext |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ next()
| void AbrTagIterator::next |
( |
| ) |
|
|
inlineoverridevirtual |
◆ tag()
A tag object on which we can set properties and which we can save.
Implements KisResourceStorage::TagIterator.
Definition at line 34 of file KisAbrStorage.cpp.
35 {
37 abrTag->setUrl(QFileInfo(
m_location).fileName());
38 abrTag->setName(QFileInfo(
m_location).fileName());
39 abrTag->setComment(QFileInfo(
m_location).fileName());
40 abrTag->setFilename(QFileInfo(
m_location).fileName());
42 abrTag->setValid(true);
45 brushes << brush->filename();
46 }
47 abrTag->setDefaultResources(brushes);
48
49 return abrTag;
50 }
The KisTag loads a tag from a .tag file. A .tag file is a .desktop file. The following fields are imp...
References m_brushCollection, m_location, and m_resourceType.
◆ m_brushCollection
◆ m_location
| QString AbrTagIterator::m_location |
|
private |
◆ m_resourceType
| QString AbrTagIterator::m_resourceType |
|
private |
◆ m_taggingDone
| bool AbrTagIterator::m_taggingDone {false} |
|
private |
The documentation for this class was generated from the following file: