You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#ifndef __KMAIL__MANAGESIEVESCRIPTSDIALOG_P_H__
|
|
|
|
#define __KMAIL__MANAGESIEVESCRIPTSDIALOG_P_H__
|
|
|
|
|
|
|
|
#include <kdialogbase.h>
|
|
|
|
|
|
|
|
#include <tqtextedit.h>
|
|
|
|
|
|
|
|
namespace KMail {
|
|
|
|
|
|
|
|
class SieveEditor : public KDialogBase {
|
|
|
|
Q_OBJECT
|
|
|
|
TQ_OBJECT
|
|
|
|
TQ_PROPERTY( TQString script READ script WRITE setScript )
|
|
|
|
public:
|
|
|
|
SieveEditor( TQWidget * tqparent=0, const char * name=0 );
|
|
|
|
~SieveEditor();
|
|
|
|
|
|
|
|
TQString script() const { return mTextEdit->text(); }
|
|
|
|
void setScript( const TQString & script ) { mTextEdit->setText( script ); }
|
|
|
|
private slots:
|
|
|
|
void slotTextChanged();
|
|
|
|
private:
|
|
|
|
TQTextEdit * mTextEdit;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* __KMAIL__MANAGESIEVESCRIPTSDIALOG_P_H__ */
|
|
|
|
|