summaryrefslogtreecommitdiffstats
path: root/libkdepim/ssllabel.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /libkdepim/ssllabel.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkdepim/ssllabel.cpp')
-rw-r--r--libkdepim/ssllabel.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/libkdepim/ssllabel.cpp b/libkdepim/ssllabel.cpp
index c606928da..3ad982390 100644
--- a/libkdepim/ssllabel.cpp
+++ b/libkdepim/ssllabel.cpp
@@ -37,12 +37,12 @@
#include <kiconloader.h>
#include <klocale.h>
-#include <qtooltip.h>
+#include <tqtooltip.h>
namespace KPIM {
-SSLLabel::SSLLabel( QWidget* parent )
- : QLabel( parent )
+SSLLabel::SSLLabel( TQWidget* parent )
+ : TQLabel( parent )
{
setState( Done );
}
@@ -65,24 +65,24 @@ void SSLLabel::setState( State state )
{
switch( state ) {
case Encrypted:
- QToolTip::remove( this );
- QToolTip::add( this, i18n("Connection is encrypted") );
+ TQToolTip::remove( this );
+ TQToolTip::add( this, i18n("Connection is encrypted") );
setPixmap( SmallIcon( "encrypted", KGlobal::instance() ) );
show();
break;
case Unencrypted:
- QToolTip::remove( this );
- QToolTip::add( this, i18n("Connection is unencrypted") );
+ TQToolTip::remove( this );
+ TQToolTip::add( this, i18n("Connection is unencrypted") );
setPixmap( SmallIcon( "decrypted" ) );
show();
break;
case Done:
- QToolTip::remove( this );
+ TQToolTip::remove( this );
hide();
break;
case Clean:
default:
- QToolTip::remove( this );
+ TQToolTip::remove( this );
hide();
//we return because we do not save the state as the only
//action we want to perform is to hide ourself