From c8c5e11f05f023849896d09cf06917e9a2c016ca Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 11:54:26 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit ef06f14f2475bd08d3ea2ceec54a7b2238f3554e) --- lib/kotext/KoFontDiaPreview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/kotext/KoFontDiaPreview.cpp') diff --git a/lib/kotext/KoFontDiaPreview.cpp b/lib/kotext/KoFontDiaPreview.cpp index adf7594dc..b8ae8846c 100644 --- a/lib/kotext/KoFontDiaPreview.cpp +++ b/lib/kotext/KoFontDiaPreview.cpp @@ -392,7 +392,7 @@ void KoFontDiaPreview::drawUnderlineWave( int x, int y, int width, int thickness p->save(); int offset = 2 * thickness; TQPen pen(color, thickness, TQt::SolidLine); - pen.setCapStyle(Qt::RoundCap); + pen.setCapStyle(TQt::RoundCap); p->setPen(pen); double anc=acos(1.0-2*(static_cast(offset-(x)%offset)/static_cast(offset)))/3.1415*180; int pos=1; -- cgit v1.2.3