koprefsdialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef KOPREFSDIALOG_H
00024 #define KOPREFSDIALOG_H
00025
00026 #include <libkdepim/kprefsdialog.h>
00027
00028 #include <qdict.h>
00029
00030 class QLineEdit;
00031 class QLabel;
00032 class QSpinBox;
00033 class QComboBox;
00034 class KColorButton;
00035 class QColor;
00036 class QListView;
00037
00038 class KOPrefsDialogMain : public KPrefsModule
00039 {
00040 Q_OBJECT
00041 public:
00042 KOPrefsDialogMain( QWidget *parent, const char *name );
00043
00044 protected:
00045 void usrReadConfig();
00046 void usrWriteConfig();
00047
00048 protected slots:
00049 void toggleEmailSettings( bool on );
00050
00051 private:
00052 QLineEdit *mNameEdit;
00053 QLineEdit *mEmailEdit;
00054 QLabel *mNameLabel;
00055 QLabel *mEmailLabel;
00056 QSpinBox *mAutoSaveIntervalSpin;
00057 };
00058
00059 class KOPrefsDialogColors : public KPrefsModule
00060 {
00061 Q_OBJECT
00062 public:
00063 KOPrefsDialogColors( QWidget *parent, const char *name );
00064
00065 protected:
00066 void usrWriteConfig();
00067 void usrReadConfig();
00068
00069 protected slots:
00070 void updateCategories();
00071 void setCategoryColor();
00072 void updateCategoryColor();
00073
00074 private:
00075 QComboBox *mCategoryCombo;
00076 KColorButton *mCategoryButton;
00077 QDict<QColor> mCategoryDict;
00078 };
00079
00080 class KOPrefsDialogGroupScheduling : public KPrefsModule
00081 {
00082 Q_OBJECT
00083 public:
00084 KOPrefsDialogGroupScheduling( QWidget *parent, const char *name );
00085
00086 protected:
00087 void usrReadConfig();
00088 void usrWriteConfig();
00089
00090 protected slots:
00091 void addItem();
00092 void removeItem();
00093 void updateItem();
00094 void updateInput();
00095
00096 private:
00097 QListView *mAMails;
00098 QLineEdit *aEmailsEdit;
00099 };
00100
00101 class KOGroupwarePrefsPage;
00102
00103 class KOPrefsDialogGroupwareScheduling : public KPrefsModule
00104 {
00105 Q_OBJECT
00106 public:
00107 KOPrefsDialogGroupwareScheduling( QWidget *parent, const char *name );
00108
00109 protected:
00110 void usrReadConfig();
00111 void usrWriteConfig();
00112
00113 private:
00114 KOGroupwarePrefsPage* mGroupwarePage;
00115 };
00116
00117 #endif
This file is part of the documentation for korganizer Library Version 3.2.2.