diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-15 23:47:11 +0900 |
commit | 303b6445011a6ed10c48ac6e1eda415e5c371264 (patch) | |
tree | aded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeui/tests/khashtest.cpp | |
parent | 141ced0c41af8726eedac425ea24cd162bcff862 (diff) | |
download | tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdeui/tests/khashtest.cpp')
-rw-r--r-- | tdeui/tests/khashtest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tests/khashtest.cpp b/tdeui/tests/khashtest.cpp index d392fcbc5..d2829606e 100644 --- a/tdeui/tests/khashtest.cpp +++ b/tdeui/tests/khashtest.cpp @@ -21,7 +21,7 @@ void KHashWidget::paintEvent(TQPaintEvent * /*ev*/) pix.resize(width()/cols, height()/rows); TQPainter p(this); - p.setPen(Qt::white); + p.setPen(TQt::white); // draw once, so that the benchmarking be fair :-) KPixmapEffect::gradient(pix,ca, cb, KPixmapEffect::VerticalGradient); @@ -86,9 +86,9 @@ void KHashWidget::paintEvent(TQPaintEvent * /*ev*/) pix.resize(width()/cols, height()/rows); say.setNum( ft - it); say += " ms, CrossDiagonal"; p.drawPixmap(x*width()/cols, y*height()/rows, pix); - p.setPen(Qt::blue); + p.setPen(TQt::blue); p.drawText(5+(x++)*width()/cols, 15+y*height()/rows, say); - p.setPen(Qt::white); + p.setPen(TQt::white); y++; // next row |