Changeset 846 for trunk/tools/porting/src
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 64 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/tools/porting/src/ast.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/ast.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/codemodel.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/codemodel.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) … … 97 97 public: 98 98 void add(CollectedType *collectedItem) 99 { insert(collectedItem->name(), collectedItem); }99 { insert(collectedItem->name(), collectedItem); } 100 100 }; 101 101 -
trunk/tools/porting/src/codemodelattributes.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/codemodelattributes.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/codemodelwalker.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/codemodelwalker.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/cpplexer.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/cpplexer.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/errors.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) … … 45 45 QT_BEGIN_NAMESPACE 46 46 47 QT_STATIC_CONST_IMPL Error &Errors::InternalError = Error( 1, -1, QLatin1String("Internal Error") );48 QT_STATIC_CONST_IMPL Error &Errors::SyntaxError = Error( 2, -1, QLatin1String("Syntax Error before '%1'") );49 QT_STATIC_CONST_IMPL Error &Errors::ParseError = Error( 3, -1, QLatin1String("Parse Error before '%1'") );47 QT_STATIC_CONST_IMPL Error Errors::InternalError = Error( 1, -1, QLatin1String("Internal Error") ); 48 QT_STATIC_CONST_IMPL Error Errors::SyntaxError = Error( 2, -1, QLatin1String("Syntax Error before '%1'") ); 49 QT_STATIC_CONST_IMPL Error Errors::ParseError = Error( 3, -1, QLatin1String("Parse Error before '%1'") ); 50 50 51 51 QT_END_NAMESPACE -
trunk/tools/porting/src/errors.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) … … 62 62 { 63 63 public: 64 QT_STATIC_CONST Error &InternalError;65 QT_STATIC_CONST Error &SyntaxError;66 QT_STATIC_CONST Error &ParseError;64 QT_STATIC_CONST Error InternalError; 65 QT_STATIC_CONST Error SyntaxError; 66 QT_STATIC_CONST Error ParseError; 67 67 }; 68 68 -
trunk/tools/porting/src/fileporter.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/fileporter.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/filewriter.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/filewriter.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/list.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/logger.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/logger.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/parser.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/parser.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/port.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/portingrules.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/portingrules.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/preprocessorcontrol.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 155 155 if (receivers(SIGNAL(readFile(QByteArray&,QString))) > 0) { 156 156 QByteArray array; 157 // Workaround for "not be eing able to emit from const function"157 // Workaround for "not being able to emit from const function" 158 158 PreprocessorCache *cache = const_cast<PreprocessorCache *>(this); 159 159 emit cache->readFile(array, filename); -
trunk/tools/porting/src/preprocessorcontrol.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/projectporter.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/projectporter.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/proparser.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/proparser.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/q3porting.xml
r651 r846 2 2 <!--************************************************************************ 3 3 ** 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) … … 1625 1625 <Library>Qt3Support</Library> 1626 1626 <Name>Q3Wizard</Name> 1627 </item>1628 <item Type="Qt4Class" >1629 <Library>QtAssistant</Library>1630 <Name>QAssistantClient</Name>1631 1627 </item> 1632 1628 <item Type="Qt4Class" > -
trunk/tools/porting/src/qtsimplexml.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/qtsimplexml.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/replacetoken.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/replacetoken.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rpp.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) … … 61 61 { 62 62 m_memoryPool = memoryPool; 63 Source *m_source = createNode<Source>(m_memoryPool); //node w hith no parent63 Source *m_source = createNode<Source>(m_memoryPool); //node with no parent 64 64 m_tokenContainer = tokenContainer; 65 65 m_tokenTypeList = tokenTypeList; … … 539 539 /* 540 540 Reads a preprocessor line from the source by advancing lexerTokenIndex and 541 retur ing a TokenSection containg the read line. Text lines separated by541 returing the read line. Text lines separated by 542 542 an escaped newline are joined. 543 543 */ -
trunk/tools/porting/src/rpp.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rppexpressionbuilder.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rppexpressionbuilder.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rpplexer.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rpplexer.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rpptreeevaluator.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rpptreeevaluator.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rpptreewalker.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/rpptreewalker.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/semantic.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) … … 769 769 { 770 770 // If this is a classSpecifier or a EnumSpecifier we skip the name lookup, 771 // bec uase looking up the name "E" in a class definition like771 // becse looking up the name "E" in a class definition like 772 772 // "class E { ..." makes no sense. (There might be a variable named E 773 773 // already declared, but that variable is now shadowed by the class type.) … … 807 807 808 808 /* 809 looks up name used in basescope. If name->isGlobal() is true or if classOrNamespaceList()810 returns a non-em ty list, the C++ qualified name lookup rules are used. Otherwise the809 ooks up name used in basescope. If name->isGlobal() is true or if classOrNamespaceList() 810 returns a non-emty list, the C++ qualified name lookup rules are used. Otherwise the 811 811 unquialified name lookup rules are used. Returns the a list of members that was found, 812 In most cases this list will contain zero or one element, ex ept in the case of overloaded functions.812 In most cases this list will contain zero or one element, exept in the case of overloaded functions. 813 813 TODO: Argument-dependent name lookup 814 814 */ … … 976 976 FunctionMember *Semantic::selectFunction(QList<CodeModel::Member*> candidatateList, const DeclaratorAST *functionDeclarator) 977 977 { 978 // get arguments for func iton we are looking for978 // get arguments for funcon we are looking for 979 979 FunctionMember testFunction; 980 980 parseFunctionArguments(functionDeclarator, &testFunction); -
trunk/tools/porting/src/semantic.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/smallobject.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/smallobject.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/textreplacement.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/textreplacement.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 54 54 QByteArray newText; 55 55 int insertPosition; 56 int currentLenght; //leng htof the text that is going to be replaced.56 int currentLenght; //leng of the text that is going to be replaced. 57 57 bool operator<(const TextReplacement &other) const 58 58 { … … 71 71 insert maintains the TextReplacement list in sorted order. 72 72 73 Returns true if the insert was successful l, false otherwise;73 Returns true if the insert was successful, false otherwise; 74 74 */ 75 75 bool insert(QByteArray newText, int insertPosition, int currentLenght); -
trunk/tools/porting/src/tokenengine.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/tokenengine.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 56 56 class TokenContainer; 57 57 /* 58 A token is defined as a start-pos tion and a lenght. Since the actual text58 A token is defined as a start-pos. Since the actual text 59 59 storage is not reffered to here, Token needs to be used together with 60 60 a TokenContainer in order to be useful. -
trunk/tools/porting/src/tokenizer.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/tokenizer.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/tokenreplacements.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 127 127 int tokenIndex = currentIndex; 128 128 QByteArray tokenText; 129 //loop until we get a token contain g text or we pass the beginning/end of the source129 //loop until we get a token containg text or we pass the beginning/end of the source 130 130 tokenIndex += direction; 131 131 while(tokenText.isEmpty() && isValidIndex(tokenIndex)) { … … 147 147 return -1; 148 148 QByteArray tokenText; 149 //loop until we get a token contain g text or we pass the start of the source149 //loop until we get a token containg text or we pass the start of the source 150 150 tokenIndex += direction; 151 151 while(tokenText.isEmpty() && isValidIndex(tokenIndex)) { … … 267 267 return false; 268 268 // If nameUse is set we test if the nameUse refers to the correct declaration. 269 // This is done by checking the parentScope attri ute, wich returns the scope269 // This is done by checking the parentScope attriich returns the scope 270 270 // for the declaration associated with this name use. 271 271 const bool haveNameUseInfo = !attributes->attribute(sourceIndex, "nameUse").isEmpty(); … … 315 315 316 316 // If we have no name use info and the source and old scopes don't match, 317 // we generally don t't do a replace, unless the old scope is Qt and317 // we generally don't do a replace, unless the old scope is Qt and 318 318 // the source scope inherits Qt. For example, QWidget::ButtonState should 319 319 // be renamed to Qt::ButtonState. -
trunk/tools/porting/src/tokenreplacements.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/tokens.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/tokenstreamadapter.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/translationunit.cpp
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/translationunit.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/treewalker.cpp
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected]) -
trunk/tools/porting/src/treewalker.h
r651 r846 2 2 ** 3 3 ** Copyright (C) 2001-2004 Roberto Raggi 4 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).4 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 5 5 ** All rights reserved. 6 6 ** Contact: Nokia Corporation ([email protected])
Note:
See TracChangeset
for help on using the changeset viewer.