• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KCal Library

person.h

Go to the documentation of this file.
00001 /*
00002     This file is part of the kcal library.
00003 
00004     Copyright (c) 2001-2003 Cornelius Schumacher <schumacher@kde.org>
00005     Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
00006 
00007     This library is free software; you can redistribute it and/or
00008     modify it under the terms of the GNU Library General Public
00009     License as published by the Free Software Foundation; either
00010     version 2 of the License, or (at your option) any later version.
00011 
00012     This library is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00015     Library General Public License for more details.
00016 
00017     You should have received a copy of the GNU Library General Public License
00018     along with this library; see the file COPYING.LIB.  If not, write to
00019     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00020     Boston, MA 02110-1301, USA.
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     static Person fromFullName( const QString &fullName );
00062 
00067     KDE_CONSTRUCTOR_DEPRECATED explicit Person( const QString &fullName );
00068 
00075     Person( const QString &name, const QString &email );
00076 
00082     Person( const Person &person );
00083 
00087     ~Person();
00088 
00092     bool isEmpty() const;
00093 
00097     QString fullName( ) const;
00098 
00106     void setName( const QString &name );
00107 
00113     QString name() const;
00114 
00122     void setEmail( const QString &email );
00123 
00129     QString email() const;
00130 
00136     bool operator==( const Person &person );
00137 
00143     Person &operator=( const Person &person );
00144 
00145   private:
00146     //@cond PRIVATE
00147     class Private;
00148     Private *const d;
00149    //@endcond
00150 };
00151 
00152 }
00153 
00154 #endif

KCal Library

Skip menu "KCal Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal