summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-06-03 11:17:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-06-03 11:17:13 +0900
commit1c79e9f894674ffa87cb10d0a218fae8d9feda7f (patch)
tree3f93cb186b74281ffe47d40199b55a569015975f
parent21cd206930efb1aa7cf97b150e9f29d9a8814bfc (diff)
downloadtqtinterface-1c79e9f8.tar.gz
tqtinterface-1c79e9f8.zip
Drop Qt2 obsolete classes
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--qtinterface/CMakeLists.txt6
-rwxr-xr-xqtinterface/convert_qt_tqt16
-rw-r--r--qtinterface/interface_tqt3/tqarray.h31
-rw-r--r--qtinterface/interface_tqt3/tqcollection.h31
-rw-r--r--qtinterface/interface_tqt3/tqqueue.h31
5 files changed, 3 insertions, 102 deletions
diff --git a/qtinterface/CMakeLists.txt b/qtinterface/CMakeLists.txt
index fa7dbe1..083f9f4 100644
--- a/qtinterface/CMakeLists.txt
+++ b/qtinterface/CMakeLists.txt
@@ -56,15 +56,15 @@ install( FILES
${IFACE}/tqtextedit.h ${IFACE}/tqtextview.h ${IFACE}/tqtimer.h ${IFACE}/tqtoolbar.h ${IFACE}/tqtoolbox.h ${IFACE}/tqtoolbutton.h
${IFACE}/tqtooltip.h ${IFACE}/tqtranslator.h ${IFACE}/tqurloperator.h ${IFACE}/tqvalidator.h ${IFACE}/tqvbox.h
${IFACE}/tqvbuttongroup.h ${IFACE}/tqvgroupbox.h ${IFACE}/tqwidget.h ${IFACE}/tqwidgetplugin.h ${IFACE}/tqwidgetstack.h
- ${IFACE}/tqwindowsstyle.h ${IFACE}/tqwizard.h ${IFACE}/tqworkspace.h ${IFACE}/tqapp.h ${IFACE}/tqarray.h ${IFACE}/tqassistantclient.h
- ${IFACE}/tqbitarry.h ${IFACE}/tqbttngrp.h ${IFACE}/tqchkbox.h ${IFACE}/tqclipbrd.h ${IFACE}/tqcollect.h ${IFACE}/tqcollection.h ${IFACE}/tqcombo.h
+ ${IFACE}/tqwindowsstyle.h ${IFACE}/tqwizard.h ${IFACE}/tqworkspace.h ${IFACE}/tqapp.h ${IFACE}/tqassistantclient.h
+ ${IFACE}/tqbitarry.h ${IFACE}/tqbttngrp.h ${IFACE}/tqchkbox.h ${IFACE}/tqclipbrd.h ${IFACE}/tqcollect.h ${IFACE}/tqcombo.h
${IFACE}/tqconfig.h ${IFACE}/tqconnect.h ${IFACE}/tqdatetm.h ${IFACE}/tqdrawutl.h ${IFACE}/tqdstream.h ${IFACE}/tqfeatures.h
${IFACE}/tqfiledef.h ${IFACE}/tqfiledlg.h ${IFACE}/tqfileinf.h ${IFACE}/tqfontinf.h ${IFACE}/tqfontmet.h ${IFACE}/tqgbkcodec.h
${IFACE}/tqgeneric.h ${IFACE}/tqgif.h ${IFACE}/tqglobal.h ${IFACE}/tqgrpbox.h ${IFACE}/tqintcach.h ${IFACE}/tqiodev.h ${IFACE}/tqjpegio.h
${IFACE}/tqkeycode.h ${IFACE}/tqlined.h ${IFACE}/tqmenudta.h ${IFACE}/tqmetaobj.h ${IFACE}/tqmlined.h ${IFACE}/tqmngio.h
${IFACE}/tqmodules.h ${IFACE}/tqmsgbox.h ${IFACE}/tqmultilinedit.h ${IFACE}/tqnetwork.h ${IFACE}/tqobjcoll.h ${IFACE}/tqobjdefs.h
${IFACE}/tqpdevmet.h ${IFACE}/tqpmcache.h ${IFACE}/tqpntarry.h ${IFACE}/tqpopmenu.h
- ${IFACE}/tqprndlg.h ${IFACE}/tqprogbar.h ${IFACE}/tqprogdlg.h ${IFACE}/tqpushbt.h ${IFACE}/tqqueue.h ${IFACE}/tqradiobt.h ${IFACE}/tqrangect.h
+ ${IFACE}/tqprndlg.h ${IFACE}/tqprogbar.h ${IFACE}/tqprogdlg.h ${IFACE}/tqpushbt.h ${IFACE}/tqradiobt.h ${IFACE}/tqrangect.h
${IFACE}/tqscrbar.h ${IFACE}/tqsession.h ${IFACE}/tqsocknot.h ${IFACE}/tqtabdlg.h ${IFACE}/tqtstream.h
${IFACE}/tqwidcoll.h ${IFACE}/tqwindefs.h ${IFACE}/tqwindowdefs.h ${IFACE}/tqwinexport.h
${IFACE}/tqabstractlayout.h ${IFACE}/tqasciicache.h ${IFACE}/tqasciidict.h ${IFACE}/tqasyncimageio.h ${IFACE}/tqbig5codec.h
diff --git a/qtinterface/convert_qt_tqt1 b/qtinterface/convert_qt_tqt1
index c3b0035..b075b0f 100755
--- a/qtinterface/convert_qt_tqt1
+++ b/qtinterface/convert_qt_tqt1
@@ -12,8 +12,6 @@ find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qapp\.h/\1tqapp\.h/g' {} \
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qapp\.h/\1tqapp\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qapplication\.h/\1tqapplication\.h/g' {} \;
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qapplication\.h/\1tqapplication\.h/g' {} \;
-find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qarray\.h/\1tqarray\.h/g' {} \;
-find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qarray\.h/\1tqarray\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qasciicache\.h/\1tqasciicache\.h/g' {} \;
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qasciicache\.h/\1tqasciicache\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qasciidict\.h/\1tqasciidict\.h/g' {} \;
@@ -58,8 +56,6 @@ find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qclipbrd\.h/\1tqclipbrd\.h
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qclipbrd\.h/\1tqclipbrd\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcollect\.h/\1tqcollect\.h/g' {} \;
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcollect\.h/\1tqcollect\.h/g' {} \;
-find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcollection\.h/\1tqcollection\.h/g' {} \;
-find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcollection\.h/\1tqcollection\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcolordialog\.h/\1tqcolordialog\.h/g' {} \;
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qcolordialog\.h/\1tqcolordialog\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qcolor\.h/\1tqcolor\.h/g' {} \;
@@ -410,8 +406,6 @@ find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpushbt\.h/\1tqpushbt\.h/g
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpushbt\.h/\1tqpushbt\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qpushbutton\.h/\1tqpushbutton\.h/g' {} \;
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qpushbutton\.h/\1tqpushbutton\.h/g' {} \;
-find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qqueue\.h/\1tqqueue\.h/g' {} \;
-find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qqueue\.h/\1tqqueue\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qradiobt\.h/\1tqradiobt\.h/g' {} \;
find ./ -type f -iname "*.h*" -exec sed -i 's/\([^t]\)qradiobt\.h/\1tqradiobt\.h/g' {} \;
find ./ -type f -iname "*.c*" -exec sed -i 's/\([^t]\)qradiobutton\.h/\1tqradiobutton\.h/g' {} \;
diff --git a/qtinterface/interface_tqt3/tqarray.h b/qtinterface/interface_tqt3/tqarray.h
deleted file mode 100644
index 55c721e..0000000
--- a/qtinterface/interface_tqt3/tqarray.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-
-Copyright (C) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public
-License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with this library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-Boston, MA 02110-1301, USA.
-
-*/
-
-#ifndef TQT_TQARRAY_H
-#define TQT_TQARRAY_H
-
-#include <tqt.h>
-
-// Pull in tqmemarray defines
-
-#include <ntqmemarray.h>
-
-#endif /* TQT_TQARRAY_H */
diff --git a/qtinterface/interface_tqt3/tqcollection.h b/qtinterface/interface_tqt3/tqcollection.h
deleted file mode 100644
index cf02bb2..0000000
--- a/qtinterface/interface_tqt3/tqcollection.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-
-Copyright (C) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public
-License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with this library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-Boston, MA 02110-1301, USA.
-
-*/
-
-#ifndef TQT_TQCOLLECTION_H
-#define TQT_TQCOLLECTION_H
-
-#include <tqt.h>
-
-// Pull in all qptrcollection defines
-
-#include <ntqptrcollection.h>
-
-#endif /* TQT_TQCOLLECTION_H */
diff --git a/qtinterface/interface_tqt3/tqqueue.h b/qtinterface/interface_tqt3/tqqueue.h
deleted file mode 100644
index 42d16eb..0000000
--- a/qtinterface/interface_tqt3/tqqueue.h
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
-
-Copyright (C) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
-
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public
-License as published by the Free Software Foundation; either
-version 2 of the License, or (at your option) any later version.
-
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-Library General Public License for more details.
-
-You should have received a copy of the GNU Library General Public License
-along with this library; see the file COPYING.LIB. If not, write to
-the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-Boston, MA 02110-1301, USA.
-
-*/
-
-#ifndef TQT_TQQUEUE_H
-#define TQT_TQQUEUE_H
-
-#include <tqt.h>
-
-// Pull in tqptrqueue defines
-
-#include <ntqptrqueue.h>
-
-#endif /* TQT_TQQUEUE_H */