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 _EXPORTWEBDIALOG_H
00025 #define _EXPORTWEBDIALOG_H
00026
00027 #include <libtdepim/kprefsdialog.h>
00028
00029 class HTMLExportSettings;
00030 class TQGroupBox;
00031 using namespace KCal;
00032
00033
00038 class ExportWebDialog : public KDialogBase, public KPrefsWidManager
00039 {
00040 Q_OBJECT
00041
00042 public:
00043 ExportWebDialog( HTMLExportSettings *settings, TQWidget *parent = 0,
00044 const char *name = 0 );
00045 virtual ~ExportWebDialog();
00046
00047 public slots:
00048 void slotTextChanged( const TQString & _text);
00049
00050 protected:
00051 void setupGeneralPage();
00052 void setupEventPage();
00053 void setupTodoPage();
00054
00055
00056
00057
00058 public slots:
00059 void setDefaults();
00060 void readConfig();
00061 void writeConfig();
00062
00063 signals:
00064 void configChanged();
00065 void exportHTML( HTMLExportSettings* );
00066
00067 protected slots:
00068 void slotOk();
00069 void slotApply();
00070 void slotDefault();
00071
00072 protected:
00073 virtual void usrReadConfig() {}
00074 virtual void usrWriteConfig() {}
00075
00076 private slots:
00077 void updateState();
00078
00079 private:
00080 HTMLExportSettings* mSettings;
00081 TQFrame *mGeneralPage;
00082 TQFrame *mEventPage;
00083 TQFrame *mTodoPage;
00084
00085
00086
00087
00088 TQCheckBox *mMonthViewCheckBox;
00089 TQCheckBox *mEventListCheckBox;
00090 TQGroupBox *mDateRangeBox;
00091 };
00092
00093 #endif // _EXPORTWEBDIALOG_H