diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-23 12:48:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-28 12:53:42 +0900 |
commit | 1ff3e4d87b48ffc0b0f9d894ca3a4821f53cdeec (patch) | |
tree | 5b46a10a765b9e220e7b2d8a9f58952d4d23f28d | |
parent | ee1c4683a05f7557375c3bab694a0a2e144d83fb (diff) | |
download | ktorrent-r14.1.1.tar.gz ktorrent-r14.1.1.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.m4 | 6 | ||||
-rw-r--r-- | aclocal.m4 | 6 | ||||
-rw-r--r-- | plugins/webinterface/php_handler.cpp | 2 | ||||
-rw-r--r-- | plugins/webinterface/php_handler.h | 2 |
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(); } @@ -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; |