![]() |
Главная · Все классы · Основные классы · Классы по группам · Модули · Функции | ![]() |
Описанные ниже члены класса являются частью слоя поддержки Qt 3. Они введены для поддержки старого кода в Qt 4. Мы советуем не использовать их во вновь создаваемом коде.
Use absoluteFilePath(fileName) instead.
The acceptAbsPath parameter is ignored.
Use absolutePath() instead.
Use cleanPath() instead.
Use makeAbsolute() instead.
Returns the absolute path of the application's current directory.
Use currentPath() instead.
See also currentPath().
Это перегруженная функция, предоставленная для удобства.
Use the overload that takes a name filter string list as first argument instead of a combination of attribute filter flags.
Это перегруженная функция, предоставленная для удобства.
Use the overload that takes a name filter string list as first argument instead of a combination of attribute filter flags.
Returns the absolute path of the user's home directory.
Use homePath() instead.
See also homePath().
Use filter() & AllDirs instead.
See also setMatchAllDirs().
Это перегруженная функция, предоставленная для удобства.
Use mkdir(dirName) instead.
The acceptAbsPath parameter is ignored.
Use nameFilters() instead.
See also setNameFilter().
Это перегруженная функция, предоставленная для удобства.
Use rmdir(dirName) instead.
The acceptAbsPath parameter is ignored.
Returns the absolute path of the root directory.
Use rootPath() instead.
See also rootPath().
Use setFilter() instead.
See also matchAllDirs().
Use setNameFilters() instead.
The nameFilter is a wildcard (globbing) filter that understands "*" and "?" wildcards. (See QRegExp wildcard matching.) You may specify several filter entries, each separated by spaces or by semicolons.
For example, if you want entryList() and entryInfoList() to list all files ending with either ".cpp" or ".h", you would use either dir.setNameFilters("*.cpp *.h") or dir.setNameFilters("*.cpp;*.h").
Например, если у вас есть код
QString filter = "*.cpp *.cxx *.cc"; dir.setNameFilter(filter);
вы можете записать его в виде
QString filter = "*.cpp *.cxx *.cc"; dir.setNameFilters(filter.split(' '));
See also nameFilter().
Copyright © 2008 Trolltech | Торговые марки | Qt 4.3.5 |