stdaddressbook.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KABC_STDADDRESSBOOK_H
00022 #define KABC_STDADDRESSBOOK_H
00023
00024 #include "addressbook.h"
00025
00026 namespace KABC {
00027
00056 class StdAddressBook : public AddressBook
00057 {
00058 public:
00062 static AddressBook *self();
00063
00070 static AddressBook *self( bool onlyFastResources );
00071
00075 static bool save();
00076
00080 static QString fileName();
00081
00085 static QString directoryName();
00086
00093 static void setAutomaticSave( bool enable );
00094
00099 static void close();
00100
00105 static bool automaticSave();
00106
00107 protected:
00108 StdAddressBook();
00109 StdAddressBook( bool onlyFastResources );
00110 ~StdAddressBook();
00111
00112 void init( bool onlyFastResources );
00113
00114 private:
00115 static AddressBook *mSelf;
00116 static bool mAutomaticSave;
00117 };
00118
00119 }
00120 #endif
This file is part of the documentation for kdelibs Version 3.1.0.