summaryrefslogtreecommitdiffstats
path: root/libkdepim/ssllabel.cpp
diff options
context:
space:
mode:
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