FileAccess Class Reference

The FileAccess JavaScript global object. Enum to define file operation. More...

Public Types

enum  AccessMode {
  ReadOnly = QIODevice::ReadOnly, WriteOnly = QIODevice::WriteOnly, ReadWrite = QIODevice::ReadWrite, Append = QIODevice::Append,
  Truncate = QIODevice::Truncate, Translate = QIODevice::Text
}
 

Public Member Functions

 FileAccess ()
 
 FileAccess (QObject *parent)
 
 FileAccess (FileAccess &rhs)
 

Detailed Description

The FileAccess JavaScript global object. Enum to define file operation.

var file = new File(filePath);

Member Enumeration Documentation

◆ AccessMode

Enumerator
ReadOnly 
WriteOnly 
ReadWrite 
Append 
Truncate 
Translate 

Constructor & Destructor Documentation

◆ FileAccess() [1/3]

FileAccess::FileAccess ( )

◆ FileAccess() [2/3]

FileAccess::FileAccess ( QObject *  parent)

◆ FileAccess() [3/3]

FileAccess::FileAccess ( FileAccess rhs)