summaryrefslogtreecommitdiffstats
path: root/tools/porting/src
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@nokia.com>2010-11-01 15:19:11 (GMT)
committerSergio Ahumada <sergio.ahumada@nokia.com>2010-11-01 15:19:11 (GMT)
commitd190802d33b763e7a21b85fb3dc2ed7c039ddbb6 (patch)
treed945449884c12b5df28f9766ca6523b6707e39d5 /tools/porting/src
parent24a4c51b3d8fabb0164fbe94a1e5b813e1827721 (diff)
downloadQt-d190802d33b763e7a21b85fb3dc2ed7c039ddbb6.zip
Qt-d190802d33b763e7a21b85fb3dc2ed7c039ddbb6.tar.gz
Qt-d190802d33b763e7a21b85fb3dc2ed7c039ddbb6.tar.bz2
Doc: Fixing typo
Diffstat (limited to 'tools/porting/src')
-rw-r--r--tools/porting/src/preprocessorcontrol.cpp2
-rw-r--r--tools/porting/src/textreplacement.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/porting/src/preprocessorcontrol.cpp b/tools/porting/src/preprocessorcontrol.cpp
index 673ed08..31adc32 100644
--- a/tools/porting/src/preprocessorcontrol.cpp
+++ b/tools/porting/src/preprocessorcontrol.cpp
@@ -154,7 +154,7 @@ QByteArray PreprocessorCache::readFile(const QString &filename) const
// read the file for us.
if (receivers(SIGNAL(readFile(QByteArray&,QString))) > 0) {
QByteArray array;
- // Workaround for "not beeing able to emit from const function"
+ // Workaround for "not being able to emit from const function"
PreprocessorCache *cache = const_cast<PreprocessorCache *>(this);
emit cache->readFile(array, filename);
return array;
diff --git a/tools/porting/src/textreplacement.h b/tools/porting/src/textreplacement.h
index f90fb82..f351552 100644
--- a/tools/porting/src/textreplacement.h
+++ b/tools/porting/src/textreplacement.h
@@ -53,7 +53,7 @@ class TextReplacement
public:
QByteArray newText;
int insertPosition;
- int currentLenght; //lenght of the text that is going to be replaced.
+ int currentLenght; //length of the text that is going to be replaced.
bool operator<(const TextReplacement &other) const
{
return (insertPosition < other.insertPosition);
@@ -70,7 +70,7 @@ public:
insert maintains the TextReplacement list in sorted order.
- Returns true if the insert was successfull, false otherwise;
+ Returns true if the insert was successful, false otherwise;
*/
bool insert(QByteArray newText, int insertPosition, int currentLenght);
void clear();