• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kmail

  • sources
  • kde-4.12
  • kdepim
  • kmail
  • identity
xfaceconfigurator.h
Go to the documentation of this file.
1 /* -*- c++ -*-
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 <QWidget>
21 
22 class KJob;
23 class KUrl;
24 
25 class QCheckBox;
26 class QLabel;
27 namespace PimCommon {
28 class PlainTextEditor;
29 }
30 namespace KMail {
31 
32 class XFaceConfigurator : public QWidget {
33  Q_OBJECT
34 public:
35  explicit XFaceConfigurator( QWidget * parent=0 );
36  ~XFaceConfigurator();
37 
38  bool isXFaceEnabled() const;
39  void setXFaceEnabled( bool enable );
40 
41 
42  QString xface() const;
43  void setXFace( const QString & text );
44 
45 private:
46  void setXfaceFromFile( const KUrl &url );
47 
48 private slots:
49  void slotSelectFile();
50  void slotSelectFromAddressbook();
51  void slotDelayedSelectFromAddressbook( KJob* );
52  void slotUpdateXFace();
53 
54 private:
55  QCheckBox * mEnableCheck;
56  PimCommon::PlainTextEditor * mTextEdit;
57  QLabel * mXFaceLabel;
58 };
59 } // namespace KMail
60 
61 #endif // __KMAIL_XFACECONFIGURATOR_H__
62 
63 
KMail::XFaceConfigurator::XFaceConfigurator
XFaceConfigurator(QWidget *parent=0)
Definition: xfaceconfigurator.cpp:65
text
virtual QByteArray text(quint32 serialNumber) const =0
QWidget
KMail::XFaceConfigurator::setXFaceEnabled
void setXFaceEnabled(bool enable)
Definition: xfaceconfigurator.cpp:212
KMail::XFaceConfigurator::setXFace
void setXFace(const QString &text)
Definition: xfaceconfigurator.cpp:222
KMail::XFaceConfigurator::isXFaceEnabled
bool isXFaceEnabled() const
Definition: xfaceconfigurator.cpp:207
KMail::XFaceConfigurator::~XFaceConfigurator
~XFaceConfigurator()
Definition: xfaceconfigurator.cpp:202
QLabel
KMail::XFaceConfigurator
Definition: xfaceconfigurator.h:32
KMail::XFaceConfigurator::xface
QString xface() const
Definition: xfaceconfigurator.cpp:217
KJob
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:52 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal