summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twinrules/detectwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'twin/kcmtwin/twinrules/detectwidget.cpp')
-rw-r--r--twin/kcmtwin/twinrules/detectwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/twin/kcmtwin/twinrules/detectwidget.cpp b/twin/kcmtwin/twinrules/detectwidget.cpp
index 9dbb29441..b01066403 100644
--- a/twin/kcmtwin/twinrules/detectwidget.cpp
+++ b/twin/kcmtwin/twinrules/detectwidget.cpp
@@ -164,7 +164,7 @@ void DetectDialog::selectWindow()
grabber = new TQDialog( NULL, NULL, true, (WFlags)WX11BypassWM );
grabber->move( -1000, -1000 );
grabber->show();
- grabber->grabMouse( tqcrossCursor );
+ grabber->grabMouse( TQt::crossCursor );
grabber->installEventFilter( this );
}
@@ -176,7 +176,7 @@ bool DetectDialog::eventFilter( TQObject* o, TQEvent* e )
return false;
delete grabber;
grabber = NULL;
- if( TQT_TQMOUSEEVENT( e )->button() != TQt::LeftButton )
+ if( static_cast<TQMouseEvent*>( e )->button() != TQt::LeftButton )
{
emit detectionDone( false );
return true;