summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 11:34:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 11:34:49 +0900
commite56542853a5f4fd84468860bfc4eb48f42937bb1 (patch)
treec27c322ed71514aafeb51066b7dbb216729777f8
parent61b3d7216985ba2315f56a59f5c010e92fb5e645 (diff)
downloadksquirrel-e56542853a5f4fd84468860bfc4eb48f42937bb1.tar.gz
ksquirrel-e56542853a5f4fd84468860bfc4eb48f42937bb1.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--README2
-rw-r--r--acinclude.m46
-rw-r--r--fmt_filters_README2
-rw-r--r--ksquirrel/ksquirrel-libs-configurator/klc.ui2
-rw-r--r--ksquirrel/ksquirrelpart/sq_imageproperties.ui2
5 files changed, 7 insertions, 7 deletions
diff --git a/README b/README
index bcc579e..2c8d778 100644
--- a/README
+++ b/README
@@ -15,7 +15,7 @@ Here is some history :)
In November 2003, testing long time other programs on my collection of images,
I've found an awful thing - any of programs could not show ALL images.
There was no support 32-bit BMP, TGA, animated GIF, PSD, etc. Any of them does not use the
-most advanced libraries for decoding images, and use either imlib, or QImage::load().
+most advanced libraries for decoding images, and use either imlib, or TQImage::load().
Having become dissapointed, I've decided to write the image viewer with the flexible
architecture. Birthday for KSquirrel - on December 10, 2003.
diff --git a/acinclude.m4 b/acinclude.m4
index 2080a9c..dc1ef4f 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
@@ -4664,7 +4664,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/fmt_filters_README b/fmt_filters_README
index 72f0e8a..40882e0 100644
--- a/fmt_filters_README
+++ b/fmt_filters_README
@@ -151,7 +151,7 @@ ImageMagick Studio.
Qt example:
-----------
-QImage im;
+TQImage im;
im.load("sample.png");
diff --git a/ksquirrel/ksquirrel-libs-configurator/klc.ui b/ksquirrel/ksquirrel-libs-configurator/klc.ui
index 448a464..e3e7ab0 100644
--- a/ksquirrel/ksquirrel-libs-configurator/klc.ui
+++ b/ksquirrel/ksquirrel-libs-configurator/klc.ui
@@ -169,7 +169,7 @@
<variables>
<variable access="private">KURL base, backup;</variable>
<variable access="private">KDirLister *lister;</variable>
- <variable access="private">QString backupDir;</variable>
+ <variable access="private">TQString backupDir;</variable>
<variable access="private">bool changed;</variable>
</variables>
<Q_SLOTS>
diff --git a/ksquirrel/ksquirrelpart/sq_imageproperties.ui b/ksquirrel/ksquirrelpart/sq_imageproperties.ui
index d09a4cd..f707e66 100644
--- a/ksquirrel/ksquirrelpart/sq_imageproperties.ui
+++ b/ksquirrel/ksquirrelpart/sq_imageproperties.ui
@@ -940,7 +940,7 @@
</forwards>
<variables>
<variable access="private">KURL url;</variable>
- <variable access="private">QWidget *kew;</variable>
+ <variable access="private">TQWidget *kew;</variable>
<variable access="private">TQPixmap ok, error;</variable>
<variable access="private">TDEPopupMenu *menu;</variable>
<variable access="private">TQListViewItem *data;</variable>