summaryrefslogtreecommitdiffstats
path: root/twin
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-21 11:41:53 +0900
committerMichele Calgaro <[email protected]>2023-11-21 11:41:53 +0900
commit100f977221b7319815eb9617f56a067cb0383853 (patch)
treeda2cc1ced8f06fe9b9dfb91d2972876a3b198640 /twin
parent8f924d271a4771b8046697fefd778d895a54d93d (diff)
downloadtdebase-100f977221b7319815eb9617f56a067cb0383853.tar.gz
tdebase-100f977221b7319815eb9617f56a067cb0383853.zip
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin')
-rw-r--r--twin/client.cpp12
-rw-r--r--twin/clients/b2/b2client.cpp2
-rw-r--r--twin/clients/keramik/keramik.cpp2
-rw-r--r--twin/clients/test/test.cpp2
-rw-r--r--twin/events.cpp2
-rw-r--r--twin/kcmtwin/twinrules/detectwidget.cpp2
-rw-r--r--twin/manage.cpp4
7 files changed, 13 insertions, 13 deletions
diff --git a/twin/client.cpp b/twin/client.cpp
index 044d89208..c4916bef7 100644
--- a/twin/client.cpp
+++ b/twin/client.cpp
@@ -2707,25 +2707,25 @@ void Client::setCursor( Position m )
{
case PositionTopLeft:
case PositionBottomRight:
- setCursor( tqsizeFDiagCursor );
+ setCursor( TQt::sizeFDiagCursor );
break;
case PositionBottomLeft:
case PositionTopRight:
- setCursor( tqsizeBDiagCursor );
+ setCursor( TQt::sizeBDiagCursor );
break;
case PositionTop:
case PositionBottom:
- setCursor( tqsizeVerCursor );
+ setCursor( TQt::sizeVerCursor );
break;
case PositionLeft:
case PositionRight:
- setCursor( tqsizeHorCursor );
+ setCursor( TQt::sizeHorCursor );
break;
default:
if( buttonDown && isMovable())
- setCursor( tqsizeAllCursor );
+ setCursor( TQt::sizeAllCursor );
else
- setCursor( tqarrowCursor );
+ setCursor( TQt::arrowCursor );
break;
}
}
diff --git a/twin/clients/b2/b2client.cpp b/twin/clients/b2/b2client.cpp
index 49391e923..afef7799f 100644
--- a/twin/clients/b2/b2client.cpp
+++ b/twin/clients/b2/b2client.cpp
@@ -1213,7 +1213,7 @@ B2Button::B2Button(B2Client *_client, TQWidget *parent,
: TQButton(parent, 0), hover(false)
{
setBackgroundMode(NoBackground);
- setCursor(tqarrowCursor);
+ setCursor(TQt::arrowCursor);
realizeButtons = realizeBtns;
client = _client;
useMiniIcon = false;
diff --git a/twin/clients/keramik/keramik.cpp b/twin/clients/keramik/keramik.cpp
index 446199fa7..73bc859fc 100644
--- a/twin/clients/keramik/keramik.cpp
+++ b/twin/clients/keramik/keramik.cpp
@@ -765,7 +765,7 @@ KeramikButton::KeramikButton( KeramikClient* c, const char *name, Button btn, co
TQToolTip::add( this, tip ); // FRAME
setBackgroundMode( NoBackground );
- setCursor( tqarrowCursor );
+ setCursor( TQt::arrowCursor );
int size = clientHandler->roundButton()->height();
setFixedSize( size, size );
diff --git a/twin/clients/test/test.cpp b/twin/clients/test/test.cpp
index ebfb00df1..4b38692d1 100644
--- a/twin/clients/test/test.cpp
+++ b/twin/clients/test/test.cpp
@@ -22,7 +22,7 @@ void Decoration::init()
{
button = new TQPushButton( widget());
button->show();
- button->setCursor( tqarrowCursor );
+ button->setCursor( TQt::arrowCursor );
button->move( 0, 0 );
connect( button, TQT_SIGNAL( clicked()), TQT_SLOT( closeWindow()));
TQToolTip::add( button, "Zelva Mana" );
diff --git a/twin/events.cpp b/twin/events.cpp
index e2e6b8d60..a56cc9ddd 100644
--- a/twin/events.cpp
+++ b/twin/events.cpp
@@ -924,7 +924,7 @@ void Client::leaveNotifyEvent( XCrossingEvent* e )
if ( !buttonDown )
{
mode = PositionCenter;
- setCursor( tqarrowCursor );
+ setCursor( TQt::arrowCursor );
}
bool lostMouse = !rect().contains( TQPoint( e->x, e->y ) );
// 'lostMouse' wouldn't work with e.g. B2 or Keramik, which have non-rectangular decorations
diff --git a/twin/kcmtwin/twinrules/detectwidget.cpp b/twin/kcmtwin/twinrules/detectwidget.cpp
index 9dbb29441..546db66db 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 );
}
diff --git a/twin/manage.cpp b/twin/manage.cpp
index ec6a5d675..a129488cc 100644
--- a/twin/manage.cpp
+++ b/twin/manage.cpp
@@ -577,9 +577,9 @@ void Client::embedClient( Window w, const XWindowAttributes &attr )
attr.depth, InputOutput, attr.visual,
CWColormap | CWBackPixmap | CWBorderPixel, &swa );
- XDefineCursor( tqt_xdisplay(), frame, tqarrowCursor.handle());
+ XDefineCursor( tqt_xdisplay(), frame, TQt::arrowCursor.handle());
// some apps are stupid and don't define their own cursor - set the arrow one for them
- XDefineCursor( tqt_xdisplay(), wrapper, tqarrowCursor.handle());
+ XDefineCursor( tqt_xdisplay(), wrapper, TQt::arrowCursor.handle());
XReparentWindow( tqt_xdisplay(), client, wrapper, 0, 0 );
XSelectInput( tqt_xdisplay(), frame,
KeyPressMask | KeyReleaseMask |