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

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

?? qdir.cpp

?? QT 開發環境里面一個很重要的文件
?? CPP
?? 第 1 頁 / 共 5 頁
字號:
    Returns true if successful; otherwise returns false.    \sa mkdir()*/bool QDir::rmdir(const QString &dirName) const{    Q_D(const QDir);    if (dirName.isEmpty()) {        qWarning("QDir::rmdir: Empty or null file name(s)");        return false;    }    if(!d->data->fileEngine)        return false;    QString fn = filePath(dirName);    return d->data->fileEngine->rmdir(fn, false);}/*!    Creates the directory path \a dirPath.    The function will create all parent directories necessary to    create the directory.    Returns true if successful; otherwise returns false.    \sa rmpath()*/bool QDir::mkpath(const QString &dirPath) const{    Q_D(const QDir);    if (dirPath.isEmpty()) {        qWarning("QDir::mkpath: Empty or null file name(s)");        return false;    }    if(!d->data->fileEngine)        return false;    QString fn = filePath(dirPath);    return d->data->fileEngine->mkdir(fn, true);}/*!    Removes the directory path \a dirPath.    The function will remove all parent directories in \a dirPath,    provided that they are empty. This is the opposite of    mkpath(dirPath).    Returns true if successful; otherwise returns false.    \sa mkpath()*/bool QDir::rmpath(const QString &dirPath) const{    Q_D(const QDir);    if (dirPath.isEmpty()) {        qWarning("QDir::rmpath: Empty or null file name(s)");        return false;    }    if(!d->data->fileEngine)        return false;    QString fn = filePath(dirPath);    return d->data->fileEngine->rmdir(fn, true);}/*!    Returns true if the directory is readable \e and we can open files    by name; otherwise returns false.    \warning A false value from this function is not a guarantee that    files in the directory are not accessible.    \sa QFileInfo::isReadable()*/bool QDir::isReadable() const{    Q_D(const QDir);    if(!d->data->fileEngine)        return false;    const QAbstractFileEngine::FileFlags info = d->data->fileEngine->fileFlags(QAbstractFileEngine::DirectoryType                                                                       |QAbstractFileEngine::PermsMask);    if(!(info & QAbstractFileEngine::DirectoryType))        return false;    return info & QAbstractFileEngine::ReadUserPerm;}/*!    \overload    Returns true if the \e directory exists; otherwise returns false.    (If a file with the same name is found this function will return    false).    \sa QFileInfo::exists(), QFile::exists()*/bool QDir::exists() const{    Q_D(const QDir);    if(!d->data->fileEngine)        return false;    const QAbstractFileEngine::FileFlags info = d->data->fileEngine->fileFlags(QAbstractFileEngine::DirectoryType                                                                       |QAbstractFileEngine::ExistsFlag);    if(!(info & QAbstractFileEngine::DirectoryType))        return false;    return info & QAbstractFileEngine::ExistsFlag;}/*!    Returns true if the directory is the root directory; otherwise    returns false.    Note: If the directory is a symbolic link to the root directory    this function returns false. If you want to test for this use    canonicalPath(), e.g.    \code        QDir dir("/tmp/root_link");        dir = dir.canonicalPath();        if (dir.isRoot())            qWarning("It is a root link");    \endcode    \sa root(), rootPath()*/bool QDir::isRoot() const{    Q_D(const QDir);    if(!d->data->fileEngine)        return true;    return d->data->fileEngine->fileFlags(QAbstractFileEngine::FlagsMask) & QAbstractFileEngine::RootFlag;}/*!    \fn bool QDir::isAbsolute() const    Returns true if the directory's path is absolute; otherwise    returns false. See isAbsolutePath().    \sa isRelative() makeAbsolute() cleanPath()*//*!   \fn bool QDir::isAbsolutePath(const QString &)    Returns true if \a path is absolute; returns false if it is    relative.    \sa isAbsolute() isRelativePath() makeAbsolute() cleanPath()*//*!    Returns true if the directory path is relative; otherwise returns    false. (Under Unix a path is relative if it does not start with a    "/").    \sa makeAbsolute() isAbsolute() isAbsolutePath() cleanPath()*/bool QDir::isRelative() const{    Q_D(const QDir);    if(!d->data->fileEngine)        return false;    return d->data->fileEngine->isRelativePath();}/*!    Converts the directory path to an absolute path. If it is already    absolute nothing happens. Returns true if the conversion    succeeded; otherwise returns false.    \sa isAbsolute() isAbsolutePath() isRelative() cleanPath()*/bool QDir::makeAbsolute() // ### What do the return values signify?{    Q_D(QDir);    if(!d->data->fileEngine)        return false;    QString absolutePath = d->data->fileEngine->fileName(QAbstractFileEngine::AbsoluteName);    if(QDir::isRelativePath(absolutePath))        return false;    d->detach();    d->data->path = absolutePath;    d->data->fileEngine->setFileName(absolutePath);    if(!(d->data->fileEngine->fileFlags(QAbstractFileEngine::TypesMask) & QAbstractFileEngine::DirectoryType))        return false;    return true;}/*!    Returns true if directory \a dir and this directory have the same    path and their sort and filter settings are the same; otherwise    returns false.    Example:    \code        // The current directory is "/usr/local"        QDir d1("/usr/local/bin");        QDir d2("bin");        if (d1 == d2)            qDebug("They're the same");    \endcode*/bool QDir::operator==(const QDir &dir) const{    const QDirPrivate *d = d_func();    const QDirPrivate *other = dir.d_func();    if(d->data == other->data)        return true;    Q_ASSERT(d->data->fileEngine && other->data->fileEngine);    if(d->data->fileEngine->caseSensitive() != other->data->fileEngine->caseSensitive())        return false;    if(d->data->filters == other->data->filters       && d->data->sort == other->data->sort       && d->data->nameFilters == other->data->nameFilters) {        QString dir1 = absolutePath(), dir2 = dir.absolutePath();        if(!other->data->fileEngine->caseSensitive())            return (dir1.toLower() == dir2.toLower());        return (dir1 == dir2);    }    return false;}/*!    Makes a copy of the \a dir object and assigns it to this QDir    object.*/QDir &QDir::operator=(const QDir &dir){    if (this == &dir)        return *this;    Q_D(QDir);    qAtomicAssign(d->data, dir.d_func()->data);    return *this;}/*!    \overload    \obsolete    Sets the directory path to the given \a path.    Use setPath() instead.*/QDir &QDir::operator=(const QString &path){    Q_D(QDir);    d->setPath(path);    return *this;}/*!    \fn bool QDir::operator!=(const QDir &dir) const    Returns true if directory \a dir and this directory have different    paths or different sort or filter settings; otherwise returns    false.    Example:    \code        // The current directory is "/usr/local"        QDir d1("/usr/local/bin");        QDir d2("bin");        if (d1 != d2)            qDebug("They differ");    \endcode*//*!    Removes the file, \a fileName.    Returns true if the file is removed successfully; otherwise    returns false.*/bool QDir::remove(const QString &fileName){    if (fileName.isEmpty()) {        qWarning("QDir::remove: Empty or null file name");        return false;    }    QString p = filePath(fileName);    return QFile::remove(p);}/*!    Renames a file or directory from \a oldName to \a newName, and returns    true if successful; otherwise returns false.    On most file systems, rename() fails only if \a oldName does not    exist, if \a newName and \a oldName are not on the same    partition or if a file with the new name already exists.    However, there are also other reasons why rename() can    fail. For example, on at least one file system rename() fails if    \a newName points to an open file.*/bool QDir::rename(const QString &oldName, const QString &newName){    Q_D(QDir);    if (oldName.isEmpty() || newName.isEmpty()) {        qWarning("QDir::rename: Empty or null file name(s)");        return false;    }    if(!d->data->fileEngine)        return false;    QFile file(filePath(oldName));    if(!file.exists())        return false;    return file.rename(filePath(newName));}/*!    Returns true if the file called \a name exists; otherwise returns    false.    \sa QFileInfo::exists(), QFile::exists()*/bool QDir::exists(const QString &name) const{    if (name.isEmpty()) {        qWarning("QDir::exists: Empty or null file name");        return false;    }    QString tmp = filePath(name);    return QFile::exists(tmp);}/*!    Returns a list of the root directories on this system.    On Windows this returns a list of QFileInfo objects containing "C:/",    "D:/", etc. On other operating systems, it returns a list containing    just one root directory (i.e. "/").    \sa root(), rootPath()*/QFileInfoList QDir::drives(){    return QFSFileEngine::drives();}/*!    Returns the native directory separator: "/" under Unix (including    Mac OS X) and "\\" under Windows.    You do not need to use this function to build file paths. If you    always use "/", Qt will translate your paths to conform to the    underlying operating system. If you want to display paths to the    user using their operating system's separator use    toNativeSeparators().*/QChar QDir::separator(){#if defined(Q_OS_UNIX)    return QLatin1Char('/');#elif defined (Q_FS_FAT) || defined(Q_WS_WIN)    return QLatin1Char('\\');#elif defined (Q_OS_MAC)    return QLatin1Char(':');#else    return QLatin1Char('/');#endif}/*!    Sets the application's current working directory to \a path.    Returns true if the directory was successfully changed; otherwise    returns false.    \sa current() currentPath() home() root() temp()*/bool QDir::setCurrent(const QString &path){    return QFSFileEngine::setCurrentPath(path);}/*!    \fn QDir QDir::current()    Returns the application's current directory.    The directory is constructed using the absolute path of the current directory,    ensuring that its path() will be the same as its absolutePath().    \sa currentPath(), home(), root(), temp()*//*!    Returns the absolute path of the application's current directory.    \sa current(), homePath(), rootPath(), tempPath()*/QString QDir::currentPath(){    return QFSFileEngine::currentPath();}/*!    \fn QDir QDir::home()    Returns the user's home directory.    The directory is constructed using the absolute path of the home directory,    ensuring that its path() will be the same as its absolutePath().    See homePath() for details.    \sa drives(), current(), root(), temp()*//*!    Returns the absolute path of the user's home directory.    Under Windows this function will return the directory of the    current user's profile. Typically, this is:    \code        C:\Documents and Settings\Username    \endcode

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产91综合网| 国产老肥熟一区二区三区| 久久久亚洲国产美女国产盗摄| 91久久一区二区| av电影在线观看一区| 国产精品自拍在线| 成人免费视频视频| 99久久精品免费看国产 | 一区二区高清免费观看影视大全| 国产日韩欧美综合一区| 国产人成亚洲第一网站在线播放 | 麻豆专区一区二区三区四区五区| 亚洲国产wwwccc36天堂| 亚洲3atv精品一区二区三区| 亚洲成人资源网| 久久 天天综合| 韩国精品主播一区二区在线观看| 国产精品综合二区| 91在线码无精品| 欧美精品乱人伦久久久久久| 91麻豆精品国产91久久久更新时间| 91精品黄色片免费大全| 精品国产凹凸成av人网站| 中文字幕成人av| 香蕉久久一区二区不卡无毒影院 | 日韩黄色免费网站| 精品一区二区三区香蕉蜜桃| 国产成人精品影视| 欧美视频一区在线观看| 日韩精品资源二区在线| 2021国产精品久久精品| 国产精品久久久久久久久久久免费看| 一区二区三区在线高清| 精品亚洲成a人| 欧美在线看片a免费观看| 日韩一区二区三区av| 亚洲日本成人在线观看| 老司机一区二区| 色婷婷av一区二区三区软件| 欧美一区二区免费观在线| 国产精品入口麻豆九色| 日av在线不卡| 日本高清不卡视频| 国产日本亚洲高清| 老司机精品视频线观看86| 在线观看日韩av先锋影音电影院| 久久奇米777| 免费看精品久久片| 欧美日韩一区二区三区免费看 | www.久久精品| 日韩精品影音先锋| 一区二区日韩av| 99久久久精品| 欧美激情中文字幕| 久久精品国产99国产精品| 欧美视频三区在线播放| 中文字幕欧美一区| 不卡免费追剧大全电视剧网站| 精品福利在线导航| 久久精品久久精品| 欧美欧美午夜aⅴ在线观看| 亚洲精品国产高清久久伦理二区| 成人av在线网站| 国产精品久久久久天堂| 国产91精品露脸国语对白| 国产色综合久久| 国产揄拍国内精品对白| 欧美一区二区三区男人的天堂| 最新中文字幕一区二区三区| 成人手机在线视频| 国产调教视频一区| 国产99久久久国产精品免费看| 精品免费视频一区二区| 国产在线视频精品一区| 91精品国产综合久久小美女| 奇米影视一区二区三区| 91精品国产免费| 麻豆freexxxx性91精品| 91精品国产综合久久久久久久久久| 亚洲综合色区另类av| 欧美私模裸体表演在线观看| 一区二区三区在线观看网站| 欧美性受极品xxxx喷水| 偷拍日韩校园综合在线| 欧美一区二区视频观看视频| 免费人成精品欧美精品| 久久精品欧美一区二区三区麻豆 | 91蜜桃婷婷狠狠久久综合9色| 亚洲色图欧美偷拍| 欧美在线三级电影| 日日嗨av一区二区三区四区| 日韩欧美国产系列| 不卡视频一二三四| 一区二区三区中文字幕| 欧美一区二区三区人| 国产精品自在在线| 亚洲免费在线观看| 欧美一级久久久| 丰满白嫩尤物一区二区| 一区二区三区毛片| 日韩欧美电影在线| 91网站在线播放| 日韩av不卡一区二区| 国产日韩欧美不卡在线| 欧美日韩精品高清| 国模一区二区三区白浆| 亚洲精品免费在线观看| 日韩三级伦理片妻子的秘密按摩| 国产不卡在线一区| 日日摸夜夜添夜夜添亚洲女人| 国产偷国产偷亚洲高清人白洁| 91成人在线免费观看| 久久福利视频一区二区| 亚洲视频你懂的| wwwwxxxxx欧美| 欧美日韩一区二区三区不卡| 在线免费一区三区| 日本不卡高清视频| 国产精品久久精品日日| 欧美一区二区三区四区五区| 成人美女在线观看| 奇米影视一区二区三区小说| 亚洲va在线va天堂| 国产欧美日韩三级| 日韩欧美一级二级三级| 色婷婷亚洲婷婷| 国产成人自拍高清视频在线免费播放| 亚洲成人三级小说| 中文字幕一区二区日韩精品绯色| 日韩欧美在线1卡| 欧美午夜片在线看| 91日韩在线专区| 国产乱淫av一区二区三区| 日本亚洲视频在线| 亚洲国产aⅴ天堂久久| 国产精品美女视频| 久久久五月婷婷| 精品电影一区二区三区| 3d成人动漫网站| 欧美美女一区二区在线观看| 色系网站成人免费| 97超碰欧美中文字幕| 成人性生交大片| 国产精品一区二区免费不卡| 久久99精品久久久久婷婷| 午夜a成v人精品| 亚洲444eee在线观看| 亚洲3atv精品一区二区三区| 亚洲高清免费一级二级三级| 一区二区三区美女视频| 一卡二卡三卡日韩欧美| 一区二区在线观看视频在线观看| 亚洲欧洲成人精品av97| 1024国产精品| 一区二区三区精品久久久| 亚洲国产wwwccc36天堂| 三级精品在线观看| 麻豆久久久久久| 国产一区二区三区蝌蚪| 国产精品亚洲一区二区三区在线| 国产精品一品二品| 成人国产免费视频| av午夜精品一区二区三区| 91视频免费观看| 欧美日韩午夜在线视频| 日韩一卡二卡三卡四卡| xnxx国产精品| 中文字幕精品三区| 亚洲免费三区一区二区| 日韩国产一二三区| 国产乱码字幕精品高清av| 99这里都是精品| 欧美日韩亚洲综合一区| 精品成a人在线观看| 成人欧美一区二区三区1314| 亚洲国产精品一区二区久久| 久久国产人妖系列| 成人福利电影精品一区二区在线观看| 91丨九色porny丨蝌蚪| 欧美自拍偷拍午夜视频| 日韩写真欧美这视频| 国产精品福利影院| 亚洲综合激情另类小说区| 久久国产日韩欧美精品| 91在线视频免费观看| 日韩欧美电影在线| 亚洲女同女同女同女同女同69| 免费人成黄页网站在线一区二区| 国产成人在线视频网站| 在线精品观看国产| 日韩一区二区电影网| 亚洲精品国产a久久久久久 | 国产欧美日韩另类一区| 亚洲六月丁香色婷婷综合久久 | 五月天激情综合| 成人免费观看男女羞羞视频| 正在播放一区二区| 中文字幕在线一区二区三区| 蜜乳av一区二区三区| 91福利社在线观看|