The StateHandler class provides is the base interface class of tag editor.
More...
#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
Definition at line 30 of file tagmodel.h.
This enum describes tag editor capabilities
Enumerator |
---|
CreateRemove |
Can create/remove tag
|
Save |
Can save changes
|
DefaultCaps |
|
Definition at line 36 of file tagmodel.h.
virtual TagModel::~TagModel |
( |
| ) |
|
|
virtualdefault |
ModelCaps TagModel::caps |
( |
| ) |
const |
Returns capability flags.
virtual void TagModel::create |
( |
| ) |
|
|
virtual |
virtual bool TagModel::exists |
( |
| ) |
const |
|
virtual |
Returns true if this tag exists; otherwise returns false.
Returns available keys. Default implementations returns all possible keys.
virtual QString TagModel::name |
( |
| ) |
const |
|
pure virtual |
Returns tag name. Subclass should reimplement this fucntion.
virtual void TagModel::remove |
( |
| ) |
|
|
virtual |
virtual void TagModel::save |
( |
| ) |
|
|
virtual |
Changes metadata string associated with the given key to value. Subclass should reimplement this fucntion.
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: