37#include <kiconloader.h>
44SSLLabel::SSLLabel( TQWidget* parent )
50void SSLLabel::setEncrypted( bool enc )
53 m_lastEncryptionState = Encrypted;
55 m_lastEncryptionState = Unencrypted;
59SSLLabel::State SSLLabel::lastState() const
61 return m_lastEncryptionState;
64void 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.
|