37 #include <kiconloader.h>
38 #include <tdelocale.h>
40 #include <tqtooltip.h>
44 SSLLabel::SSLLabel( TQWidget* parent )
50 void SSLLabel::setEncrypted(
bool enc )
53 m_lastEncryptionState = Encrypted;
55 m_lastEncryptionState = Unencrypted;
59 SSLLabel::State SSLLabel::lastState()
const
61 return m_lastEncryptionState;
64 void SSLLabel::setState( State state )
68 TQToolTip::remove(
this );
69 TQToolTip::add(
this, i18n(
"Connection is encrypted") );
70 setPixmap( SmallIcon(
"encrypted", TDEGlobal::instance() ) );
74 TQToolTip::remove(
this );
75 TQToolTip::add(
this, i18n(
"Connection is unencrypted") );
76 setPixmap( SmallIcon(
"decrypted" ) );
80 TQToolTip::remove(
this );
85 TQToolTip::remove(
this );
91 m_lastEncryptionState = state;
TDEPIM classes for drag and drop of mails.