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
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
17 #ifndef __KMAIL_XFACECONFIGURATOR_H__
18 #define __KMAIL_XFACECONFIGURATOR_H__
32 class XFaceConfigurator
: public QWidget
{
35 XFaceConfigurator( QWidget
* parent
=0 );
36 virtual ~XFaceConfigurator();
38 bool isXFaceEnabled() const;
39 void setXFaceEnabled( bool enable
);
42 QString
xface() const;
43 void setXFace( const QString
& text
);
46 QCheckBox
* mEnableCheck
;
47 KTextEdit
* mTextEdit
;
49 KComboBox
* mSourceCombo
;
53 void setXfaceFromFile( const KUrl
&url
);
56 void slotSelectFile();
57 void slotSelectFromAddressbook();
58 void slotUpdateXFace();
62 #endif // __KMAIL_XFACECONFIGURATOR_H__