kmail

xfaceconfigurator.h
1/*
2 xfaceconfigurator.cpp
3
4 KMail, the KDE mail client.
5 Copyright (c) 2004 Jakob Schröter <js@camaya.net>
6 Copyright (c) 2002 the KMail authors.
7 See file AUTHORS for details
8
9 This program is free software; you can redistribute it and/or
10 modify it under the terms of the GNU General Public License,
11 version 2.0, as published by the Free Software Foundation.
12 You should have received a copy of the GNU General Public License
13 along with this program; if not, write to the Free Software Foundation,
14 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
15*/
16
17#ifndef __KMAIL_XFACECONFIGURATOR_H__
18#define __KMAIL_XFACECONFIGURATOR_H__
19
20#include <tqwidget.h>
21#include <tqtextedit.h>
22
23class KURL;
24
25class TQCheckBox;
26class TQString;
27class TQLabel;
28class TQComboBox;
29
30namespace KMail {
31
32 class XFaceConfigurator : public TQWidget {
33 TQ_OBJECT
34
35 public:
36 XFaceConfigurator( TQWidget * parent=0, const char * name=0 );
37 virtual ~XFaceConfigurator();
38
39 bool isXFaceEnabled() const;
40 void setXFaceEnabled( bool enable );
41
42
43 TQString xface() const;
44 void setXFace( const TQString & text );
45
46 protected:
47 TQCheckBox * mEnableCheck;
48 TQTextEdit * mTextEdit;
49 TQLabel * mXFaceLabel;
50 TQComboBox * mSourceCombo;
51
52
53 private:
54 void setXfaceFromFile( const KURL &url );
55
56 private slots:
57 void slotSelectFile();
58 void slotSelectFromAddressbook();
59 void slotUpdateXFace();
60 };
61} // namespace KMail
62
63#endif // __KMAIL_XFACECONFIGURATOR_H__
64
65
folderdiaquotatab.h
Definition: aboutdata.cpp:40