diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 11:19:36 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-26 11:19:36 +0900 |
commit | a81ae10ca46752fba8ecbef3ef2c04d0f72c48c2 (patch) | |
tree | ddd35d7635abc7005efab1e2c2bc2928c8a9e4af | |
parent | 01d7811b05fedb1a6260f948772f408f6cdfbc8e (diff) | |
download | kipi-plugins-a81ae10ca46752fba8ecbef3ef2c04d0f72c48c2.tar.gz kipi-plugins-a81ae10ca46752fba8ecbef3ef2c04d0f72c48c2.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | acinclude.m4 | 6 | ||||
-rw-r--r-- | 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 <<EOF EOF if test $kde_qtsubver -gt 0; then cat >> conftest.$ac_ext <<EOF - QString s; + TQString s; s.setLatin1("Elvis is alive", 14); EOF fi fi if test "$kde_qtver" = "3"; then cat >> conftest.$ac_ext <<EOF - (void)QStyleFactory::create(QString::null); + (void)QStyleFactory::create(TQString::null); QCursor c(Qt::WhatsThisCursor); EOF fi @@ -4690,7 +4690,7 @@ AC_TRY_RUN(dnl #include <qimageio.h> #include <qstring.h> 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 |