00001 /********************************************************************************* 00002 ** This file is part of QtContacts tracker storage plugin 00003 ** 00004 ** Copyright (c) 2010-2011 Nokia Corporation and/or its subsidiary(-ies). 00005 ** 00006 ** Contact: Nokia Corporation (info@qt.nokia.com) 00007 ** 00008 ** GNU Lesser General Public License Usage 00009 ** This file may be used under the terms of the GNU Lesser General Public License 00010 ** version 2.1 as published by the Free Software Foundation and appearing in the 00011 ** file LICENSE.LGPL included in the packaging of this file. Please review the 00012 ** following information to ensure the GNU Lesser General Public License version 00013 ** 2.1 requirements will be met: 00014 ** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. 00015 ** 00016 ** In addition, as a special exception, Nokia gives you certain additional rights. 00017 ** These rights are described in the Nokia Qt LGPL Exception version 1.1, included 00018 ** in the file LGPL_EXCEPTION.txt in this package. 00019 ** 00020 ** Other Usage 00021 ** Alternatively, this file may be used in accordance with the terms and 00022 ** conditions contained in a signed written agreement between you and Nokia. 00023 *********************************************************************************/ 00024 00025 #ifndef QCTMETATYPEDCONTACTDETAIL_H 00026 #define QCTMETATYPEDCONTACTDETAIL_H 00027 00028 #include <QContactDetail> 00029 00030 QTM_USE_NAMESPACE 00031 00032 // To avoid Q_DECLARE_METATYPE(QtMobility::QContactDetail) here 00033 class QctMetatypedContactDetail: public QtMobility::QContactDetail { 00034 public: 00035 QctMetatypedContactDetail(const QContactDetail& other) : 00036 QContactDetail(other) { 00037 } 00038 00039 QctMetatypedContactDetail() : 00040 QContactDetail() { 00041 } 00042 00043 }; 00044 00045 Q_DECLARE_METATYPE(QctMetatypedContactDetail) 00046 00047 #endif // QCTMETATYPEDCONTACTDETAIL_H