Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The following class members are part of the Qt 3 compatibility layer. They are provided to help you port old code to Qt 4. We strongly advise against using them in new code.
Use absoluteFilePath() instead.
Use absolutePath() instead.
Use cleanPath() instead.
Use makeAbsolute() instead.
Returns the current working directory or "/" if the current directory cannot be determined.
See also homeDirPath() and rootDirPath().
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Use the overload that takes a name filter string list as first argument instead.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Use the overload that takes a name filter string list as first argument instead.
Returns the user's home directory or an empty string if it cannot be determined.
See also currentDirPath() and rootDirPath().
Use filter() & AllDirs instead.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Tries to create a directory called dirName. Returns true on success; otherwise returns false. If acceptAbsPath is false dirName must be relative to the current working directory.
See also currentDirPath().
Use nameFilters() instead.
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
Tries to delete the directory specified by dirName. Returns true on success; otherwise returns false. If acceptAbsPath is false dirName must be relative to the current working directory.
See also currentDirPath().
Returns "/".
See also homeDirPath() and currentDirPath().
Use setFilter() instead.
Use setNameFilters() instead.
For example, if you have code like
QString filter = "*.cpp *.cxx *.cc"; dir.setNameFilter(filter);
you can rewrite it as
QString filter = "*.cpp *.cxx *.cc"; dir.setNameFitlers(filter.split(' '));
Copyright © 2004 Trolltech. | Trademarks | Qt 4.0.0-tp2 |