• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • Contact Us
 

kabc

stdaddressbook.h
00001 /*
00002     This file is part of libkabc.
00003     Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #ifndef KABC_STDADDRESSBOOK_H
00022 #define KABC_STDADDRESSBOOK_H
00023 
00024 #include "addressbook.h"
00025 
00026 namespace KABC {
00027 
00059 class KABC_EXPORT_DEPRECATED StdAddressBook : public AddressBook
00060 {
00061   public:
00062 
00066     ~StdAddressBook();
00067 
00072     static StdAddressBook *self();
00073 
00082     static StdAddressBook *self( bool asynchronous );
00083 
00089     static KDE_DEPRECATED bool save();
00090 
00094     static QString fileName();
00095 
00099     static QString directoryName();
00100 
00108     static void setAutomaticSave( bool state );
00109 
00114     static void close();
00115 
00120     static bool automaticSave();
00121 
00127     Addressee whoAmI() const;
00128 
00134     void setWhoAmI( const Addressee &addr );
00135 
00136   protected:
00137     StdAddressBook();
00138     StdAddressBook( bool asynchronous );
00139 
00140   private:
00141     // needed another constructor for delaying Private::init() to right
00142     // after the instance creation. Cannot change the other two since they
00143     // are protected and might be called by subclasses
00144     StdAddressBook( bool asynchronous, bool doInit );
00145 
00146     class Private;
00147     Private *const d;
00148 };
00149 
00150 }
00151 
00152 #endif
00153 
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 14 2012 05:09:42 by doxygen 1.7.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kabc

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

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • 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
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal