C
SafeRenderer::QSafeFileInfo Class
class SafeRenderer::QSafeFileInfoThe QSafeFileInfo class contains functions for parsing the path, the filename and hash value of the filename. More...
| Header: | #include <QSafeFileInfo> |
| Since: | QtSafeRenderer 1.2 |
Public Functions
| const SafeRenderer::qchar * | absoluteFilePath() const |
| void | filename(SafeRenderer::QSafeString &targetArg) const |
| SafeRenderer::quint32 | hash() const |
| void | path(SafeRenderer::QSafeString &targetArg) const |
| void | setPath(const SafeRenderer::QSafeString &filenameArg) |
Member Function Documentation
const SafeRenderer::qchar *QSafeFileInfo::absoluteFilePath() const
Returns an absolute path including the file name.
void QSafeFileInfo::filename(SafeRenderer::QSafeString &targetArg) const
Getter for the base name of the file without the path. The value is set to targetArg reference.
SafeRenderer::quint32 QSafeFileInfo::hash() const
Retruns the hash value of the filename.
void QSafeFileInfo::path(SafeRenderer::QSafeString &targetArg) const
Getter for the base name of the file without the path. The value is set to targetArg reference.
See also setPath().
void QSafeFileInfo::setPath(const SafeRenderer::QSafeString &filenameArg)
Sets the absolute filenameArg to the QSafeFileInfo.
Throws QSafeFileException::InvalidFilename if the filename is not valid.
See also path().
Available under certain Qt licenses.
Find out more.