LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
A QStringListModel providing additional methods for tags. More...
#include "tagscompletionmodel.h"
Signals | |
void | tagsUpdated (const QStringList &allTags) |
Emitted when tags are updated via UpdateTags(). More... | |
Public Member Functions | |
void | UpdateTags (const QStringList &newTags) |
Adds new tags to the list of tags. More... | |
A QStringListModel providing additional methods for tags.
This model is basically a QStringListModel with additional methods for easy working with tags.
Definition at line 28 of file tagscompletionmodel.h.
|
signal |
Emitted when tags are updated via UpdateTags().
[in] | allTags | All tags in this model. |
void LC::Util::TagsCompletionModel::UpdateTags | ( | const QStringList & | newTags | ) |
Adds new tags to the list of tags.
This method adds the newTags to the already existing list of tags avoiding duplicates and emits the tagsUpdated() signal.
[in] | newTags | The new tags to append to this model. |
Definition at line 20 of file tagscompletionmodel.cpp.