Inheritance diagram for DzContentFile:
Properties | |
Boolean | canDelete |
Boolean | canRename |
String | companionPath |
String | fullPath |
Boolean | hasCompanionScript |
Pixmap | icon |
Boolean | isNative |
Boolean | isScript |
String | label |
String | name |
Pixmap | smallIcon |
Methods | |
Boolean | deleteFile () |
DzContentFolder | getFolder () |
DzContentFile | getNext () |
void | reloadIcon () |
Boolean | rename (String newName) |
Represents a file in the content library that can be loaded/imported. Also provides functionality for moving the file to a new location, renaming the file, and deleting the file from the library.
bool DzContentFile::deleteFile | ( | ) |
Removes this file from its content folder. The default implementation of this function deletes the content file and any associated thumbnail image from the disk, so use with care!
DzContentFolder DzContentFile::getFolder | ( | ) |
DzContentFile DzContentFile::getNext | ( | ) |
void DzContentFile::reloadIcon | ( | ) |
Force the file to reload its icon.
bool DzContentFile::rename | ( | String | newName | ) |
Rename the file to the given name.
name | The new name for the file. |
Whether or not the file can be deleted (Read Only)
Whether or not the file can be renamed (Read Only)
The path of the companion script for non-native files (Read Only)
The full path of the file (Read Only)
Whether or not a non-native file has a companion DAZ Script file (Read Only)
The icon for the file (Read Only)
Whether or not the file is a DAZ Studio native content file (Read Only)
Whether or not the file is a DAZ Script file (Read Only)
The label of the file, as displayed to the user (Read Only)
The name of the file (Read Only)
Reimplemented from QObject.
The small icon for the file (Read Only)