亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? qdir.cpp

?? QT 開發(fā)環(huán)境里面一個很重要的文件
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
        return true;    QString newPath = d->data->path;    if (isAbsolutePath(dirName)) {        newPath = cleanPath(dirName);    } else {        if (isRoot()) {            if (dirName == QLatin1String(".."))                return false;        } else {            newPath += QLatin1Char('/');        }        newPath += dirName;        if (dirName.indexOf(QLatin1Char('/')) >= 0            || d->data->path == QLatin1String(".")            || dirName == QLatin1String("..")) {            newPath = cleanPath(newPath);            /*              If newPath starts with .., we convert it to absolute to              avoid infinite looping on                  QDir dir(".");                  while (dir.cdUp())                      ;            */            if (newPath.startsWith(QLatin1String(".."))) {                newPath = QFileInfo(newPath).absoluteFilePath();            }        }    }    {        QFileInfo fi(newPath);        if (!(fi.exists() && fi.isDir()))            return false;    }    d->setPath(newPath);    refresh();    return true;}/*!    Changes directory by moving one directory up from the QDir's    current directory.    Returns true if the new directory exists and is readable;    otherwise returns false. Note that the logical cdUp() operation is    not performed if the new directory does not exist.    \sa cd(), isReadable(), exists(), path()*/bool QDir::cdUp(){    return cd(QString::fromLatin1(".."));}/*!    Returns the string list set by setNameFilters()*/QStringList QDir::nameFilters() const{    Q_D(const QDir);    return d->data->nameFilters;}/*!    Sets the name filters used by entryList() and entryInfoList() to the    list of filters specified by \a nameFilters.    Each name filter is a wildcard (globbing) filter that understands    \c{*} and \c{?} wildcards. (See \l{QRegExp wildcard matching}.)    For example, the following code sets three name filters on a QDir    to ensure that only files with extensions typically used for C++    source files are listed:    \quotefromfile snippets/qdir-namefilters/main.cpp    \skipto QStringList    \printuntil setNameFilters    \sa nameFilters(), setFilter()*/void QDir::setNameFilters(const QStringList &nameFilters){    Q_D(QDir);    d->detach();    d->data->nameFilters = nameFilters;}/*!    Adds \a path to the search paths searched in to find resources    that are not specified with an absolute path. The default search    path is to search only in the root (\c{:/}).    \sa {The Qt Resource System}, QResource::addSearchPath()*/void QDir::addResourceSearchPath(const QString &path){#ifdef QT_BUILD_CORE_LIB    QResource::addSearchPath(path);#else    Q_UNUSED(path)#endif}/*!    Returns the value set by setFilter()*/QDir::Filters QDir::filter() const{    Q_D(const QDir);    return d->data->filters;}/*!    \enum QDir::Filter    This enum describes the filtering options available to QDir; e.g.    for entryList() and entryInfoList(). The filter value is specified    by combining values from the following list using the bitwise OR    operator:    \value Dirs    List directories that match the filters.    \value AllDirs  List all directories; i.e. don't apply the filters                    to directory names.    \value Files   List files only.    \value Drives  List disk drives (ignored under Unix).    \value NoSymLinks  Do not list symbolic links (ignored by operating                       systems that don't support symbolic links).    \value NoDotAndDotDot Do not list the special entries "." and "..".    \value AllEntries  List directories, files, drives and symlinks (this does not list                broken symlinks unless you specify System).    \value Readable    List files for which the application has read                       access. The Readable value needs to be combined                       with Dirs or Files.    \value Writable    List files for which the application has write                       access. The Writable value needs to be combined                       with Dirs or Files.    \value Executable  List files for which the application has                       execute access. The Executable value needs to be                       combined with Dirs or Files.    \value Modified  Only list files that have been modified (ignored                     under Unix).    \value Hidden  List hidden files (on Unix, files starting with a .).    \value System  List system files (on Unix, FIFOs, sockets and                   device files)    \value CaseSensitive  The filter should be case sensitive if the file system                          is case sensitive.    \omitvalue DefaultFilter    \omitvalue TypeMask    \omitvalue All    \omitvalue RWEMask    \omitvalue AccessMask    \omitvalue PermissionMask    \omitvalue NoFilter    Functions that use Filter enum values to filter lists of files    and directories will include symbolic links to files and directories    unless you set the NoSymLinks value.    A default constructed QDir will not filter out files based on    their permissions, so entryList() and entryInfoList() will return    all files that are readable, writable, executable, or any    combination of the three.  This makes the default easy to write,    and at the same time useful.    For example, setting the \c Readable, \c Writable, and \c Files    flags allows all files to be listed for which the application has read    access, write access or both. If the \c Dirs and \c Drives flags are    also included in this combination then all drives, directories, all    files that the application can read, write, or execute, and symlinks    to such files/directories can be listed.    To retrieve the permissons for a directory, use the    entryInfoList() function to get the associated QFileInfo objects    and then use the QFileInfo::permissons() to obtain the permissions    and ownership for each file.*//*!    Sets the filter used by entryList() and entryInfoList() to \a    filters. The filter is used to specify the kind of files that    should be returned by entryList() and entryInfoList(). See    \l{QDir::Filter}.    \sa filter(), setNameFilters()*/void QDir::setFilter(Filters filters){    Q_D(QDir);    d->detach();    d->data->filters = filters;}/*!    Returns the value set by setSorting()    \sa setSorting() SortFlag*/QDir::SortFlags QDir::sorting() const{    Q_D(const QDir);    return d->data->sort;}/*!    \enum QDir::SortFlag    This enum describes the sort options available to QDir, e.g. for    entryList() and entryInfoList(). The sort value is specified by    OR-ing together values from the following list:    \value Name  Sort by name.    \value Time  Sort by time (modification time).    \value Size  Sort by file size.    \value Type  Sort by file type (extension).    \value Unsorted  Do not sort.    \value DirsFirst  Put the directories first, then the files.    \value DirsLast Put the files first, then the directories.    \value Reversed  Reverse the sort order.    \value IgnoreCase  Sort case-insensitively.    \value LocaleAware Sort items appropriately using the current locale settings.    \omitvalue SortByMask    \omitvalue DefaultSort    \omitvalue NoSort    You can only specify one of the first four.    If you specify both DirsFirst and Reversed, directories are    still put first, but in reverse order; the files will be listed    after the directories, again in reverse order.*//*!    Sets the sort order used by entryList() and entryInfoList().    The \a sort is specified by OR-ing values from the enum    \l{QDir::SortFlag}.    \sa sorting() SortFlag*/void QDir::setSorting(SortFlags sort){    Q_D(QDir);    d->detach();    d->data->sort = sort;}/*!    Returns the total number of directories and files in the directory.    Equivalent to entryList().count().    \sa operator[](), entryList()*/uint QDir::count() const{    Q_D(const QDir);    d->updateFileLists();    return d->data->files.count();}/*!    Returns the file name at position \a pos in the list of file    names. Equivalent to entryList().at(index).    Returns an empty string if \a pos is out of range or if the    entryList() function failed.    \sa count(), entryList()*/QString QDir::operator[](int pos) const{    Q_D(const QDir);    d->updateFileLists();    return d->data->files[pos];}/*!    \overload    Returns a list of the names of all the files and directories in    the directory, ordered according to the name and attribute filters    previously set with setNameFilters() and setFilter(), and sorted according    to the flags set with setSorting().    The attribute filter and sorting specifications can be overridden using the    \a filters and \a sort arguments.    Returns an empty list if the directory is unreadable, does not    exist, or if nothing matches the specification.    \sa entryInfoList(), setNameFilters(), setSorting(), setFilter()*/QStringList QDir::entryList(Filters filters, SortFlags sort) const{    Q_D(const QDir);    return entryList(d->data->nameFilters, filters, sort);}/*!    \overload    Returns a list of QFileInfo objects for all the files and directories in    the directory, ordered according to the name and attribute filters    previously set with setNameFilters() and setFilter(), and sorted according    to the flags set with setSorting().    The attribute filter and sorting specifications can be overridden using the    \a filters and \a sort arguments.    Returns an empty list if the directory is unreadable, does not    exist, or if nothing matches the specification.    \sa entryList(), setNameFilters(), setSorting(), setFilter(), isReadable(), exists()*/QFileInfoList QDir::entryInfoList(Filters filters, SortFlags sort) const{    Q_D(const QDir);    return entryInfoList(d->data->nameFilters, filters, sort);}/*!    Returns a list of the names of all the files and    directories in the directory, ordered according to the name    and attribute filters previously set with setNameFilters()    and setFilter(), and sorted according to the flags set with    setSorting().    The name filter, file attribute filter, and sorting specification    can be overridden using the \a nameFilters, \a filters, and \a sort    arguments.    Returns an empty list if the directory is unreadable, does not    exist, or if nothing matches the specification.    \sa entryInfoList(), setNameFilters(), setSorting(), setFilter()*/QStringList QDir::entryList(const QStringList &nameFilters, Filters filters,                            SortFlags sort) const{    Q_D(const QDir);    if (filters == NoFilter)        filters = d->data->filters;#ifdef QT3_SUPPORT    if (d->matchAllDirs)        filters |= AllDirs;#endif    if (sort == NoSort)        sort = d->data->sort;    if (filters == NoFilter && sort == NoSort && nameFilters == d->data->nameFilters) {        d->updateFileLists();        return d->data->files;    }    QStringList l = d->data->fileEngine->entryList(filters, nameFilters);    QStringList ret;    d->sortFileList(sort, l, &ret, 0);    return ret;}/*!    Returns a list of QFileInfo objects for all the files and    directories in the directory, ordered according to the name    and attribute filters previously set with setNameFilters()    and setFilter(), and sorted according to the flags set with    setSorting().    The name filter, file attribute filter, and sorting specification    can be overridden using the \a nameFilters, \a filters, and \a sort    arguments.    Returns an empty list if the directory is unreadable, does not    exist, or if nothing matches the specification.    \sa entryList(), setNameFilters(), setSorting(), setFilter(), isReadable(), exists()*/QFileInfoList QDir::entryInfoList(const QStringList &nameFilters, Filters filters,                                  SortFlags sort) const{    Q_D(const QDir);    if (filters == NoFilter)        filters = d->data->filters;#ifdef QT3_SUPPORT    if (d->matchAllDirs)        filters |= AllDirs;#endif    if (sort == NoSort)        sort = d->data->sort;    if (filters == NoFilter && sort == NoSort && nameFilters == d->data->nameFilters) {        d->updateFileLists();        return d->data->fileInfos;    }    QFileInfoList ret;    QStringList l = d->data->fileEngine->entryList(filters, nameFilters);    d->sortFileList(sort, l, 0, &ret);    return ret;}/*!    Creates a sub-directory called \a dirName.    Returns true on success; otherwise returns false.    \sa rmdir()*/bool QDir::mkdir(const QString &dirName) const{    Q_D(const QDir);    if (dirName.isEmpty()) {        qWarning("QDir::mkdir: Empty or null file name(s)");        return false;    }    if(!d->data->fileEngine)        return false;    QString fn = filePath(dirName);    return d->data->fileEngine->mkdir(fn, false);}/*!    Removes the directory specified by \a dirName.    The directory must be empty for rmdir() to succeed.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品免费视频.| 久久精品999| 日韩成人午夜电影| 国产福利一区二区三区视频| 白白色亚洲国产精品| 欧美日韩国产免费| 中文字幕一区二区三区在线不卡| 视频一区视频二区中文字幕| 成人av网址在线| 日韩欧美一区二区久久婷婷| 一区二区在线免费观看| 成人一区二区三区视频在线观看| 在线电影院国产精品| 亚洲天堂久久久久久久| 国产九九视频一区二区三区| 777午夜精品视频在线播放| 亚洲精品免费在线播放| 国产精品一二二区| 精品国产免费一区二区三区四区| 亚洲gay无套男同| 日本韩国一区二区三区视频| 国产精品国产三级国产普通话蜜臀 | 亚洲精品v日韩精品| 国产一区二区主播在线| 欧美二区三区的天堂| 亚洲永久免费av| 91麻豆精品秘密| 国产精品欧美一级免费| 国产麻豆精品久久一二三| 日韩美女视频一区二区在线观看| 肉丝袜脚交视频一区二区| 欧美亚洲免费在线一区| 亚洲综合一二三区| 欧美三级日韩三级| 午夜影院久久久| 欧美麻豆精品久久久久久| 午夜影视日本亚洲欧洲精品| 欧美精品久久一区二区三区| 日韩影院在线观看| 日韩午夜电影在线观看| 精品在线一区二区| 国产性天天综合网| gogogo免费视频观看亚洲一| 中文字幕一区二区5566日韩| 色婷婷综合久久久中文一区二区 | 制服丝袜av成人在线看| 日韩精品视频网站| 欧美电影免费观看高清完整版在线观看 | 日本欧美久久久久免费播放网| 欧美高清视频一二三区| 免费三级欧美电影| 国产亚洲精品资源在线26u| 国产麻豆精品theporn| 欧美激情一区二区三区在线| 91免费精品国自产拍在线不卡| 一区二区三区四区激情| 欧美精品在线一区二区三区| 久久国内精品自在自线400部| 久久久久久久久蜜桃| 成人h动漫精品一区二| 亚洲国产精品嫩草影院| 日韩欧美一区二区免费| 成人av一区二区三区| 亚洲无线码一区二区三区| 欧美变态tickle挠乳网站| 国产精品一区二区视频| 亚洲视频一区二区在线| 在线成人av影院| 国产精品一区二区三区99| 亚洲男同性视频| 日韩欧美在线综合网| 国产成a人亚洲| 亚洲va欧美va天堂v国产综合| 精品欧美久久久| 91久久免费观看| 精品中文字幕一区二区| 亚洲精品国产第一综合99久久 | 午夜免费久久看| 欧美激情一区二区三区全黄| 欧美精品丝袜久久久中文字幕| 国产成人小视频| 日韩精品国产欧美| 日韩一区欧美小说| 精品日韩欧美在线| 欧美最新大片在线看 | 99国产精品久久久久久久久久| 婷婷中文字幕综合| 最新日韩av在线| 久久亚洲二区三区| 91超碰这里只有精品国产| 成人国产精品视频| 国产综合色产在线精品| 亚洲综合成人在线视频| 国产精品传媒视频| 久久这里只有精品视频网| 欧美久久久久久久久中文字幕| 91女人视频在线观看| 国产一区二区调教| 久久99精品国产麻豆婷婷洗澡| 亚洲一区二区三区不卡国产欧美| 国产精品欧美极品| 久久精品一区蜜桃臀影院| 欧美精三区欧美精三区| 日本高清无吗v一区| 懂色一区二区三区免费观看| 九一久久久久久| 日韩高清不卡一区二区三区| 亚洲精品乱码久久久久久黑人| 欧美国产一区二区| 日本一区二区免费在线 | 亚洲欧洲成人自拍| 欧美高清在线一区| 国产视频在线观看一区二区三区 | 欧美喷潮久久久xxxxx| 色综合欧美在线| 91麻豆文化传媒在线观看| 东方欧美亚洲色图在线| 国产大陆亚洲精品国产| 国产精品性做久久久久久| 国产麻豆精品在线| 国产成人午夜高潮毛片| 国产成人av在线影院| 国产91在线|亚洲| 国产成人亚洲精品狼色在线| 国产福利一区二区三区视频在线 | 成人在线一区二区三区| 国产成人亚洲精品青草天美| 国产宾馆实践打屁股91| 国产成人无遮挡在线视频| 成人深夜在线观看| 色综合婷婷久久| 日本高清成人免费播放| 欧美在线观看视频一区二区三区 | 精品一区二区在线视频| 国内一区二区在线| 福利视频网站一区二区三区| 成人精品鲁一区一区二区| 91麻豆.com| 欧美精品在线观看一区二区| 日韩亚洲欧美在线| 久久久精品国产免大香伊| 亚洲国产成人一区二区三区| 亚洲欧美偷拍卡通变态| 香蕉加勒比综合久久| 精品一区二区三区免费| 成人黄色软件下载| 欧美亚洲一区三区| 欧美成人三级电影在线| 欧美国产欧美亚州国产日韩mv天天看完整 | 国产91色综合久久免费分享| 粉嫩高潮美女一区二区三区| 欧洲在线/亚洲| 欧美va日韩va| 亚洲视频图片小说| 麻豆精品精品国产自在97香蕉| 盗摄精品av一区二区三区| 欧美三级电影一区| 久久久久久久久99精品| 亚洲欧洲综合另类在线 | 亚洲国产成人av| 国产乱一区二区| 欧美日韩欧美一区二区| 欧美国产精品专区| 秋霞午夜av一区二区三区| 成人性色生活片| 777午夜精品免费视频| 亚洲国产岛国毛片在线| 七七婷婷婷婷精品国产| aaa欧美大片| 久久免费精品国产久精品久久久久| 亚洲人成人一区二区在线观看| 美女视频黄久久| 欧美色图天堂网| 欧美激情一区二区三区全黄 | 成人在线综合网站| 日韩午夜激情av| 午夜精品爽啪视频| 91福利在线免费观看| 国产欧美一区二区精品久导航 | 粉嫩在线一区二区三区视频| 91精品国产入口| 亚洲一区二区欧美| 91亚洲大成网污www| 久久久综合精品| 麻豆精品一区二区| 555www色欧美视频| 夜夜精品视频一区二区| 99riav久久精品riav| 日本一区二区三区在线观看| 黄网站免费久久| www国产精品av| 久久精品久久综合| 欧美v日韩v国产v| 精品在线播放午夜| 精品成人免费观看| 韩国av一区二区三区在线观看| 精品精品欲导航| 精品在线免费观看| 欧美刺激脚交jootjob| 免费看欧美女人艹b|