Changeset View
Changeset View
Standalone View
Standalone View
libksieve/ksieveui/vacation/vacationeditwidget.h
Show All 16 Lines | |||||
#ifndef VACATIONEDITWIDGET_H | #ifndef VACATIONEDITWIDGET_H | ||||
#define VACATIONEDITWIDGET_H | #define VACATIONEDITWIDGET_H | ||||
#include <QWidget> | #include <QWidget> | ||||
class KIntSpinBox; | class KIntSpinBox; | ||||
class KLineEdit; | class KLineEdit; | ||||
class KDateComboBox; | class KDateComboBox; | ||||
class KTimeComboBox; | |||||
class QDate; | class QDate; | ||||
class QTime; | |||||
namespace PimCommon { | namespace PimCommon { | ||||
class RichTextEditorWidget; | class RichTextEditorWidget; | ||||
} | } | ||||
class QCheckBox; | class QCheckBox; | ||||
template <typename T> class QList; | template <typename T> class QList; | ||||
Show All 39 Lines | public: | ||||
void setSubject(const QString &subject); | void setSubject(const QString &subject); | ||||
bool sendForSpam() const; | bool sendForSpam() const; | ||||
void setSendForSpam( bool enable ); | void setSendForSpam( bool enable ); | ||||
QDate startDate() const; | QDate startDate() const; | ||||
void setStartDate( const QDate &startDate ); | void setStartDate( const QDate &startDate ); | ||||
QDate endDate(); | QTime startTime() const; | ||||
void setStartTime( const QTime &startTime ); | |||||
QDate endDate() const; | |||||
void setEndDate( const QDate &endDate ); | void setEndDate( const QDate &endDate ); | ||||
QTime endTime() const; | |||||
void setEndTime( const QTime &endTime ); | |||||
void setDefault(); | void setDefault(); | ||||
private Q_SLOTS: | private Q_SLOTS: | ||||
void slotIntervalSpinChanged( int value ); | void slotIntervalSpinChanged( int value ); | ||||
protected: | protected: | ||||
QCheckBox *mActiveCheck; | QCheckBox *mActiveCheck; | ||||
KIntSpinBox *mIntervalSpin; | KIntSpinBox *mIntervalSpin; | ||||
KLineEdit *mMailAliasesEdit; | KLineEdit *mMailAliasesEdit; | ||||
PimCommon::RichTextEditorWidget *mTextEdit; | PimCommon::RichTextEditorWidget *mTextEdit; | ||||
QCheckBox *mSpamCheck; | QCheckBox *mSpamCheck; | ||||
QCheckBox *mDomainCheck; | QCheckBox *mDomainCheck; | ||||
KLineEdit *mDomainEdit; | KLineEdit *mDomainEdit; | ||||
KLineEdit *mSubject; | KLineEdit *mSubject; | ||||
KDateComboBox *mStartDate; | KDateComboBox *mStartDate; | ||||
KTimeComboBox *mStartTime; | |||||
QCheckBox *mStartTimeActive; | |||||
KDateComboBox *mEndDate; | KDateComboBox *mEndDate; | ||||
KTimeComboBox *mEndTime; | |||||
QCheckBox *mEndTimeActive; | |||||
}; | }; | ||||
} | } | ||||
#endif // VACATIONEDITWIDGET_H | #endif // VACATIONEDITWIDGET_H |