KCal Library
person.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
00034 #ifndef KCAL_PERSON_H
00035 #define KCAL_PERSON_H
00036
00037 #include <QtCore/QString>
00038
00039 #include "kcal_export.h"
00040
00041 namespace KCal {
00042
00047 class KCAL_EXPORT Person
00048 {
00049 public:
00053 Person();
00054
00061 explicit Person( const QString &fullName );
00062
00069 Person( const QString &name, const QString &email );
00070
00076 Person( const Person &person );
00077
00081 ~Person();
00082
00086 bool isEmpty() const;
00087
00091 QString fullName( ) const;
00092
00100 void setName( const QString &name );
00101
00107 QString name() const;
00108
00116 void setEmail( const QString &email );
00117
00123 QString email() const;
00124
00130 bool operator==( const Person &person );
00131
00137 Person &operator=( const Person &person );
00138
00139 private:
00140
00141 class Private;
00142 Private *const d;
00143
00144 };
00145
00146 }
00147
00148 #endif