Fraxinus
16.5.0-fx-rc6
An IGT application
|
#include <cxFilePathProperty.h>
Public Member Functions | |
void | appendRootPath (QString path) |
void | setFilepath (QString filename) |
relative to one of the root paths or absolute More... | |
QString | getRelativeFilepath () const |
return filepath relative to root. More... | |
QString | getAbsoluteFilepath () const |
return absolute filepath, select the existing root More... | |
bool | exists () const |
QString | getRootPath () const |
return the root of the existing root, first if no existing. More... | |
QStringList | getRootPaths () const |
return the root of the existing root, first if no existing. More... | |
Represent a file that is located in a location relative to a root folder or one of several root folders.
Examples are
Definition at line 56 of file cxFilePathProperty.h.
void cx::EmbeddedFilepath::appendRootPath | ( | QString | path | ) |
Definition at line 46 of file cxFilePathProperty.cpp.
bool cx::EmbeddedFilepath::exists | ( | ) | const |
Definition at line 107 of file cxFilePathProperty.cpp.
QString cx::EmbeddedFilepath::getAbsoluteFilepath | ( | ) | const |
return absolute filepath, select the existing root
Definition at line 98 of file cxFilePathProperty.cpp.
QString cx::EmbeddedFilepath::getRelativeFilepath | ( | ) | const |
return filepath relative to root.
Definition at line 89 of file cxFilePathProperty.cpp.
QString cx::EmbeddedFilepath::getRootPath | ( | ) | const |
return the root of the existing root, first if no existing.
Definition at line 116 of file cxFilePathProperty.cpp.
QStringList cx::EmbeddedFilepath::getRootPaths | ( | ) | const |
return the root of the existing root, first if no existing.
Definition at line 125 of file cxFilePathProperty.cpp.
void cx::EmbeddedFilepath::setFilepath | ( | QString | filename | ) |
relative to one of the root paths or absolute
Definition at line 51 of file cxFilePathProperty.cpp.