• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

akonadi/contact

emailaddressselection.h
00001 /*
00002     This file is part of Akonadi Contact.
00003 
00004     Copyright (c) 2010 KDAB
00005     Author: Tobias Koenig <tokoe@kde.org>
00006 
00007     This library is free software; you can redistribute it and/or modify it
00008     under the terms of the GNU Library General Public License as published by
00009     the Free Software Foundation; either version 2 of the License, or (at your
00010     option) any later version.
00011 
00012     This library is distributed in the hope that it will be useful, but WITHOUT
00013     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00014     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00015     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 the
00019     Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
00020     02110-1301, USA.
00021 */
00022 
00023 #ifndef AKONADI_EMAILADDRESSSELECTION_H
00024 #define AKONADI_EMAILADDRESSSELECTION_H
00025 
00026 #include "akonadi-contact_export.h"
00027 
00028 #include <QtCore/QList>
00029 #include <QtCore/QSharedDataPointer>
00030 #include <QtCore/QString>
00031 
00032 namespace Akonadi {
00033 
00034 class Item;
00035 
00049 class AKONADI_CONTACT_EXPORT EmailAddressSelection
00050 {
00051   public:
00055     typedef QList<EmailAddressSelection> List;
00056 
00060     EmailAddressSelection();
00061 
00065     EmailAddressSelection( const EmailAddressSelection &other );
00066 
00070     EmailAddressSelection &operator=( const EmailAddressSelection &other );
00071 
00075     ~EmailAddressSelection();
00076 
00080     bool isValid() const;
00081 
00085     QString name() const;
00086 
00093     QString email() const;
00094 
00101     QString quotedEmail() const;
00102 
00106     Akonadi::Item item() const;
00107 
00108   private:
00109     //@cond PRIVATE
00110     friend class EmailAddressSelectionWidget;
00111 
00112     class Private;
00113     QSharedDataPointer<Private> d;
00114     //@endcond
00115 };
00116 
00117 }
00118 
00119 Q_DECLARE_TYPEINFO( Akonadi::EmailAddressSelection, Q_MOVABLE_TYPE );
00120 
00121 #endif

akonadi/contact

Skip menu "akonadi/contact"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.4
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