diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/corelib/io/qfsfileengine.cpp | 29 | ||||
| -rw-r--r-- | src/corelib/io/qfsfileengine_p.h | 3 | ||||
| -rw-r--r-- | src/corelib/io/qfsfileengine_unix.cpp | 2 |
3 files changed, 1 insertions, 33 deletions
diff --git a/src/corelib/io/qfsfileengine.cpp b/src/corelib/io/qfsfileengine.cpp index 6e48064cd34..c45b7a58acd 100644 --- a/src/corelib/io/qfsfileengine.cpp +++ b/src/corelib/io/qfsfileengine.cpp @@ -892,35 +892,6 @@ bool QFSFileEngine::supportsExtension(Extension extension) const \reimp */ -/*! - Returns the home path of the current user. - - \sa rootPath() -*/ -QString QFSFileEngine::homePath() -{ - return QFileSystemEngine::homePath(); -} - -/*! - Returns the root path. - - \sa homePath() -*/ -QString QFSFileEngine::rootPath() -{ - return QFileSystemEngine::rootPath(); -} - -/*! - Returns the temporary path (i.e., a path in which it is safe - to store temporary files). -*/ -QString QFSFileEngine::tempPath() -{ - return QFileSystemEngine::tempPath(); -} - /*! \fn bool QFSFileEngine::isRelativePath() const \reimp */ diff --git a/src/corelib/io/qfsfileengine_p.h b/src/corelib/io/qfsfileengine_p.h index 8744a8f53ef..837ec55b93a 100644 --- a/src/corelib/io/qfsfileengine_p.h +++ b/src/corelib/io/qfsfileengine_p.h @@ -107,9 +107,6 @@ public: bool open(QIODevice::OpenMode flags, FILE *fh, QFile::FileHandleFlags handleFlags); static bool setCurrentPath(const QString &path); static QString currentPath(const QString &path = QString()); - static QString homePath(); - static QString rootPath(); - static QString tempPath(); static QFileInfoList drives(); protected: diff --git a/src/corelib/io/qfsfileengine_unix.cpp b/src/corelib/io/qfsfileengine_unix.cpp index 45a8332512b..ec0ae9c8b11 100644 --- a/src/corelib/io/qfsfileengine_unix.cpp +++ b/src/corelib/io/qfsfileengine_unix.cpp @@ -303,7 +303,7 @@ QString QFSFileEngine::currentPath(const QString &) QFileInfoList QFSFileEngine::drives() { QFileInfoList ret; - ret.append(QFileInfo(rootPath())); + ret.append(QFileInfo(QFileSystemEngine::rootPath())); return ret; } |
