summaryrefslogtreecommitdiffstats
path: root/qtools
diff options
context:
space:
mode:
Diffstat (limited to 'qtools')
-rw-r--r--qtools/qcstringlist.cpp6
-rw-r--r--qtools/qglobal.cpp2
-rw-r--r--qtools/qglobal.h2
-rw-r--r--qtools/qstring.cpp4
-rw-r--r--qtools/qstringlist.cpp6
-rw-r--r--qtools/qxml.cpp4
6 files changed, 12 insertions, 12 deletions
diff --git a/qtools/qcstringlist.cpp b/qtools/qcstringlist.cpp
index 5725971..4bb231d 100644
--- a/qtools/qcstringlist.cpp
+++ b/qtools/qcstringlist.cpp
@@ -157,11 +157,11 @@ QCStringList QCStringList::grep( const QRegExp &expr ) const
QCString QCStringList::join( const QCString &sep ) const
{
QCString res;
- bool alredy = FALSE;
+ bool already = FALSE;
for ( QCStringList::ConstIterator it = begin(); it != end(); ++it ) {
- if ( alredy )
+ if ( already )
res += sep;
- alredy = TRUE;
+ already = TRUE;
res += *it;
}
diff --git a/qtools/qglobal.cpp b/qtools/qglobal.cpp
index 50f5202..444cb3b 100644
--- a/qtools/qglobal.cpp
+++ b/qtools/qglobal.cpp
@@ -73,7 +73,7 @@ static bool si_bigEndian;
or to FALSE if this is a little-endian machine.
This function calls qFatal() with a message if the computer is truly weird
- (i.e. different endianness for 16 bit and 32 bit integers).
+ (i.e. different endianess for 16 bit and 32 bit integers).
*/
bool qSysInfo( int *wordSize, bool *bigEndian )
diff --git a/qtools/qglobal.h b/qtools/qglobal.h
index 56b2d40..d37bdf2 100644
--- a/qtools/qglobal.h
+++ b/qtools/qglobal.h
@@ -400,7 +400,7 @@ inline int qRound( double d )
//
-// Size-dependent types (architechture-dependent byte order)
+// Size-dependent types (architecture-dependent byte order)
//
// QT_CLEAN_NAMESPACE is not defined by default; it would break too
diff --git a/qtools/qstring.cpp b/qtools/qstring.cpp
index e809d0d..3d57839 100644
--- a/qtools/qstring.cpp
+++ b/qtools/qstring.cpp
@@ -15300,7 +15300,7 @@ const void* qt_winTchar(const QString& str_in, bool addnul)
if ( addnul )
buf[str.length()] = 0;
#else
- // Same endianness of TCHAR
+ // Same endianess of TCHAR
if ( addnul ) {
EXTEND
memcpy(buf,uc,sizeof(TCHAR)*str.length());
@@ -15344,7 +15344,7 @@ QString qt_winQString(void* tc)
r += QChar(((TCHAR*)tc)[i]&0xff,((TCHAR*)tc)[i]>>8);
return r;
#else
- // Same endianness of TCHAR
+ // Same endianess of TCHAR
return QString((QChar*)tc,len);
#endif
#undef EXTEND
diff --git a/qtools/qstringlist.cpp b/qtools/qstringlist.cpp
index 7696340..aa7ac16 100644
--- a/qtools/qstringlist.cpp
+++ b/qtools/qstringlist.cpp
@@ -269,11 +269,11 @@ QStringList QStringList::grep( const QRegExp &expr ) const
QString QStringList::join( const QString &sep ) const
{
QString res;
- bool alredy = FALSE;
+ bool already = FALSE;
for ( QStringList::ConstIterator it = begin(); it != end(); ++it ) {
- if ( alredy )
+ if ( already )
res += sep;
- alredy = TRUE;
+ already = TRUE;
res += *it;
}
diff --git a/qtools/qxml.cpp b/qtools/qxml.cpp
index f8a4e0d..b7a68fc 100644
--- a/qtools/qxml.cpp
+++ b/qtools/qxml.cpp
@@ -5175,11 +5175,11 @@ bool QXmlSimpleReader::parseEntityValue()
const signed char Init = 0;
const signed char Dq = 1; // EntityValue is double quoted
const signed char DqC = 2; // signed character
- const signed char DqPER = 3; // PERefence
+ const signed char DqPER = 3; // PEReference
const signed char DqRef = 4; // Reference
const signed char Sq = 5; // EntityValue is double quoted
const signed char SqC = 6; // signed character
- const signed char SqPER = 7; // PERefence
+ const signed char SqPER = 7; // PEReference
const signed char SqRef = 8; // Reference
const signed char Done = 9;