Syndication Library
personimpl.h
00001 /* 00002 * This file is part of the syndication library 00003 * 00004 * Copyright (C) 2006 Frank Osterfeld <osterfeld@kde.org> 00005 * 00006 * This library is free software; you can redistribute it and/or 00007 * modify it under the terms of the GNU Library General Public 00008 * License as published by the Free Software Foundation; either 00009 * version 2 of the License, or (at your option) any later version. 00010 * 00011 * This library is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00014 * Library General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU Library General Public License 00017 * along with this library; see the file COPYING.LIB. If not, write to 00018 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00019 * Boston, MA 02110-1301, USA. 00020 * 00021 */ 00022 00023 #ifndef SYNDICATION_PERSONIMPL_H 00024 #define SYNDICATION_PERSONIMPL_H 00025 00026 #include <syndication/person.h> 00027 #include "ksyndication_export.h" 00028 00029 #include <QtCore/QString> 00030 00031 #include <boost/shared_ptr.hpp> 00032 00033 namespace Syndication { 00034 00035 class PersonImpl; 00036 00037 //@cond PRIVATE 00038 typedef boost::shared_ptr<PersonImpl> PersonImplPtr; 00039 00043 class SYNDICATION_EXPORT PersonImpl : public Person 00044 { 00045 public: 00046 00047 PersonImpl(); 00048 PersonImpl(const QString& name, const QString& uri, const QString& email); 00049 00050 virtual bool isNull() const { return m_null; } 00051 virtual QString name() const { return m_name; } 00052 virtual QString uri() const { return m_uri; } 00053 virtual QString email() const { return m_email; } 00054 00055 private: 00056 00057 bool m_null; 00058 QString m_name; 00059 QString m_uri; 00060 QString m_email; 00061 }; 00062 //@endcond 00063 00064 } // namespace Syndication 00065 00066 #endif // SYNDICATION_PERSONIMPL_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:45:59 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 04:45:59 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.