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