#include <tagmodel.h>
The StateHandler class provides is the base interface class of tag editor.
- Author
- Ilya Kotov forko.nosp@m.tov0.nosp@m.2@ya..nosp@m.ru
◆ ModelCap
This enum describes tag editor capabilities
Enumerator |
---|
NoOptions | No capabilities
|
CreateRemove | Can create/remove tag
|
Save | Can save changes
|
◆ TagModel()
◆ ~TagModel()
◆ caps()
Returns capability flags.
◆ create()
◆ exists()
virtual bool exists |
( |
| ) |
const |
|
virtual |
Returns true if this tag exists; otherwise returns false.
◆ keys()
Returns available keys. Default implementations returns all possible keys.
◆ name()
virtual QString name |
( |
| ) |
const |
|
pure virtual |
Returns tag name. Subclass should reimplement this fucntion.
◆ remove()
◆ save()
◆ setValue() [1/2]
Changes metadata string associated with the given key to value. Subclass should reimplement this fucntion.
◆ setValue() [2/2]
Changes metadata string associated with the given key to value. Subclass should reimplement this fucntion.
◆ value()
Returns the metdata string associated with the given key. Subclass should reimplement this fucntion.
The documentation for this class was generated from the following file:
- /usr/src/RPM/BUILD/qmmp-0.12-svn/src/qmmp/tagmodel.h