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-27 11:06:45 +0900
commitfd7a4086a1171a02553077f919d373048aa62327 (patch)
tree8390e5d3d52f3ae1180b40f512db31843c5b7a69
parent6c59a8b0157d3c11bcbb020a89e2efdf0e0c77fe (diff)
downloadktorrent-fd7a4086a1171a02553077f919d373048aa62327.tar.gz
ktorrent-fd7a4086a1171a02553077f919d373048aa62327.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.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;