00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
#ifndef KABPREFS_H
00025
#define KABPREFS_H
00026
00027
#include <qstringlist.h>
00028
00029
#include <libkdepim/kpimprefs.h>
00030
00031
class KConfig;
00032
00033
class KABPrefs :
public KPimPrefs
00034 {
00035
public:
00036 ~KABPrefs();
00037
00038
static KABPrefs *instance();
00039
00040
00041
bool mHonorSingleClick;
00042
bool mAutomaticNameParsing;
00043
int mCurrentIncSearchField;
00044
QString mPhoneHookApplication;
00045
QString mFaxHookApplication;
00046
QString mLocationMapURL;
00047
QStringList mLocationMapURLs;
00048
00049
00050
bool mJumpButtonBarVisible;
00051
bool mDetailsPageVisible;
00052
QValueList<int> mExtensionsSplitter;
00053
QValueList<int> mDetailsSplitter;
00054
00055
00056
int mEditorType;
00057
QStringList mGlobalCustomFields;
00058
QStringList mAdvancedCustomFields;
00059
00060
00061
QString mCurrentExtension;
00062
00063
00064
QString mCurrentView;
00065
QStringList mViewNames;
00066
00067
00068
int mCurrentFilter;
00069
00070
enum { FullEditor, SimpleEditor };
00071
00072
00073
void setCategoryDefaults();
00074
00075
private:
00076 KABPrefs();
00077
00078
static KABPrefs *sInstance;
00079 };
00080
00081
#endif