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-27 10:52:12 +0900 |
commit | a078a9c294f56e3bbda7b8a6e26a6d6abe217453 (patch) | |
tree | 08eead5cd139c53a55570a7b3f69740ed23841be | |
parent | 826ee7e96a359f237d2364b6acb2847e7c68d9c1 (diff) | |
download | kipi-plugins-a078a9c294f56e3bbda7b8a6e26a6d6abe217453.tar.gz kipi-plugins-a078a9c294f56e3bbda7b8a6e26a6d6abe217453.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a81ae10ca46752fba8ecbef3ef2c04d0f72c48c2)
-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 |