Ignore:
Timestamp:
Feb 11, 2010, 11:19:06 PM (15 years ago)
Author:
Dmitry A. Kuminov
Message:

trunk: Merged in qt 4.6.1 sources.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/tools/assistant/lib/fulltextsearch/qreader.cpp

    r2 r561  
    11/****************************************************************************
    22**
    3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
    4 ** Contact: Qt Software Information ([email protected])
     3** Copyright (C) 200.
     4**
    55**
    6 ** This file is part of the QCLucene library and is distributable under
    7 ** the terms of the LGPL license as specified in the license.txt file.
     6** Portion Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).
     7** All rights reserved.
     8**
     9** This file may be used under the terms of the GNU Lesser General Public
     10** License version 2.1 as published by the Free Software Foundation and
     11** appearing in the file LICENSE.LGPL included in the packaging of this file.
     12** Please review the following information to ensure the GNU Lesser General
     13** Public License version 2.1 requirements will be met:
     14** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
    815**
    916****************************************************************************/
     
    1724QT_BEGIN_NAMESPACE
    1825
    19 QCLuceneReaderPrivate::QCLuceneReaderPrivate() 
     26QCLuceneReaderPrivate::QCLuceneReaderPrivate()
    2027    : QSharedData()
    21 { 
    22     reader = 0; 
     28{
     29    reader = 0;
    2330    deleteCLuceneReader = true;
    2431}
     
    2633QCLuceneReaderPrivate::QCLuceneReaderPrivate(const QCLuceneReaderPrivate &other)
    2734    : QSharedData()
    28 {
    29     reader = _CL_POINTER(other.reader);
     35{
     36    reader = _CL_POINTER(other.reader);
     37    deleteCLuceneReader = other.deleteCLuceneReader;
    3038}
    3139
    32 QCLuceneReaderPrivate::~QCLuceneReaderPrivate() 
    33 { 
     40QCLuceneReaderPrivate::~QCLuceneReaderPrivate()
     41{
    3442    if (deleteCLuceneReader)
    3543        _CLDECDELETE(reader);
    3644}
    37    
    3845
    3946QCLuceneReader::QCLuceneReader()
     
    6370}
    6471
    65 QCLuceneStringReader::QCLuceneStringReader(const QString &value, qint32 length, 
     72QCLuceneStringReader::QCLuceneStringReader(const QString &value, qint32 length,
    6673                                           bool copyData)
    6774    : QCLuceneReader()
Note: See TracChangeset for help on using the changeset viewer.