exportwebdialog.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _EXPORTWEBDIALOG_H
00024 #define _EXPORTWEBDIALOG_H
00025
00026 #include <kdialogbase.h>
00027 #include <kio/job.h>
00028
00029 #include <libkcal/calendar.h>
00030 #include <libkcal/htmlexport.h>
00031
00032 using namespace KCal;
00033
00034 class KDateEdit;
00035 class QRadioButton;
00036 class QCheckBox;
00037 class QLineEdit;
00038 class QTextStream;
00039 class QFrame;
00040 class KConfig;
00041 class KURLRequester;
00042
00047 class ExportWebDialog : public KDialogBase
00048 {
00049 Q_OBJECT
00050 public:
00051 ExportWebDialog(Calendar *cal, QWidget *parent=0, const char *name=0);
00052 virtual ~ExportWebDialog();
00053
00054 public slots:
00055 void exportWebPage(bool synchronous=false);
00056
00057 void slotResult(KIO::Job *);
00058 void slotDataReq(KIO::Job *,QByteArray &data);
00059 void slotTextChanged( const QString & _text);
00060 protected slots:
00061
00062 protected:
00063 void setupGeneralPage();
00064 void setupEventPage();
00065 void setupTodoPage();
00066 void setupAdvancedPage();
00067
00068 void loadSettings();
00069 void saveSettings();
00070
00071 private:
00072 Calendar *mCalendar;
00073
00074 HtmlExport *mExport;
00075
00076 KConfig *mConfig;
00077
00078 QFrame *mGeneralPage;
00079 QFrame *mEventPage;
00080 QFrame *mTodoPage;
00081 QFrame *mAdvancedPage;
00082
00083
00084 KDateEdit *mFromDate,*mToDate;
00085 QCheckBox *mCbMonth;
00086 QCheckBox *mCbEvent;
00087 QCheckBox *mCbTodo;
00088 QCheckBox *mCbDueDates;
00089 QCheckBox *mCbCategoriesTodo;
00090 QCheckBox *mCbCategoriesEvent;
00091 QCheckBox *mCbAttendeesTodo;
00092 QCheckBox *mCbAttendeesEvent;
00093 QCheckBox *mCbExcludePrivateTodo;
00094 QCheckBox *mCbExcludePrivateEvent;
00095 QCheckBox *mCbExcludeConfidentialTodo;
00096 QCheckBox *mCbExcludeConfidentialEvent;
00097 QCheckBox *mCbHtmlFragment;
00098 KURLRequester *mOutputFileEdit;
00099
00100 bool mDataAvailable;
00101 };
00102
00103 #endif // _EXPORTWEBDIALOG_H
This file is part of the documentation for korganizer Library Version 3.3.2.