- // TODO: make naming consistent - either "picture" or "map"
- QVariant map() const { return value("picture"); }
- bool hasMap() const
- {
- // empty strings also treasted as NULL,
- // as storing NULLs requires rewrite of storing code and DB scheme
- return !isNull("picture") and !value("picture").toString().isEmpty();
- }