summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@nokia.com>2012-08-06 15:31:33 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-06 15:52:39 +0200
commit1db721e51aa57a9e21040cce1623c9222c5156f8 (patch)
tree39a69b53dec92e68282af8095d5fb2b09d124aaa /src
parent5fae23eb26b172d4677db273049119b16db272d3 (diff)
Fix typos in qdatetime.cpp.
Change-Id: I1c2e3dafcca69590cd7a18fdf65e2c9083ba91b9 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qdatetime.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/corelib/tools/qdatetime.cpp b/src/corelib/tools/qdatetime.cpp
index b9311df807..87ff03cdcd 100644
--- a/src/corelib/tools/qdatetime.cpp
+++ b/src/corelib/tools/qdatetime.cpp
@@ -215,7 +215,7 @@ static QString fmtDateTime(const QString& f, const QTime* dt = 0, const QDate* d
\section2 Range of Valid Dates
- Dates are stored internally as a Julian Day number, an interger count of
+ Dates are stored internally as a Julian Day number, an integer count of
every day in a contiguous range, with 24 November 4714 BCE in the Gregorian
calendar being Julian Day 0 (1 January 4713 BCE in the Julian calendar).
As well as being an efficient and accurate way of storing an absolute date,
@@ -806,8 +806,8 @@ QString QDate::toString(Qt::DateFormat f) const
\endtable
All other input characters will be ignored. Any sequence of characters that
- are enclosed in singlequotes will be treated as text and not be used as an
- expression. Two consecutive singlequotes ("''") are replaced by a singlequote
+ are enclosed in single quotes will be treated as text and not be used as an
+ expression. Two consecutive single quotes ("''") are replaced by a singlequote
in the output.
Example format strings (assuming that the QDate is the 20 July
@@ -1568,8 +1568,8 @@ QString QTime::toString(Qt::DateFormat format) const
\endtable
All other input characters will be ignored. Any sequence of characters that
- are enclosed in singlequotes will be treated as text and not be used as an
- expression. Two consecutive singlequotes ("''") are replaced by a singlequote
+ are enclosed in single quotes will be treated as text and not be used as an
+ expression. Two consecutive single quotes ("''") are replaced by a singlequote
in the output.
Example format strings (assuming that the QTime is 14:13:09.042)
@@ -2627,8 +2627,8 @@ QString QDateTime::toString(Qt::DateFormat f) const
\endtable
All other input characters will be ignored. Any sequence of characters that
- are enclosed in singlequotes will be treated as text and not be used as an
- expression. Two consecutive singlequotes ("''") are replaced by a singlequote
+ are enclosed in single quotes will be treated as text and not be used as an
+ expression. Two consecutive single quotes ("''") are replaced by a singlequote
in the output.
Example format strings (assumed that the QDateTime is 21 May 2001
@@ -3496,7 +3496,7 @@ QDateTime QDateTime::fromString(const QString& s, Qt::DateFormat f)
\endtable
All other input characters will be treated as text. Any sequence
- of characters that are enclosed in singlequotes will also be
+ of characters that are enclosed in single quotes will also be
treated as text and not be used as an expression.
\snippet code/src_corelib_tools_qdatetime.cpp 12