summaryrefslogtreecommitdiffstats
path: root/src/torkactivelabel.cpp
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-07-27 16:57:53 +0200
committerSlávek Banko <[email protected]>2013-07-27 18:48:46 +0200
commit7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931 (patch)
tree4655c7263ca5c64d23d10167cb459dd9cb253815 /src/torkactivelabel.cpp
parent88ea2b6cd4382627fb6efca9cc54825aee881d1e (diff)
downloadtork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.tar.gz
tork-7c2bc4b5ce4fc1a72868aa949e9ec49fbe2e7931.zip
Initial TQt conversion
Diffstat (limited to 'src/torkactivelabel.cpp')
-rw-r--r--src/torkactivelabel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/torkactivelabel.cpp b/src/torkactivelabel.cpp
index b76876b..1fae5a2 100644
--- a/src/torkactivelabel.cpp
+++ b/src/torkactivelabel.cpp
@@ -21,20 +21,20 @@
#include "torkactivelabel.h"
#include "kdebug.h"
-#include <qapplication.h>
-#include <qheader.h>
+#include <ntqapplication.h>
+#include <ntqheader.h>
#include <kiconloader.h>
#include <klocale.h>
#include <kstandarddirs.h>
-TorkActiveLabel::TorkActiveLabel( const QString &text,QWidget * parent, const char * name) :
+TorkActiveLabel::TorkActiveLabel( const TQString &text,TQWidget * parent, const char * name) :
KActiveLabel( text,parent, name ), mousePressed( FALSE )
{
}
-TorkActiveLabel::TorkActiveLabel( QWidget * parent, const char * name) :
+TorkActiveLabel::TorkActiveLabel( TQWidget * parent, const char * name) :
KActiveLabel( parent, name ), mousePressed( FALSE )
{
@@ -43,7 +43,7 @@ TorkActiveLabel::TorkActiveLabel( QWidget * parent, const char * name) :
-void TorkActiveLabel::contentsMousePressEvent( QMouseEvent* e )
+void TorkActiveLabel::contentsMousePressEvent( TQMouseEvent* e )
{
thisfont = this->font();
thisfont.setBold(true);
@@ -52,7 +52,7 @@ void TorkActiveLabel::contentsMousePressEvent( QMouseEvent* e )
KActiveLabel::contentsMousePressEvent( e );
}
-void TorkActiveLabel::contentsMouseMoveEvent( QMouseEvent* e )
+void TorkActiveLabel::contentsMouseMoveEvent( TQMouseEvent* e )
{
if (this->frameRect().contains(e->pos())){
@@ -68,7 +68,7 @@ void TorkActiveLabel::contentsMouseMoveEvent( QMouseEvent* e )
KActiveLabel::contentsMouseMoveEvent( e );
}
-void TorkActiveLabel::contentsMouseReleaseEvent( QMouseEvent * e)
+void TorkActiveLabel::contentsMouseReleaseEvent( TQMouseEvent * e)
{
thisfont = this->font();
thisfont.setBold(false);
@@ -77,7 +77,7 @@ void TorkActiveLabel::contentsMouseReleaseEvent( QMouseEvent * e)
}
-QPoint TorkActiveLabel::getMousePos()
+TQPoint TorkActiveLabel::getMousePos()
{
return m_mousepos;
}