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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/modules/winskin/waTitleBar.cpp b/noatun/modules/winskin/waTitleBar.cpp
index bba7386e..b3b4917c 100644
--- a/noatun/modules/winskin/waTitleBar.cpp
+++ b/noatun/modules/winskin/waTitleBar.cpp
@@ -25,7 +25,7 @@
WaTitleBar::WaTitleBar() : WaIndicator(_WA_MAPPING_TITLE, _WA_SKIN_TITLE_ACTIVE, _WA_SKIN_TITLE_INACTIVE)
{
moving = false;
- setState(parentWidget()->isActiveWindow());
+ setState(tqparentWidget()->isActiveWindow());
}
WaTitleBar::~WaTitleBar()
@@ -34,7 +34,7 @@ WaTitleBar::~WaTitleBar()
void WaTitleBar::mousePressEvent(TQMouseEvent * e)
{
- if (e->button() != RightButton) {
+ if (e->button() != Qt::RightButton) {
if (!moving) {
moving = true;
mDragStart = e->pos();
@@ -55,7 +55,7 @@ void WaTitleBar::mouseDoubleClickEvent(TQMouseEvent *) {
void WaTitleBar::mouseReleaseEvent(TQMouseEvent * e)
{
- if (e->button() != RightButton) {
+ if (e->button() != Qt::RightButton) {
moving = false;
update();
return;
@@ -73,7 +73,7 @@ void WaTitleBar::mouseMoveEvent(TQMouseEvent * e)
}
if (moving)
- parentWidget()->move(e->globalPos() - mDragStart);
+ tqparentWidget()->move(e->globalPos() - mDragStart);
}
#include <waTitleBar.moc>