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.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kopete/kopete/kopeteaccountstatusbaricon.cpp b/kopete/kopete/kopeteaccountstatusbaricon.cpp
index 05855b63..a2a65355 100644
--- a/kopete/kopete/kopeteaccountstatusbaricon.cpp
+++ b/kopete/kopete/kopeteaccountstatusbaricon.cpp
@@ -16,23 +16,23 @@
*/
#include "kopeteaccountstatusbaricon.h"
-#include "qcursor.h"
+#include "tqcursor.h"
#include <kdebug.h>
//#include <kdebug.h>
-KopeteAccountStatusBarIcon::KopeteAccountStatusBarIcon( Kopete::Account *acc, QWidget *parent,
+KopeteAccountStatusBarIcon::KopeteAccountStatusBarIcon( Kopete::Account *acc, TQWidget *parent,
const char *name )
-: QLabel( parent, name )
+: TQLabel( parent, name )
{
// kdDebug(14000) << "[KopeteAccountStatusBarIcon] Setting Initial Protocol Icon" << endl;
//setMask(initialPixmap->mask());
- //setPixmap( Kopete::OnlineStatus( Kopete::OnlineStatus::Unknown, 0, proto, 0, "status_unknown", QString::null, QString::null ).protocolIcon() );
+ //setPixmap( Kopete::OnlineStatus( Kopete::OnlineStatus::Unknown, 0, proto, 0, "status_unknown", TQString::null, TQString::null ).protocolIcon() );
//setPixmap( proto->status().protocolIcon() );
setFixedSize ( 16, 16 );
- setCursor(QCursor(Qt::PointingHandCursor));
+ setCursor(TQCursor(Qt::PointingHandCursor));
show();
m_account = acc;
@@ -42,15 +42,15 @@ KopeteAccountStatusBarIcon::~KopeteAccountStatusBarIcon()
{
}
-void KopeteAccountStatusBarIcon::mousePressEvent( QMouseEvent *me )
+void KopeteAccountStatusBarIcon::mousePressEvent( TQMouseEvent *me )
{
- if( me->button() == QEvent::RightButton )
+ if( me->button() == TQEvent::RightButton )
{
- emit rightClicked( m_account, QPoint( me->globalX(), me->globalY() ) );
+ emit rightClicked( m_account, TQPoint( me->globalX(), me->globalY() ) );
}
- else if( me->button() == QEvent::LeftButton )
+ else if( me->button() == TQEvent::LeftButton )
{
- emit leftClicked( m_account, QPoint( me->globalX(), me->globalY() ) );
+ emit leftClicked( m_account, TQPoint( me->globalX(), me->globalY() ) );
}
}