Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a81ae10ca4)
r14.1.x r14.1.1
Michele Calgaro 12 months ago
parent 826ee7e96a
commit a078a9c294
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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();
}

@ -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

Loading…
Cancel
Save