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 signals:
00063
00064
protected:
00065
void setupGeneralPage();
00066
void setupEventPage();
00067
void setupTodoPage();
00068
void setupAdvancedPage();
00069
00070
void loadSettings();
00071
void saveSettings();
00072
00073
private:
00074 Calendar *mCalendar;
00075
00076 HtmlExport *mExport;
00077
00078 KConfig *mConfig;
00079
00080 QFrame *mGeneralPage;
00081 QFrame *mEventPage;
00082 QFrame *mTodoPage;
00083 QFrame *mAdvancedPage;
00084
00085
00086 KDateEdit *mFromDate,*mToDate;
00087 QCheckBox *mCbMonth;
00088 QCheckBox *mCbEvent;
00089 QCheckBox *mCbTodo;
00090 QCheckBox *mCbDueDates;
00091 QCheckBox *mCbCategoriesTodo;
00092 QCheckBox *mCbCategoriesEvent;
00093 QCheckBox *mCbAttendeesTodo;
00094 QCheckBox *mCbAttendeesEvent;
00095 QCheckBox *mCbExcludePrivateTodo;
00096 QCheckBox *mCbExcludePrivateEvent;
00097 QCheckBox *mCbExcludeConfidentialTodo;
00098 QCheckBox *mCbExcludeConfidentialEvent;
00099 QCheckBox *mCbHtmlFragment;
00100 KURLRequester *mOutputFileEdit;
00101
00102
bool mDataAvailable;
00103 };
00104
00105
#endif // _EXPORTWEBDIALOG_H
This file is part of the documentation for korganizer Library Version 3.2.2.