summaryrefslogtreecommitdiffstats
path: root/tdehtml
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 18:14:21 +0900
commit3373b45cc2adb7d46c45c3da06f64d5db24cb468 (patch)
tree74a426e8bad30622dcab2404ec8fe66c338fc91b /tdehtml
parent0e4a5c95a4675da94170d7c8997bf14f76451e31 (diff)
downloadtdelibs-3373b45cc2adb7d46c45c3da06f64d5db24cb468.tar.gz
tdelibs-3373b45cc2adb7d46c45c3da06f64d5db24cb468.zip
Replace various tq* strings with TQt::* equivalents
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 80c2465371e5a7ab2dd6adb3c2bc32baa1c9b4ee)
Diffstat (limited to 'tdehtml')
-rw-r--r--tdehtml/tdehtml_part.cpp4
-rw-r--r--tdehtml/tdehtmlview.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/tdehtml/tdehtml_part.cpp b/tdehtml/tdehtml_part.cpp
index 47f48bfb6..3518ea1b5 100644
--- a/tdehtml/tdehtml_part.cpp
+++ b/tdehtml/tdehtml_part.cpp
@@ -5733,7 +5733,7 @@ void TDEHTMLPart::setZoomFactor (int percent)
d->m_zoomFactor = percent;
if(d->m_doc) {
- TQApplication::setOverrideCursor( tqwaitCursor );
+ TQApplication::setOverrideCursor( TQt::waitCursor );
if (d->m_doc->styleSelector())
d->m_doc->styleSelector()->computeFontSizes(d->m_doc->paintDeviceMetrics(), d->m_zoomFactor);
d->m_doc->recalcStyle( NodeImpl::Force );
@@ -5879,7 +5879,7 @@ void TDEHTMLPart::reparseConfiguration()
delete d->m_settings;
d->m_settings = new TDEHTMLSettings(*TDEHTMLFactory::defaultHTMLSettings());
- TQApplication::setOverrideCursor( tqwaitCursor );
+ TQApplication::setOverrideCursor( TQt::waitCursor );
tdehtml::CSSStyleSelector::reparseConfiguration();
if(d->m_doc) d->m_doc->updateStyleSelector();
TQApplication::restoreOverrideCursor();
diff --git a/tdehtml/tdehtmlview.cpp b/tdehtml/tdehtmlview.cpp
index 324119805..c791f054e 100644
--- a/tdehtml/tdehtmlview.cpp
+++ b/tdehtml/tdehtmlview.cpp
@@ -2781,7 +2781,7 @@ void TDEHTMLView::print(bool quick)
if ( !docname.isEmpty() )
docname = KStringHandler::csqueeze(docname, 80);
if(quick || printer->setup(this, i18n("Print %1").arg(docname))) {
- viewport()->setCursor( tqwaitCursor ); // only viewport(), no TQApplication::, otherwise we get the busy cursor in tdeprint's dialogs
+ viewport()->setCursor( TQt::waitCursor ); // only viewport(), no TQApplication::, otherwise we get the busy cursor in tdeprint's dialogs
// set up KPrinter
printer->setFullPage(false);
printer->setCreator(TQString("TDE %1.%2.%3 HTML Library").arg(TDE_VERSION_MAJOR).arg(TDE_VERSION_MINOR).arg(TDE_VERSION_RELEASE));