org.kde.qt
public class QDir extends Object implements QtSupport
Field Summary | |
---|---|
static int | AccessMask |
static int | All |
static int | DefaultFilter |
static int | DefaultSort |
static int | Dirs |
static int | DirsFirst |
static int | Drives |
static int | Executable |
static int | Files |
static int | Hidden |
static int | IgnoreCase |
static int | LocaleAware |
static int | Modified |
static int | Name |
static int | NoSymLinks |
static int | Readable |
static int | Reversed |
static int | RWEMask |
static int | Size |
static int | SortByMask |
static int | System |
static int | Time |
static int | TypeMask |
static int | Unsorted |
static int | Writable |
Constructor Summary | |
---|---|
protected | QDir(Class dummy) |
QDir() | |
QDir(String path, String nameFilter, int sortSpec, int filterSpec) | |
QDir(String path, String nameFilter, int sortSpec) | |
QDir(String path, String nameFilter) | |
QDir(String path) | |
QDir(QDir arg1) |
Method Summary | |
---|---|
String | absFilePath(String fileName, boolean acceptAbsPath) |
String | absFilePath(String fileName) |
String | absPath() |
String | canonicalPath() |
boolean | cd(String dirName, boolean acceptAbsPath) |
boolean | cd(String dirName) |
boolean | cdUp() |
static String | cleanDirPath(String dirPath) |
static String | convertSeparators(String pathName) |
void | convertToAbs() |
int | count() |
static QDir | current() |
static String | currentDirPath() |
String | dirName() |
void | dispose() Delete the wrapped C++ instance ahead of finalize() |
ArrayList | encodedEntryList(int filterSpec, int sortSpec) |
ArrayList | encodedEntryList(int filterSpec) |
ArrayList | encodedEntryList() |
ArrayList | encodedEntryList(String nameFilter, int filterSpec, int sortSpec) |
ArrayList | encodedEntryList(String nameFilter, int filterSpec) |
ArrayList | encodedEntryList(String nameFilter) |
ArrayList | entryList(int filterSpec, int sortSpec) |
ArrayList | entryList(int filterSpec) |
ArrayList | entryList() |
ArrayList | entryList(String nameFilter, int filterSpec, int sortSpec) |
ArrayList | entryList(String nameFilter, int filterSpec) |
ArrayList | entryList(String nameFilter) |
boolean | exists() |
boolean | exists(String name, boolean acceptAbsPath) |
boolean | exists(String name) |
String | filePath(String fileName, boolean acceptAbsPath) |
String | filePath(String fileName) |
int | filter() |
protected void | finalize() Deletes the wrapped C++ instance |
static QDir | home() |
static String | homeDirPath() |
boolean | isDisposed() Has the wrapped C++ instance been deleted? |
boolean | isReadable() |
boolean | isRelative() |
static boolean | isRelativePath(String path) |
boolean | isRoot() |
static boolean | match(String[] filters, String fileName) |
static boolean | match(String filter, String fileName) |
boolean | matchAllDirs() |
boolean | mkdir(String dirName, boolean acceptAbsPath) |
boolean | mkdir(String dirName) |
String | nameFilter() |
String | op_at(int arg1) |
boolean | op_equals(QDir arg1) |
boolean | op_not_equals(QDir arg1) |
String | path() |
void | refresh() |
boolean | remove(String fileName, boolean acceptAbsPath) |
boolean | remove(String fileName) |
boolean | rename(String name, String newName, boolean acceptAbsPaths) |
boolean | rename(String name, String newName) |
boolean | rmdir(String dirName, boolean acceptAbsPath) |
boolean | rmdir(String dirName) |
static QDir | root() |
static String | rootDirPath() |
static char | separator() |
static boolean | setCurrent(String path) |
void | setFilter(int filterSpec) |
void | setMatchAllDirs(boolean arg1) |
void | setNameFilter(String nameFilter) |
void | setPath(String path) |
void | setSorting(int sortSpec) |
int | sorting() |