Changeset 561 for trunk/tools/assistant/lib/fulltextsearch/qfield.cpp
- Timestamp:
- Feb 11, 2010, 11:19:06 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property svn:mergeinfo
set to (toggle deleted branches)
/branches/vendor/nokia/qt/4.6.1 merged eligible /branches/vendor/nokia/qt/current merged eligible /branches/vendor/trolltech/qt/current 3-149
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/tools/assistant/lib/fulltextsearch/qfield.cpp
r2 r561 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 200 9 Nokia Corporation and/or its subsidiary(-ies).4 ** Contact: Qt Software Information ([email protected])3 ** Copyright (C) 200. 4 ** 5 5 ** 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. 8 15 ** 9 16 ****************************************************************************/ … … 24 31 deleteCLuceneField = true; 25 32 } 26 33 27 34 QCLuceneFieldPrivate::QCLuceneFieldPrivate(const QCLuceneFieldPrivate &other) 28 35 : QSharedData() 29 36 { 30 37 field = _CL_POINTER(other.field); 38 31 39 } 32 40 … … 51 59 TCHAR* fieldName = QStringToTChar(name); 52 60 TCHAR* fieldValue = QStringToTChar(value); 53 61 54 62 d->field = new lucene::document::Field(fieldName, fieldValue, configs); 55 63 … … 67 75 reader->d->deleteCLuceneReader = false; // clucene takes ownership 68 76 d->field = new lucene::document::Field(fieldName, reader->d->reader, configs); 69 77 70 78 delete [] fieldName; 71 79 }
Note:
See TracChangeset
for help on using the changeset viewer.