Inheritance diagram for DzContentFolder:
Represents a folder in the content library that holds DzContentFile objects as well as other DzContentFolder objects.
DzContentFolder::addedFolder | ( | DzContentFolder | newFolder | ) | [signal] |
Signature: "addedFolder(DzContentFolder*)"
Emitted when a new folder is added.
newFolder | The folder that was added. |
Adds a new subfolder with the given name to this folder.
folderName | The name of the new sub folder. |
Boolean DzContentFolder::canMoveFile | ( | DzContentFile | file | ) |
file | The file to test for moving |
Boolean DzContentFolder::copyFile | ( | DzContentFile | file | ) |
Copies the given content file to this folder.
file | The file to copy to this folder. |
Boolean DzContentFolder::deleteFolder | ( | ) |
Removes this content folder. The default implementation of this function deletes all files and subfolders in this directory from the disk, so use with care!
void DzContentFolder::fileListChanged | ( | ) | [signal] |
Signature: "fileListChanged()"
Emitted when the file list has changed.
void DzContentFolder::folderListChanged | ( | ) | [signal] |
Signature: "folderListChanged()"
Emitted when a folder is added or removed.
DzContentFile DzContentFolder::getFirstFile | ( | ) |
DzContentFolder DzContentFolder::getFirstFolder | ( | ) |
DzContentFile DzContentFolder::getFirstHiddenFile | ( | ) |
DzContentFolder DzContentFolder::getFirstHiddenFolder | ( | ) |
DzContentFolder DzContentFolder::getNext | ( | ) |
DzContentFolder DzContentFolder::getParent | ( | ) |
Boolean DzContentFolder::hasSubFolders | ( | ) |
Boolean DzContentFolder::moveFile | ( | DzContentFile | file | ) |
Moves the given content file to this folder.
file | The file to move to this folder |
Checks for changes in sub folders and files (if loaded).
reloadIcons | If true, the icons will be reloaded from disk. |
DzContentFolder::removedFolder | ( | DzContentFolder | folder | ) | [signal] |
Signature: "removedFolder(DzContentFolder*)"
Emitted when a folder is removed.
folder | The folder that was removed. |
Rename the folder to the given name.
newName | The new name for the folder |
Whether or not a sub folder can be added in this folder (Read Only)
Whether or not this folder can be deleted (Read Only)
Whether or not this folder can be renamed (Read Only)
Whether or not the files of this folder are loaded (Read Only)
The name of the folder (Read Only)
Whether or not the subfolders of this folder are loaded (Read Only)
The type of the folder (Read Only)
The full path of the folder (Read Only)
The icon of the folder (Read Only)
Whether or not this folder is a built-in content folder (Read Only)
The label of the folder as it is displayed to the user (Read Only)