summaryrefslogtreecommitdiffstats
path: root/kicker
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-21 11:41:53 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-21 18:14:06 +0900
commit7272c289be1517c4a4b6ccd35c9d64f8a657593d (patch)
treef52030f604018b8af37958df1a289c8c0d2deb11 /kicker
parent4a6f4a17320917d60610036649b6192289c3f4a5 (diff)
downloadtdebase-7272c289be1517c4a4b6ccd35c9d64f8a657593d.tar.gz
tdebase-7272c289be1517c4a4b6ccd35c9d64f8a657593d.zip
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 100f977221b7319815eb9617f56a067cb0383853)
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 aa3aa6b60..6f4d2fe05 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 )