summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waTitleBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/winskin/waTitleBar.cpp')
-rw-r--r--noatun/modules/winskin/waTitleBar.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/noatun/modules/winskin/waTitleBar.cpp b/noatun/modules/winskin/waTitleBar.cpp
index 82b603f5..bba7386e 100644
--- a/noatun/modules/winskin/waTitleBar.cpp
+++ b/noatun/modules/winskin/waTitleBar.cpp
@@ -12,8 +12,8 @@
*/
-#include <qwidget.h>
-#include <qpixmap.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
#include "waTitleBar.h"
#include "waSkinModel.h"
@@ -32,7 +32,7 @@ WaTitleBar::~WaTitleBar()
{
}
-void WaTitleBar::mousePressEvent(QMouseEvent * e)
+void WaTitleBar::mousePressEvent(TQMouseEvent * e)
{
if (e->button() != RightButton) {
if (!moving) {
@@ -49,11 +49,11 @@ void WaTitleBar::mousePressEvent(QMouseEvent * e)
WaWidget::mousePressEvent(e);
}
-void WaTitleBar::mouseDoubleClickEvent(QMouseEvent *) {
+void WaTitleBar::mouseDoubleClickEvent(TQMouseEvent *) {
emit(shaded());
}
-void WaTitleBar::mouseReleaseEvent(QMouseEvent * e)
+void WaTitleBar::mouseReleaseEvent(TQMouseEvent * e)
{
if (e->button() != RightButton) {
moving = false;
@@ -64,9 +64,9 @@ void WaTitleBar::mouseReleaseEvent(QMouseEvent * e)
WaWidget::mouseReleaseEvent(e);
}
-void WaTitleBar::mouseMoveEvent(QMouseEvent * e)
+void WaTitleBar::mouseMoveEvent(TQMouseEvent * e)
{
- QPoint diff = e->globalPos() - mLastPos;
+ TQPoint diff = e->globalPos() - mLastPos;
if (abs(diff.x()) > 10 || abs(diff.y()) > 10) {
// Moving starts only, when passing a drag border
moving = true;