11 Q_INVOKABLE
explicit VFS_QRC(QString path,
bool raw=
false);
virtual void submit(VFS_request *r)
Attempt to submit.
bool _raw
Whether to fetch data in JSON mode or RAW mode.
virtual void subscribe(VFS_request *r)
Subscribe to a path.
virtual void ls(VFS_request *r)
List the contents of a path in this resource.
virtual VFS_node * find(VFS_request *r)
virtual void write(VFS_request *r)
Attempt to write.
QString _path
The Qt resource path prefix. Must start with ":/".
virtual void metadata(VFS_request *r)
Retrieve the metadata for a path.
Q_INVOKABLE VFS_QRC(QString path, bool raw=false)
virtual void rm(VFS_request *r)
Attempt to rm.
virtual void read(VFS_request *r)
Return the data contents of this node, or if it's a container call ls()
virtual bool isContainer()
The VFS_QRC class is a read-only container.
VFS_node is the base class from which all other VFS_node classes derive.
The base class for all requests between nodes.