Skip to content

File#

Singleton with methods to handle files. More...

import Script

Methods#

Name
bool copy(string fileName, string newName)
bool exists(string fileName)
string readAll(string fileName)
bool remove(string fileName)
bool rename(string oldName, string newName)
bool touch(string fileName)

Detailed Description#

The File singleton implements most of the static methods from QFile, check QFile documentation.

Method Documentation#

bool copy(string fileName, string newName)#

bool exists(string fileName)#

string readAll(string fileName)#

bool remove(string fileName)#

bool rename(string oldName, string newName)#

bool touch(string fileName)#