Interface to operating system File operations, ie open, close, read, write...
More...
#include <qsUtil.h>
Interface to operating system File operations, ie open, close, read, write...
if ( file.exists )
{
var message = "The output file \"" + file.name + "\" exists. Do you wish to overwrite it?"
return false;
}
return true;
File::File |
( |
const QString & |
file, |
|
|
QScriptContext * |
context |
|
) |
| |
QString File::absFileName |
( |
| ) |
const |
QString File::baseName |
( |
| ) |
const |
QDateTime File::created |
( |
| ) |
const |
bool File::exists |
( |
| ) |
const |
QString File::extension |
( |
| ) |
const |
QString File::fileName |
( |
| ) |
const |
bool File::isExecutable |
( |
| ) |
const |
bool File::isHidden |
( |
| ) |
const |
bool File::isReadable |
( |
| ) |
const |
bool File::isWritable |
( |
| ) |
const |
QDateTime File::lastModified |
( |
| ) |
const |
QDateTime File::lastRead |
( |
| ) |
const |
void File::open |
( |
int |
accessMode | ) |
|
|
slot |
QString File::path |
( |
| ) |
const |
QString File::readLine |
( |
| ) |
|
|
slot |
QStringList File::readLines |
( |
| ) |
|
|
slot |
QString File::symLink |
( |
| ) |
const |
void File::write |
( |
const QString & |
data, |
|
|
int |
length = -1 |
|
) |
| |
|
slot |
void File::writeByte |
( |
int |
byte | ) |
|
|
slot |
void File::writeLine |
( |
const QString & |
data | ) |
|
|
inlineslot |
QScriptContext* File::context |
|
private |
QDateTime File::lastModified |
|
read |
The documentation for this class was generated from the following file: