Interface to operating system Dir operations, ie, mkdir, rmdir, rename, etc.
More...
#include <qsUtil.h>
|
QString | filePath (const QString &file=QString::null) const |
|
QString | absFilePath (const QString &file=QString::null) const |
|
void | cd (const QString &dirName) const |
|
void | cdUp () const |
|
QStringList | entryList (const QString &filter, int filterSpec=-1, int sortSpec=-1) const |
|
void | mkdir (const QString &dirName=QString::null) const |
|
void | rmdir (const QString &dirName=QString::null) const |
|
void | mkdirs (const QString &dirName=QString::null) const |
|
void | rmdirs (const QString &dirName=QString::null) const |
|
void | remove (const QString &fileName) const |
|
void | rename (const QString &oldName, const QString &newName) |
|
bool | fileExists (const QString &fileName) const |
|
void | setCurrent () const |
|
Interface to operating system Dir operations, ie, mkdir, rmdir, rename, etc.
dir.path = this._exportDir;
dir.mkdirs();
Dir::Dir |
( |
const QString & |
path, |
|
|
QScriptContext * |
ct |
|
) |
| |
|
inline |
QString Dir::absFilePath |
( |
const QString & |
file = QString::null | ) |
const |
|
slot |
QString Dir::absPath |
( |
| ) |
const |
|
inline |
QString Dir::canonicalPath |
( |
| ) |
const |
|
inline |
void Dir::cd |
( |
const QString & |
dirName | ) |
const |
|
slot |
QStringList Dir::entryList |
( |
const QString & |
filter, |
|
|
int |
filterSpec = -1 , |
|
|
int |
sortSpec = -1 |
|
) |
| const |
|
slot |
bool Dir::exists |
( |
| ) |
const |
|
inline |
bool Dir::fileExists |
( |
const QString & |
fileName | ) |
const |
|
inlineslot |
QString Dir::filePath |
( |
const QString & |
file = QString::null | ) |
const |
|
slot |
bool Dir::isReadable |
( |
| ) |
const |
|
inline |
void Dir::mkdir |
( |
const QString & |
dirName = QString::null | ) |
const |
|
slot |
void Dir::mkdirs |
( |
const QString & |
dirName = QString::null | ) |
const |
|
slot |
QString Dir::name |
( |
| ) |
const |
|
inline |
QString Dir::path |
( |
| ) |
const |
|
inline |
void Dir::remove |
( |
const QString & |
fileName | ) |
const |
|
slot |
void Dir::rename |
( |
const QString & |
oldName, |
|
|
const QString & |
newName |
|
) |
| |
|
slot |
void Dir::rmdir |
( |
const QString & |
dirName = QString::null | ) |
const |
|
slot |
void Dir::rmdirs |
( |
const QString & |
dirName = QString::null | ) |
const |
|
slot |
void Dir::setCurrent |
( |
| ) |
const |
|
slot |
void Dir::setPath |
( |
const QString & |
newPath | ) |
const |
|
inline |
QScriptContext* Dir::context |
|
private |
QString Dir::canonicalPath |
|
read |
The documentation for this class was generated from the following file: