Harmony
Scripting Interface Documentation
DirSpec Class Reference

The DirSpec JavaScript global object. Enum for directory operations. More...

Public Types

enum  FilterSpec {
  Dirs = QDir::Dirs, Files = QDir::Files, Drives = QDir::Drives, NoSymLinks = QDir::NoSymLinks,
  All = QDir::TypeMask, TypeMask = QDir::TypeMask, Readable = QDir::Readable, Writable = QDir::Writable,
  Executable = QDir::Executable, RWEMask = QDir::PermissionMask, Modified = QDir::Modified, Hidden = QDir::Hidden,
  System = QDir::System, AccessMask = QDir::AccessMask
}
 
enum  SortSpec {
  Name = QDir::Name, Time = QDir::Time, Size = QDir::Size, Unsorted = QDir::Unsorted,
  SortByMask = QDir::SortByMask, DirsFirst = QDir::DirsFirst, Reversed = QDir::Reversed, IgnoreCase = QDir::IgnoreCase
}
 

Detailed Description

The DirSpec JavaScript global object. Enum for directory operations.

var myDirectorySpec = DirSpec.Dirs;

Member Enumeration Documentation

◆ FilterSpec

Filtering type for files.

Enumerator
Dirs 
Files 
Drives 
NoSymLinks 
All 
TypeMask 
Readable 
Writable 
Executable 
RWEMask 
Modified 
Hidden 
System 
AccessMask 

◆ SortSpec

Sorting types for files

Enumerator
Name 
Time 
Size 
Unsorted 
SortByMask 
DirsFirst 
Reversed 
IgnoreCase