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 void updateResources();
00075 void setResourceColor();
00076 void updateResourceColor();
00077 private:
00078 QComboBox *mCategoryCombo;
00079 KColorButton *mCategoryButton;
00080 QDict<QColor> mCategoryDict;
00081
00082 QComboBox *mResourceCombo;
00083 KColorButton *mResourceButton;
00084 QDict<QColor> mResourceDict;
00085
00086 QStringList mResourceIdentifier;
00087 };
00088
00089 class KOPrefsDialogGroupScheduling : public KPrefsModule
00090 {
00091 Q_OBJECT
00092 public:
00093 KOPrefsDialogGroupScheduling( QWidget *parent, const char *name );
00094
00095 protected:
00096 void usrReadConfig();
00097 void usrWriteConfig();
00098
00099 protected slots:
00100 void addItem();
00101 void removeItem();
00102 void updateItem();
00103 void updateInput();
00104
00105 private:
00106 QListView *mAMails;
00107 QLineEdit *aEmailsEdit;
00108 };
00109
00110 class KOGroupwarePrefsPage;
00111
00112 class KOPrefsDialogGroupwareScheduling : public KPrefsModule
00113 {
00114 Q_OBJECT
00115 public:
00116 KOPrefsDialogGroupwareScheduling( QWidget *parent, const char *name );
00117
00118 protected:
00119 void usrReadConfig();
00120 void usrWriteConfig();
00121
00122 private:
00123 KOGroupwarePrefsPage* mGroupwarePage;
00124 };
00125
00126 #endif
This file is part of the documentation for korganizer Library Version 3.3.2.