Mention extension in QFileInfo's suffix-related documentation

This makes it easier for users to find out how to get a file's
extension when browsing docs.

Change-Id: I08a1b620dea5432462133324824fae85754b9a09
Task-number: QTBUG-53380
Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com>
This commit is contained in:
Mitch Curtis 2016-06-08 16:14:04 +02:00
parent fa8d16d476
commit ea86f73640

View File

@ -814,7 +814,7 @@ QString QFileInfo::completeBaseName() const
} }
/*! /*!
Returns the complete suffix of the file. Returns the complete suffix (extension) of the file.
The complete suffix consists of all characters in the file after The complete suffix consists of all characters in the file after
(but not including) the first '.'. (but not including) the first '.'.
@ -833,7 +833,7 @@ QString QFileInfo::completeSuffix() const
} }
/*! /*!
Returns the suffix of the file. Returns the suffix (extension) of the file.
The suffix consists of all characters in the file after (but not The suffix consists of all characters in the file after (but not
including) the last '.'. including) the last '.'.