kmail

signatureconfigurator.h
1/*
2 signatureconfigurator.cpp
3
4 KMail, the KDE mail client.
5 Copyright (c) 2002 the KMail authors.
6 See file AUTHORS for details
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License,
10 version 2.0, as published by the Free Software Foundation.
11 You should have received a copy of the GNU General Public License
12 along with this program; if not, write to the Free Software Foundation,
13 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
14*/
15
16#ifndef __KMAIL_SIGNATURECONFIGURATOR_H__
17#define __KMAIL_SIGNATURECONFIGURATOR_H__
18
19#include <tqwidget.h>
20
21#include <libkpimidentities/identity.h> // for Signature::Type
22using KPIM::Signature;
23
24class TQComboBox;
25class TQCheckBox;
26class KURLRequester;
27class KLineEdit;
28class TQString;
29class TQPushButton;
30class TQTextEdit;
31
32namespace KMail {
33
34 class SignatureConfigurator : public TQWidget {
35 TQ_OBJECT
36
37 public:
38 SignatureConfigurator( TQWidget * parent=0, const char * name=0 );
39 virtual ~SignatureConfigurator();
40
41 bool isSignatureEnabled() const;
42 void setSignatureEnabled( bool enable );
43
44 Signature::Type signatureType() const;
45 void setSignatureType( Signature::Type type );
46
47 TQString inlineText() const;
48 void setInlineText( const TQString & text );
49
50 TQString fileURL() const;
51 void setFileURL( const TQString & url );
52
53 TQString commandURL() const;
54 void setCommandURL( const TQString & url );
55
60 Signature signature() const;
64 void setSignature( const Signature & sig );
65
66 protected slots:
67 void slotEnableEditButton( const TQString & );
68 void slotEdit();
69
70 protected:
71 TQCheckBox * mEnableCheck;
72 TQComboBox * mSourceCombo;
73 KURLRequester * mFileRequester;
74 TQPushButton * mEditButton;
75 KLineEdit * mCommandEdit;
76 TQTextEdit * mTextEdit;
77 };
78
79} // namespace KMail
80
81#endif // __KMAIL_SIGNATURECONFIGURATOR_H__
82
83
folderdiaquotatab.h
Definition: aboutdata.cpp:40