diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-20 19:05:23 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-20 19:05:23 (GMT) |
commit | 3fad4bda10083acd6cfd0cad2c939808e9b26852 (patch) | |
tree | 46dccbb9bb553e9d63c2361f21d20e489b6ab9a9 /src | |
parent | 8678d9b5e70f6076e1e915d8bf3938136fe4018c (diff) | |
parent | 2fd446db8842e78af22d63acbb03a96ca242bb35 (diff) | |
download | Qt-3fad4bda10083acd6cfd0cad2c939808e9b26852.zip Qt-3fad4bda10083acd6cfd0cad2c939808e9b26852.tar.gz Qt-3fad4bda10083acd6cfd0cad2c939808e9b26852.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1:
Removed some translations
doc: Fixed typos in QAbstractFileEngineIterator
Updated changelog for 4.7.
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/io/qabstractfileengine.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/corelib/io/qabstractfileengine.cpp b/src/corelib/io/qabstractfileengine.cpp index e239ee9..d6b6f11 100644 --- a/src/corelib/io/qabstractfileengine.cpp +++ b/src/corelib/io/qabstractfileengine.cpp @@ -818,7 +818,7 @@ bool QAbstractFileEngine::unmap(uchar *address) You can call dirName() to get the directory name, nameFilters() to get a stringlist of name filters, and filters() to get the entry filters. - The pure virual function hasNext() returns true if the current directory + The pure virtual function hasNext() returns true if the current directory has at least one more entry (i.e., the directory name is valid and accessible, and we have not reached the end of the entry list), and false otherwise. Reimplement next() to seek to the next entry. @@ -828,7 +828,7 @@ bool QAbstractFileEngine::unmap(uchar *address) function is provided for convenience; it returns the full path of the current entry. - Here is an example of how to implement an interator that returns each of + Here is an example of how to implement an iterator that returns each of three fixed entries in sequence. \snippet doc/src/snippets/code/src_corelib_io_qabstractfileengine.cpp 3 @@ -959,7 +959,7 @@ QString QAbstractFileEngineIterator::currentFilePath() const /*! The virtual function returns a QFileInfo for the current directory entry. This function is provided for convenience. It can also be slightly - faster that creating a QFileInfo object yourself, as the object returned + faster than creating a QFileInfo object yourself, as the object returned by this function might contain cached information that QFileInfo otherwise would have to access through the file engine. |