summaryrefslogtreecommitdiffstats
path: root/kicker
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 /kicker
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 'kicker')
-rw-r--r--kicker/kicker/core/container_base.cpp2
-rw-r--r--kicker/kicker/core/container_extension.cpp12
-rw-r--r--kicker/kicker/core/containerarea.cpp6
-rw-r--r--kicker/kicker/core/usersizesel.cpp2
-rw-r--r--kicker/kicker/ui/k_new_mnu.cpp2
5 files changed, 12 insertions, 12 deletions
diff --git a/kicker/kicker/core/container_base.cpp b/kicker/kicker/core/container_base.cpp
index 8a7cd6d3c..64886f436 100644
--- a/kicker/kicker/core/container_base.cpp
+++ b/kicker/kicker/core/container_base.cpp
@@ -47,7 +47,7 @@ BaseContainer::BaseContainer( TQPopupMenu* appletOpMenu, TQWidget* parent, const
, _opMnu(0)
, _appletOpMnu(appletOpMenu)
{
- setCursor(tqarrowCursor);
+ setCursor(TQt::arrowCursor);
}
BaseContainer::~BaseContainer()
diff --git a/kicker/kicker/core/container_extension.cpp b/kicker/kicker/core/container_extension.cpp
index 4378e5a48..c5cb5b732 100644
--- a/kicker/kicker/core/container_extension.cpp
+++ b/kicker/kicker/core/container_extension.cpp
@@ -2202,7 +2202,7 @@ bool ExtensionContainer::eventFilter( TQObject*, TQEvent * e)
}
else
{
- setCursor(tqarrowCursor);
+ setCursor(TQt::arrowCursor);
}
}
else if (pos == KPanelExtension::Right)
@@ -2213,29 +2213,29 @@ bool ExtensionContainer::eventFilter( TQObject*, TQEvent * e)
}
else
{
- setCursor(tqarrowCursor);
+ setCursor(TQt::arrowCursor);
}
}
else if (pos == KPanelExtension::Top)
{
if (inResizeArea(me->pos()))
{
- setCursor(tqsizeVerCursor);
+ setCursor(TQt::sizeVerCursor);
}
else
{
- setCursor(tqarrowCursor);
+ setCursor(TQt::arrowCursor);
}
}
else
{
if (inResizeArea(me->pos()))
{
- setCursor(tqsizeVerCursor);
+ setCursor(TQt::sizeVerCursor);
}
else
{
- setCursor(tqarrowCursor);
+ setCursor(TQt::arrowCursor);
}
}
}
diff --git a/kicker/kicker/core/containerarea.cpp b/kicker/kicker/core/containerarea.cpp
index 589b512e1..2e4ed66a9 100644
--- a/kicker/kicker/core/containerarea.cpp
+++ b/kicker/kicker/core/containerarea.cpp
@@ -923,7 +923,7 @@ void ContainerArea::startContainerMove(BaseContainer *a)
KickerTip::enableTipping(false);
emit maintainFocus(true);
setMouseTracking(true);
- grabMouse(tqsizeAllCursor);
+ grabMouse(TQt::sizeAllCursor);
m_layout->setStretchEnabled(false);
a->raise();
@@ -940,7 +940,7 @@ void ContainerArea::mouseReleaseEvent(TQMouseEvent *)
// so we need to complete the move here
_autoScrollTimer.stop();
releaseMouse();
- setCursor(tqarrowCursor);
+ setCursor(TQt::arrowCursor);
setMouseTracking(false);
_moveAC->completeMoveOperation();
@@ -967,7 +967,7 @@ void ContainerArea::mouseMoveEvent(TQMouseEvent *ev)
// leaveEvent() doesn't work, while grabbing the mouse
_autoScrollTimer.stop();
releaseMouse();
- setCursor(tqarrowCursor);
+ setCursor(TQt::arrowCursor);
setMouseTracking(false);
_moveAC->completeMoveOperation();
diff --git a/kicker/kicker/core/usersizesel.cpp b/kicker/kicker/core/usersizesel.cpp
index de18e7fe4..654114d90 100644
--- a/kicker/kicker/core/usersizesel.cpp
+++ b/kicker/kicker/core/usersizesel.cpp
@@ -46,7 +46,7 @@ UserSizeSel::UserSizeSel(const TQRect& rect, const KPanelExtension::Position pos
}
if ((pos == KPanelExtension::Top) || (pos == KPanelExtension::Bottom))
{
- setCursor(tqsizeVerCursor);
+ setCursor(TQt::sizeVerCursor);
}
setGeometry(-10, -10, 2, 2);
diff --git a/kicker/kicker/ui/k_new_mnu.cpp b/kicker/kicker/ui/k_new_mnu.cpp
index 07a2817af..25f3a3246 100644
--- a/kicker/kicker/ui/k_new_mnu.cpp
+++ b/kicker/kicker/ui/k_new_mnu.cpp
@@ -1752,7 +1752,7 @@ void KMenu::setOrientation(MenuOrientation orientation)
m_orientation=orientation;
- m_resizeHandle->setCursor(m_orientation == BottomUp ? tqsizeBDiagCursor : tqsizeFDiagCursor);
+ m_resizeHandle->setCursor(m_orientation == BottomUp ? TQt::sizeBDiagCursor : TQt::sizeFDiagCursor);
TQPixmap pix;
if ( m_orientation == BottomUp )