From a81ae10ca46752fba8ecbef3ef2c04d0f72c48c2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 26 Sep 2023 11:19:36 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro --- acinclude.m4 | 6 +++--- kipi-plugins/imageviewer/README | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/acinclude.m4 b/acinclude.m4 index 18c1b43..2db09a6 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1133,14 +1133,14 @@ cat >> conftest.$ac_ext <> conftest.$ac_ext <> conftest.$ac_ext < #include int main() { - QString t = "hallo"; + TQString t = "hallo"; t.fill('t'); qInitImageIO(); } diff --git a/kipi-plugins/imageviewer/README b/kipi-plugins/imageviewer/README index 6adf663..f098f95 100644 --- a/kipi-plugins/imageviewer/README +++ b/kipi-plugins/imageviewer/README @@ -57,7 +57,7 @@ On a PentiumM 1Ghz, slow 2.5 inch harddrive, I measured the following times for - preload next image to cache 690ms only after preloading is done, the next image can be displayed. -The most expensive part is instanciating a QImage(myimage) object with 690ms, which includes reading the file from the harddrive. Downscaling to screensize and converting to GL format takes around 70ms. At least on my setup, downscaling by CPU is still faster than copying a 20Mb texture to video mem and downscaling by GPU. +The most expensive part is instanciating a TQImage(myimage) object with 690ms, which includes reading the file from the harddrive. Downscaling to screensize and converting to GL format takes around 70ms. At least on my setup, downscaling by CPU is still faster than copying a 20Mb texture to video mem and downscaling by GPU. Other programs/libraries: time of loading and displaying an image SDL : 750ms -- cgit v1.2.3