stdaddressbook.h
/*
This file is part of libkabc.
Copyright (c) 2001 Cornelius Schumacher <schumacher@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef KABC_STDADDRESSBOOK_H
#define KABC_STDADDRESSBOOK_H
#include "addressbook.h"
namespace KABC {
class KABC_EXPORT StdAddressBook : public AddressBook
{
public:
~StdAddressBook();
static StdAddressBook *self();
static StdAddressBook *self( bool asynchronous );
static bool save() KDE_DEPRECATED;
static void handleCrash() KDE_DEPRECATED;
static QString fileName();
static QString directoryName();
static void setAutomaticSave( bool state );
static void close();
static bool automaticSave();
Addressee whoAmI();
void setWhoAmI( const Addressee &addr );
protected:
StdAddressBook();
StdAddressBook( bool asynchronous );
void init( bool asynchronous );
bool saveAll();
private:
static StdAddressBook *mSelf;
static bool mAutomaticSave;
};
}
#endif
KABC::StdAddressBook
Standard KDE address book.
Definition: stdaddressbook.h:56
KABC::Addressee
address book entry
Definition: addressee.src.h:74
KABC::AddressBook
Address Book.
Definition: addressbook.h:43

KDE Home | KDE Accessibility Home | Description of Access Keys