KNewStuff
author.h
Go to the documentation of this file.
00001 /* 00002 This file is part of KNewStuff2. 00003 Copyright (c) 2002 Cornelius Schumacher <schumacher@kde.org> 00004 Copyright (c) 2003 - 2007 Josef Spillner <spillner@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) 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 Lesser General Public License for more details. 00015 00016 You should have received a copy of the GNU Lesser General Public 00017 License along with this library. If not, see <http://www.gnu.org/licenses/>. 00018 */ 00019 #ifndef KNEWSTUFF3_AUTHOR_H 00020 #define KNEWSTUFF3_AUTHOR_H 00021 00022 #include <QtCore/QString> 00023 00024 namespace KNS3 00025 { 00026 struct AuthorPrivate; 00027 00037 class Author 00038 { 00039 public: 00043 void setName(const QString& name); 00044 00050 QString name() const; 00051 00055 void setEmail(const QString& email); 00056 00062 QString email() const; 00063 00067 void setJabber(const QString& jabber); 00068 00074 QString jabber() const; 00075 00079 void setHomepage(const QString& homepage); 00080 00086 QString homepage() const; 00087 00088 private: 00089 QString mName; 00090 QString mEmail; 00091 QString mJabber; 00092 QString mHomepage; 00093 }; 00094 00095 } 00096 00097 #endif
KDE 4.6 API Reference