kspread
kspread_insertcalendardialog.h00001
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 KSPREAD_INSERTCALENDARDIALOG_H
00026 #define KSPREAD_INSERTCALENDARDIALOG_H
00027
00028 #include <kspread_insertcalendardialogbase.h>
00029 #include <koffice_export.h>
00030
00031 #include <qdatetime.h>
00032
00033 class KDatePicker;
00034
00035 namespace KSpread
00036 {
00037
00038 class KSPREAD_EXPORT InsertCalendarDialog : public InsertCalendarDialogBase
00039 {
00040 Q_OBJECT
00041
00042 private:
00043
00049 KDatePicker* m_datePicker;
00050
00051 public:
00052
00058 InsertCalendarDialog(QWidget* parent = 0, const char* name = 0);
00059
00063 virtual ~InsertCalendarDialog();
00064
00065 protected:
00066
00076 bool buildDatePickerFrame();
00077
00078 protected slots:
00079
00085 void datePickerDeleted();
00086
00097 virtual void accept();
00098
00108 virtual void reject();
00109
00110 public slots:
00111
00116 void showStartDatePicker();
00117
00122 void showEndDatePicker();
00123
00128 void setStartDate(QDate);
00129
00134 void setEndDate(QDate);
00135
00136 public:
00137
00138
00139
00143 QDate startDate() const;
00144
00148 QDate endDate() const;
00149
00150 signals:
00151
00160 void insertCalendar(const QDate &from, const QDate &to);
00161 };
00162
00163 }
00164
00165 #endif
|