summaryrefslogtreecommitdiffstats
path: root/kopete/kopete/kopeteaccountstatusbaricon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/kopete/kopeteaccountstatusbaricon.cpp')
-rw-r--r--kopete/kopete/kopeteaccountstatusbaricon.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/kopete/kopeteaccountstatusbaricon.cpp b/kopete/kopete/kopeteaccountstatusbaricon.cpp
index a2a65355..f493755e 100644
--- a/kopete/kopete/kopeteaccountstatusbaricon.cpp
+++ b/kopete/kopete/kopeteaccountstatusbaricon.cpp
@@ -22,17 +22,17 @@
//#include <kdebug.h>
-KopeteAccountStatusBarIcon::KopeteAccountStatusBarIcon( Kopete::Account *acc, TQWidget *parent,
+KopeteAccountStatusBarIcon::KopeteAccountStatusBarIcon( Kopete::Account *acc, TQWidget *tqparent,
const char *name )
-: TQLabel( parent, name )
+: TQLabel( tqparent, name )
{
// kdDebug(14000) << "[KopeteAccountStatusBarIcon] Setting Initial Protocol Icon" << endl;
- //setMask(initialPixmap->mask());
- //setPixmap( Kopete::OnlineStatus( Kopete::OnlineStatus::Unknown, 0, proto, 0, "status_unknown", TQString::null, TQString::null ).protocolIcon() );
+ //setMask(initialPixmap->tqmask());
+ //setPixmap( Kopete::OnlineStatus( Kopete::OnlineStatus::Unknown, 0, proto, 0, "status_unknown", TQString(), TQString() ).protocolIcon() );
//setPixmap( proto->status().protocolIcon() );
setFixedSize ( 16, 16 );
- setCursor(TQCursor(Qt::PointingHandCursor));
+ setCursor(TQCursor(TQt::PointingHandCursor));
show();
m_account = acc;
@@ -44,11 +44,11 @@ KopeteAccountStatusBarIcon::~KopeteAccountStatusBarIcon()
void KopeteAccountStatusBarIcon::mousePressEvent( TQMouseEvent *me )
{
- if( me->button() == TQEvent::RightButton )
+ if( me->button() == Qt::RightButton )
{
emit rightClicked( m_account, TQPoint( me->globalX(), me->globalY() ) );
}
- else if( me->button() == TQEvent::LeftButton )
+ else if( me->button() == Qt::LeftButton )
{
emit leftClicked( m_account, TQPoint( me->globalX(), me->globalY() ) );
}