summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:48:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-28 12:53:42 +0900
commit1ff3e4d87b48ffc0b0f9d894ca3a4821f53cdeec (patch)
tree5b46a10a765b9e220e7b2d8a9f58952d4d23f28d
parentee1c4683a05f7557375c3bab694a0a2e144d83fb (diff)
downloadktorrent-1ff3e4d87b48ffc0b0f9d894ca3a4821f53cdeec.tar.gz
ktorrent-1ff3e4d87b48ffc0b0f9d894ca3a4821f53cdeec.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 fd7a4086a1171a02553077f919d373048aa62327)
-rw-r--r--acinclude.m46
-rw-r--r--aclocal.m46
-rw-r--r--plugins/webinterface/php_handler.cpp2
-rw-r--r--plugins/webinterface/php_handler.h2
4 files changed, 8 insertions, 8 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/aclocal.m4 b/aclocal.m4
index 6910dd1..ef3f5bb 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1145,14 +1145,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
@@ -4702,7 +4702,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/plugins/webinterface/php_handler.cpp b/plugins/webinterface/php_handler.cpp
index cd8fd63..b8315ba 100644
--- a/plugins/webinterface/php_handler.cpp
+++ b/plugins/webinterface/php_handler.cpp
@@ -101,7 +101,7 @@ namespace kt
return launch(data);
}
- bool PhpHandler::containsDelimiters(const QString & str)
+ bool PhpHandler::containsDelimiters(const TQString & str)
{
return str.contains("\"") || str.contains("'");
}
diff --git a/plugins/webinterface/php_handler.h b/plugins/webinterface/php_handler.h
index e3cdb86..e817b51 100644
--- a/plugins/webinterface/php_handler.h
+++ b/plugins/webinterface/php_handler.h
@@ -48,7 +48,7 @@ namespace kt
void finished();
private:
- bool containsDelimiters(const QString & str);
+ bool containsDelimiters(const TQString & str);
private:
TQByteArray output;