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 #ifndef KNEWSTUFF2_AUTHOR_H
00020 #define KNEWSTUFF2_AUTHOR_H
00021
00022 #include <knewstuff2/knewstuff_export.h>
00023
00024 #include <QtCore/QString>
00025
00026 namespace KNS
00027 {
00028
00029 struct AuthorPrivate;
00030
00040 class KNEWSTUFF_EXPORT Author
00041 {
00042 public:
00046 Author();
00047
00048 Author(const Author& other);
00049 Author& operator=(const Author& other);
00050
00054 ~Author();
00055
00059 void setName(const QString& name);
00060
00066 QString name() const;
00067
00071 void setEmail(const QString& email);
00072
00078 QString email() const;
00079
00083 void setJabber(const QString& jabber);
00084
00090 QString jabber() const;
00091
00095 void setHomepage(const QString& homepage);
00096
00102 QString homepage() const;
00103
00104 private:
00105 struct AuthorPrivate * const d;
00106 };
00107
00108 }
00109
00110 #endif