Ignore:
Timestamp:
May 5, 2011, 5:36:53 AM (14 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.7.2 sources from branches/vendor/nokia/qt.

Location:
trunk
Files:
36 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/assistant/lib/fulltextsearch/fulltextsearch.pro

    r631 r846  
    3232    CONFIG -= exceptions_off
    3333    CONFIG += exceptions
    34     !win32|win32-g++ {
     34    !win32|win32-g++* {
    3535        QMAKE_CFLAGS -= -fno-exceptions
    3636        QMAKE_CXXFLAGS -= -fno-exceptions
     
    4949# the following define could be set globally in case we need it elsewhere
    5050solaris* {
    51     DEFINES += Q_SOLARIS_VERSION=$$system(uname -r | sed -e 's/5\.//')
     51    DEFINES += Q_SOLARIS_VERSION=$$system(uname -r | sed -e 's/5\\.//')
    5252}
  • trunk/tools/assistant/lib/fulltextsearch/qanalyzer.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qanalyzer_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qclucene-config_p.h

    r769 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
     
    315315#endif
    316316
    317 // Do not use the tchar.h that ships with mingw, this causes the qt build to
    318 // fail (211547, 211401, etc...), reuse the replacement as with any other compiler
    319 // #if defined(__MINGW32__)
    320 //     /* Define to 1 if you have the <tchar.h> header file. */
    321 // #   ifndef _CL_HAVE_TCHAR_H
    322 // #   define _CL_HAVE_TCHAR_H  1
    323 // #   endif
    324 // #endif
     317#if defined(__MINGW32__)
     318     /* Define to 1 if you have the <tchar.h> header file. */
     319 #   ifndef _CL_HAVE_TCHAR_H
     320 #   define _CL_HAVE_TCHAR_H  1
     321 #   endif
     322#endif
    325323
    326324#if defined(__MINGW32__) || defined(__SUNPRO_CC) || defined(__SUNPRO_C)
  • trunk/tools/assistant/lib/fulltextsearch/qclucene_global_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
     
    3737#include <QtCore/QString>
    3838
    39 #if !defined(_MSC_VER)
     39#if !defined(_MSC_VER) && !defined(__MINGW32__) && defined(_CL_HAVE_WCHAR_H) && defined(_CL_HAVE_WCHAR_T)
    4040#   if !defined(TCHAR)
    4141#       if defined(_CL_HAVE_WCHAR_H) && defined(_CL_HAVE_WCHAR_T) && !defined(_ASCII)
  • trunk/tools/assistant/lib/fulltextsearch/qdocument.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qdocument_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qfield.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qfield_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qfilter.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qfilter_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qhits.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qhits_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qindexreader.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qindexreader_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qindexwriter.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
     
    8989
    9090    d->writer->addIndexes(readerArray);
    91     delete readerArray;
     91    delete [] readerArray;
    9292}
    9393
  • trunk/tools/assistant/lib/fulltextsearch/qindexwriter_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qquery.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qquery_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qqueryparser.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qqueryparser_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qreader.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qreader_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qsearchable.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qsearchable_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qsort.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
     
    8585    for (int i = 0; i < fieldNames.count(); ++i)
    8686        delete [] nameArray[i];
    87     delete nameArray;
     87    delete [] nameArray;
    8888}
    8989
  • trunk/tools/assistant/lib/fulltextsearch/qsort_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
     
    6565{
    6666public:
    67         QCLuceneSort();
    68         QCLuceneSort(const QStringList &fieldNames);
    69     QCLuceneSort(const QString &field, bool reverse = false);
     67    QCLuceneSort();
     68    explicit QCLuceneSort(const QStringList &fieldNames);
     69    explicit QCLuceneSort(const QString &field, bool reverse = false);
    7070
    7171    virtual ~QCLuceneSort();
     
    7373    QString toString() const;
    7474    void setSort(const QStringList &fieldNames);
    75         void setSort(const QString &field, bool reverse = false);
     75    void setSort(const QString &field, bool reverse = false);
    7676
    7777protected:
  • trunk/tools/assistant/lib/fulltextsearch/qterm.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qterm_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qtoken.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qtoken_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qtokenizer.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qtokenizer_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qtokenstream.cpp

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
  • trunk/tools/assistant/lib/fulltextsearch/qtokenstream_p.h

    r651 r846  
    44** All rights reserved.
    55**
    6 ** Portion Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
     6** Portion Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
    77** All rights reserved.
    88**
Note: See TracChangeset for help on using the changeset viewer.