24 #ifndef KOPREFSDIALOG_H
25 #define KOPREFSDIALOG_H
27 #include <libtdepim/kprefsdialog.h>
28 #include <libtdepim/kcmdesignerfields.h>
41 class TDE_EXPORT KOPrefsDialogMain :
public KPrefsModule
46 KOPrefsDialogMain( TQWidget *parent,
const char *name );
49 void toggleEmailSettings(
bool on );
51 TQWidget *mUserEmailSettings;
54 class TDE_EXPORT KOPrefsDialogColors :
public KPrefsModule
59 KOPrefsDialogColors( TQWidget *parent,
const char *name );
62 void usrWriteConfig();
66 void updateCategories();
67 void setCategoryColor();
68 void updateCategoryColor();
70 void updateResources();
71 void setResourceColor();
72 void updateResourceColor();
74 TQComboBox *mCategoryCombo;
75 KColorButton *mCategoryButton;
76 TQDict<TQColor> mCategoryDict;
78 TQComboBox *mResourceCombo;
79 KColorButton *mResourceButton;
80 TQDict<TQColor> mResourceDict;
82 TQStringList mResourceIdentifier;
85 class TDE_EXPORT KOPrefsDialogGroupScheduling :
public KPrefsModule
90 KOPrefsDialogGroupScheduling( TQWidget *parent,
const char *name );
94 void usrWriteConfig();
104 TQLineEdit *aEmailsEdit;
107 class KOGroupwarePrefsPage;
109 class TDE_EXPORT KOPrefsDialogGroupwareScheduling :
public KPrefsModule
114 KOPrefsDialogGroupwareScheduling( TQWidget *parent,
const char *name );
117 void usrReadConfig();
118 void usrWriteConfig();
121 KOGroupwarePrefsPage* mGroupwarePage;
124 class TDE_EXPORT KOPrefsDialogPlugins :
public KPrefsModule
129 KOPrefsDialogPlugins( TQWidget *parent,
const char *name );
132 void usrReadConfig();
133 void usrWriteConfig();
135 void selectionChanged( TQListViewItem* );
139 TQListView *mListView;
140 TQLabel *mDescription;
141 KPushButton *mConfigureButton;
144 class TDE_EXPORT KOPrefsDesignerFields :
public KPIM::KCMDesignerFields
147 KOPrefsDesignerFields( TQWidget *parent = 0,
const char *name = 0 );
150 TQString localUiDir();
152 void writeActivePages(
const TQStringList & );
153 TQStringList readActivePages();
154 TQString applicationName();