16 #ifndef __KMAIL_SIGNATURECONFIGURATOR_H__
17 #define __KMAIL_SIGNATURECONFIGURATOR_H__
21 #include <libkpimidentities/identity.h>
22 using KPIM::Signature;
34 class SignatureConfigurator : public TQWidget {
38 SignatureConfigurator( TQWidget * parent=0, const char * name=0 );
39 virtual ~SignatureConfigurator();
41 bool isSignatureEnabled() const;
42 void setSignatureEnabled( bool enable );
44 Signature::Type signatureType() const;
45 void setSignatureType( Signature::Type type );
47 TQString inlineText() const;
48 void setInlineText( const TQString & text );
50 TQString fileURL() const;
51 void setFileURL( const TQString & url );
53 TQString commandURL() const;
54 void setCommandURL( const TQString & url );
60 Signature signature() const;
64 void setSignature( const Signature & sig );
67 void slotEnableEditButton( const TQString & );
71 TQCheckBox * mEnableCheck;
72 TQComboBox * mSourceCombo;
73 KURLRequester * mFileRequester;
74 TQPushButton * mEditButton;
75 KLineEdit * mCommandEdit;
76 TQTextEdit * mTextEdit;
|