summaryrefslogtreecommitdiffstats
path: root/tdeui
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-21 11:42:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-21 11:42:12 +0900
commit80c2465371e5a7ab2dd6adb3c2bc32baa1c9b4ee (patch)
tree13eee7f381bb132542e75150c57a17b93804a058 /tdeui
parent57e0ed66347db15cb1cd66488f095107e7772ad9 (diff)
downloadtdelibs-80c2465371e5a7ab2dd6adb3c2bc32baa1c9b4ee.tar.gz
tdelibs-80c2465371e5a7ab2dd6adb3c2bc32baa1c9b4ee.zip
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui')
-rw-r--r--tdeui/kcolordialog.cpp2
-rw-r--r--tdeui/kcursor.cpp24
-rw-r--r--tdeui/kdockwidget.cpp2
-rw-r--r--tdeui/kdockwidget_private.cpp4
-rw-r--r--tdeui/ktabbar.cpp4
5 files changed, 18 insertions, 18 deletions
diff --git a/tdeui/kcolordialog.cpp b/tdeui/kcolordialog.cpp
index 9eb28b07f..5a6a6093a 100644
--- a/tdeui/kcolordialog.cpp
+++ b/tdeui/kcolordialog.cpp
@@ -1507,7 +1507,7 @@ KColorDialog::slotColorPicker()
d->oldfilter = tqt_set_x11_event_filter(kde_color_dlg_handler);
#endif
kde_color_dlg_widget = this;
- grabMouse( tqcrossCursor );
+ grabMouse( TQt::crossCursor );
grabKeyboard();
}
diff --git a/tdeui/kcursor.cpp b/tdeui/kcursor.cpp
index 43390d6a2..8b004e339 100644
--- a/tdeui/kcursor.cpp
+++ b/tdeui/kcursor.cpp
@@ -145,72 +145,72 @@ TQCursor KCursor::workingCursor()
*/
TQCursor KCursor::arrowCursor()
{
- return tqarrowCursor;
+ return TQt::arrowCursor;
}
TQCursor KCursor::upArrowCursor()
{
- return tqupArrowCursor;
+ return TQt::upArrowCursor;
}
TQCursor KCursor::crossCursor()
{
- return tqcrossCursor;
+ return TQt::crossCursor;
}
TQCursor KCursor::waitCursor()
{
- return tqwaitCursor;
+ return TQt::waitCursor;
}
TQCursor KCursor::ibeamCursor()
{
- return tqibeamCursor;
+ return TQt::ibeamCursor;
}
TQCursor KCursor::sizeVerCursor()
{
- return tqsizeVerCursor;
+ return TQt::sizeVerCursor;
}
TQCursor KCursor::sizeHorCursor()
{
- return tqsizeHorCursor;
+ return TQt::sizeHorCursor;
}
TQCursor KCursor::sizeBDiagCursor()
{
- return tqsizeBDiagCursor;
+ return TQt::sizeBDiagCursor;
}
TQCursor KCursor::sizeFDiagCursor()
{
- return tqsizeFDiagCursor;
+ return TQt::sizeFDiagCursor;
}
TQCursor KCursor::sizeAllCursor()
{
- return tqsizeAllCursor;
+ return TQt::sizeAllCursor;
}
TQCursor KCursor::blankCursor()
{
- return tqblankCursor;
+ return TQt::blankCursor;
}
TQCursor KCursor::whatsThisCursor()
{
- return tqwhatsThisCursor;
+ return TQt::whatsThisCursor;
}
// auto-hide cursor stuff
diff --git a/tdeui/kdockwidget.cpp b/tdeui/kdockwidget.cpp
index 6e9fa0559..d423ea161 100644
--- a/tdeui/kdockwidget.cpp
+++ b/tdeui/kdockwidget.cpp
@@ -1957,7 +1957,7 @@ void KDockManager::startDrag( KDockWidget* w )
curPos = KDockWidget::DockDesktop;
dragging = true;
- TQApplication::setOverrideCursor(TQCursor(tqsizeAllCursor));
+ TQApplication::setOverrideCursor(TQCursor(TQt::sizeAllCursor));
}
void KDockManager::dragMove( KDockWidget* dw, TQPoint pos )
diff --git a/tdeui/kdockwidget_private.cpp b/tdeui/kdockwidget_private.cpp
index 0741129ff..13e5a7ea6 100644
--- a/tdeui/kdockwidget_private.cpp
+++ b/tdeui/kdockwidget_private.cpp
@@ -62,9 +62,9 @@ void KDockSplitter::activate(TQWidget *c0, TQWidget *c1)
divider->raise();
if (m_orientation == TQt::Horizontal)
- divider->setCursor(TQCursor(tqsizeVerCursor));
+ divider->setCursor(TQCursor(TQt::sizeVerCursor));
else
- divider->setCursor(TQCursor(tqsizeHorCursor));
+ divider->setCursor(TQCursor(TQt::sizeHorCursor));
divider->installEventFilter(this);
initialised= true;
diff --git a/tdeui/ktabbar.cpp b/tdeui/ktabbar.cpp
index 290e97410..01b228247 100644
--- a/tdeui/ktabbar.cpp
+++ b/tdeui/ktabbar.cpp
@@ -144,7 +144,7 @@ void KTabBar::mouseMoveEvent( TQMouseEvent *e )
TQTab *tab = selectTab( e->pos() );
if( tab && mTabReorderingEnabled ) {
mReorderStartTab = indexOf( tab->identifier() );
- grabMouse( tqsizeAllCursor );
+ grabMouse( TQt::sizeAllCursor );
return;
}
}
@@ -240,7 +240,7 @@ void KTabBar::mouseReleaseEvent( TQMouseEvent *e )
}
else {
releaseMouse();
- setCursor( tqarrowCursor );
+ setCursor( TQt::arrowCursor );
mReorderStartTab=-1;
mReorderPreviousTab=-1;
}