okteta
abstractmodelexporter.cpp
Go to the documentation of this file.00001 /* 00002 This file is part of the Kakao Framework, part of the KDE project. 00003 00004 Copyright 2007-2008 Friedrich W. H. Kossebau <kossebau@kde.org> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Lesser General Public 00008 License as published by the Free Software Foundation; either 00009 version 2.1 of the License, or (at your option) version 3, or any 00010 later version accepted by the membership of KDE e.V. (or its 00011 successor approved by the membership of KDE e.V.), which shall 00012 act as a proxy defined in Section 6 of version 3 of the license. 00013 00014 This library is distributed in the hope that it will be useful, 00015 but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 Lesser General Public License for more details. 00018 00019 You should have received a copy of the GNU Lesser General Public 00020 License along with this library. If not, see <http://www.gnu.org/licenses/>. 00021 */ 00022 00023 #include "abstractmodelexporter.h" 00024 00025 00026 class AbstractModelExporter::Private 00027 { 00028 public: 00029 Private( const QString &remoteTypeName, const QString &remoteMimeType ); 00030 public: 00031 QString remoteTypeName() const; 00032 QString remoteMimeType() const; 00033 protected: 00034 const QString mRemoteTypeName; 00035 const QString mRemoteMimeType; 00036 }; 00037 00038 inline AbstractModelExporter::Private::Private( const QString &remoteTypeName, const QString &remoteMimeType ) 00039 : mRemoteTypeName( remoteTypeName ), mRemoteMimeType( remoteMimeType ) 00040 {} 00041 00042 inline QString AbstractModelExporter::Private::remoteTypeName() const { return mRemoteTypeName; } 00043 inline QString AbstractModelExporter::Private::remoteMimeType() const { return mRemoteMimeType; } 00044 00045 AbstractModelExporter::AbstractModelExporter( const QString &remoteTypeName, const QString &remoteMimeType ) 00046 : d( new Private(remoteTypeName,remoteMimeType) ) 00047 {} 00048 00049 QString AbstractModelExporter::remoteTypeName() const { return d->remoteTypeName(); } 00050 QString AbstractModelExporter::remoteMimeType() const { return d->remoteMimeType(); } 00051 00052 AbstractModelExporter::~AbstractModelExporter() 00053 { 00054 delete d; 00055 } 00056 00057 #include "abstractmodelexporter.moc"
KDE 4.2 API Reference