korganizer Library API Documentation

koprefsdialog.h

00001 /* 00002 This file is part of KOrganizer. 00003 Copyright (c) 2000,2001,2002,2003 Cornelius Schumacher <schumacher@kde.org> 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; either version 2 of the License, or 00008 (at your option) any later version. 00009 00010 This program is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 GNU General Public License for more details. 00014 00015 You should have received a copy of the GNU General Public License 00016 along with this program; if not, write to the Free Software 00017 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00018 00019 As a special exception, permission is given to link this program 00020 with any edition of Qt, and distribute the resulting executable, 00021 without including the source code for Qt in the source distribution. 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
KDE Logo
This file is part of the documentation for korganizer Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 27 12:53:26 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003