korganizer
exportwebdialog.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef EXPORTWEBDIALOG_H
00026 #define EXPORTWEBDIALOG_H
00027
00028 #include <libkdepim/kprefsdialog.h>
00029 #include <kpagedialog.h>
00030
00031 class QFrame;
00032 namespace KCal {
00033 class HTMLExportSettings;
00034 }
00035 using namespace KCal;
00036 using namespace KPIM;
00037
00042 class ExportWebDialog : public KPageDialog, public KPrefsWidManager
00043 {
00044 Q_OBJECT
00045 public:
00046 explicit ExportWebDialog( HTMLExportSettings *settings, QWidget *parent = 0 );
00047 virtual ~ExportWebDialog();
00048
00049 public slots:
00050 void slotTextChanged( const QString & _text );
00051
00052 protected:
00053 void setupGeneralPage();
00054 void setupEventPage();
00055 void setupTodoPage();
00056
00057
00058
00059
00060 public slots:
00061 void setDefaults();
00062 void readConfig();
00063 void writeConfig();
00064
00065 signals:
00066 void configChanged();
00067 void exportHTML( HTMLExportSettings * );
00068
00069 protected slots:
00070 void slotOk();
00071 void slotApply();
00072 void slotDefault();
00073
00074 protected:
00075 virtual void usrReadConfig() {}
00076 virtual void usrWriteConfig() {}
00077
00078 private:
00079 HTMLExportSettings *mSettings;
00080 QFrame *mGeneralPage;
00081 QFrame *mEventPage;
00082 QFrame *mTodoPage;
00083
00084
00085
00086 };
00087
00088 #endif // _EXPORTWEBDIALOG_H