summaryrefslogtreecommitdiffstats
path: root/tdehtml
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:48:33 +0900
committerMichele Calgaro <[email protected]>2023-12-05 12:00:58 +0900
commitaf8caeadf368a17dabd9f53d4c661213c840eebd (patch)
tree6b01a0c8e9b8bbf98871807acf53d7bfb2a5b0a5 /tdehtml
parent553b705008a60b557c076391bc6ee199eef1a708 (diff)
downloadtdelibs-af8caeadf368a17dabd9f53d4c661213c840eebd.tar.gz
tdelibs-af8caeadf368a17dabd9f53d4c661213c840eebd.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 44e712a770ad0ab59d33790a80b5f6235cff6921)
Diffstat (limited to 'tdehtml')
-rw-r--r--tdehtml/tdehtmlview.cpp4
-rw-r--r--tdehtml/xml/dom_docimpl.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/tdehtml/tdehtmlview.cpp b/tdehtml/tdehtmlview.cpp
index b3d3d2579..5a3e1ffc1 100644
--- a/tdehtml/tdehtmlview.cpp
+++ b/tdehtml/tdehtmlview.cpp
@@ -2951,7 +2951,7 @@ void TDEHTMLView::print(bool quick)
d->paged = false;
tdehtml::setPrintPainter( 0 );
setMediaType( oldMediaType );
- m_part->xmlDocImpl()->setPaintDevice( TQT_TQPAINTDEVICE(this) );
+ m_part->xmlDocImpl()->setPaintDevice( this );
m_part->xmlDocImpl()->styleSelector()->computeFontSizes(m_part->xmlDocImpl()->paintDeviceMetrics(), m_part->zoomFactor());
m_part->xmlDocImpl()->updateStyleSelector();
viewport()->unsetCursor();
@@ -3002,7 +3002,7 @@ void TDEHTMLView::paint(TQPainter *p, const TQRect &rc, int yOff, bool *more)
root->setPagedMode(false);
root->setStaticMode(false);
- m_part->xmlDocImpl()->setPaintDevice( TQT_TQPAINTDEVICE(this) );
+ m_part->xmlDocImpl()->setPaintDevice( this );
}
diff --git a/tdehtml/xml/dom_docimpl.cpp b/tdehtml/xml/dom_docimpl.cpp
index 1841f4e4f..c6dca1096 100644
--- a/tdehtml/xml/dom_docimpl.cpp
+++ b/tdehtml/xml/dom_docimpl.cpp
@@ -308,7 +308,7 @@ DocumentImpl::DocumentImpl(DOMImplementationImpl *_implementation, TDEHTMLView *
if ( v ) {
m_docLoader = new DocLoader(v->part(), this );
- setPaintDevice( TQT_TQPAINTDEVICE(m_view) );
+ setPaintDevice( m_view );
}
else
m_docLoader = new DocLoader( 0, this );
@@ -1231,7 +1231,7 @@ void DocumentImpl::attach()
assert(!attached());
if ( m_view )
- setPaintDevice( TQT_TQPAINTDEVICE(m_view) );
+ setPaintDevice( m_view );
if (!m_renderArena)
m_renderArena.reset(new RenderArena());