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

libkdepim

  • sources
  • kde-4.12
  • kdepim
  • libkdepim
  • progresswidget
ssllabel.h
Go to the documentation of this file.
1 /* -*- mode: C++; c-file-style: "gnu" -*-
2  *
3  * This file is part of KMail, the KDE mail client.
4  *
5  * Copyright (c) 2003 Zack Rusin <zack@kde.org>
6  *
7  * KMail is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License, version 2, as
9  * published by the Free Software Foundation.
10  *
11  * KMail is distributed in the hope that it will be useful, but
12  * WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  *
20  * In addition, as a special exception, the copyright holders give
21  * permission to link the code of this program with any edition of
22  * the Qt library by Trolltech AS, Norway (or with modified versions
23  * of Qt that use the same license as Qt), and distribute linked
24  * combinations including the two. You must obey the GNU General
25  * Public License in all respects for all of the code used other than
26  * Qt. If you modify this file, you may extend this exception to
27  * your version of the file, but you are not obligated to do so. If
28  * you do not wish to do so, delete this exception statement from
29  * your version.
30  */
31 
32 #ifndef KDEPIM_SSLLABEL_H
33 #define KDEPIM_SSLLABEL_H
34 
35 #include <QLabel>
36 
37 namespace KPIM {
38 
39 class SSLLabel : public QLabel
40 {
41 public:
42  enum State {
43  Encrypted,
44  Unencrypted,
45  Clean,
46  Done
47  };
48  explicit SSLLabel( QWidget* parent );
49 
50  void setEncrypted( bool enc=true );
51  void setState( State state );
52  State lastState() const;
53 
54 private:
55  State m_lastEncryptionState;
56 };
57 
58 }
59 
60 #endif
KPIM::SSLLabel
Definition: ssllabel.h:39
KPIM::SSLLabel::setState
void setState(State state)
Definition: ssllabel.cpp:62
KPIM::SSLLabel::Done
Definition: ssllabel.h:46
QWidget
KPIM::SSLLabel::Clean
Definition: ssllabel.h:45
KPIM::SSLLabel::Encrypted
Definition: ssllabel.h:43
KPIM::SSLLabel::lastState
State lastState() const
Definition: ssllabel.cpp:57
KPIM::SSLLabel::State
State
Definition: ssllabel.h:42
QLabel
KPIM::SSLLabel::setEncrypted
void setEncrypted(bool enc=true)
Definition: ssllabel.cpp:48
KPIM::SSLLabel::SSLLabel
SSLLabel(QWidget *parent)
Definition: ssllabel.cpp:42
KPIM::SSLLabel::Unencrypted
Definition: ssllabel.h:44
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkdepim

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

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