|
VR-Engage
2.2
|
DtFileEntry encapsulates information about a single file in the file selection lists, storing both the display name and the full path. This is used for scenarios and terrain files displayed in the start page.
#include <vreStartPage.h>
Public Member Functions | |
| DtFileEntry () | |
| DtFileEntry (const QString &fileName, const QString &filePath) | |
| QString | getFileName () const |
| void | setFileName (const QString &name) |
| QString | getFilePath () const |
| void | setFilePath (const QString &name) |
Protected Attributes | |
| QString | myFileName |
| QString | myFilePath |
| makVre::DtFileEntry::DtFileEntry | ( | ) |
Default constructor.
Creates an empty file entry with blank name and path.
| makVre::DtFileEntry::DtFileEntry | ( | const QString & | fileName, |
| const QString & | filePath ) |
Constructor with name and path.
| fileName | Display name of the file |
| filePath | Full path to the file |
Creates a file entry with the specified name and path.
| QString makVre::DtFileEntry::getFileName | ( | ) | const |
Gets the display name of the file.
Returns the display name of this file entry.
| void makVre::DtFileEntry::setFileName | ( | const QString & | name | ) |
Sets the display name of the file.
| name | New file name |
Updates the display name of this file entry.
| QString makVre::DtFileEntry::getFilePath | ( | ) | const |
Gets the full path to the file.
Returns the full path to this file entry.
| void makVre::DtFileEntry::setFilePath | ( | const QString & | name | ) |
Sets the full path to the file.
| name | New file path |
Updates the full path to this file entry.
|
protected |
Display name of the file.
|
protected |
Full path to the file.