KNewStuff
author.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KNEWSTUFF2_AUTHOR_H
00022 #define KNEWSTUFF2_AUTHOR_H
00023
00024 #include <knewstuff2/knewstuff_export.h>
00025
00026 #include <QtCore/QString>
00027
00028 namespace KNS
00029 {
00030
00031 struct AuthorPrivate;
00032
00042 class KNEWSTUFF_EXPORT Author
00043 {
00044 public:
00048 Author();
00049
00050 Author(const Author& other);
00051 Author& operator=(const Author& other);
00052
00056 ~Author();
00057
00061 void setName(const QString& name);
00062
00068 QString name() const;
00069
00073 void setEmail(const QString& email);
00074
00080 QString email() const;
00081
00085 void setJabber(const QString& jabber);
00086
00092 QString jabber() const;
00093
00097 void setHomepage(const QString& homepage);
00098
00104 QString homepage() const;
00105
00106 private:
00107 struct AuthorPrivate * const d;
00108 };
00109
00110 }
00111
00112 #endif