parent
e9596b5b63
commit
c753c65cf7
@ -1,7 +1,3 @@
|
|||||||
#MIN_CONFIG
|
#MIN_CONFIG
|
||||||
|
|
||||||
AC_ARG_ENABLE(qt4support, [ --enable-qt4 Enable Qt4 support (this will disable all Qt3 support) ], with_qt4support=$enableval, with_qt4support=no)
|
|
||||||
AM_CONDITIONAL(USE_QT3, test "$with_qt4support" = "no")
|
|
||||||
AM_CONDITIONAL(USE_QT4, test "$with_qt4support" = "yes")
|
|
||||||
|
|
||||||
AC_PATH_PROGS(MD5SUM, [md5sum gmd5sum], [md5sum])
|
AC_PATH_PROGS(MD5SUM, [md5sum gmd5sum], [md5sum])
|
@ -1,35 +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_TQCOM_P_H
|
|
||||||
#define TQT_TQCOM_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qcom_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOM_P_H */
|
|
@ -1,40 +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_TQEFFECTS_P_H
|
|
||||||
#define TQT_TQEFFECTS_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QUComExtra_P class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qeffects_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQEFFECTS_P_H */
|
|
@ -1,40 +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_TQINTERNAL_P_H
|
|
||||||
#define TQT_TQINTERNAL_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSharedDoubleBuffer class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qinternal_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQINTERNAL_P_H */
|
|
@ -1,36 +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_TQLAYOUTENGINE_P_H
|
|
||||||
#define TQT_TQLAYOUTENGINE_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QUComExtra_P class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qlayoutengine_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#endif /* TQT_TQLAYOUTENGINE_P_H */
|
|
@ -1,35 +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_TQPLUGINMANAGER_P_H
|
|
||||||
#define TQT_TQPLUGINMANAGER_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qpluginmanager_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#endif /* TQT_TQPLUGINMANAGER_P_H */
|
|
@ -1,40 +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_TQRICHTEXT_P_H
|
|
||||||
#define TQT_TQRICHTEXT_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSharedDoubleBuffer class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qrichtext_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQRICHTEXT_P_H */
|
|
@ -1,40 +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_TQTEXTENGINE_P_H
|
|
||||||
#define TQT_TQTEXTENGINE_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSharedDoubleBuffer class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qtextengine_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQTEXTENGINE_P_H */
|
|
@ -1,35 +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_TQUCOM_P_H
|
|
||||||
#define TQT_TQUCOM_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qucom_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#endif /* TQT_TQUCOM_P_H */
|
|
@ -1,27 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <private/tqucomextra_p.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,48 +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_TQUCOMEXTRA_P_H
|
|
||||||
#define TQT_TQUCOMEXTRA_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QUComExtra_P class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qucomextra_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QUComExtra_P class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
class QUObject: public QObject {
|
|
||||||
public:
|
|
||||||
// bool qt_invoke();
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQUCOMEXTRA_P_H */
|
|
@ -1,35 +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_TQWIDGETINTERFACE_P_H
|
|
||||||
#define TQT_TQWIDGETINTERFACE_P_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <private/qwidgetinterface_p.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#endif /* TQT_TQWIDGETINTERFACE_P_H */
|
|
@ -1,24 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
#
|
|
||||||
# Very simple moc wrapper, for using with cmake
|
|
||||||
#
|
|
||||||
|
|
||||||
if [ -f @BIN_INSTALL_DIR@/tqt-replace-stream ]; then
|
|
||||||
if [ -z "$1" ]; then
|
|
||||||
echo "Usage: tmoc <input_file> -o <out_file>"
|
|
||||||
else
|
|
||||||
input_file="$1"
|
|
||||||
out_file="$3"
|
|
||||||
@BIN_INSTALL_DIR@/tqt-replace-stream "${input_file}" | \
|
|
||||||
@MOC_EXECUTABLE@ | \
|
|
||||||
sed "/#include <qmetaobject.h>/ i\\
|
|
||||||
#undef QT_NO_COMPAT\\
|
|
||||||
#include \"${input_file}\"\\
|
|
||||||
" \
|
|
||||||
> "${out_file}"
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
echo "ERROR: @BIN_INSTALL_DIR@/tqt-replace-stream is not available. tmoc will fail!"
|
|
||||||
exit 1;
|
|
||||||
fi
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqabstractlayout.h>
|
|
@ -1,39 +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_TQABSTRACTLAYOUT_H
|
|
||||||
#define TQT_TQABSTRACTLAYOUT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
#include <qabstractlayout.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
//#include <Qt/qabstractlayout.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQABSTRACTLAYOUT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqaccel.h>
|
|
@ -1,45 +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_TQACCEL_H
|
|
||||||
#define TQT_TQACCEL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAccel class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qaccel.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAccel class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3accel.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQACCEL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqaccessible.h>
|
|
@ -1,45 +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_TQACCESSIBLE_H
|
|
||||||
#define TQT_TQACCESSIBLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAccessible class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qaccessible.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAccessible class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qaccessible.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQACCESSIBLE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqaction.h>
|
|
@ -1,46 +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_TQACTION_H
|
|
||||||
#define TQT_TQACTION_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqobject.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAction class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qaction.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAction class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qaction.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQACTION_H */
|
|
@ -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_TQAPP_H
|
|
||||||
#define TQT_TQAPP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqapplication defines
|
|
||||||
|
|
||||||
#include <tqapplication.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQAPP_H */
|
|
@ -1,70 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqapplication.h>
|
|
||||||
|
|
||||||
#include <X11/X.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
extern Time qt_x_time;
|
|
||||||
extern Time qt_x_user_time;
|
|
||||||
|
|
||||||
void set_tqt_x_time(unsigned long x) {
|
|
||||||
qt_x_time = x;
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned long get_tqt_x_time(void) {
|
|
||||||
return qt_x_time;
|
|
||||||
}
|
|
||||||
|
|
||||||
void set_tqt_x_user_time(unsigned long x) {
|
|
||||||
qt_x_user_time = x;
|
|
||||||
}
|
|
||||||
|
|
||||||
unsigned long get_tqt_x_user_time(void) {
|
|
||||||
return qt_x_user_time;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// void QApplication::processOneEvent()
|
|
||||||
// {
|
|
||||||
// #warning "!!! WARNING: QApplication::processOneEvent() UNIMPLEMENTED !!!"
|
|
||||||
// }
|
|
||||||
|
|
||||||
TQEventLoop *QApplication::eventLoop()
|
|
||||||
{
|
|
||||||
return TQEventLoop::eventLoop();
|
|
||||||
}
|
|
||||||
|
|
||||||
void QApplication::installTranslator( QTranslator * mf )
|
|
||||||
{
|
|
||||||
#warning "!!! WARNING: QApplication::installTranslator() UNIMPLEMENTED !!!"
|
|
||||||
}
|
|
||||||
|
|
||||||
void QApplication::removeTranslator( QTranslator * mf )
|
|
||||||
{
|
|
||||||
#warning "!!! WARNING: QApplication::removeTranslator() UNIMPLEMENTED !!!"
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,52 +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_TQAPPLICATION_H
|
|
||||||
#define TQT_TQAPPLICATION_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqasciidict.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QApplication class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qapplication.h>
|
|
||||||
|
|
||||||
// X11/X.h defines Time as unsigned long
|
|
||||||
void set_tqt_x_time(unsigned long x);
|
|
||||||
unsigned long get_tqt_x_time(void);
|
|
||||||
void set_tqt_x_user_time(unsigned long x);
|
|
||||||
unsigned long get_tqt_x_user_time(void);
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QApplication class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qapplication.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQAPPLICATION_H */
|
|
@ -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 <tqmemarray.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQARRAY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqasciicache.h>
|
|
@ -1,45 +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_TQASCIICACHE_H
|
|
||||||
#define TQT_TQASCIICACHE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAsciiCache class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qasciicache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAsciiCache class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3asciicache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQASCIICACHE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqasciidict.h>
|
|
@ -1,45 +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_TQASCIIDICT_H
|
|
||||||
#define TQT_TQASCIIDICT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAsciiDict class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qasciidict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAsciiDict class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3asciidict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQASCIIDICT_H */
|
|
@ -1,26 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqassistantclient.h>
|
|
||||||
|
|
||||||
// Force this library to link against qassistantclient
|
|
||||||
//QAssistantClient myClient;
|
|
@ -1,33 +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_TQASSISTANTCLIENT_H
|
|
||||||
#define TQT_TQASSISTANTCLIENT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
#include <qassistantclient.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#endif /* TQT_TQASSISTANTCLIENT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqasyncimageio.h>
|
|
@ -1,43 +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_TQASYNCIMAGEIO_H
|
|
||||||
#define TQT_TQASYNCIMAGEIO_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAsyncImageIO class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qasyncimageio.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAsyncImageIO class
|
|
||||||
// For Qt4, this class no longer exists!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQASYNCIMAGEIO_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqasyncio.h>
|
|
@ -1,44 +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_TQASYNCIO_H
|
|
||||||
#define TQT_TQASYNCIO_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqtimer.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAsyncIO class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qasyncio.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAsyncIO class
|
|
||||||
// For Qt4, this class no longer exists!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQASYNCIO_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqbig5codec.h>
|
|
@ -1,43 +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_TQQBIG5CODEC_H
|
|
||||||
#define TQT_TQQBIG5CODEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QBig5Codec class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qbig5codec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QBig5Codec class
|
|
||||||
// For Qt4, this class no longer exists!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQQBIG5CODEC_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqbitarray.h>
|
|
@ -1,45 +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_TQBITARRAY_H
|
|
||||||
#define TQT_TQBITARRAY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QBitArray class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qbitarray.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QBitArray class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qbitarray.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQBITARRAY_H */
|
|
@ -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_TQBITARRY_H
|
|
||||||
#define TQT_TQBITARRY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdatastream.h>
|
|
||||||
|
|
||||||
// Pull in tqbitarry defines
|
|
||||||
#include <tqbitarry.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQBITARRY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqbitmap.h>
|
|
@ -1,45 +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_TQBITMAP_H
|
|
||||||
#define TQT_TQBITMAP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QBitmap class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qbitmap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QBitmap class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qbitmap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQBITMAP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqbrush.h>
|
|
@ -1,45 +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_TQBRUSH_H
|
|
||||||
#define TQT_TQBRUSH_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QBrush class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qbrush.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QBrush class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qbrush.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQBRUSH_H */
|
|
@ -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_TQBTTNGRP_H
|
|
||||||
#define TQT_TQBTTNGRP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all buttongroup defines
|
|
||||||
|
|
||||||
#include <tqbuttongroup.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQBTTNGRP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqbuffer.h>
|
|
@ -1,45 +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_TQBUFFER_H
|
|
||||||
#define TQT_TQBUFFER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QBuffer class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qbuffer.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QBuffer class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qbuffer.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQBUFFER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqbutton.h>
|
|
@ -1,45 +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_TQBUTTON_H
|
|
||||||
#define TQT_TQBUTTON_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QButton class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qbutton.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QButton class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3button.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQBUTTON_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqbuttongroup.h>
|
|
@ -1,45 +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_TQBUTTONGROUP_H
|
|
||||||
#define TQT_TQBUTTONGROUP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QButtonGroup class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qbuttongroup.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QButtonGroup class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3buttongroup.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQBUTTONGROUP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcache.h>
|
|
@ -1,45 +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_TQCACHE_H
|
|
||||||
#define TQT_TQCACHE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QCache class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QCache class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3cache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCACHE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcanvas.h>
|
|
@ -1,45 +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_TQCANVAS_H
|
|
||||||
#define TQT_TQCANVAS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QCanvas class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcanvas.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QCanvas class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3canvas.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCANVAS_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcdestyle.h>
|
|
@ -1,45 +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_TQCDESTYLE_H
|
|
||||||
#define TQT_TQCDESTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QCDEStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcdestyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QCDEStyle class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qcdestyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCDESTYLE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcheckbox.h>
|
|
@ -1,45 +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_TQCHECKBOX_H
|
|
||||||
#define TQT_TQCHECKBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the TQCheckBox class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcheckbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the TQCheckBox class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qcheckbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCHECKBOX_H */
|
|
@ -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_TQCHKBOX_H
|
|
||||||
#define TQT_TQCHKBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all checkbox defines
|
|
||||||
|
|
||||||
#include <tqcheckbox.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQCHKBOX_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcleanuphandler.h>
|
|
@ -1,131 +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_TQCLEANUPHANDLER_H
|
|
||||||
#define TQT_TQCLEANUPHANDLER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QCleanupHandler class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcleanuphandler.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QCleanupHandler class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
//#include <Qt/qcleanuphandler.h>
|
|
||||||
|
|
||||||
#include "tqptrlist.h"
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
class TQCleanupHandler
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQCleanupHandler() : cleanupObjects( 0 ) {}
|
|
||||||
~TQCleanupHandler() { clear(); }
|
|
||||||
|
|
||||||
Type* add( Type **object ) {
|
|
||||||
if ( !cleanupObjects )
|
|
||||||
cleanupObjects = new Q3PtrList<Type*>;
|
|
||||||
cleanupObjects->insert( 0, object );
|
|
||||||
return *object;
|
|
||||||
}
|
|
||||||
|
|
||||||
void remove( Type **object ) {
|
|
||||||
if ( !cleanupObjects )
|
|
||||||
return;
|
|
||||||
if ( cleanupObjects->findRef( object ) >= 0 )
|
|
||||||
(void) cleanupObjects->take();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isEmpty() const {
|
|
||||||
return cleanupObjects ? cleanupObjects->isEmpty() : TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
void clear() {
|
|
||||||
if ( !cleanupObjects )
|
|
||||||
return;
|
|
||||||
Q3PtrListIterator<Type*> it( *cleanupObjects );
|
|
||||||
Type **object;
|
|
||||||
while ( ( object = it.current() ) ) {
|
|
||||||
delete *object;
|
|
||||||
*object = 0;
|
|
||||||
cleanupObjects->remove( object );
|
|
||||||
}
|
|
||||||
delete cleanupObjects;
|
|
||||||
cleanupObjects = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
Q3PtrList<Type*> *cleanupObjects;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
class TQSingleCleanupHandler
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQSingleCleanupHandler() : object( 0 ) {}
|
|
||||||
~TQSingleCleanupHandler() {
|
|
||||||
if ( object ) {
|
|
||||||
delete *object;
|
|
||||||
*object = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Type* set( Type **o ) {
|
|
||||||
object = o;
|
|
||||||
return *object;
|
|
||||||
}
|
|
||||||
void reset() { object = 0; }
|
|
||||||
private:
|
|
||||||
Type **object;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<class Type>
|
|
||||||
class TQSharedCleanupHandler
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQSharedCleanupHandler() : object( 0 ) {}
|
|
||||||
~TQSharedCleanupHandler() {
|
|
||||||
if ( object ) {
|
|
||||||
if ( (*object)->deref() )
|
|
||||||
delete *object;
|
|
||||||
*object = 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Type* set( Type **o ) {
|
|
||||||
object = o;
|
|
||||||
return *object;
|
|
||||||
}
|
|
||||||
void reset() { object = 0; }
|
|
||||||
private:
|
|
||||||
Type **object;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCLEANUPHANDLER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqclipboard.h>
|
|
@ -1,45 +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_TQCLIPBOARD_H
|
|
||||||
#define TQT_TQCLIPBOARD_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QClipboard class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qclipboard.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QClipboard class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qclipboard.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCLIPBOARD_H */
|
|
@ -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_TQCLIPBRD_H
|
|
||||||
#define TQT_TQCLIPBRD_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all clipboard defines
|
|
||||||
|
|
||||||
#include <tqclipboard.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQCLIPBRD_H */
|
|
@ -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_TQCOLLECT_H
|
|
||||||
#define TQT_TQCOLLECT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all qptrcollection defines
|
|
||||||
|
|
||||||
#include <tqptrcollection.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOLLECT_H */
|
|
@ -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 <tqptrcollection.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOLLECTION_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcolor.h>
|
|
@ -1,45 +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_TQCOLOR_H
|
|
||||||
#define TQT_TQCOLOR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QColor class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcolor.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QColor class
|
|
||||||
// For Qt4, no changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qcolor.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOLOR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcolordialog.h>
|
|
@ -1,45 +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_TQCOLORDIALOG_H
|
|
||||||
#define TQT_TQCOLORDIALOG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QColorDialog class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcolordialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QColorDialog class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qcolordialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOLORDIALOG_H */
|
|
@ -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_TQCOMBO_H
|
|
||||||
#define TQT_TQCOMBO_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all combo box defines
|
|
||||||
|
|
||||||
#include <tqcombobox.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOMBO_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcombobox.h>
|
|
@ -1,45 +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_TQCOMBOBOX_H
|
|
||||||
#define TQT_TQCOMBOBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QComboBox class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcombobox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QComboBox class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qcombobox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOMBOBOX_H */
|
|
@ -1,95 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcommonstyle.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// void QCommonStyle::drawPrimitive(ControlElement element, const QStyleOption *opt, QPainter *p, const QWidget *w) const {
|
|
||||||
// drawControl(element, opt, p, w);
|
|
||||||
// }
|
|
||||||
|
|
||||||
void QCommonStyle::drawPrimitive( PrimitiveElement pe,
|
|
||||||
Q3Painter *p,
|
|
||||||
const QRect &r,
|
|
||||||
const QColorGroup &cg,
|
|
||||||
SFlags flags,
|
|
||||||
const QStyleOption& opt) const {
|
|
||||||
drawPrimitive(pe, &opt, (QPainter*)p);
|
|
||||||
}
|
|
||||||
|
|
||||||
void QCommonStyle::drawControl( ControlElement element,
|
|
||||||
Q3Painter *p,
|
|
||||||
const QWidget *widget,
|
|
||||||
const QRect &r,
|
|
||||||
const QColorGroup &cg,
|
|
||||||
SFlags how,
|
|
||||||
const QStyleOption& opt) const {
|
|
||||||
|
|
||||||
drawControl(element, &opt, (QPainter*)p, widget);
|
|
||||||
}
|
|
||||||
|
|
||||||
void QCommonStyle::drawComplexControl( ComplexControl control,
|
|
||||||
Q3Painter *p,
|
|
||||||
const QWidget *widget,
|
|
||||||
const QRect &r,
|
|
||||||
const QColorGroup &cg,
|
|
||||||
SFlags how,
|
|
||||||
SCFlags sub,
|
|
||||||
SCFlags subActive,
|
|
||||||
const QStyleOption& opt ) const {
|
|
||||||
drawComplexControl(control, (QStyleOptionComplex*)&opt, (QPainter*)p, widget);
|
|
||||||
}
|
|
||||||
|
|
||||||
int QCommonStyle::styleHint(StyleHint sh, const QWidget * widget, const QStyleOption &opt, QStyleHintReturn *shret) const {
|
|
||||||
return styleHint(sh, &opt, widget, shret);
|
|
||||||
}
|
|
||||||
|
|
||||||
QPixmap QCommonStyle::stylePixmap( StandardPixmap stylepixmap, const QWidget *widget, const QStyleOption& opt) const {
|
|
||||||
return standardPixmap(stylepixmap, &opt, widget);
|
|
||||||
}
|
|
||||||
|
|
||||||
QRect QCommonStyle::querySubControlMetrics( ComplexControl control,
|
|
||||||
const QWidget *widget,
|
|
||||||
SubControl sc,
|
|
||||||
const QStyleOption& opt) const {
|
|
||||||
return subControlRect(control, (QStyleOptionComplex*)&opt, sc, widget);
|
|
||||||
}
|
|
||||||
|
|
||||||
QRect QCommonStyle::subRect( SubElement r, const QWidget *widget ) const {
|
|
||||||
QStyleOption opt = QStyleOption::SO_Default;
|
|
||||||
return subElementRect(r, &opt, widget);
|
|
||||||
}
|
|
||||||
|
|
||||||
int QCommonStyle::pixelMetric( PixelMetric m, const QWidget *widget ) const {
|
|
||||||
QStyleOption opt = QStyleOption::SO_Default;
|
|
||||||
return pixelMetric(m, &opt, widget);
|
|
||||||
}
|
|
||||||
|
|
||||||
QCommonStyle::SubControl QCommonStyle::querySubControl( ComplexControl control,
|
|
||||||
const QWidget *widget,
|
|
||||||
const QPoint &pos,
|
|
||||||
const QStyleOption& opt ) const {
|
|
||||||
return hitTestComplexControl(control, (QStyleOptionComplex*)&opt, pos, widget);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,47 +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_TQCOMMONSTYLE_H
|
|
||||||
#define TQT_TQCOMMONSTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QCommonStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcommonstyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QCommonStyle class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqstyle.h>
|
|
||||||
#include <tqt4/Qt/qcommonstyle.h>
|
|
||||||
#include <Qt/qpainter.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOMMONSTYLE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcompactstyle.h>
|
|
@ -1,43 +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_TQCOMPACTSTYLE_H
|
|
||||||
#define TQT_TQCOMPACTSTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QCompactStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcompactstyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QCompactStyle class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCOMPACTSTYLE_H */
|
|
@ -1,43 +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_TQCONFIG_H
|
|
||||||
#define TQT_TQCONFIG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in all Qt3 configuration defines
|
|
||||||
|
|
||||||
#include <qconfig.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in all Qt4 configuration defines
|
|
||||||
|
|
||||||
#include <qconfig.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCONFIG_H */
|
|
@ -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_TQCONNECT_H
|
|
||||||
#define TQT_TQCONNECT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all connection defines
|
|
||||||
|
|
||||||
#include <tqconnection.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQCONNECT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqconnection.h>
|
|
@ -1,43 +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_TQCONNECTION_H
|
|
||||||
#define TQT_TQCONNECTION_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QConnection class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qconnection.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QConnection class
|
|
||||||
// For Qt4, this internal class no longer exists!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCONNECTION_H */
|
|
@ -1,55 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcstring.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
QByteArray::operator QByteArray *() const
|
|
||||||
{ return (QByteArray*)(d->data); }
|
|
||||||
|
|
||||||
#ifndef QT_NO_REGEXP
|
|
||||||
|
|
||||||
int Q3CString::contains( const QRegExp &rx ) const
|
|
||||||
{
|
|
||||||
QString d = QString::fromAscii( data() );
|
|
||||||
return d.count( rx );
|
|
||||||
}
|
|
||||||
|
|
||||||
Q3CString &Q3CString::replace( const QRegExp &rx, const char *str )
|
|
||||||
{
|
|
||||||
QString d = QString::fromAscii( data() );
|
|
||||||
QString r = QString::fromAscii( str );
|
|
||||||
d.replace( rx, r );
|
|
||||||
setStr( d.ascii() );
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif //QT_NO_REGEXP
|
|
||||||
|
|
||||||
QByteArray QByteArray::copy() const {
|
|
||||||
QByteArray copy(*this);
|
|
||||||
copy.detach();
|
|
||||||
return copy;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,53 +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_TQCSTRING_H
|
|
||||||
#define TQT_TQCSTRING_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmemarray.h>
|
|
||||||
#include <tqdatastream.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QCString class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcstring.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QByteArray class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
//#include <Qt/qbytearray.h>
|
|
||||||
#include <tqt4/Qt/qbytearray.h>
|
|
||||||
|
|
||||||
// Reimplement the QCString class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/q3cstring.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCSTRING_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcursor.h>
|
|
@ -1,45 +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_TQCURSOR_H
|
|
||||||
#define TQT_TQCURSOR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QCursor class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qcursor.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QCursor class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qcursor.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQCURSOR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdatabrowser.h>
|
|
@ -1,45 +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_TQDATABROWSER_H
|
|
||||||
#define TQT_TQDATABROSWER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDataBrowser class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdatabrowser.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDataBrowser class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3databrowser.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDATABROWSER_H */
|
|
@ -1,43 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdatastream.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
QDataStream &QDataStream::operator<<(long unsigned int i) {
|
|
||||||
return *this<<((quint64) i);
|
|
||||||
}
|
|
||||||
|
|
||||||
QDataStream &QDataStream::operator>>(long unsigned int &i) {
|
|
||||||
return *this>>((quint64&) i);
|
|
||||||
}
|
|
||||||
|
|
||||||
QDataStream &QDataStream::operator<<(long i) {
|
|
||||||
return *this<<((qint64) i);
|
|
||||||
}
|
|
||||||
|
|
||||||
QDataStream &QDataStream::operator>>(long &i) {
|
|
||||||
return *this>>((qint64&) i);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,46 +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_TQDATASTREAM_H
|
|
||||||
#define TQT_TQDATASTREAM_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqiodevice.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDataStream class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdatastream.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDataStream class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qdatastream.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDATASTREAM_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdatatable.h>
|
|
@ -1,45 +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_TQDATATABLE_H
|
|
||||||
#define TQT_TQDATATABLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDataTable class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdatatable.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDataTable class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3datatable.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDATATABLE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdataview.h>
|
|
@ -1,45 +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_TQDATAVIEW_H
|
|
||||||
#define TQT_TQDATAVIEW_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDataView class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdataview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDataView class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3dataview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDATAVIEW_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdatetime.h>
|
|
@ -1,45 +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_TQDATETIME_H
|
|
||||||
#define TQT_TQDATETIME_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDateTime class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdatetime.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDateTime class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qdatetime.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDATETIME_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdatetimeedit.h>
|
|
@ -1,45 +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_TQDATETIMEEDIT_H
|
|
||||||
#define TQT_TQDATETIMEEDIT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDateTimeEditBase class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdatetimeedit.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDateTimeEditBase class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3datetimeedit.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDATETIMEEDIT_H */
|
|
@ -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_TQDATETM_H
|
|
||||||
#define TQT_TQDATETM_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all date/time defines
|
|
||||||
|
|
||||||
#include <tqdatetime.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQDATETM_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdeepcopy.h>
|
|
@ -1,45 +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_TQDEEPCOPY_H
|
|
||||||
#define TQT_TQDEEPCOPY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDeepCopy class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdeepcopy.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDeepCopy class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3deepcopy.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDEEPCOPY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdesktopwidget.h>
|
|
@ -1,45 +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_TQDESKTOPWIDGET_H
|
|
||||||
#define TQT_TQDESKTOPWIDGET_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDesktopWidget class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdesktopwidget.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDesktopWidget class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qdesktopwidget.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDESKTOPWIDGET_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdial.h>
|
|
@ -1,45 +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_TQDIAL_H
|
|
||||||
#define TQT_TQDIAL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDial class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdial.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDial class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qdial.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDIAL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdialog.h>
|
|
@ -1,45 +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_TQDIALOG_H
|
|
||||||
#define TQT_TQDIALOG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDialog class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDialog class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDIALOG_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdict.h>
|
|
@ -1,45 +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_TQDICT_H
|
|
||||||
#define TQT_TQDICT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDict class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDict class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3dict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDICT_H */
|
|
@ -1,40 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdir.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
bool QDir::exists( const QString &name, bool acceptAbsPath )
|
|
||||||
{
|
|
||||||
if ( name.isEmpty() ) {
|
|
||||||
#if defined(QT_CHECK_NULL)
|
|
||||||
qWarning( "QDir::exists: Empty or null file name" );
|
|
||||||
#endif
|
|
||||||
return FALSE;
|
|
||||||
}
|
|
||||||
// QString tmp = filePath( name, acceptAbsPath );
|
|
||||||
QString tmp = filePath( name );
|
|
||||||
return QFile::exists( tmp );
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQDIR_H
|
|
||||||
#define TQT_TQDIR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDir class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdir.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDir class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qdir.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDIR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdns.h>
|
|
@ -1,45 +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_TQDNS_H
|
|
||||||
#define TQT_TQDNS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDns class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdns.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDns class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3dns.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDNS_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdockarea.h>
|
|
@ -1,45 +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_TQDOCKAREA_H
|
|
||||||
#define TQT_TQDOCKAREA_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDockArea class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdockarea.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDockArea class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3dockarea.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDOCKAREA_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdockwindow.h>
|
|
@ -1,45 +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_TQDOCKWINDOW_H
|
|
||||||
#define TQT_TQDOCKWINDOW_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDockWindow class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdockwindow.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDockWindow class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3dockwindow.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDOCKWINDOW_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdom.h>
|
|
@ -1,45 +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_TQDOM_H
|
|
||||||
#define TQT_TQDOM_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDom class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdom.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDom class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qdom.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQACCEL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdragobject.h>
|
|
@ -1,45 +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_TQDRAGOBJECT_H
|
|
||||||
#define TQT_TQDRAGOBJECT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDragObject class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdragobject.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDragObject class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3dragobject.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDRAGOBJECT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
//#include <tqdrawutil.h>
|
|
@ -1,45 +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_TQDRAWUTIL_H
|
|
||||||
#define TQT_TQDRAWUTIL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDrawUtil class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdrawutil.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDrawUtil class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qdrawutil.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDRAWUTIL_H */
|
|
@ -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_TQDRAWUTIL_H
|
|
||||||
#define TQT_TQDRAWUTIL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all drawing utility defines
|
|
||||||
|
|
||||||
#include <tqdrawutil.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQDRAWUTIL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqdropsite.h>
|
|
@ -1,45 +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_TQDROPSITE_H
|
|
||||||
#define TQT_TQDROPSITE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QDropSite class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qdropsite.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QDropSite class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3dropsite.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQDROPSITE_H */
|
|
@ -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_TQDSTREAM_H
|
|
||||||
#define TQT_TQDSTREAM_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all datastream defines
|
|
||||||
|
|
||||||
#include <tqdatastream.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQDSTREAM_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqeditorfactory.h>
|
|
@ -1,45 +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_TQEDITORFACTORY_H
|
|
||||||
#define TQT_TQEDITORFACTORY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QEditorFactory class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qeditorfactory.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QEditorFactory class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3editorfactory.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQEDITORFACTORY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqerrormessage.h>
|
|
@ -1,45 +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_TQERRORMESSAGE_H
|
|
||||||
#define TQT_TQERRORMESSAGE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QErrorMessage class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qerrormessage.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QErrorMessage class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qerrormessage.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQERRORMESSAGE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqeucjpcodec.h>
|
|
@ -1,43 +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_TQEUCJPCODEC_H
|
|
||||||
#define TQT_TQEUCJPCODEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QEucJpCodec class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qeucjpcodec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QEucJpCodec class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQEUCJPCODEC_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqeuckrcodec.h>
|
|
@ -1,42 +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_TQEUCKRCODEC_H
|
|
||||||
#define TQT_TQEUCKRCODEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QEucKrCodec class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qeuckrcodec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQEUCKRCODEC_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqevent.h>
|
|
@ -1,45 +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_TQEVENT_H
|
|
||||||
#define TQT_TQEVENT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QEvent class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qevent.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QEvent class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qevent.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQEVENT_H */
|
|
@ -1,36 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqeventloop.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
TQEventLoop *TQEventLoop::eventLoop ()
|
|
||||||
{
|
|
||||||
return static_cast<TQEventLoop *>(QAbstractEventDispatcher::instance());
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TQEventLoop::processEvents( ProcessEventsFlags flags ) {
|
|
||||||
return QEventLoop::processEvents((ProcessEventsFlag)flags);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,63 +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_TQEVENTLOOP_H
|
|
||||||
#define TQT_TQEVENTLOOP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QEventLoop class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qeventloop.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QEventLoop class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qeventloop.h>
|
|
||||||
#include <Qt/qabstracteventdispatcher.h>
|
|
||||||
|
|
||||||
class TQEventLoop : public QAbstractEventDispatcher, QEventLoop {
|
|
||||||
public:
|
|
||||||
static TQEventLoop *eventLoop ();
|
|
||||||
|
|
||||||
enum ProcessEvents {
|
|
||||||
AllEvents = QEventLoop::AllEvents,
|
|
||||||
ExcludeUserInput = QEventLoop::ExcludeUserInputEvents,
|
|
||||||
ExcludeSocketNotifiers = QEventLoop::ExcludeSocketNotifiers,
|
|
||||||
WaitForMore = QEventLoop::WaitForMoreEvents
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef uint ProcessEventsFlags;
|
|
||||||
|
|
||||||
bool processEvents( ProcessEventsFlags flags );
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQEVENTLOOP_H */
|
|
@ -1,43 +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_TQFEATURES_H
|
|
||||||
#define TQT_TQFEATURES_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in all Qt3 feature defines
|
|
||||||
|
|
||||||
#include <qfeatures.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in all Qt4 feature defines
|
|
||||||
|
|
||||||
#include <qfeatures.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFEATURES_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfile.h>
|
|
@ -1,45 +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_TQFILE_H
|
|
||||||
#define TQT_TQFILE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFile class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfile.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFile class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qfile.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFILE_H */
|
|
@ -1,41 +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_TQFILEDEF_H
|
|
||||||
#define TQT_TQFILEDEF_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in legacy qfiledef defines
|
|
||||||
|
|
||||||
#include <qfiledef.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Do not pull in legacy qfiledef defines
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFILEDEF_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfiledialog.h>
|
|
@ -1,45 +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_TQFILEDIALOG_H
|
|
||||||
#define TQT_TQFILEDIALOG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFileDialog class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfiledialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFileDialog class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3filedialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFILEDIALOG_H */
|
|
@ -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_TQFILEDLG_H
|
|
||||||
#define TQT_TQFILEDLG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in file dialog defines
|
|
||||||
|
|
||||||
#include <tqfiledialog.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQFILEDLG_H */
|
|
@ -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_TQFILEINF_H
|
|
||||||
#define TQT_TQFILEINF_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all file information defines
|
|
||||||
|
|
||||||
#include <tqfileinfo.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQFILEINF_H */
|
|
@ -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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfileinfo.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
QFileInfo::operator QFileInfo *() const {
|
|
||||||
return const_cast<QFileInfo *>(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQFILEINFO_H
|
|
||||||
#define TQT_TQFILEINFO_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFileInfo class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfileinfo.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFileInfo class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qfileinfo.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFILEINFO_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfocusdata.h>
|
|
@ -1,43 +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_TQFOCUSDATA_H
|
|
||||||
#define TQT_TQFOCUSDATA_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFocusData class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfocusdata.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFocusData class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFOCUSDATA_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfont.h>
|
|
@ -1,45 +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_TQFONT_H
|
|
||||||
#define TQT_TQFONT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFont class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfont.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFont class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qfont.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFONT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfontdatabase.h>
|
|
@ -1,45 +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_TQFONTDATABASE_H
|
|
||||||
#define TQT_TQFONTDATABASE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFontDatabase class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfontdatabase.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFontDatabase class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qfontdatabase.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFONTDATABASE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfontdialog.h>
|
|
@ -1,45 +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_TQFONTDIALOG_H
|
|
||||||
#define TQT_TQFONTDIALOG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFontDialog class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfontdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFontDialog class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qfontdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFONTDIALOG_H */
|
|
@ -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_TQFONTINF_H
|
|
||||||
#define TQT_TQFONTINF_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all font information defines
|
|
||||||
|
|
||||||
#include <tqfontinfo.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQFONTINF_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfontinfo.h>
|
|
@ -1,45 +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_TQFONTINFO_H
|
|
||||||
#define TQT_TQFONTINFO_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFontInfo class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfontinfo.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFontInfo class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qfontinfo.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFONTINFO_H */
|
|
@ -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_TQFONTMET_H
|
|
||||||
#define TQT_TQFONTMET_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all font metrics defines
|
|
||||||
|
|
||||||
#include <tqfontmetrics.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQFONTMET_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqfontmetrics.h>
|
|
@ -1,45 +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_TQFONTMETRICS_H
|
|
||||||
#define TQT_TQFONTMETRICS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFontMetrics class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qfontmetrics.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFontMetrics class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qfontmetrics.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFONTMETRICS_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqframe.h>
|
|
@ -1,45 +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_TQFRAME_H
|
|
||||||
#define TQT_TQFRAME_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFrame class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qframe.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFrame class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qframe.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFRAME_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqftp.h>
|
|
@ -1,45 +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_TQFTP_H
|
|
||||||
#define TQT_TQFTP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QFtp class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qftp.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QFtp class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qftp.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQFTP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgarray.h>
|
|
@ -1,45 +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_TQGARRAY_H
|
|
||||||
#define TQT_TQGARRAY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGArray class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qgarray.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGArray class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3garray.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGARRAY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgb18030codec.h>
|
|
@ -1,43 +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_TQGB18030CODEC_H
|
|
||||||
#define TQT_TQGB18030CODEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGb18030Codec class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qgb18030codec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGb18030Codec class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGB18030CODEC_H */
|
|
@ -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_TQGBKCODEC_H
|
|
||||||
#define TQT_TQGBKCODEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all qgb18030codec defines
|
|
||||||
|
|
||||||
#include <tqgb18030codec.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQGBKCODEC_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgcache.h>
|
|
@ -1,43 +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_TQGCACHE_H
|
|
||||||
#define TQT_TQGCACHE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGCache class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qgcache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGCache class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGCACHE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgdict.h>
|
|
@ -1,43 +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_TQGDICT_H
|
|
||||||
#define TQT_TQGDICT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGDict class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qgdict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGDict class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGDICT_H */
|
|
@ -1,37 +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_TQGENERIC_H
|
|
||||||
#define TQT_TQGENERIC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
#include <qgeneric.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGENERIC_H */
|
|
@ -1,43 +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_TQGIF_H
|
|
||||||
#define TQT_TQGIF_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Include the Qt3 gif defines
|
|
||||||
|
|
||||||
#include <qgif.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Include the Qt4 gif defines
|
|
||||||
|
|
||||||
#include <qgif.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGIF_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgl.h>
|
|
@ -1,45 +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_TQGL_H
|
|
||||||
#define TQT_TQGL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGL class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qgl.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGL class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qgl.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqglcolormap.h>
|
|
@ -1,45 +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_TQGLCOLORMAP_H
|
|
||||||
#define TQT_TQGLCOLORMAP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGLColormap class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qglcolormap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGLColormap class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qglcolormap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGLCOLORMAP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqglist.h>
|
|
@ -1,45 +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_TQGLIST_H
|
|
||||||
#define TQT_TQGLIST_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGList class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qglist.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGList class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3glist.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGLIST_H */
|
|
@ -1,43 +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_TQGLOBAL_H
|
|
||||||
#define TQT_TQGLOBAL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in all Qt3 global defines
|
|
||||||
|
|
||||||
#include <qglobal.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in all Qt4 global defines
|
|
||||||
|
|
||||||
#include <Qt/qglobal.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGLOBAL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgplugin.h>
|
|
@ -1,43 +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_TQGPLUGIN_H
|
|
||||||
#define TQT_TQGPLUGIN_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGPlugin class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qgplugin.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGPlugin class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGPLUGIN_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgrid.h>
|
|
@ -1,45 +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_TQGRID_H
|
|
||||||
#define TQT_TQGRID_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGrid class
|
|
||||||
// For Qt3, some changes are needed
|
|
||||||
|
|
||||||
#include <qgrid.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGrid class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3grid.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGRID_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgridview.h>
|
|
@ -1,45 +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_TQGRIDVIEW_H
|
|
||||||
#define TQT_TQGRIDVIEW_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGridView class
|
|
||||||
// For Qt3, some changes are needed
|
|
||||||
|
|
||||||
#include <qgridview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGridView class
|
|
||||||
// For Qt4, no changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3gridview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGRIDVIEW_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgroupbox.h>
|
|
@ -1,45 +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_TQGROUPBOX_H
|
|
||||||
#define TQT_TQGROUPBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGroupBox class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qgroupbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGroupBox class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qgroupbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGROUPBOX_H */
|
|
@ -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_TQGRPBOX_H
|
|
||||||
#define TQT_TQGRPBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqgroupbox defines
|
|
||||||
|
|
||||||
#include <tqgroupbox.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQGRPBOX_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqguardedptr.h>
|
|
@ -1,45 +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_TQGUARDEDPTR_H
|
|
||||||
#define TQT_TQGUARDEDPTR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGuardedPtr class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qguardedptr.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGuardedPtr class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qpointer.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGUARDEDPTR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqgvector.h>
|
|
@ -1,43 +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_TQGVECTOR_H
|
|
||||||
#define TQT_TQGVECTOR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QGVector class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qgvector.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QGVector class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQGVECTOR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqhbox.h>
|
|
@ -1,45 +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_TQHBOX_H
|
|
||||||
#define TQT_TQHBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QHBox class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qhbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QHBox class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3hbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQHBOX_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqhbuttongroup.h>
|
|
@ -1,45 +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_TQHBUTTONGROUP_H
|
|
||||||
#define TQT_TQHBUTTONGROUP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QHButtonGroup class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qhbuttongroup.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QHButtonGroup class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3buttongroup.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQHBUTTONGROUP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqheader.h>
|
|
@ -1,45 +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_TQHEADER_H
|
|
||||||
#define TQT_TQHEADER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QHeader class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qheader.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QHeader class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3header.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQHEADER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqhgroupbox.h>
|
|
@ -1,45 +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_TQHGROUPBOX_H
|
|
||||||
#define TQT_TQHGROUPBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QHGroupBox class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qhgroupbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QHGroupBox class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3hgroupbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQHGROUPBOX_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqhostaddress.h>
|
|
@ -1,45 +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_TQHOSTADDRESS_H
|
|
||||||
#define TQT_TQHOSTADDRESS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QHostAddress class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qhostaddress.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QHostAddress class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qhostaddress.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQHOSTADDRESS_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqhttp.h>
|
|
@ -1,45 +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_TQHTTP_H
|
|
||||||
#define TQT_TQHTTP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QHttp class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qhttp.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QHttp class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3http.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQHTTP_H */
|
|
@ -1,136 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqiconset.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
#include "Qt/q3cleanuphandler.h"
|
|
||||||
|
|
||||||
static TQIconFactory *defaultFac = 0;
|
|
||||||
static Q3SingleCleanupHandler<TQIconFactory> q_cleanup_icon_factory;
|
|
||||||
|
|
||||||
/*! \class TQIconFactory
|
|
||||||
\ingroup advanced
|
|
||||||
\brief The TQIconFactory class is used to create pixmaps for a QIconSet.
|
|
||||||
|
|
||||||
By reimplementing createPixmap(), you can override QIconSet's
|
|
||||||
default algorithm for computing pixmaps not supplied by the user.
|
|
||||||
|
|
||||||
Call setAutoDelete(TRUE) if you want the factory to automatically
|
|
||||||
delete itself when it is no longer needed by QIconSet.
|
|
||||||
|
|
||||||
\sa QIconSet
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Constructs an icon factory.
|
|
||||||
*/
|
|
||||||
TQIconFactory::TQIconFactory()
|
|
||||||
: autoDel( 0 )
|
|
||||||
{
|
|
||||||
count = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Destroys the object and frees any allocated resources.
|
|
||||||
*/
|
|
||||||
TQIconFactory::~TQIconFactory()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Ceates a pixmap for \a iconSet with a certain \a size, \a mode, and
|
|
||||||
\a state. Returns 0 if the default QIconSet algorithm should be
|
|
||||||
used to create a pixmap that wasn't supplied by the user.
|
|
||||||
|
|
||||||
It is the caller's responsibility to delete the returned pixmap.
|
|
||||||
|
|
||||||
The default implementation always returns 0.
|
|
||||||
*/
|
|
||||||
QPixmap *TQIconFactory::createPixmap( const QIconSet& /* iconSet */,
|
|
||||||
QIconSet::Size /* size */,
|
|
||||||
QIconSet::Mode /* mode */,
|
|
||||||
QIconSet::State /* state */ )
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
\fn void TQIconFactory::setAutoDelete( bool autoDelete )
|
|
||||||
|
|
||||||
If \a autoDelete is TRUE, sets the icon factory to automatically
|
|
||||||
delete itself when it is no longer referenced by any QIconSet and
|
|
||||||
isn't the default factory. If \a autoDelete is FALSE (the default)
|
|
||||||
auto-deletion is disabled.
|
|
||||||
|
|
||||||
\sa autoDelete(), defaultFactory()
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
|
||||||
\fn bool TQIconFactory::autoDelete() const
|
|
||||||
|
|
||||||
Returns TRUE if auto-deletion is enabled; otherwise returns FALSE.
|
|
||||||
|
|
||||||
\sa setAutoDelete()
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns the default icon factory.
|
|
||||||
|
|
||||||
\sa installDefaultFactory()
|
|
||||||
*/
|
|
||||||
TQIconFactory *TQIconFactory::defaultFactory()
|
|
||||||
{
|
|
||||||
if ( !defaultFac ) {
|
|
||||||
defaultFac = new TQIconFactory;
|
|
||||||
defaultFac->setAutoDelete( TRUE );
|
|
||||||
defaultFac->ref();
|
|
||||||
q_cleanup_icon_factory.set( &defaultFac );
|
|
||||||
}
|
|
||||||
return defaultFac;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Replaces the default icon factory with \a factory.
|
|
||||||
*/
|
|
||||||
void TQIconFactory::installDefaultFactory( TQIconFactory *factory )
|
|
||||||
{
|
|
||||||
if ( !factory )
|
|
||||||
return;
|
|
||||||
|
|
||||||
factory->ref();
|
|
||||||
if ( defaultFac && defaultFac->deref() && defaultFac->autoDelete() )
|
|
||||||
delete defaultFac;
|
|
||||||
defaultFac = factory;
|
|
||||||
q_cleanup_icon_factory.set( &defaultFac );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
A little do-nothing function to allow Qt3 code compatibility.
|
|
||||||
*/
|
|
||||||
void QIconSet::installIconFactory( TQIconFactory *factory )
|
|
||||||
{
|
|
||||||
#warning "QIconSet::installIconFactory( QIconFactory *factory ) unimplemented!"
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,70 +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_TQICONSET_H
|
|
||||||
#define TQT_TQICONSET_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAccel class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qiconset.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAccel class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qicon.h>
|
|
||||||
#include <Qt/q3shared.h>
|
|
||||||
|
|
||||||
class TQIconFactory : private Q3Shared
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQIconFactory();
|
|
||||||
virtual ~TQIconFactory();
|
|
||||||
|
|
||||||
virtual QPixmap *createPixmap( const QIconSet& iconSet, QIconSet::Size size,
|
|
||||||
QIconSet::Mode mode, QIconSet::State state );
|
|
||||||
void setAutoDelete( bool autoDelete ) { autoDel = autoDelete; }
|
|
||||||
bool autoDelete() const { return autoDel; }
|
|
||||||
|
|
||||||
static TQIconFactory *defaultFactory();
|
|
||||||
static void installDefaultFactory( TQIconFactory *factory );
|
|
||||||
|
|
||||||
private:
|
|
||||||
#if defined(Q_DISABLE_COPY)
|
|
||||||
TQIconFactory( const TQIconFactory & );
|
|
||||||
TQIconFactory &operator=( const TQIconFactory & );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
uint autoDel : 1;
|
|
||||||
uint unused : 31;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQICONSET_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqiconview.h>
|
|
@ -1,45 +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_TQICONVIEW_H
|
|
||||||
#define TQT_TQICONVIEW_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QIconView class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qiconview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QIconView class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3iconview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQICONVIEW_H */
|
|
@ -1,69 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqimage.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
QRgb *QImage::ptrColorTable() const {
|
|
||||||
return colorTable().data();
|
|
||||||
}
|
|
||||||
|
|
||||||
TQImageIO::TQImageIO() {
|
|
||||||
m_imageReader = new QImageReader();
|
|
||||||
m_imageWriter = new QImageWriter();
|
|
||||||
}
|
|
||||||
|
|
||||||
TQImageIO::TQImageIO( QIODevice *ioDevice, const char *format ) {
|
|
||||||
m_imageReader = new QImageReader(ioDevice, format);
|
|
||||||
m_imageWriter = new QImageWriter(ioDevice, format);
|
|
||||||
}
|
|
||||||
|
|
||||||
TQImageIO::TQImageIO( const QString &fileName, const char* format ) {
|
|
||||||
m_imageReader = new QImageReader(fileName, format);
|
|
||||||
m_imageWriter = new QImageWriter(fileName, format);
|
|
||||||
}
|
|
||||||
TQImageIO::~TQImageIO() {
|
|
||||||
delete m_imageReader;
|
|
||||||
delete m_imageWriter;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TQImageIO::read() {
|
|
||||||
m_currentImage = m_imageReader->read();
|
|
||||||
if (m_currentImage.isNull() == true)
|
|
||||||
return false;
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool TQImageIO::write() {
|
|
||||||
return m_imageWriter->write(m_currentImage);
|
|
||||||
}
|
|
||||||
|
|
||||||
const QImage &TQImageIO::image() const {
|
|
||||||
return m_currentImage;
|
|
||||||
}
|
|
||||||
|
|
||||||
void TQImageIO::setImage( const QImage & image ) {
|
|
||||||
m_currentImage = image;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,67 +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_TQIMAGE_H
|
|
||||||
#define TQT_TQIMAGE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QImage class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qimage.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QImage class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qimage.h>
|
|
||||||
#include <Qt/qimagereader.h>
|
|
||||||
#include <Qt/qimagewriter.h>
|
|
||||||
|
|
||||||
class TQImageIO {
|
|
||||||
public:
|
|
||||||
TQImageIO();
|
|
||||||
TQImageIO( QIODevice *ioDevice, const char *format );
|
|
||||||
TQImageIO( const QString &fileName, const char* format );
|
|
||||||
~TQImageIO();
|
|
||||||
|
|
||||||
bool read();
|
|
||||||
bool write();
|
|
||||||
|
|
||||||
const QImage &image() const;
|
|
||||||
void setImage( const QImage & );
|
|
||||||
|
|
||||||
protected:
|
|
||||||
QImageReader *m_imageReader;
|
|
||||||
QImageWriter *m_imageWriter;
|
|
||||||
|
|
||||||
QImage m_currentImage;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQIMAGE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqimageformatplugin.h>
|
|
@ -1,43 +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_TQIMAGEFORMATPLUGIN_H
|
|
||||||
#define TQT_TQIMAGEFORMATPLUGIN_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QImageFormatPlugin class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qimageformatplugin.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QImageFormatPlugin class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQIMAGEFORMATPLUGIN_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqinputcontext.h>
|
|
@ -1,45 +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_TQINPUTCONTEXT_H
|
|
||||||
#define TQT_TQINPUTCONTEXT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QInputContext class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qinputcontext.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QInputContext class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qinputcontext.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQINPUTCONTEXT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqinputcontextfactory.h>
|
|
@ -1,45 +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_TQINPUTCONTEXTFACTORY_H
|
|
||||||
#define TQT_TQINPUTCONTEXTFACTORY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QInputContextFactory class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qinputcontextfactory.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QInputContextFactory class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qinputcontextfactory.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQINPUTCONTEXTFACTORY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqinputdialog.h>
|
|
@ -1,45 +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_TQINPUTDIALOG_H
|
|
||||||
#define TQT_TQINPUTDIALOG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QInputDialog class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qinputdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QInputDialog class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qinputdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQINPUTDIALOG_H */
|
|
@ -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_TQINTCACH_H
|
|
||||||
#define TQT_TQINTCACH_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in all qintcache defines
|
|
||||||
|
|
||||||
#include <tqintcache.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQINTCACH_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqintcache.h>
|
|
@ -1,45 +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_TQINTCACHE_H
|
|
||||||
#define TQT_TQINTCACHE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QIntCache class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qintcache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QIntCache class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3intcache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQINTCACHE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqintdict.h>
|
|
@ -1,45 +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_TQINTDICT_H
|
|
||||||
#define TQT_TQINTDICT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QIntDict class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qintdict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QIntDict class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3intdict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQINTDICT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
//#include <tqinterlacestyle.h>
|
|
@ -1,49 +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_TQINTERLACESTYLE_H
|
|
||||||
#define TQT_TQINTERLACESTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QInterlaceStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qinterlacestyle.h>
|
|
||||||
|
|
||||||
#error "Not ported to new API as of Qt3!"
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QInterlaceStyle class
|
|
||||||
// For Qt4, no changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qinterlacestyle.h>
|
|
||||||
|
|
||||||
#error "Not ported to new API as of Qt4!"
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQINTERLACESTYLE_H */
|
|
@ -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_TQIODEV_H
|
|
||||||
#define TQT_TQIODEV_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqiodevice defines
|
|
||||||
|
|
||||||
#include <tqiodevice.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQIODEV_H */
|
|
@ -1,70 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqiodevice.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
void QIODevice::setState( int s ) {
|
|
||||||
if (s == IO_Open) {
|
|
||||||
if (isOpen() == false) {
|
|
||||||
open(openMode());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void QIODevice::setFlags( int f ) {
|
|
||||||
setOpenMode((OpenMode)f);
|
|
||||||
}
|
|
||||||
|
|
||||||
void QIODevice::setStatus( int s ) {
|
|
||||||
#warning "QIODevice::setStatus is unimplemented!"
|
|
||||||
}
|
|
||||||
|
|
||||||
// TQIODevice::TQIODevice() : QIODevice() {}
|
|
||||||
//
|
|
||||||
// qint64 TQIODevice::readData(char *data, qint64 maxlen) {
|
|
||||||
// return read(data, maxlen);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// qint64 TQIODevice::writeData(const char *data, qint64 len) {
|
|
||||||
// return write(data, len);
|
|
||||||
// }
|
|
||||||
|
|
||||||
// qint64 QIODevice::readData(char *data, qint64 maxlen) {
|
|
||||||
// return read(data, maxlen);
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// qint64 QIODevice::writeData(const char *data, qint64 len) {
|
|
||||||
// return write(data, len);
|
|
||||||
// }
|
|
||||||
|
|
||||||
qint64 QIODevice::readLine(QString & s, qint64 maxlen) {
|
|
||||||
qint64 ret;
|
|
||||||
QByteArray q;
|
|
||||||
|
|
||||||
readLine(q.data(), maxlen);
|
|
||||||
s.setAscii(q);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,60 +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_TQIODEVICE_H
|
|
||||||
#define TQT_TQIODEVICE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqobject.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QIODevice class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qiodevice.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QIODevice class
|
|
||||||
// For Qt4, no changes are needed
|
|
||||||
|
|
||||||
#define QT_NO_QOBJECT
|
|
||||||
#include <tqt4/Qt/qiodevice.h>
|
|
||||||
#undef QT_NO_QOBJECT
|
|
||||||
|
|
||||||
// class TQIODevice : public QIODevice {
|
|
||||||
// public:
|
|
||||||
// TQIODevice();
|
|
||||||
// #ifndef QT_NO_QOBJECT
|
|
||||||
// explicit TQIODevice(QObject *parent);
|
|
||||||
// #endif
|
|
||||||
//
|
|
||||||
// public:
|
|
||||||
// qint64 readData(char *data, qint64 maxlen);
|
|
||||||
// qint64 writeData(const char *data, qint64 len);
|
|
||||||
// };
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQIODEVICE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqjiscodec.h>
|
|
@ -1,45 +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_TQJISCODEC_H
|
|
||||||
#define TQT_TQJISCODEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QJisCodec class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qjiscodec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QJisCodec class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qjiscodec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQJISCODEC_H */
|
|
@ -1,42 +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_TQJPEGIO_H
|
|
||||||
#define TQT_TQJPEGIO_H
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in Qt3 qjpegio.h defines
|
|
||||||
|
|
||||||
#include <qjpegio.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in Qt4 qjpegio.h defines
|
|
||||||
|
|
||||||
#include <qjpegio.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQJPEGIO_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqjpunicode.h>
|
|
@ -1,43 +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_TQJPUNICODE_H
|
|
||||||
#define TQT_TQJPUNICODE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QJpUnicodeConv class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qjpunicode.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QJpUnicodeConv class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQJPUNICODE_H */
|
|
@ -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_TQKEYCODE_H
|
|
||||||
#define TQT_TQKEYCODE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqkeycode defines
|
|
||||||
|
|
||||||
#include <tqkeycode.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQKEYCODE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqkeysequence.h>
|
|
@ -1,45 +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_TQKEYSEQUENCE_H
|
|
||||||
#define TQT_TQKEYSEQUENCE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QKeySequence class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qkeysequence.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QKeySequence class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qkeysequence.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQKEYSEQUENCE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlabel.h>
|
|
@ -1,45 +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_TQLABEL_H
|
|
||||||
#define TQT_TQLABEL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QLabel class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlabel.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QLabel class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qlabel.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLABEL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlayout.h>
|
|
@ -1,45 +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_TQLAYOUT_H
|
|
||||||
#define TQT_TQLAYOUT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QLayout class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlayout.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QLayout class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qlayout.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLAYOUT_H */
|
|
@ -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_TQLCDNUMBER_H
|
|
||||||
#define TQT_TQLCDNUMBER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqlcdnumber defines
|
|
||||||
|
|
||||||
#include <tqlcdnumber.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQLCDNUMBER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlcdnumber.h>
|
|
@ -1,45 +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_TQLCDNUMBER_H
|
|
||||||
#define TQT_TQLCDNUMBER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QLCDNumber class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlcdnumber.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QLCDNumber class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qlcdnumber.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLCDNUMBER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlibrary.h>
|
|
@ -1,45 +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_TQLIBRARY_H
|
|
||||||
#define TQT_TQLIBRARY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QLibrary class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlibrary.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QLibrary class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qlibrary.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLIBRARY_H */
|
|
@ -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_TQLINED_H
|
|
||||||
#define TQT_TQLINED_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqlineedit defines
|
|
||||||
|
|
||||||
#include <tqlineedit.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQLINED_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlineedit.h>
|
|
@ -1,45 +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_TQLINEEDIT_H
|
|
||||||
#define TQT_TQLINEEDIT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QLineEdit class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlineedit.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QLineEdit class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qlineedit.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLINEEDIT_H */
|
|
@ -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_TQLIST_H
|
|
||||||
#define TQT_TQLIST_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqptrlist defines
|
|
||||||
|
|
||||||
#include <tqptrlist.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQLIST_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlistbox.h>
|
|
@ -1,45 +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_TQLISTBOX_H
|
|
||||||
#define TQT_TQLISTBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QListBox class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlistbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QListBox class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3listbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLISTBOX_H */
|
|
@ -1,48 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlistiterator.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// template <typename T>
|
|
||||||
// TQListIterator<T>::TQListIterator(const QList<T> &t) {
|
|
||||||
// index = 0;
|
|
||||||
// list = t;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// template <typename T>
|
|
||||||
// TQListIterator<T>::~TQListIterator() {
|
|
||||||
// //
|
|
||||||
// }
|
|
||||||
|
|
||||||
// template <typename T>
|
|
||||||
// T TQListIterator<T>::current() {
|
|
||||||
// if ((index >= 0) && (index < list->size())) {
|
|
||||||
// return list->at(index);
|
|
||||||
// }
|
|
||||||
// else {
|
|
||||||
// return 0;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,86 +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_TQLISTITERATOR_H
|
|
||||||
#define TQT_TQLISTITERATOR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Implement the TQListIterator class
|
|
||||||
// For Qt4, this is a combination of the QList::iterator and QMutableListIterator classes,
|
|
||||||
// with the constructor from QMutableListIterator used primarily
|
|
||||||
|
|
||||||
//#include <QMutableListIterator>
|
|
||||||
#include <Qt/qlist.h>
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
//class TQListIterator : public QList<T>::iterator
|
|
||||||
//class TQListIterator : public QMutableListIterator
|
|
||||||
class TQListIterator
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
inline TQListIterator(const QList<T> &t) {index = 0; list = &t;}
|
|
||||||
inline ~TQListIterator() {}
|
|
||||||
|
|
||||||
inline T current() {
|
|
||||||
if ((index >= 0) && (index < list->size())) {
|
|
||||||
return list->at(index);
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
int operator++() { index++; return index; }
|
|
||||||
|
|
||||||
private:
|
|
||||||
int index;
|
|
||||||
const QList<T> *list;
|
|
||||||
};
|
|
||||||
|
|
||||||
template <typename T>
|
|
||||||
class TQListIteratorRetPtr
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
inline TQListIteratorRetPtr(const QList<T> &t) {index = 0; list = &t;}
|
|
||||||
inline ~TQListIteratorRetPtr() {}
|
|
||||||
|
|
||||||
inline T * current() {
|
|
||||||
if ((index >= 0) && (index < list->size())) {
|
|
||||||
return const_cast<QFileInfo *>(&(list->at(index)));
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
int operator++() { index++; return index; }
|
|
||||||
|
|
||||||
private:
|
|
||||||
int index;
|
|
||||||
const QList<T> *list;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLISTITERATOR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlistview.h>
|
|
@ -1,45 +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_TQLISTVIEW_H
|
|
||||||
#define TQT_TQLISTVIEW_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QListView class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlistview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QListView class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3listview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLISTVIEW_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlocale.h>
|
|
@ -1,45 +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_TQLOCALE_H
|
|
||||||
#define TQT_TQLOCALE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QLocale class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlocale.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QLocale class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qlocale.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLOCALE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqlocalfs.h>
|
|
@ -1,45 +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_TQLOCALFS_H
|
|
||||||
#define TQT_TQLOCALFS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QLocalFs class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qlocalfs.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QLocalFs class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3localfs.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQLOCALFS_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmainwindow.h>
|
|
@ -1,45 +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_TQMAINWINDOW_H
|
|
||||||
#define TQT_TQMAINWINDOW_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMainWindow class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmainwindow.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMainWindow class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3mainwindow.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMAINWINDOW_H */
|
|
@ -1,243 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmap.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
typedef TQMapNodeBase* NodePtr;
|
|
||||||
typedef TQMapNodeBase Node;
|
|
||||||
|
|
||||||
|
|
||||||
void TQMapPrivateBase::rotateLeft( NodePtr x, NodePtr& root)
|
|
||||||
{
|
|
||||||
NodePtr y = x->right;
|
|
||||||
x->right = y->left;
|
|
||||||
if (y->left !=0)
|
|
||||||
y->left->parent = x;
|
|
||||||
y->parent = x->parent;
|
|
||||||
if (x == root)
|
|
||||||
root = y;
|
|
||||||
else if (x == x->parent->left)
|
|
||||||
x->parent->left = y;
|
|
||||||
else
|
|
||||||
x->parent->right = y;
|
|
||||||
y->left = x;
|
|
||||||
x->parent = y;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void TQMapPrivateBase::rotateRight( NodePtr x, NodePtr& root )
|
|
||||||
{
|
|
||||||
NodePtr y = x->left;
|
|
||||||
x->left = y->right;
|
|
||||||
if (y->right != 0)
|
|
||||||
y->right->parent = x;
|
|
||||||
y->parent = x->parent;
|
|
||||||
if (x == root)
|
|
||||||
root = y;
|
|
||||||
else if (x == x->parent->right)
|
|
||||||
x->parent->right = y;
|
|
||||||
else
|
|
||||||
x->parent->left = y;
|
|
||||||
y->right = x;
|
|
||||||
x->parent = y;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
void TQMapPrivateBase::rebalance( NodePtr x, NodePtr& root)
|
|
||||||
{
|
|
||||||
x->color = Node::Red;
|
|
||||||
while ( x != root && x->parent->color == Node::Red ) {
|
|
||||||
if ( x->parent == x->parent->parent->left ) {
|
|
||||||
NodePtr y = x->parent->parent->right;
|
|
||||||
if (y && y->color == Node::Red) {
|
|
||||||
x->parent->color = Node::Black;
|
|
||||||
y->color = Node::Black;
|
|
||||||
x->parent->parent->color = Node::Red;
|
|
||||||
x = x->parent->parent;
|
|
||||||
} else {
|
|
||||||
if (x == x->parent->right) {
|
|
||||||
x = x->parent;
|
|
||||||
rotateLeft( x, root );
|
|
||||||
}
|
|
||||||
x->parent->color = Node::Black;
|
|
||||||
x->parent->parent->color = Node::Red;
|
|
||||||
rotateRight (x->parent->parent, root );
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
NodePtr y = x->parent->parent->left;
|
|
||||||
if ( y && y->color == Node::Red ) {
|
|
||||||
x->parent->color = Node::Black;
|
|
||||||
y->color = Node::Black;
|
|
||||||
x->parent->parent->color = Node::Red;
|
|
||||||
x = x->parent->parent;
|
|
||||||
} else {
|
|
||||||
if (x == x->parent->left) {
|
|
||||||
x = x->parent;
|
|
||||||
rotateRight( x, root );
|
|
||||||
}
|
|
||||||
x->parent->color = Node::Black;
|
|
||||||
x->parent->parent->color = Node::Red;
|
|
||||||
rotateLeft( x->parent->parent, root );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
root->color = Node::Black;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
NodePtr TQMapPrivateBase::removeAndRebalance( NodePtr z, NodePtr& root,
|
|
||||||
NodePtr& leftmost,
|
|
||||||
NodePtr& rightmost )
|
|
||||||
{
|
|
||||||
NodePtr y = z;
|
|
||||||
NodePtr x;
|
|
||||||
NodePtr x_parent;
|
|
||||||
if (y->left == 0) {
|
|
||||||
x = y->right;
|
|
||||||
} else {
|
|
||||||
if (y->right == 0)
|
|
||||||
x = y->left;
|
|
||||||
else
|
|
||||||
{
|
|
||||||
y = y->right;
|
|
||||||
while (y->left != 0)
|
|
||||||
y = y->left;
|
|
||||||
x = y->right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (y != z) {
|
|
||||||
z->left->parent = y;
|
|
||||||
y->left = z->left;
|
|
||||||
if (y != z->right) {
|
|
||||||
x_parent = y->parent;
|
|
||||||
if (x)
|
|
||||||
x->parent = y->parent;
|
|
||||||
y->parent->left = x;
|
|
||||||
y->right = z->right;
|
|
||||||
z->right->parent = y;
|
|
||||||
} else {
|
|
||||||
x_parent = y;
|
|
||||||
}
|
|
||||||
if (root == z)
|
|
||||||
root = y;
|
|
||||||
else if (z->parent->left == z)
|
|
||||||
z->parent->left = y;
|
|
||||||
else
|
|
||||||
z->parent->right = y;
|
|
||||||
y->parent = z->parent;
|
|
||||||
// Swap the colors
|
|
||||||
Node::Color c = y->color;
|
|
||||||
y->color = z->color;
|
|
||||||
z->color = c;
|
|
||||||
y = z;
|
|
||||||
} else {
|
|
||||||
x_parent = y->parent;
|
|
||||||
if (x)
|
|
||||||
x->parent = y->parent;
|
|
||||||
if (root == z)
|
|
||||||
root = x;
|
|
||||||
else if (z->parent->left == z)
|
|
||||||
z->parent->left = x;
|
|
||||||
else
|
|
||||||
z->parent->right = x;
|
|
||||||
if ( leftmost == z ) {
|
|
||||||
if (z->right == 0)
|
|
||||||
leftmost = z->parent;
|
|
||||||
else
|
|
||||||
leftmost = x->minimum();
|
|
||||||
}
|
|
||||||
if (rightmost == z) {
|
|
||||||
if (z->left == 0)
|
|
||||||
rightmost = z->parent;
|
|
||||||
else
|
|
||||||
rightmost = x->maximum();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (y->color != Node::Red) {
|
|
||||||
while (x != root && (x == 0 || x->color == Node::Black)) {
|
|
||||||
if (x == x_parent->left) {
|
|
||||||
NodePtr w = x_parent->right;
|
|
||||||
if (w->color == Node::Red) {
|
|
||||||
w->color = Node::Black;
|
|
||||||
x_parent->color = Node::Red;
|
|
||||||
rotateLeft(x_parent, root);
|
|
||||||
w = x_parent->right;
|
|
||||||
}
|
|
||||||
if ((w->left == 0 || w->left->color == Node::Black) &&
|
|
||||||
(w->right == 0 || w->right->color == Node::Black)) {
|
|
||||||
w->color = Node::Red;
|
|
||||||
x = x_parent;
|
|
||||||
x_parent = x_parent->parent;
|
|
||||||
} else {
|
|
||||||
if (w->right == 0 || w->right->color == Node::Black) {
|
|
||||||
if (w->left)
|
|
||||||
w->left->color = Node::Black;
|
|
||||||
w->color = Node::Red;
|
|
||||||
rotateRight(w, root);
|
|
||||||
w = x_parent->right;
|
|
||||||
}
|
|
||||||
w->color = x_parent->color;
|
|
||||||
x_parent->color = Node::Black;
|
|
||||||
if (w->right)
|
|
||||||
w->right->color = Node::Black;
|
|
||||||
rotateLeft(x_parent, root);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
NodePtr w = x_parent->left;
|
|
||||||
if (w->color == Node::Red) {
|
|
||||||
w->color = Node::Black;
|
|
||||||
x_parent->color = Node::Red;
|
|
||||||
rotateRight(x_parent, root);
|
|
||||||
w = x_parent->left;
|
|
||||||
}
|
|
||||||
if ((w->right == 0 || w->right->color == Node::Black) &&
|
|
||||||
(w->left == 0 || w->left->color == Node::Black)) {
|
|
||||||
w->color = Node::Red;
|
|
||||||
x = x_parent;
|
|
||||||
x_parent = x_parent->parent;
|
|
||||||
} else {
|
|
||||||
if (w->left == 0 || w->left->color == Node::Black) {
|
|
||||||
if (w->right)
|
|
||||||
w->right->color = Node::Black;
|
|
||||||
w->color = Node::Red;
|
|
||||||
rotateLeft(w, root);
|
|
||||||
w = x_parent->left;
|
|
||||||
}
|
|
||||||
w->color = x_parent->color;
|
|
||||||
x_parent->color = Node::Black;
|
|
||||||
if (w->left)
|
|
||||||
w->left->color = Node::Black;
|
|
||||||
rotateRight(x_parent, root);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (x)
|
|
||||||
x->color = Node::Black;
|
|
||||||
}
|
|
||||||
return y;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,935 +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_TQMAP_H
|
|
||||||
#define TQT_TQMAP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMap class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMap class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qmap.h>
|
|
||||||
#include <Qt/q3shared.h>
|
|
||||||
#include <Qt/q3valuelist.h>
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Definition of TQMap class
|
|
||||||
**
|
|
||||||
** Created : 990406
|
|
||||||
**
|
|
||||||
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
|
|
||||||
**
|
|
||||||
** This file is part of the tools module of the Qt GUI Toolkit.
|
|
||||||
**
|
|
||||||
** This file may be used under the terms of the GNU General
|
|
||||||
** Public License versions 2.0 or 3.0 as published by the Free
|
|
||||||
** Software Foundation and appearing in the files LICENSE.GPL2
|
|
||||||
** and LICENSE.GPL3 included in the packaging of this file.
|
|
||||||
** Alternatively you may (at your option) use any later version
|
|
||||||
** of the GNU General Public License if such license has been
|
|
||||||
** publicly approved by Trolltech ASA (or its successors, if any)
|
|
||||||
** and the KDE Free Qt Foundation.
|
|
||||||
**
|
|
||||||
** Please review the following information to ensure GNU General
|
|
||||||
** Public Licensing requirements will be met:
|
|
||||||
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
|
|
||||||
** If you are unsure which license is appropriate for your use, please
|
|
||||||
** review the following information:
|
|
||||||
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
|
|
||||||
** or contact the sales department at sales@trolltech.com.
|
|
||||||
**
|
|
||||||
** This file may be used under the terms of the Q Public License as
|
|
||||||
** defined by Trolltech ASA and appearing in the file LICENSE.QPL
|
|
||||||
** included in the packaging of this file. Licensees holding valid Qt
|
|
||||||
** Commercial licenses may use this file in accordance with the Qt
|
|
||||||
** Commercial License Agreement provided with the Software.
|
|
||||||
**
|
|
||||||
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
|
|
||||||
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
|
|
||||||
** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
|
|
||||||
** herein.
|
|
||||||
**
|
|
||||||
**********************************************************************/
|
|
||||||
|
|
||||||
//#define QT_CHECK_MAP_RANGE
|
|
||||||
|
|
||||||
struct TQMapNodeBase
|
|
||||||
{
|
|
||||||
enum Color { Red, Black };
|
|
||||||
|
|
||||||
TQMapNodeBase* left;
|
|
||||||
TQMapNodeBase* right;
|
|
||||||
TQMapNodeBase* parent;
|
|
||||||
|
|
||||||
Color color;
|
|
||||||
|
|
||||||
TQMapNodeBase* minimum() {
|
|
||||||
TQMapNodeBase* x = this;
|
|
||||||
while ( x->left )
|
|
||||||
x = x->left;
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMapNodeBase* maximum() {
|
|
||||||
TQMapNodeBase* x = this;
|
|
||||||
while ( x->right )
|
|
||||||
x = x->right;
|
|
||||||
return x;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
template <class K, class T>
|
|
||||||
struct TQMapNode : public TQMapNodeBase
|
|
||||||
{
|
|
||||||
TQMapNode( const K& _key, const T& _data ) { data = _data; key = _key; }
|
|
||||||
TQMapNode( const K& _key ) { key = _key; }
|
|
||||||
TQMapNode( const TQMapNode<K,T>& _n ) { key = _n.key; data = _n.data; }
|
|
||||||
TQMapNode() { }
|
|
||||||
T data;
|
|
||||||
K key;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
template<class K, class T>
|
|
||||||
class TQMapIterator
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
/**
|
|
||||||
* Typedefs
|
|
||||||
*/
|
|
||||||
typedef TQMapNode< K, T >* NodePtr;
|
|
||||||
#ifndef QT_NO_STL
|
|
||||||
typedef std::bidirectional_iterator_tag iterator_category;
|
|
||||||
#endif
|
|
||||||
typedef T value_type;
|
|
||||||
#ifndef QT_NO_STL
|
|
||||||
typedef ptrdiff_t difference_type;
|
|
||||||
#else
|
|
||||||
typedef int difference_type;
|
|
||||||
#endif
|
|
||||||
typedef T* pointer;
|
|
||||||
typedef T& reference;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Variables
|
|
||||||
*/
|
|
||||||
TQMapNode<K,T>* node;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Functions
|
|
||||||
*/
|
|
||||||
TQMapIterator() : node( 0 ) {}
|
|
||||||
TQMapIterator( TQMapNode<K,T>* p ) : node( p ) {}
|
|
||||||
TQMapIterator( const TQMapIterator<K,T>& it ) : node( it.node ) {}
|
|
||||||
|
|
||||||
bool operator==( const TQMapIterator<K,T>& it ) const { return node == it.node; }
|
|
||||||
bool operator!=( const TQMapIterator<K,T>& it ) const { return node != it.node; }
|
|
||||||
T& operator*() { return node->data; }
|
|
||||||
const T& operator*() const { return node->data; }
|
|
||||||
// UDT for T = x*
|
|
||||||
// T* operator->() const { return &node->data; }
|
|
||||||
|
|
||||||
const K& key() const { return node->key; }
|
|
||||||
T& data() { return node->data; }
|
|
||||||
const T& data() const { return node->data; }
|
|
||||||
|
|
||||||
private:
|
|
||||||
int inc();
|
|
||||||
int dec();
|
|
||||||
|
|
||||||
public:
|
|
||||||
TQMapIterator<K,T>& operator++() {
|
|
||||||
inc();
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMapIterator<K,T> operator++(int) {
|
|
||||||
TQMapIterator<K,T> tmp = *this;
|
|
||||||
inc();
|
|
||||||
return tmp;
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMapIterator<K,T>& operator--() {
|
|
||||||
dec();
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMapIterator<K,T> operator--(int) {
|
|
||||||
TQMapIterator<K,T> tmp = *this;
|
|
||||||
dec();
|
|
||||||
return tmp;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
template <class K, class T>
|
|
||||||
int TQMapIterator<K,T>::inc()
|
|
||||||
{
|
|
||||||
TQMapNodeBase* tmp = node;
|
|
||||||
if ( tmp->right ) {
|
|
||||||
tmp = tmp->right;
|
|
||||||
while ( tmp->left )
|
|
||||||
tmp = tmp->left;
|
|
||||||
} else {
|
|
||||||
TQMapNodeBase* y = tmp->parent;
|
|
||||||
while (tmp == y->right) {
|
|
||||||
tmp = y;
|
|
||||||
y = y->parent;
|
|
||||||
}
|
|
||||||
if (tmp->right != y)
|
|
||||||
tmp = y;
|
|
||||||
}
|
|
||||||
node = (NodePtr)tmp;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class K, class T>
|
|
||||||
int TQMapIterator<K,T>::dec()
|
|
||||||
{
|
|
||||||
TQMapNodeBase* tmp = node;
|
|
||||||
if (tmp->color == TQMapNodeBase::Red &&
|
|
||||||
tmp->parent->parent == tmp ) {
|
|
||||||
tmp = tmp->right;
|
|
||||||
} else if (tmp->left != 0) {
|
|
||||||
TQMapNodeBase* y = tmp->left;
|
|
||||||
while ( y->right )
|
|
||||||
y = y->right;
|
|
||||||
tmp = y;
|
|
||||||
} else {
|
|
||||||
TQMapNodeBase* y = tmp->parent;
|
|
||||||
while (tmp == y->left) {
|
|
||||||
tmp = y;
|
|
||||||
y = y->parent;
|
|
||||||
}
|
|
||||||
tmp = y;
|
|
||||||
}
|
|
||||||
node = (NodePtr)tmp;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class K, class T>
|
|
||||||
class TQMapConstIterator
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
/**
|
|
||||||
* Typedefs
|
|
||||||
*/
|
|
||||||
typedef TQMapNode< K, T >* NodePtr;
|
|
||||||
#ifndef QT_NO_STL
|
|
||||||
typedef std::bidirectional_iterator_tag iterator_category;
|
|
||||||
#endif
|
|
||||||
typedef T value_type;
|
|
||||||
#ifndef QT_NO_STL
|
|
||||||
typedef ptrdiff_t difference_type;
|
|
||||||
#else
|
|
||||||
typedef int difference_type;
|
|
||||||
#endif
|
|
||||||
typedef const T* pointer;
|
|
||||||
typedef const T& reference;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Variables
|
|
||||||
*/
|
|
||||||
TQMapNode<K,T>* node;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Functions
|
|
||||||
*/
|
|
||||||
TQMapConstIterator() : node( 0 ) {}
|
|
||||||
TQMapConstIterator( TQMapNode<K,T>* p ) : node( p ) {}
|
|
||||||
TQMapConstIterator( const TQMapConstIterator<K,T>& it ) : node( it.node ) {}
|
|
||||||
TQMapConstIterator( const TQMapIterator<K,T>& it ) : node( it.node ) {}
|
|
||||||
|
|
||||||
bool operator==( const TQMapConstIterator<K,T>& it ) const { return node == it.node; }
|
|
||||||
bool operator!=( const TQMapConstIterator<K,T>& it ) const { return node != it.node; }
|
|
||||||
const T& operator*() const { return node->data; }
|
|
||||||
// UDT for T = x*
|
|
||||||
// const T* operator->() const { return &node->data; }
|
|
||||||
|
|
||||||
const K& key() const { return node->key; }
|
|
||||||
const T& data() const { return node->data; }
|
|
||||||
|
|
||||||
private:
|
|
||||||
int inc();
|
|
||||||
int dec();
|
|
||||||
|
|
||||||
public:
|
|
||||||
TQMapConstIterator<K,T>& operator++() {
|
|
||||||
inc();
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMapConstIterator<K,T> operator++(int) {
|
|
||||||
TQMapConstIterator<K,T> tmp = *this;
|
|
||||||
inc();
|
|
||||||
return tmp;
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMapConstIterator<K,T>& operator--() {
|
|
||||||
dec();
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMapConstIterator<K,T> operator--(int) {
|
|
||||||
TQMapConstIterator<K,T> tmp = *this;
|
|
||||||
dec();
|
|
||||||
return tmp;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
template <class K, class T>
|
|
||||||
int TQMapConstIterator<K,T>::inc()
|
|
||||||
{
|
|
||||||
TQMapNodeBase* tmp = node;
|
|
||||||
if ( tmp->right ) {
|
|
||||||
tmp = tmp->right;
|
|
||||||
while ( tmp->left )
|
|
||||||
tmp = tmp->left;
|
|
||||||
} else {
|
|
||||||
TQMapNodeBase* y = tmp->parent;
|
|
||||||
while (tmp == y->right) {
|
|
||||||
tmp = y;
|
|
||||||
y = y->parent;
|
|
||||||
}
|
|
||||||
if (tmp->right != y)
|
|
||||||
tmp = y;
|
|
||||||
}
|
|
||||||
node = (NodePtr)tmp;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class K, class T>
|
|
||||||
int TQMapConstIterator<K,T>::dec()
|
|
||||||
{
|
|
||||||
TQMapNodeBase* tmp = node;
|
|
||||||
if (tmp->color == TQMapNodeBase::Red &&
|
|
||||||
tmp->parent->parent == tmp ) {
|
|
||||||
tmp = tmp->right;
|
|
||||||
} else if (tmp->left != 0) {
|
|
||||||
TQMapNodeBase* y = tmp->left;
|
|
||||||
while ( y->right )
|
|
||||||
y = y->right;
|
|
||||||
tmp = y;
|
|
||||||
} else {
|
|
||||||
TQMapNodeBase* y = tmp->parent;
|
|
||||||
while (tmp == y->left) {
|
|
||||||
tmp = y;
|
|
||||||
y = y->parent;
|
|
||||||
}
|
|
||||||
tmp = y;
|
|
||||||
}
|
|
||||||
node = (NodePtr)tmp;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
// ### 4.0: rename to something without Private in it. Not really internal.
|
|
||||||
class TQMapPrivateBase : public Q3Shared
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQMapPrivateBase() {
|
|
||||||
node_count = 0;
|
|
||||||
}
|
|
||||||
TQMapPrivateBase( const TQMapPrivateBase* _map) {
|
|
||||||
node_count = _map->node_count;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Implementations of basic tree algorithms
|
|
||||||
*/
|
|
||||||
void rotateLeft( TQMapNodeBase* x, TQMapNodeBase*& root);
|
|
||||||
void rotateRight( TQMapNodeBase* x, TQMapNodeBase*& root );
|
|
||||||
void rebalance( TQMapNodeBase* x, TQMapNodeBase*& root );
|
|
||||||
TQMapNodeBase* removeAndRebalance( TQMapNodeBase* z, TQMapNodeBase*& root,
|
|
||||||
TQMapNodeBase*& leftmost,
|
|
||||||
TQMapNodeBase*& rightmost );
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Variables
|
|
||||||
*/
|
|
||||||
int node_count;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
template <class Key, class T>
|
|
||||||
class TQMapPrivate : public TQMapPrivateBase
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
/**
|
|
||||||
* Typedefs
|
|
||||||
*/
|
|
||||||
typedef TQMapIterator< Key, T > Iterator;
|
|
||||||
typedef TQMapConstIterator< Key, T > ConstIterator;
|
|
||||||
typedef TQMapNode< Key, T > Node;
|
|
||||||
typedef TQMapNode< Key, T >* NodePtr;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Functions
|
|
||||||
*/
|
|
||||||
TQMapPrivate();
|
|
||||||
TQMapPrivate( const TQMapPrivate< Key, T >* _map );
|
|
||||||
~TQMapPrivate() { clear(); delete header; }
|
|
||||||
|
|
||||||
NodePtr copy( NodePtr p );
|
|
||||||
void clear();
|
|
||||||
void clear( NodePtr p );
|
|
||||||
|
|
||||||
Iterator begin() { return Iterator( (NodePtr)(header->left ) ); }
|
|
||||||
Iterator end() { return Iterator( header ); }
|
|
||||||
ConstIterator begin() const { return ConstIterator( (NodePtr)(header->left ) ); }
|
|
||||||
ConstIterator end() const { return ConstIterator( header ); }
|
|
||||||
|
|
||||||
ConstIterator find(const Key& k) const;
|
|
||||||
|
|
||||||
void remove( Iterator it ) {
|
|
||||||
NodePtr del = (NodePtr) removeAndRebalance( it.node, header->parent, header->left, header->right );
|
|
||||||
delete del;
|
|
||||||
--node_count;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef QT_QMAP_DEBUG
|
|
||||||
void inorder( TQMapNodeBase* x = 0, int level = 0 ){
|
|
||||||
if ( !x )
|
|
||||||
x = header->parent;
|
|
||||||
if ( x->left )
|
|
||||||
inorder( x->left, level + 1 );
|
|
||||||
//cout << level << " Key=" << key(x) << " Value=" << ((NodePtr)x)->data << endl;
|
|
||||||
if ( x->right )
|
|
||||||
inorder( x->right, level + 1 );
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if 0
|
|
||||||
Iterator insertMulti(const Key& v){
|
|
||||||
TQMapNodeBase* y = header;
|
|
||||||
TQMapNodeBase* x = header->parent;
|
|
||||||
while (x != 0){
|
|
||||||
y = x;
|
|
||||||
x = ( v < key(x) ) ? x->left : x->right;
|
|
||||||
}
|
|
||||||
return insert(x, y, v);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
Iterator insertSingle( const Key& k );
|
|
||||||
Iterator insert( TQMapNodeBase* x, TQMapNodeBase* y, const Key& k );
|
|
||||||
|
|
||||||
protected:
|
|
||||||
/**
|
|
||||||
* Helpers
|
|
||||||
*/
|
|
||||||
const Key& key( TQMapNodeBase* b ) const { return ((NodePtr)b)->key; }
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Variables
|
|
||||||
*/
|
|
||||||
NodePtr header;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
template <class Key, class T>
|
|
||||||
TQMapPrivate<Key,T>::TQMapPrivate() {
|
|
||||||
header = new Node;
|
|
||||||
header->color = TQMapNodeBase::Red; // Mark the header
|
|
||||||
header->parent = 0;
|
|
||||||
header->left = header->right = header;
|
|
||||||
}
|
|
||||||
template <class Key, class T>
|
|
||||||
TQMapPrivate<Key,T>::TQMapPrivate( const TQMapPrivate< Key, T >* _map ) : TQMapPrivateBase( _map ) {
|
|
||||||
header = new Node;
|
|
||||||
header->color = TQMapNodeBase::Red; // Mark the header
|
|
||||||
if ( _map->header->parent == 0 ) {
|
|
||||||
header->parent = 0;
|
|
||||||
header->left = header->right = header;
|
|
||||||
} else {
|
|
||||||
header->parent = copy( (NodePtr)(_map->header->parent) );
|
|
||||||
header->parent->parent = header;
|
|
||||||
header->left = header->parent->minimum();
|
|
||||||
header->right = header->parent->maximum();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class Key, class T>
|
|
||||||
Q_TYPENAME TQMapPrivate<Key,T>::NodePtr TQMapPrivate<Key,T>::copy( Q_TYPENAME TQMapPrivate<Key,T>::NodePtr p )
|
|
||||||
{
|
|
||||||
if ( !p )
|
|
||||||
return 0;
|
|
||||||
NodePtr n = new Node( *p );
|
|
||||||
n->color = p->color;
|
|
||||||
if ( p->left ) {
|
|
||||||
n->left = copy( (NodePtr)(p->left) );
|
|
||||||
n->left->parent = n;
|
|
||||||
} else {
|
|
||||||
n->left = 0;
|
|
||||||
}
|
|
||||||
if ( p->right ) {
|
|
||||||
n->right = copy( (NodePtr)(p->right) );
|
|
||||||
n->right->parent = n;
|
|
||||||
} else {
|
|
||||||
n->right = 0;
|
|
||||||
}
|
|
||||||
return n;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class Key, class T>
|
|
||||||
void TQMapPrivate<Key,T>::clear()
|
|
||||||
{
|
|
||||||
clear( (NodePtr)(header->parent) );
|
|
||||||
header->color = TQMapNodeBase::Red;
|
|
||||||
header->parent = 0;
|
|
||||||
header->left = header->right = header;
|
|
||||||
node_count = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class Key, class T>
|
|
||||||
void TQMapPrivate<Key,T>::clear( Q_TYPENAME TQMapPrivate<Key,T>::NodePtr p )
|
|
||||||
{
|
|
||||||
while ( p != 0 ) {
|
|
||||||
clear( (NodePtr)p->right );
|
|
||||||
NodePtr y = (NodePtr)p->left;
|
|
||||||
delete p;
|
|
||||||
p = y;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class Key, class T>
|
|
||||||
Q_TYPENAME TQMapPrivate<Key,T>::ConstIterator TQMapPrivate<Key,T>::find(const Key& k) const
|
|
||||||
{
|
|
||||||
TQMapNodeBase* y = header; // Last node
|
|
||||||
TQMapNodeBase* x = header->parent; // Root node.
|
|
||||||
|
|
||||||
while ( x != 0 ) {
|
|
||||||
// If as k <= key(x) go left
|
|
||||||
if ( !( key(x) < k ) ) {
|
|
||||||
y = x;
|
|
||||||
x = x->left;
|
|
||||||
} else {
|
|
||||||
x = x->right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Was k bigger/smaller then the biggest/smallest
|
|
||||||
// element of the tree ? Return end()
|
|
||||||
if ( y == header || k < key(y) )
|
|
||||||
return ConstIterator( header );
|
|
||||||
return ConstIterator( (NodePtr)y );
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class Key, class T>
|
|
||||||
Q_TYPENAME TQMapPrivate<Key,T>::Iterator TQMapPrivate<Key,T>::insertSingle( const Key& k )
|
|
||||||
{
|
|
||||||
// Search correct position in the tree
|
|
||||||
TQMapNodeBase* y = header;
|
|
||||||
TQMapNodeBase* x = header->parent;
|
|
||||||
bool result = TRUE;
|
|
||||||
while ( x != 0 ) {
|
|
||||||
result = ( k < key(x) );
|
|
||||||
y = x;
|
|
||||||
x = result ? x->left : x->right;
|
|
||||||
}
|
|
||||||
// Get iterator on the last not empty one
|
|
||||||
Iterator j( (NodePtr)y );
|
|
||||||
if ( result ) {
|
|
||||||
// Smaller then the leftmost one ?
|
|
||||||
if ( j == begin() ) {
|
|
||||||
return insert(x, y, k );
|
|
||||||
} else {
|
|
||||||
// Perhaps daddy is the right one ?
|
|
||||||
--j;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
// Really bigger ?
|
|
||||||
if ( (j.node->key) < k )
|
|
||||||
return insert(x, y, k );
|
|
||||||
// We are going to replace a node
|
|
||||||
return j;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
template <class Key, class T>
|
|
||||||
Q_TYPENAME TQMapPrivate<Key,T>::Iterator TQMapPrivate<Key,T>::insert( TQMapNodeBase* x, TQMapNodeBase* y, const Key& k )
|
|
||||||
{
|
|
||||||
NodePtr z = new Node( k );
|
|
||||||
if (y == header || x != 0 || k < key(y) ) {
|
|
||||||
y->left = z; // also makes leftmost = z when y == header
|
|
||||||
if ( y == header ) {
|
|
||||||
header->parent = z;
|
|
||||||
header->right = z;
|
|
||||||
} else if ( y == header->left )
|
|
||||||
header->left = z; // maintain leftmost pointing to min node
|
|
||||||
} else {
|
|
||||||
y->right = z;
|
|
||||||
if ( y == header->right )
|
|
||||||
header->right = z; // maintain rightmost pointing to max node
|
|
||||||
}
|
|
||||||
z->parent = y;
|
|
||||||
z->left = 0;
|
|
||||||
z->right = 0;
|
|
||||||
rebalance( z, header->parent );
|
|
||||||
++node_count;
|
|
||||||
return Iterator(z);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef QT_CHECK_RANGE
|
|
||||||
# if !defined( QT_NO_DEBUG ) && defined( QT_CHECK_MAP_RANGE )
|
|
||||||
# define QT_CHECK_INVALID_MAP_ELEMENT if ( empty() ) qWarning( "TQMap: Warning invalid element" )
|
|
||||||
# define QT_CHECK_INVALID_MAP_ELEMENT_FATAL Q_ASSERT( !empty() );
|
|
||||||
# else
|
|
||||||
# define QT_CHECK_INVALID_MAP_ELEMENT
|
|
||||||
# define QT_CHECK_INVALID_MAP_ELEMENT_FATAL
|
|
||||||
# endif
|
|
||||||
#else
|
|
||||||
# define QT_CHECK_INVALID_MAP_ELEMENT
|
|
||||||
# define QT_CHECK_INVALID_MAP_ELEMENT_FATAL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
template <class T> class QDeepCopy;
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
class TQMap
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
/**
|
|
||||||
* Typedefs
|
|
||||||
*/
|
|
||||||
typedef Key key_type;
|
|
||||||
typedef T mapped_type;
|
|
||||||
typedef QPair<const key_type, mapped_type> value_type;
|
|
||||||
typedef value_type* pointer;
|
|
||||||
typedef const value_type* const_pointer;
|
|
||||||
typedef value_type& reference;
|
|
||||||
typedef const value_type& const_reference;
|
|
||||||
#ifndef QT_NO_STL
|
|
||||||
typedef ptrdiff_t difference_type;
|
|
||||||
#else
|
|
||||||
typedef int difference_type;
|
|
||||||
#endif
|
|
||||||
typedef size_t size_type;
|
|
||||||
typedef TQMapIterator<Key,T> iterator;
|
|
||||||
typedef TQMapConstIterator<Key,T> const_iterator;
|
|
||||||
typedef QPair<iterator,bool> insert_pair;
|
|
||||||
|
|
||||||
typedef TQMapIterator< Key, T > Iterator;
|
|
||||||
typedef TQMapConstIterator< Key, T > ConstIterator;
|
|
||||||
typedef T ValueType;
|
|
||||||
typedef TQMapPrivate< Key, T > Priv;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* API
|
|
||||||
*/
|
|
||||||
TQMap()
|
|
||||||
{
|
|
||||||
sh = new TQMapPrivate< Key, T >;
|
|
||||||
}
|
|
||||||
TQMap( const TQMap<Key,T>& m )
|
|
||||||
{
|
|
||||||
sh = m.sh; sh->ref();
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef QT_NO_STL
|
|
||||||
TQMap( const std::map<Key,T>& m )
|
|
||||||
{
|
|
||||||
sh = new TQMapPrivate<Key,T>;
|
|
||||||
Q_TYPENAME std::map<Key,T>::const_iterator it = m.begin();
|
|
||||||
for ( ; it != m.end(); ++it ) {
|
|
||||||
value_type p( (*it).first, (*it).second );
|
|
||||||
insert( p );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
~TQMap()
|
|
||||||
{
|
|
||||||
if ( sh->deref() )
|
|
||||||
delete sh;
|
|
||||||
}
|
|
||||||
TQMap<Key,T>& operator= ( const TQMap<Key,T>& m );
|
|
||||||
#ifndef QT_NO_STL
|
|
||||||
TQMap<Key,T>& operator= ( const std::map<Key,T>& m )
|
|
||||||
{
|
|
||||||
clear();
|
|
||||||
Q_TYPENAME std::map<Key,T>::const_iterator it = m.begin();
|
|
||||||
for ( ; it != m.end(); ++it ) {
|
|
||||||
value_type p( (*it).first, (*it).second );
|
|
||||||
insert( p );
|
|
||||||
}
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Interoperability
|
|
||||||
TQMap(const QMap<Key,T>& m)
|
|
||||||
{
|
|
||||||
QMapIterator<Key,T> i(m);
|
|
||||||
while (i.hasNext()) {
|
|
||||||
i.next();
|
|
||||||
insert(i.key(), i.value());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
TQMap<Key,T>& operator= (const QMap<Key,T>& m)
|
|
||||||
{
|
|
||||||
this->clear();
|
|
||||||
QMapIterator<Key,T> i(m);
|
|
||||||
while (i.hasNext()) {
|
|
||||||
i.next();
|
|
||||||
insert(i.key(), i.value());
|
|
||||||
}
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
operator QMap<Key,T>() const {
|
|
||||||
QMap<Key,T> map;
|
|
||||||
iterator it;
|
|
||||||
for ( it = this->begin(); it != this->end(); ++it) {
|
|
||||||
map.insert(it.key(), it.data());
|
|
||||||
}
|
|
||||||
return map;
|
|
||||||
}
|
|
||||||
|
|
||||||
iterator begin() { detach(); return sh->begin(); }
|
|
||||||
iterator end() { detach(); return sh->end(); }
|
|
||||||
const_iterator begin() const { return ((const Priv*)sh)->begin(); }
|
|
||||||
const_iterator end() const { return ((const Priv*)sh)->end(); }
|
|
||||||
const_iterator constBegin() const { return begin(); }
|
|
||||||
const_iterator constEnd() const { return end(); }
|
|
||||||
|
|
||||||
iterator replace( const Key& k, const T& v )
|
|
||||||
{
|
|
||||||
remove( k );
|
|
||||||
return insert( k, v );
|
|
||||||
}
|
|
||||||
|
|
||||||
size_type size() const
|
|
||||||
{
|
|
||||||
return sh->node_count;
|
|
||||||
}
|
|
||||||
bool empty() const
|
|
||||||
{
|
|
||||||
return sh->node_count == 0;
|
|
||||||
}
|
|
||||||
QPair<iterator,bool> insert( const value_type& x );
|
|
||||||
|
|
||||||
void erase( iterator it )
|
|
||||||
{
|
|
||||||
detach();
|
|
||||||
sh->remove( it );
|
|
||||||
}
|
|
||||||
void erase( const key_type& k );
|
|
||||||
size_type count( const key_type& k ) const;
|
|
||||||
T& operator[] ( const Key& k );
|
|
||||||
void clear();
|
|
||||||
|
|
||||||
iterator find ( const Key& k )
|
|
||||||
{
|
|
||||||
detach();
|
|
||||||
return iterator( sh->find( k ).node );
|
|
||||||
}
|
|
||||||
const_iterator find ( const Key& k ) const { return sh->find( k ); }
|
|
||||||
|
|
||||||
const T& operator[] ( const Key& k ) const
|
|
||||||
{ QT_CHECK_INVALID_MAP_ELEMENT; return sh->find( k ).data(); }
|
|
||||||
bool contains ( const Key& k ) const
|
|
||||||
{ return find( k ) != end(); }
|
|
||||||
//{ return sh->find( k ) != ((const Priv*)sh)->end(); }
|
|
||||||
|
|
||||||
size_type count() const { return sh->node_count; }
|
|
||||||
|
|
||||||
Q3ValueList<Key> keys() const {
|
|
||||||
Q3ValueList<Key> r;
|
|
||||||
for (const_iterator i=begin(); i!=end(); ++i)
|
|
||||||
r.append(i.key());
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
Q3ValueList<T> values() const {
|
|
||||||
Q3ValueList<T> r;
|
|
||||||
for (const_iterator i=begin(); i!=end(); ++i)
|
|
||||||
r.append(*i);
|
|
||||||
return r;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool isEmpty() const { return sh->node_count == 0; }
|
|
||||||
|
|
||||||
iterator insert( const Key& key, const T& value, bool overwrite = TRUE );
|
|
||||||
void remove( iterator it ) { detach(); sh->remove( it ); }
|
|
||||||
void remove( const Key& k );
|
|
||||||
|
|
||||||
#if defined(Q_FULL_TEMPLATE_INSTANTIATION)
|
|
||||||
bool operator==( const TQMap<Key,T>& ) const { return FALSE; }
|
|
||||||
#ifndef QT_NO_STL
|
|
||||||
bool operator==( const std::map<Key,T>& ) const { return FALSE; }
|
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
|
||||||
/**
|
|
||||||
* Helpers
|
|
||||||
*/
|
|
||||||
void detach() { if ( sh->count > 1 ) detachInternal(); }
|
|
||||||
|
|
||||||
Priv* sh;
|
|
||||||
private:
|
|
||||||
void detachInternal();
|
|
||||||
|
|
||||||
friend class QDeepCopy< TQMap<Key,T> >;
|
|
||||||
};
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
TQMap<Key,T>& TQMap<Key,T>::operator= ( const TQMap<Key,T>& m )
|
|
||||||
{
|
|
||||||
m.sh->ref();
|
|
||||||
if ( sh->deref() )
|
|
||||||
delete sh;
|
|
||||||
sh = m.sh;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
Q_TYPENAME TQMap<Key,T>::insert_pair TQMap<Key,T>::insert( const Q_TYPENAME TQMap<Key,T>::value_type& x )
|
|
||||||
{
|
|
||||||
detach();
|
|
||||||
size_type n = size();
|
|
||||||
iterator it = sh->insertSingle( x.first );
|
|
||||||
bool inserted = FALSE;
|
|
||||||
if ( n < size() ) {
|
|
||||||
inserted = TRUE;
|
|
||||||
it.data() = x.second;
|
|
||||||
}
|
|
||||||
return QPair<iterator,bool>( it, inserted );
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
void TQMap<Key,T>::erase( const Key& k )
|
|
||||||
{
|
|
||||||
detach();
|
|
||||||
iterator it( sh->find( k ).node );
|
|
||||||
if ( it != end() )
|
|
||||||
sh->remove( it );
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
Q_TYPENAME TQMap<Key,T>::size_type TQMap<Key,T>::count( const Key& k ) const
|
|
||||||
{
|
|
||||||
const_iterator it( sh->find( k ).node );
|
|
||||||
if ( it != end() ) {
|
|
||||||
size_type c = 0;
|
|
||||||
while ( it != end() ) {
|
|
||||||
++it;
|
|
||||||
++c;
|
|
||||||
}
|
|
||||||
return c;
|
|
||||||
}
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
T& TQMap<Key,T>::operator[] ( const Key& k )
|
|
||||||
{
|
|
||||||
detach();
|
|
||||||
TQMapNode<Key,T>* p = sh->find( k ).node;
|
|
||||||
if ( p != sh->end().node )
|
|
||||||
return p->data;
|
|
||||||
return insert( k, T() ).data();
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
void TQMap<Key,T>::clear()
|
|
||||||
{
|
|
||||||
if ( sh->count == 1 )
|
|
||||||
sh->clear();
|
|
||||||
else {
|
|
||||||
sh->deref();
|
|
||||||
sh = new TQMapPrivate<Key,T>;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
Q_TYPENAME TQMap<Key,T>::iterator TQMap<Key,T>::insert( const Key& key, const T& value, bool overwrite )
|
|
||||||
{
|
|
||||||
detach();
|
|
||||||
size_type n = size();
|
|
||||||
iterator it = sh->insertSingle( key );
|
|
||||||
if ( overwrite || n < size() )
|
|
||||||
it.data() = value;
|
|
||||||
return it;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
void TQMap<Key,T>::remove( const Key& k )
|
|
||||||
{
|
|
||||||
detach();
|
|
||||||
iterator it( sh->find( k ).node );
|
|
||||||
if ( it != end() )
|
|
||||||
sh->remove( it );
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
void TQMap<Key,T>::detachInternal()
|
|
||||||
{
|
|
||||||
sh->deref(); sh = new TQMapPrivate<Key,T>( sh );
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
|
||||||
template<class Key, class T>
|
|
||||||
QDataStream& operator>>( QDataStream& s, TQMap<Key,T>& m ) {
|
|
||||||
m.clear();
|
|
||||||
Q_UINT32 c;
|
|
||||||
s >> c;
|
|
||||||
for( Q_UINT32 i = 0; i < c; ++i ) {
|
|
||||||
Key k; T t;
|
|
||||||
s >> k >> t;
|
|
||||||
m.insert( k, t );
|
|
||||||
if ( s.atEnd() )
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
template<class Key, class T>
|
|
||||||
QDataStream& operator<<( QDataStream& s, const TQMap<Key,T>& m ) {
|
|
||||||
s << (Q_UINT32)m.size();
|
|
||||||
TQMapConstIterator<Key,T> it = m.begin();
|
|
||||||
for( ; it != m.end(); ++it )
|
|
||||||
s << it.key() << it.data();
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**********************************************************************/
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMAP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmemarray.h>
|
|
@ -1,45 +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_TQMEMARRAY_H
|
|
||||||
#define TQT_TQMEMARRAY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMemArray class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmemarray.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMemArray class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3memarray.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMEMARRAY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmenubar.h>
|
|
@ -1,45 +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_TQMENUBAR_H
|
|
||||||
#define TQT_TQMENUBAR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMenuBar class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmenubar.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMenuBar class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qmenubar.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMENUBAR_H */
|
|
@ -1,82 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmenudata.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
Q3PopupMenu *QMenuItem::popup() const {
|
|
||||||
#warning "Badly broken/nonfunctional QMenuItem::popup() implementation!"
|
|
||||||
return &Q3PopupMenu(menu());
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
\overload
|
|
||||||
|
|
||||||
Inserts a menu item that consists of the widget \a widget with
|
|
||||||
optional id \a id, and optional \a index position.
|
|
||||||
|
|
||||||
Ownership of \a widget is transferred to the popup menu or to the
|
|
||||||
menu bar.
|
|
||||||
|
|
||||||
Theoretically, any widget can be inserted into a popup menu. In
|
|
||||||
practice, this only makes sense with certain widgets.
|
|
||||||
|
|
||||||
If a widget is not focus-enabled (see
|
|
||||||
\l{QWidget::isFocusEnabled()}), the menu treats it as a separator;
|
|
||||||
this means that the item is not selectable and will never get
|
|
||||||
focus. In this way you can, for example, simply insert a QLabel if
|
|
||||||
you need a popup menu with a title.
|
|
||||||
|
|
||||||
If the widget is focus-enabled it will get focus when the user
|
|
||||||
traverses the popup menu with the arrow keys. If the widget does
|
|
||||||
not accept \c ArrowUp and \c ArrowDown in its key event handler,
|
|
||||||
the focus will move back to the menu when the respective arrow key
|
|
||||||
is hit one more time. This works with a QLineEdit, for example. If
|
|
||||||
the widget accepts the arrow key itself, it must also provide the
|
|
||||||
possibility to put the focus back on the menu again by calling
|
|
||||||
QWidget::focusNextPrevChild(). Futhermore, if the embedded widget
|
|
||||||
closes the menu when the user made a selection, this can be done
|
|
||||||
safely by calling:
|
|
||||||
\code
|
|
||||||
if ( isVisible() &&
|
|
||||||
parentWidget() &&
|
|
||||||
parentWidget()->inherits("QPopupMenu") )
|
|
||||||
parentWidget()->close();
|
|
||||||
\endcode
|
|
||||||
|
|
||||||
Returns the allocated menu identifier number (\a id if \a id >= 0).
|
|
||||||
|
|
||||||
\sa removeItem()
|
|
||||||
*/
|
|
||||||
int QMenu::insertItem( QWidget* widget, int id, int index )
|
|
||||||
{
|
|
||||||
#warning "QMenuData::insertItem(QWidget* widget, int id, int index) unimplemented!"
|
|
||||||
|
|
||||||
// New method is const QIcon*, const QString*, const QObject*, const char*, const QKeySequence*, const QMenu*, int, int
|
|
||||||
// Qt4 does not seem to support arbitrary widgets being added to menus (!!!)
|
|
||||||
// This will need to be reimplemented somehow as it is a very useful feature (e.g. Start menu text filter box)
|
|
||||||
//return insertAny( 0, 0, 0, 0, id, index, widget );
|
|
||||||
return insertAny( 0, &QString("UNIMPLEMENTED"), widget, 0, 0, 0, id, index );
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQMENUDATA_H
|
|
||||||
#define TQT_TQMENUDATA_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMenuData class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmenudata.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMenuData class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qmenudata.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMENUDATA_H */
|
|
@ -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_TQMENUDTA_H
|
|
||||||
#define TQT_TQMENUDTA_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqmenudata defines
|
|
||||||
|
|
||||||
#include <tqmenudata.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQMENUDTA_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmessagebox.h>
|
|
@ -1,45 +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_TQMESSAGEBOX_H
|
|
||||||
#define TQT_TQMESSAGEBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMessageBox class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmessagebox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMessageBox class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qmessagebox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMESSAGEBOX_H */
|
|
@ -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_TQMETAOBJ_H
|
|
||||||
#define TQT_TQMETAOBJ_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqmetaobject defines
|
|
||||||
|
|
||||||
#include <tqmetaobject.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQMETAOBJ_H */
|
|
@ -1,303 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmetaobject.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns the number of slots for this class.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited slots are included.
|
|
||||||
|
|
||||||
\sa slotNames()
|
|
||||||
*/
|
|
||||||
int QMetaObject::numSlots( bool super ) const // number of slots
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
int n=0;
|
|
||||||
for (i=0;i<methodCount();i++) {
|
|
||||||
if (method(i).methodType() == QMetaMethod::Slot) {
|
|
||||||
n++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( !super || !superClass() )
|
|
||||||
return n;
|
|
||||||
return n + superClass()->numSlots( super );
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns the number of signals for this class.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited signals are included.
|
|
||||||
|
|
||||||
\sa signalNames()
|
|
||||||
*/
|
|
||||||
int QMetaObject::numSignals( bool super ) const // number of signals
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
int n=0;
|
|
||||||
for (i=0;i<methodCount();i++) {
|
|
||||||
if (method(i).methodType() == QMetaMethod::Signal) {
|
|
||||||
n++;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( !super || !superClass() )
|
|
||||||
return n;
|
|
||||||
return n + superClass()->numSignals( super );
|
|
||||||
}
|
|
||||||
|
|
||||||
/*! \internal
|
|
||||||
|
|
||||||
Returns the meta data of the slot with the name \a n or 0 if no
|
|
||||||
such slot exists.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited slots are included.
|
|
||||||
|
|
||||||
FIXME: Superclass handling is badly broken
|
|
||||||
*/
|
|
||||||
const QMetaMethod* QMetaObject::slot( int index, bool super ) const
|
|
||||||
{
|
|
||||||
QMetaMethod mm;
|
|
||||||
const QMetaMethod *mr;
|
|
||||||
int idx = index - ( super ? methodOffset() : 0 );
|
|
||||||
// if ( slotDict && idx >= 0 && idx < (int) slotDict->count() ) {
|
|
||||||
if ( idx >= 0 && idx < numSlots(true) ) {
|
|
||||||
// return slotData + idx;
|
|
||||||
mm = method(idx);
|
|
||||||
mr = &mm;
|
|
||||||
return mr;
|
|
||||||
}
|
|
||||||
if ( !super || !superClass() )
|
|
||||||
return 0;
|
|
||||||
return superClass()->slot( index, super );
|
|
||||||
}
|
|
||||||
|
|
||||||
/*! \internal
|
|
||||||
|
|
||||||
Returns the meta data of the signal with the name \a n or 0 if no
|
|
||||||
such signal exists.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited signals are included.
|
|
||||||
|
|
||||||
FIXME: Superclass handling is badly broken
|
|
||||||
*/
|
|
||||||
const QMetaMethod* QMetaObject::signal( int index, bool super ) const
|
|
||||||
{
|
|
||||||
QMetaMethod mm;
|
|
||||||
const QMetaMethod *mr;
|
|
||||||
int idx = index - ( super ? methodOffset() : 0 );
|
|
||||||
// if ( signalDict && idx >= 0 && idx < (int) signalDict->count() ) {
|
|
||||||
if ( idx >= 0 && idx < numSignals(true) ) {
|
|
||||||
// return signalData + idx;
|
|
||||||
mm = method(idx);
|
|
||||||
mr = &mm;
|
|
||||||
return mr;
|
|
||||||
}
|
|
||||||
if ( !super || !superClass() )
|
|
||||||
return 0;
|
|
||||||
return superClass()->signal( index, super );
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns a list with the names of all this class's signals.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited signals are included.
|
|
||||||
*/
|
|
||||||
TQT_QT_STRING_LIST_TYPE QMetaObject::signalNames( bool super ) const
|
|
||||||
{
|
|
||||||
TQT_QT_STRING_LIST_TYPE l( FALSE );
|
|
||||||
int n = methodCount();
|
|
||||||
for( int i = 0; i < n; ++i ) {
|
|
||||||
if (method(i).methodType() == QMetaMethod::Signal) {
|
|
||||||
l.append( normalizedSignature(signal(i, super)->signature()) );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return l;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns a list with the names of all this class's slots.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited slots are included.
|
|
||||||
|
|
||||||
\sa numSlots()
|
|
||||||
*/
|
|
||||||
TQT_QT_STRING_LIST_TYPE QMetaObject::slotNames( bool super ) const
|
|
||||||
{
|
|
||||||
TQT_QT_STRING_LIST_TYPE l( FALSE );
|
|
||||||
int n = methodCount();
|
|
||||||
for( int i = 0; i < n; ++i )
|
|
||||||
if (method(i).methodType() == QMetaMethod::Slot) {
|
|
||||||
l.append( normalizedSignature(slot( i, super)->signature()) );
|
|
||||||
}
|
|
||||||
return l;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*! \internal
|
|
||||||
Returns the index of the slot with name \n or -1 if no such slot exists.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited slots are included.
|
|
||||||
|
|
||||||
FIXME: Superclass handling is badly broken
|
|
||||||
*/
|
|
||||||
int QMetaObject::findSlot( const char* n, bool super ) const
|
|
||||||
{
|
|
||||||
TQT_QT_STRING_LIST_TYPE l( FALSE );
|
|
||||||
int m = methodCount();
|
|
||||||
for( int i = 0; i < m; ++i ) {
|
|
||||||
if ( normalizedSignature(slot( i, super)->signature()) == QByteArray(n) ) {
|
|
||||||
if (method(i).methodType() == QMetaMethod::Slot) {
|
|
||||||
return i;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*! \internal
|
|
||||||
Returns the index of the signal with name \n or -1 if no such signal exists.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited signals are included.
|
|
||||||
|
|
||||||
FIXME: Superclass handling is badly broken
|
|
||||||
*/
|
|
||||||
int QMetaObject::findSignal( const char* n, bool super ) const
|
|
||||||
{
|
|
||||||
TQT_QT_STRING_LIST_TYPE l( FALSE );
|
|
||||||
int m = methodCount();
|
|
||||||
for( int i = 0; i < m; ++i ) {
|
|
||||||
if ( normalizedSignature(signal( i, super)->signature()) == QByteArray(n) ) {
|
|
||||||
if (method(i).methodType() == QMetaMethod::Signal) {
|
|
||||||
return i;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef QT_NO_PROPERTIES
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns the number of properties for this class.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited properties are included.
|
|
||||||
|
|
||||||
\sa propertyNames()
|
|
||||||
*/
|
|
||||||
int QMetaObject::numProperties( bool super ) const // number of signals
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
int n=0;
|
|
||||||
for (i=0;i<propertyCount();i++) {
|
|
||||||
// if (property(i).propertyType() == QMetaProperty::Property) {
|
|
||||||
n++;
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( !super || !superClass() )
|
|
||||||
return n;
|
|
||||||
return n + superClass()->numProperties( super );
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns the property meta data for the property at index \a index
|
|
||||||
or 0 if no such property exists.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited properties are included.
|
|
||||||
|
|
||||||
\sa propertyNames()
|
|
||||||
|
|
||||||
FIXME: Superclass handling is badly broken
|
|
||||||
*/
|
|
||||||
const QMetaProperty* QMetaObject::property( int index, bool super ) const
|
|
||||||
{
|
|
||||||
QMetaProperty mp;
|
|
||||||
const QMetaProperty *pr;
|
|
||||||
int idx = index - ( super ? propertyOffset() : 0 );
|
|
||||||
// if ( d->propData && idx >= 0 && idx < (int)d->numPropData )
|
|
||||||
if ( idx >= 0 && idx < numProperties(true) )
|
|
||||||
mp = property(idx);
|
|
||||||
pr = ∓
|
|
||||||
return pr;
|
|
||||||
if ( !super || !superClass() )
|
|
||||||
return 0;
|
|
||||||
return superClass()->property( index, super );
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns a list with the names of all this class's properties.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited properties are included.
|
|
||||||
|
|
||||||
\sa property()
|
|
||||||
*/
|
|
||||||
TQT_QT_STRING_LIST_TYPE QMetaObject::propertyNames( bool super ) const
|
|
||||||
{
|
|
||||||
// TQT_QT_STRING_LIST_TYPE l( FALSE );
|
|
||||||
//
|
|
||||||
// if ( superclass && super ) {
|
|
||||||
// QStrList sl = superclass->propertyNames( super );
|
|
||||||
// for ( QStrListIterator slit( sl ); slit.current(); ++slit )
|
|
||||||
// l.append( slit.current() );
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// for( int i = 0; i < d->numPropData; ++i ) {
|
|
||||||
// if ( d->propData[i].isValid() )
|
|
||||||
// l.append( d->propData[i].name() );
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
// return l;
|
|
||||||
|
|
||||||
TQT_QT_STRING_LIST_TYPE l( FALSE );
|
|
||||||
int n = numProperties( super );
|
|
||||||
for( int i = 0; i < n; ++i )
|
|
||||||
l.append( property( i, super)->name() );
|
|
||||||
return l;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns the index for the property with name \a name or -1 if no
|
|
||||||
such property exists.
|
|
||||||
|
|
||||||
If \a super is TRUE, inherited properties are included.
|
|
||||||
|
|
||||||
\sa property(), propertyNames()
|
|
||||||
|
|
||||||
FIXME: Superclass handling is badly broken
|
|
||||||
*/
|
|
||||||
|
|
||||||
int QMetaObject::findProperty( const char *name, bool super ) const
|
|
||||||
{
|
|
||||||
return indexOfProperty( name );
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // QT_NO_PROPERTIES
|
|
||||||
|
|
||||||
bool QMetaProperty::writable() const
|
|
||||||
{
|
|
||||||
return isWritable();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,48 +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_TQMETAOBJECT_H
|
|
||||||
#define TQT_TQMETAOBJECT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqconnection.h>
|
|
||||||
#include <tqstrlist.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMetaObject class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmetaobject.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMetaObject class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qobjectdefs.h>
|
|
||||||
#include <tqt4/Qt/qmetaobject.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMETAOBJECT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmime.h>
|
|
@ -1,45 +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_TQMIME_H
|
|
||||||
#define TQT_TQMIME_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMime class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmime.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMime class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qmime.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMIME_H */
|
|
@ -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_TQMLINED_H
|
|
||||||
#define TQT_TQMLINED_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqmultilineedit defines
|
|
||||||
|
|
||||||
#include <tqmultilineedit.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQMLINED_H */
|
|
@ -1,43 +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_TQMNGIO_H
|
|
||||||
#define TQT_TQMNGIO_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in Qt3 qmngio defines
|
|
||||||
|
|
||||||
#include <qmngio.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in Qt4 qmngio defines
|
|
||||||
|
|
||||||
#include <qmngio.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMNGIO_H */
|
|
@ -1,43 +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_TQMODULES_H
|
|
||||||
#define TQT_TQMODULES_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in Qt3 modules defines
|
|
||||||
|
|
||||||
#include <qmodules.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in Qt4 modules defines
|
|
||||||
|
|
||||||
#include <qmodules.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMODULES_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmotifplusstyle.h>
|
|
@ -1,43 +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_TQMOTIFPLUSSTYLE_H
|
|
||||||
#define TQT_TQMOTIFPLUSSTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMotifPlusStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmotifplusstyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMotifPlusStyle class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMOTIFPLUSSTYLE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmotifstyle.h>
|
|
@ -1,45 +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_TQMOTIFSTYLE_H
|
|
||||||
#define TQT_TQMOTIFSTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMotifStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmotifstyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMotifStyle class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qmotifstyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQACCEL_H */
|
|
@ -1,57 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmovie.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// TQMovie::TQMovie(QObject *parent) : QMovie(parent) {}
|
|
||||||
// TQMovie::TQMovie(QIODevice *device, const QByteArray &format, QObject *parent) : QMovie(device, format, parent) {}
|
|
||||||
// TQMovie::TQMovie(const QString &fileName, const QByteArray &format, QObject *parent) : QMovie(fileName, format, parent) {}
|
|
||||||
|
|
||||||
TQMovie::TQMovie(QObject *parent) {
|
|
||||||
d = new QMovie(parent);
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMovie::TQMovie(QIODevice *device, const QByteArray &format, QObject *parent) {
|
|
||||||
d = new QMovie(device, format, parent);
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMovie::TQMovie(const QString &fileName, const QByteArray &format, QObject *parent) {
|
|
||||||
d = new QMovie(fileName, format, parent);
|
|
||||||
}
|
|
||||||
|
|
||||||
TQMovie::operator QMovie *() const {
|
|
||||||
return d;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Makes this movie use the same data as movie \a movie. QMovies use
|
|
||||||
explicit sharing.
|
|
||||||
*/
|
|
||||||
TQMovie& TQMovie::operator=(const TQMovie& movie)
|
|
||||||
{
|
|
||||||
d = movie.d;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,60 +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_TQMOVIE_H
|
|
||||||
#define TQT_TQMOVIE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMovie class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmovie.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMovie class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qmovie.h>
|
|
||||||
|
|
||||||
class TQMovie {
|
|
||||||
public:
|
|
||||||
TQMovie(QObject *parent = 0);
|
|
||||||
explicit TQMovie(QIODevice *device, const QByteArray &format = QByteArray(), QObject *parent = 0);
|
|
||||||
explicit TQMovie(const QString &fileName, const QByteArray &format = QByteArray(), QObject *parent = 0);
|
|
||||||
~TQMovie();
|
|
||||||
|
|
||||||
operator QMovie *() const;
|
|
||||||
|
|
||||||
TQMovie& operator=(const TQMovie&);
|
|
||||||
|
|
||||||
private:
|
|
||||||
QMovie *d;
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMOVIE_H */
|
|
@ -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_TQMSGBOX_H
|
|
||||||
#define TQT_TQMSGBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqmessagebox defines
|
|
||||||
|
|
||||||
#include <tqmessagebox.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQMSGBOX_H */
|
|
@ -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_TQMULTILINEDIT_H
|
|
||||||
#define TQT_TQMULTILINEDIT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqmultilineedit defines
|
|
||||||
|
|
||||||
#include <tqmultilineedit.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQMULTILINEDIT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmultilineedit.h>
|
|
@ -1,45 +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_TQMULTILINEEDIT_H
|
|
||||||
#define TQT_TQMULTILINEEDIT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMultiLineEdit class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmultilineedit.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMultiLineEdit class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3multilineedit.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMULTILINEEDIT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqmutex.h>
|
|
@ -1,45 +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_TQMUTEX_H
|
|
||||||
#define TQT_TQMUTEX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QMutex class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qmutex.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QMutex class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qmutex.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQMUTEX_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqnamespace.h>
|
|
@ -1,45 +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_TQNAMESPACE_H
|
|
||||||
#define TQT_TQNAMESPACE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QNamespace class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qnamespace.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QNamespace class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qnamespace.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQNAMESPACE_H */
|
|
@ -1,43 +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_TQNETWORK_H
|
|
||||||
#define TQT_TQNETWORK_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in Qt3 qnetwork defines
|
|
||||||
|
|
||||||
#include <qnetwork.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in Qt4 qnetwork defines
|
|
||||||
|
|
||||||
#include <qnetwork.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQNETWORK_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqnetworkprotocol.h>
|
|
@ -1,45 +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_TQNETWORKPROTOCOL_H
|
|
||||||
#define TQT_TQNETWORKPROTOCOL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QNetworkProtocol class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qnetworkprotocol.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QNetworkProtocol class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3networkprotocol.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQNETWORKPROTOCOL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqnp.h>
|
|
@ -1,43 +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_TQNP_H
|
|
||||||
#define TQT_TQNP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QNPWidget class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qnp.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QNPWidget class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQNP_H */
|
|
@ -1,32 +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_TQOBJCALL_H
|
|
||||||
#define TQT_TQOBJCALL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in object collection defines
|
|
||||||
|
|
||||||
#include <tqobjectlist.h>
|
|
||||||
#include <tqobjectdict.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQOBJCALL_H */
|
|
@ -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_TQOBJDEFS_H
|
|
||||||
#define TQT_TQOBJDEFS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in object definition defines
|
|
||||||
|
|
||||||
#include <qobjectdefs.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQOBJDEFS_H */
|
|
@ -1,54 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqobject.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
const QObjectList *QObject::objectTrees() {
|
|
||||||
QWidgetList widgetlist;
|
|
||||||
QObjectList *objectlist = new QObjectList;
|
|
||||||
widgetlist = QApplication::allWidgets();
|
|
||||||
//widgetlist = QApplication::topLevelWidgets();
|
|
||||||
|
|
||||||
objectlist->clear();
|
|
||||||
foreach (QWidget *curwidget, widgetlist) {
|
|
||||||
objectlist->append((QObject*)curwidget);
|
|
||||||
}
|
|
||||||
|
|
||||||
return objectlist;
|
|
||||||
}
|
|
||||||
|
|
||||||
const QObjectList *QObject::ptrchildren() const {
|
|
||||||
QObjectList ql;
|
|
||||||
QObjectList *qlr;
|
|
||||||
ql = this->children();
|
|
||||||
qlr = &ql;
|
|
||||||
return qlr;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool QObject::qt_invoke(int slot, QUObject* uo) {
|
|
||||||
QMetaMethod method = uo->metaObject()->method(slot);
|
|
||||||
return method.invoke(this, Qt::DirectConnection);
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,45 +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_TQOBJECT_H
|
|
||||||
#define TQT_TQOBJECT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QObject class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qobject.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QObject class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qobject.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQOBJECT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqobjectcleanuphandler.h>
|
|
@ -1,45 +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_TQOBJECTCLEANUPHANDLER_H
|
|
||||||
#define TQT_TQOBJECTCLEANUPHANDLER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QObjectCleanupHandler class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qobjectcleanuphandler.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QObjectCleanupHandler class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qobjectcleanuphandler.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQOBJECTCLEANUPHANDLER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqobjectdict.h>
|
|
@ -1,43 +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_TQOBJECTDICT_H
|
|
||||||
#define TQT_TQOBJECTDICT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QObjectDictionary class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qobjectdict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QObjectDictionary class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQOBJECTDICT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqobjectlist.h>
|
|
@ -1,45 +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_TQOBJECTLIST_H
|
|
||||||
#define TQT_TQOBJECTLIST_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QObjectList class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qobjectlist.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QObjectList class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qobject.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQOBJECTLIST_H */
|
|
@ -1,27 +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_TQPAINTDC_H
|
|
||||||
#define TQT_TQPAINTDC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPAINTDC_H */
|
|
@ -1,123 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpaintdevice.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// the following is necessary to work around breakage in many versions
|
|
||||||
// of XFree86's Xlib.h still in use
|
|
||||||
// ### which versions?
|
|
||||||
#if defined(_XLIB_H_) // crude hack, but...
|
|
||||||
#error "cannot include <X11/Xlib.h> before this file"
|
|
||||||
#endif
|
|
||||||
#define XRegisterIMInstantiateCallback qt_XRegisterIMInstantiateCallback
|
|
||||||
#define XUnregisterIMInstantiateCallback qt_XUnregisterIMInstantiateCallback
|
|
||||||
#define XSetIMValues qt_XSetIMValues
|
|
||||||
#include <X11/Xlib.h>
|
|
||||||
#undef XRegisterIMInstantiateCallback
|
|
||||||
#undef XUnregisterIMInstantiateCallback
|
|
||||||
#undef XSetIMValues
|
|
||||||
|
|
||||||
#include <X11/Xutil.h>
|
|
||||||
#include <X11/Xos.h>
|
|
||||||
#include <X11/Xatom.h>
|
|
||||||
|
|
||||||
#include <Qt/qcolormap.h>
|
|
||||||
|
|
||||||
/*!
|
|
||||||
Returns the window system handle of the paint device for XRender
|
|
||||||
support. Use of this function is not portable. This function will
|
|
||||||
return 0 if XRender support is not compiled into Qt, if the
|
|
||||||
XRender extension is not supported on the X11 display, or if the
|
|
||||||
handle could not be created.
|
|
||||||
*/
|
|
||||||
Qt::HANDLE QPaintDevice::x11RenderHandle() const
|
|
||||||
{
|
|
||||||
// #ifndef QT_NO_XFTFREETYPE
|
|
||||||
// return rendhd ? XftDrawPicture( (XftDraw *) rendhd ) : 0;
|
|
||||||
// #else
|
|
||||||
return 0;
|
|
||||||
// #endif // QT_NO_XFTFREETYPE
|
|
||||||
}
|
|
||||||
|
|
||||||
static GC* app_gc_tmp = 0; // temporary GC
|
|
||||||
static GC* app_gc_tmp_m = 0; // temporary GC (monochrome)
|
|
||||||
|
|
||||||
static GC create_gc( int scrn, bool monochrome )
|
|
||||||
{
|
|
||||||
GC gc;
|
|
||||||
Display *appDpy = QX11Info::display();
|
|
||||||
if ( monochrome ) {
|
|
||||||
Pixmap pm = XCreatePixmap( appDpy, RootWindow( appDpy, scrn ), 8, 8, 1 );
|
|
||||||
gc = XCreateGC( appDpy, pm, 0, 0 );
|
|
||||||
XFreePixmap( appDpy, pm );
|
|
||||||
} else {
|
|
||||||
if ( QPaintDevice::x11AppDefaultVisual( scrn ) ) {
|
|
||||||
gc = XCreateGC( appDpy, RootWindow( appDpy, scrn ), 0, 0 );
|
|
||||||
} else {
|
|
||||||
Window w;
|
|
||||||
XSetWindowAttributes a;
|
|
||||||
QColormap cmap_background = QColormap::instance( scrn );
|
|
||||||
QColormap cmap_border = QColormap::instance( scrn );
|
|
||||||
a.background_pixel = cmap_background.pixel( Qt::black );
|
|
||||||
a.border_pixel = cmap_border.pixel( Qt::black );
|
|
||||||
|
|
||||||
a.colormap = QPaintDevice::x11AppColormap( scrn );
|
|
||||||
w = XCreateWindow( appDpy, RootWindow( appDpy, scrn ), 0, 0, 100, 100,
|
|
||||||
0, QPaintDevice::x11AppDepth( scrn ), InputOutput,
|
|
||||||
(Visual*)QPaintDevice::x11AppVisual( scrn ),
|
|
||||||
CWBackPixel|CWBorderPixel|CWColormap, &a );
|
|
||||||
gc = XCreateGC( appDpy, w, 0, 0 );
|
|
||||||
XDestroyWindow( appDpy, w );
|
|
||||||
}
|
|
||||||
}
|
|
||||||
XSetGraphicsExposures( appDpy, gc, False );
|
|
||||||
return gc;
|
|
||||||
}
|
|
||||||
|
|
||||||
GC qt_xget_temp_gc( int scrn, bool monochrome ) // get temporary GC
|
|
||||||
{
|
|
||||||
int appScreenCount = QApplication::desktop()->numScreens();
|
|
||||||
if ( scrn < 0 || scrn >= appScreenCount ) {
|
|
||||||
qDebug("invalid screen (tmp) %d %d", scrn, appScreenCount );
|
|
||||||
QWidget* bla = 0;
|
|
||||||
bla->setName("hello");
|
|
||||||
}
|
|
||||||
GC gc;
|
|
||||||
if ( monochrome ) {
|
|
||||||
if ( !app_gc_tmp_m ) // create GC for bitmap
|
|
||||||
memset( (app_gc_tmp_m = new GC[appScreenCount]), 0, appScreenCount * sizeof( GC ) );
|
|
||||||
if ( !app_gc_tmp_m[scrn] )
|
|
||||||
app_gc_tmp_m[scrn] = create_gc( scrn, TRUE );
|
|
||||||
gc = app_gc_tmp_m[scrn];
|
|
||||||
} else { // create standard GC
|
|
||||||
if ( !app_gc_tmp )
|
|
||||||
memset( (app_gc_tmp = new GC[appScreenCount]), 0, appScreenCount * sizeof( GC ) );
|
|
||||||
if ( !app_gc_tmp[scrn] )
|
|
||||||
app_gc_tmp[scrn] = create_gc( scrn, FALSE );
|
|
||||||
gc = app_gc_tmp[scrn];
|
|
||||||
}
|
|
||||||
return gc;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQPAINTDEVICE_H
|
|
||||||
#define TQT_TQPAINTDEVICE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPaintDevice class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpaintdevice.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPaintDevice class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qpaintdevice.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPAINTDEVICE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpaintdevicemetrics.h>
|
|
@ -1,45 +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_TQPAINTDEVICEMETRICS_H
|
|
||||||
#define TQT_TQPAINTDEVICEMETRICS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPaintDeviceMetrics class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpaintdevicemetrics.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPaintDeviceMetrics class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3paintdevicemetrics.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPAINTDEVICEMETRICS_H */
|
|
@ -1,44 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpainter.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
void Q3Painter::setRasterOp( Qt::RasterOp ) {
|
|
||||||
// Do nothing!
|
|
||||||
#warning "Q3Painter::setRasterOp is unimplemented!"
|
|
||||||
}
|
|
||||||
|
|
||||||
Q3Painter::Q3Painter( const QPaintDevice * pdev, bool unclipped ) : QPainter(const_cast<QPaintDevice *>(pdev)) {
|
|
||||||
setClipping(!unclipped);
|
|
||||||
}
|
|
||||||
|
|
||||||
// void Q3Painter::flush( const QRegion ®ion, CoordinateMode cm = CoordDevice ) {
|
|
||||||
// #warning "Q3Painter::flush is unimplemented!"
|
|
||||||
// }
|
|
||||||
|
|
||||||
void Q3Painter::flush() {
|
|
||||||
#warning "Q3Painter::flush is unimplemented!"
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQPAINTER_H
|
|
||||||
#define TQT_TQPAINTER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPainter class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpainter.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPainter class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/q3painter.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPAINTER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpair.h>
|
|
@ -1,143 +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_TQPAIR_H
|
|
||||||
#define TQT_TQPAIR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPair class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpair.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPair class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qpair.h>
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Definition of TQPair class
|
|
||||||
**
|
|
||||||
**
|
|
||||||
** Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
|
|
||||||
**
|
|
||||||
** This file is part of the tools module of the Qt GUI Toolkit.
|
|
||||||
**
|
|
||||||
** This file may be distributed under the terms of the Q Public License
|
|
||||||
** as defined by Trolltech AS of Norway and appearing in the file
|
|
||||||
** LICENSE.QPL included in the packaging of this file.
|
|
||||||
**
|
|
||||||
** This file may be distributed and/or modified under the terms of the
|
|
||||||
** GNU General Public License version 2 as published by the Free Software
|
|
||||||
** Foundation and appearing in the file LICENSE.GPL included in the
|
|
||||||
** packaging of this file.
|
|
||||||
**
|
|
||||||
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
|
|
||||||
** licenses may use this file in accordance with the Qt Commercial License
|
|
||||||
** Agreement provided with the Software.
|
|
||||||
**
|
|
||||||
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
|
||||||
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
||||||
**
|
|
||||||
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
|
|
||||||
** information about Qt Commercial License Agreements.
|
|
||||||
** See http://www.trolltech.com/qpl/ for QPL licensing information.
|
|
||||||
** See http://www.trolltech.com/gpl/ for GPL licensing information.
|
|
||||||
**
|
|
||||||
** Contact info@trolltech.com if any conditions of this licensing are
|
|
||||||
** not clear to you.
|
|
||||||
**
|
|
||||||
**********************************************************************/
|
|
||||||
|
|
||||||
template <class T1, class T2>
|
|
||||||
struct TQPair
|
|
||||||
{
|
|
||||||
typedef T1 first_type;
|
|
||||||
typedef T2 second_type;
|
|
||||||
|
|
||||||
TQPair()
|
|
||||||
: first( T1() ), second( T2() )
|
|
||||||
{}
|
|
||||||
TQPair( const T1& t1, const T2& t2 )
|
|
||||||
: first( t1 ), second( t2 )
|
|
||||||
{}
|
|
||||||
|
|
||||||
TQPair<T1, T2>& operator=(const TQPair<T1, T2>& other)
|
|
||||||
{
|
|
||||||
if (this != &other) {
|
|
||||||
first = other.first;
|
|
||||||
second = other.second;
|
|
||||||
}
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
T1 first;
|
|
||||||
T2 second;
|
|
||||||
};
|
|
||||||
|
|
||||||
template <class T1, class T2>
|
|
||||||
bool operator==( const TQPair<T1, T2>& x, const TQPair<T1, T2>& y )
|
|
||||||
{
|
|
||||||
return x.first == y.first && x.second == y.second;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class T1, class T2>
|
|
||||||
bool operator<( const TQPair<T1, T2>& x, const TQPair<T1, T2>& y )
|
|
||||||
{
|
|
||||||
return x.first < y.first ||
|
|
||||||
( !( y.first < x.first ) && x.second < y.second );
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class T1, class T2>
|
|
||||||
TQPair<T1, T2> qMakePair( const T1& x, const T2& y )
|
|
||||||
{
|
|
||||||
return TQPair<T1, T2>( x, y );
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
|
||||||
template <class T1, class T2>
|
|
||||||
inline QDataStream& operator>>( QDataStream& s, TQPair<T1, T2>& p )
|
|
||||||
{
|
|
||||||
s >> p.first >> p.second;
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class T1, class T2>
|
|
||||||
inline QDataStream& operator<<( QDataStream& s, const TQPair<T1, T2>& p )
|
|
||||||
{
|
|
||||||
s << p.first << p.second;
|
|
||||||
return s;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**********************************************************************/
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPAIR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpalette.h>
|
|
@ -1,45 +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_TQPALETTE_H
|
|
||||||
#define TQT_TQPALETTE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPalette class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpalette.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPalette class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qpalette.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPALETTE_H */
|
|
@ -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_TQPDEVMET_H
|
|
||||||
#define TQT_TQPDEVMET_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqpaintdevicemetrics defines
|
|
||||||
|
|
||||||
#include <tqpaintdevicemetrics.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPDEVMET_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpen.h>
|
|
@ -1,45 +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_TQPEN_H
|
|
||||||
#define TQT_TQPEN_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPen class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpen.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPen class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qpen.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPEN_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpicture.h>
|
|
@ -1,45 +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_TQPICTURE_H
|
|
||||||
#define TQT_TQPICTURE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPicture class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpicture.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPicture class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3picture.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPICTURE_H */
|
|
@ -1,66 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpixmap.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
#include <Qt/qbitmap.h>
|
|
||||||
#include <qt4/QtGui/private/qpixmapdata_p.h>
|
|
||||||
|
|
||||||
bool QPixmap::convertFromImage(const QImage &img, int flags) {
|
|
||||||
return convertFromImage(img, (Qt::ImageConversionFlags)flags);
|
|
||||||
}
|
|
||||||
|
|
||||||
QPixmap::Optimization QPixmap::optimization() const {
|
|
||||||
#warning "QPixmap::optimization() unimplemented!"
|
|
||||||
return QPixmap::NormalOptim;
|
|
||||||
}
|
|
||||||
|
|
||||||
void QPixmap::setOptimization( QPixmap::Optimization ) {
|
|
||||||
#warning "QPixmap::setOptimization unimplemented!"
|
|
||||||
}
|
|
||||||
|
|
||||||
QPixmap::Optimization defaultOptimization() {
|
|
||||||
#warning "QPixmap::Optimization unimplemented!"
|
|
||||||
return QPixmap::NormalOptim;
|
|
||||||
}
|
|
||||||
|
|
||||||
void QPixmap::setDefaultOptimization( QPixmap::Optimization ) {
|
|
||||||
#warning "QPixmap::setDefaultOptimization unimplemented!"
|
|
||||||
}
|
|
||||||
|
|
||||||
QPixmap::QPixmap( int w, int h, int depth, Optimization optim ) {
|
|
||||||
QPixmap(w, h);
|
|
||||||
}
|
|
||||||
|
|
||||||
QPixmap::operator QPixmap *() const {
|
|
||||||
return const_cast<QPixmap *>(this);
|
|
||||||
}
|
|
||||||
|
|
||||||
const QBitmap *QPixmap::ptrmask() const {
|
|
||||||
QBitmap pm = mask();
|
|
||||||
QBitmap *pr = ±
|
|
||||||
return pr;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQPIXMAP_H
|
|
||||||
#define TQT_TQPIXMAP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPixmap class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpixmap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPixmap class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qpixmap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPIXMAP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpixmapcache.h>
|
|
@ -1,45 +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_TQPIXMAPCACHE_H
|
|
||||||
#define TQT_TQPIXMAPCACHE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPixmapCache class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpixmapcache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPixmapCache class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qpixmapcache.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPIXMAPCACHE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqplatinumstyle.h>
|
|
@ -1,43 +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_TQPLATINUMSTYLE_H
|
|
||||||
#define TQT_TQPLATINUMSTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPlatinumStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qplatinumstyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPlatinumStyle class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPLATINUMSTYLE_H */
|
|
@ -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_TQPMCACHE_H
|
|
||||||
#define TQT_TQPMCACHE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqpixmapcache defines
|
|
||||||
|
|
||||||
#include <tqpixmapcache.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPMCACHE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpngio.h>
|
|
@ -1,43 +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_TQPNGIO_H
|
|
||||||
#define TQT_TQPNGIO_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPNGImage class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpngio.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPNGImage class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPNGIO_H */
|
|
@ -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_TQPNTARRY_H
|
|
||||||
#define TQT_TQPNTARRY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqpointarray defines
|
|
||||||
|
|
||||||
#include <tqpointarray.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPNTARRY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpoint.h>
|
|
@ -1,45 +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_TQPOINT_H
|
|
||||||
#define TQT_TQPOINT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPoint class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpoint.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPoint class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qpoint.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPOINT_H */
|
|
@ -1,40 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpointarray.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
/*!
|
|
||||||
\internal
|
|
||||||
Constructs a point array with \a nPoints points, taken from the
|
|
||||||
\a points array.
|
|
||||||
|
|
||||||
Equivalent to setPoints(nPoints, points).
|
|
||||||
*/
|
|
||||||
|
|
||||||
Q3PointArray::Q3PointArray( int nPoints, const QCOORD *points )
|
|
||||||
{
|
|
||||||
setPoints( nPoints, points );
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQPOINTARRAY_H
|
|
||||||
#define TQT_TQPOINTARRAY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAccel class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpointarray.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAccel class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/q3pointarray.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPOINTARRAY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpolygonscanner.h>
|
|
@ -1,43 +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_TQPOLYGONSCANNER_H
|
|
||||||
#define TQT_TQPOLYGONSCANNER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPolygonScanner class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpolygonscanner.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPolygonScanner class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPOLYGONSCANNER_H */
|
|
@ -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_TQPOPMENU_H
|
|
||||||
#define TQT_TQPOPMENU_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqpopupmenu defines
|
|
||||||
|
|
||||||
#include <tqpopupmenu.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPOPMENU_H */
|
|
@ -1,43 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpopupmenu.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
void Q3PopupMenu::changeItem( int id, const QString &text ) {
|
|
||||||
changeItem( text, id );
|
|
||||||
}
|
|
||||||
|
|
||||||
void Q3PopupMenu::changeItem( const QString &text, int id ) {
|
|
||||||
changeItem( text, id );
|
|
||||||
}
|
|
||||||
|
|
||||||
void Q3PopupMenu::changeItem( const QPixmap &pixmap, int id ) {
|
|
||||||
changeItem( pixmap, id );
|
|
||||||
}
|
|
||||||
|
|
||||||
void Q3PopupMenu::changeItem( const QIconSet &icon, const QString &text, int id ) {
|
|
||||||
changeItem( icon, text, id );
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,46 +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_TQPOPUPMENU_H
|
|
||||||
#define TQT_TQPOPUPMENU_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPopupMenu class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpopupmenu.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPopupMenu class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/q3popupmenu.h>
|
|
||||||
#include <tqt4/Qt/qmenudata.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPOPUPMENU_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqprintdialog.h>
|
|
@ -1,45 +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_TQPRINTDIALOG_H
|
|
||||||
#define TQT_TQPRINTDIALOG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPrintDialog class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qprintdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPrintDialog class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qprintdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPRINTDIALOG_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqprinter.h>
|
|
@ -1,45 +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_TQPRINTER_H
|
|
||||||
#define TQT_TQPRINTER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPrinter class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qprinter.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPrinter class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qprinter.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPRINTER_H */
|
|
@ -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_TQPRNDLG_H
|
|
||||||
#define TQT_TQPRNDLG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqprintdialog defines
|
|
||||||
|
|
||||||
#include <tqprintdialog.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPRNDLG_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqprocess.h>
|
|
@ -1,45 +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_TQPROCESS_H
|
|
||||||
#define TQT_TQPROCESS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QProcess class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qprocess.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QProcess class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qprocess.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPROCESS_H */
|
|
@ -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_TQPROGBAR_H
|
|
||||||
#define TQT_TQPROGBAR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqprogressbar defines
|
|
||||||
|
|
||||||
#include <tqprogressbar.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPROGBAR_H */
|
|
@ -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_TQPROGDLG_H
|
|
||||||
#define TQT_TQPROGDLG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqprogressdialog defines
|
|
||||||
|
|
||||||
#include <tqprogressdialog.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPROGDLG_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqprogressbar.h>
|
|
@ -1,45 +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_TQPROGRESSBAR_H
|
|
||||||
#define TQT_TQPROGRESSBAR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QProgressBar class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qprogressbar.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QProgressBar class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qprogressbar.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPROGRESSBAR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqprogressdialog.h>
|
|
@ -1,45 +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_TQPROGRESSDIALOG_H
|
|
||||||
#define TQT_TQPROGRESSDIALOG_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QProgressDialog class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qprogressdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QProgressDialog class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3progressdialog.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPROGRESSDIALOG_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqptrcollection.h>
|
|
@ -1,45 +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_TQPTRCOLLECTION_H
|
|
||||||
#define TQT_TQPTRCOLLECTION_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPtrCollection class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qptrcollection.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPtrCollection class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3ptrcollection.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPTRCOLLECTION_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqptrdict.h>
|
|
@ -1,45 +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_TQPTRDICT_H
|
|
||||||
#define TQT_TQPTRDICT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPtrDict class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qptrdict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPtrDict class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3ptrdict.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPTRDICT_H */
|
|
@ -1,27 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqptrlist.h>
|
|
||||||
|
|
||||||
// QList is a template class. Template classes do not generate object files.
|
|
||||||
// Therefore, template classes CANNOT contain out-of-line members. Period.
|
|
||||||
// Make your changes inline in the header file and don't look back!
|
|
@ -1,257 +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_TQPTRLIST_H
|
|
||||||
#define TQT_TQPTRLIST_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the TQPtrList class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qptrlist.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the TQPtrList class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3ptrlist.h>
|
|
||||||
#include <Qt/q3glist.h>
|
|
||||||
#include <Qt/q3gvector.h>
|
|
||||||
#include <Qt/q3ptrcollection.h>
|
|
||||||
#include <Qt/qlist.h>
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Definition of TQPtrList template/macro class
|
|
||||||
**
|
|
||||||
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
|
|
||||||
**
|
|
||||||
** This file is part of the tools module of the Qt GUI Toolkit.
|
|
||||||
**
|
|
||||||
** This file may be used under the terms of the GNU General
|
|
||||||
** Public License versions 2.0 or 3.0 as published by the Free
|
|
||||||
** Software Foundation and appearing in the files LICENSE.GPL2
|
|
||||||
** and LICENSE.GPL3 included in the packaging of this file.
|
|
||||||
** Alternatively you may (at your option) use any later version
|
|
||||||
** of the GNU General Public License if such license has been
|
|
||||||
** publicly approved by Trolltech ASA (or its successors, if any)
|
|
||||||
** and the KDE Free Qt Foundation.
|
|
||||||
**
|
|
||||||
** Please review the following information to ensure GNU General
|
|
||||||
** Public Licensing requirements will be met:
|
|
||||||
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
|
|
||||||
** If you are unsure which license is appropriate for your use, please
|
|
||||||
** review the following information:
|
|
||||||
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
|
|
||||||
** or contact the sales department at sales@trolltech.com.
|
|
||||||
**
|
|
||||||
** This file may be used under the terms of the Q Public License as
|
|
||||||
** defined by Trolltech ASA and appearing in the file LICENSE.QPL
|
|
||||||
** included in the packaging of this file. Licensees holding valid Qt
|
|
||||||
** Commercial licenses may use this file in accordance with the Qt
|
|
||||||
** Commercial License Agreement provided with the Software.
|
|
||||||
**
|
|
||||||
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
|
|
||||||
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
|
|
||||||
** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
|
|
||||||
** herein.
|
|
||||||
**
|
|
||||||
**********************************************************************/
|
|
||||||
|
|
||||||
template<class type>
|
|
||||||
class TQPtrListStdIterator : public Q3GListStdIterator
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
inline TQPtrListStdIterator( Q3LNode* n ): Q3GListStdIterator(n) {}
|
|
||||||
type *operator*() { return node ? (type *)node->getData() : 0; }
|
|
||||||
inline TQPtrListStdIterator<type> operator++()
|
|
||||||
{ node = next(); return *this; }
|
|
||||||
inline TQPtrListStdIterator<type> operator++(int)
|
|
||||||
{ Q3LNode* n = node; node = next(); return TQPtrListStdIterator<type>( n ); }
|
|
||||||
inline bool operator==( const TQPtrListStdIterator<type>& it ) const { return node == it.node; }
|
|
||||||
inline bool operator!=( const TQPtrListStdIterator<type>& it ) const { return node != it.node; }
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
template<class type>
|
|
||||||
class TQPtrList
|
|
||||||
#ifdef Q_QDOC
|
|
||||||
: public Q3PtrCollection
|
|
||||||
#else
|
|
||||||
: public Q3GList
|
|
||||||
#endif
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
|
|
||||||
TQPtrList() {}
|
|
||||||
TQPtrList( const TQPtrList<type> &l ) : Q3GList(l) {}
|
|
||||||
~TQPtrList() { clear(); }
|
|
||||||
TQPtrList<type> &operator=(const TQPtrList<type> &l)
|
|
||||||
{ return (TQPtrList<type>&)Q3GList::operator=(l); }
|
|
||||||
bool operator==( const TQPtrList<type> &list ) const
|
|
||||||
{ return Q3GList::operator==( list ); }
|
|
||||||
bool operator!=( const TQPtrList<type> &list ) const
|
|
||||||
{ return !Q3GList::operator==( list ); }
|
|
||||||
|
|
||||||
// Interoperability
|
|
||||||
TQPtrList(const QList<type*>& l)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < l.size(); ++i) append(l.at(i));
|
|
||||||
}
|
|
||||||
|
|
||||||
TQPtrList<type>& operator= (const QList<type*>& l)
|
|
||||||
{
|
|
||||||
this->clear();
|
|
||||||
for (int i = 0; i < l.size(); ++i) append(l.at(i));
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
operator QList<type*>() const {
|
|
||||||
QList<type*> list;
|
|
||||||
for (typename TQPtrList<type>::const_iterator it = TQPtrList<type>::constBegin();
|
|
||||||
it != TQPtrList<type>::constEnd(); ++it)
|
|
||||||
list.append(*it);
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
uint count() const { return Q3GList::count(); }
|
|
||||||
bool isEmpty() const { return Q3GList::count() == 0; }
|
|
||||||
bool insert( uint i, const type *d){ return Q3GList::insertAt(i,(Q3PtrCollection::Item)d); }
|
|
||||||
void inSort( const type *d ) { Q3GList::inSort((Q3PtrCollection::Item)d); }
|
|
||||||
void prepend( const type *d ) { Q3GList::insertAt(0,(Q3PtrCollection::Item)d); }
|
|
||||||
void append( const type *d ) { Q3GList::append((Q3PtrCollection::Item)d); }
|
|
||||||
bool remove( uint i ) { return Q3GList::removeAt(i); }
|
|
||||||
bool remove() { return Q3GList::remove((Q3PtrCollection::Item)0); }
|
|
||||||
bool remove( const type *d ) { return Q3GList::remove((Q3PtrCollection::Item)d); }
|
|
||||||
bool removeRef( const type *d ) { return Q3GList::removeRef((Q3PtrCollection::Item)d); }
|
|
||||||
void removeNode( Q3LNode *n ) { Q3GList::removeNode(n); }
|
|
||||||
bool removeFirst() { return Q3GList::removeFirst(); }
|
|
||||||
bool removeLast() { return Q3GList::removeLast(); }
|
|
||||||
type *take( uint i ) { return (type *)Q3GList::takeAt(i); }
|
|
||||||
type *take() { return (type *)Q3GList::take(); }
|
|
||||||
type *takeNode( Q3LNode *n ) { return (type *)Q3GList::takeNode(n); }
|
|
||||||
void clear() { Q3GList::clear(); }
|
|
||||||
void sort() { Q3GList::sort(); }
|
|
||||||
int find( const type *d ) { return Q3GList::find((Q3PtrCollection::Item)d); }
|
|
||||||
int findNext( const type *d ) { return Q3GList::find((Q3PtrCollection::Item)d,FALSE); }
|
|
||||||
int findRef( const type *d ) { return Q3GList::findRef((Q3PtrCollection::Item)d); }
|
|
||||||
int findNextRef( const type *d ){ return Q3GList::findRef((Q3PtrCollection::Item)d,FALSE);}
|
|
||||||
uint contains( const type *d ) const { return Q3GList::contains((Q3PtrCollection::Item)d); }
|
|
||||||
uint containsRef( const type *d ) const
|
|
||||||
{ return Q3GList::containsRef((Q3PtrCollection::Item)d); }
|
|
||||||
bool replace( uint i, const type *d ) { return Q3GList::replaceAt( i, (Q3PtrCollection::Item)d ); }
|
|
||||||
type *at( uint i ) { return (type *)Q3GList::at(i); }
|
|
||||||
int at() const { return Q3GList::at(); }
|
|
||||||
type *current() const { return (type *)Q3GList::get(); }
|
|
||||||
Q3LNode *currentNode() const { return Q3GList::currentNode(); }
|
|
||||||
type *getFirst() const { return (type *)Q3GList::cfirst(); }
|
|
||||||
type *getLast() const { return (type *)Q3GList::clast(); }
|
|
||||||
type *first() { return (type *)Q3GList::first(); }
|
|
||||||
type *last() { return (type *)Q3GList::last(); }
|
|
||||||
type *next() { return (type *)Q3GList::next(); }
|
|
||||||
type *prev() { return (type *)Q3GList::prev(); }
|
|
||||||
void toVector( Q3GVector *vec )const{ Q3GList::toVector(vec); }
|
|
||||||
|
|
||||||
|
|
||||||
// standard iterators
|
|
||||||
typedef TQPtrListStdIterator<type> Iterator;
|
|
||||||
typedef TQPtrListStdIterator<type> ConstIterator;
|
|
||||||
inline Iterator begin() { return Q3GList::begin(); }
|
|
||||||
inline ConstIterator begin() const { return Q3GList::begin(); }
|
|
||||||
inline ConstIterator constBegin() const { return Q3GList::begin(); }
|
|
||||||
inline Iterator end() { return Q3GList::end(); }
|
|
||||||
inline ConstIterator end() const { return Q3GList::end(); }
|
|
||||||
inline ConstIterator constEnd() const { return Q3GList::end(); }
|
|
||||||
inline Iterator erase( Iterator it ) { return Q3GList::erase( it ); }
|
|
||||||
// stl syntax compatibility
|
|
||||||
typedef Iterator iterator;
|
|
||||||
typedef ConstIterator const_iterator;
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef Q_QDOC
|
|
||||||
protected:
|
|
||||||
virtual int compareItems( Q3PtrCollection::Item, Q3PtrCollection::Item );
|
|
||||||
virtual QDataStream& read( QDataStream&, Q3PtrCollection::Item& );
|
|
||||||
virtual QDataStream& write( QDataStream&, Q3PtrCollection::Item ) const;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
private:
|
|
||||||
void deleteItem( Item d );
|
|
||||||
};
|
|
||||||
|
|
||||||
#if !defined(Q_BROKEN_TEMPLATE_SPECIALIZATION)
|
|
||||||
template<> inline void TQPtrList<void>::deleteItem( Q3PtrCollection::Item )
|
|
||||||
{
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
template<class type> inline void TQPtrList<type>::deleteItem( Q3PtrCollection::Item d )
|
|
||||||
{
|
|
||||||
if ( del_item ) delete (type *)d;
|
|
||||||
}
|
|
||||||
|
|
||||||
template<class type>
|
|
||||||
class TQPtrListIterator : public Q3GListIterator
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQPtrListIterator(const TQPtrList<type> &l) :Q3GListIterator((Q3GList &)l) {}
|
|
||||||
~TQPtrListIterator() {}
|
|
||||||
uint count() const { return list->count(); }
|
|
||||||
bool isEmpty() const { return list->count() == 0; }
|
|
||||||
bool atFirst() const { return Q3GListIterator::atFirst(); }
|
|
||||||
bool atLast() const { return Q3GListIterator::atLast(); }
|
|
||||||
type *toFirst() { return (type *)Q3GListIterator::toFirst(); }
|
|
||||||
type *toLast() { return (type *)Q3GListIterator::toLast(); }
|
|
||||||
operator type *() const { return (type *)Q3GListIterator::get(); }
|
|
||||||
type *operator*() { return (type *)Q3GListIterator::get(); }
|
|
||||||
|
|
||||||
// No good, since TQPtrList<char> (ie. QStrList fails...
|
|
||||||
//
|
|
||||||
// MSVC++ gives warning
|
|
||||||
// Sunpro C++ 4.1 gives error
|
|
||||||
// type *operator->() { return (type *)Q3GListIterator::get(); }
|
|
||||||
|
|
||||||
type *current() const { return (type *)Q3GListIterator::get(); }
|
|
||||||
type *operator()() { return (type *)Q3GListIterator::operator()();}
|
|
||||||
type *operator++() { return (type *)Q3GListIterator::operator++(); }
|
|
||||||
type *operator+=(uint j) { return (type *)Q3GListIterator::operator+=(j);}
|
|
||||||
type *operator--() { return (type *)Q3GListIterator::operator--(); }
|
|
||||||
type *operator-=(uint j) { return (type *)Q3GListIterator::operator-=(j);}
|
|
||||||
TQPtrListIterator<type>& operator=(const TQPtrListIterator<type>&it)
|
|
||||||
{ Q3GListIterator::operator=(it); return *this; }
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifndef QT_NO_COMPAT
|
|
||||||
#define TQT_TQList TQPtrList
|
|
||||||
#define TQT_TQListIterator TQPtrListIterator
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**********************************************************************/
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPTRLIST_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqptrqueue.h>
|
|
@ -1,45 +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_TQPTRQUEUE_H
|
|
||||||
#define TQT_TQPTRQUEUE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPtrQueue class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qptrqueue.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPtrQueue class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3ptrqueue.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPTRQUEUE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqptrstack.h>
|
|
@ -1,45 +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_TQPTRSTACK_H
|
|
||||||
#define TQT_TQPTRSTACK_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPtrStack class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qptrstack.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPtrStack class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3ptrstack.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPTRSTACK_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqptrvector.h>
|
|
@ -1,45 +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_TQPTRVECTOR_H
|
|
||||||
#define TQT_TQPTRVECTOR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPtrVector class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qptrvector.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPtrVector class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3ptrvector.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPTRVECTOR_H */
|
|
@ -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_TQPUSHBT_H
|
|
||||||
#define TQT_TQPUSHBT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqpushbutton defines
|
|
||||||
|
|
||||||
#include <tqpushbutton.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQPUSHBT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqpushbutton.h>
|
|
@ -1,45 +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_TQPUSHBUTTON_H
|
|
||||||
#define TQT_TQPUSHBUTTON_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QPushButton class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qpushbutton.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QPushButton class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qpushbutton.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQPUSHBUTTON_H */
|
|
@ -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 <tqptrqueue.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQQUEUE_H */
|
|
@ -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_TQRADIOBT_H
|
|
||||||
#define TQT_TQRADIOBT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqradiobutton defines
|
|
||||||
|
|
||||||
#include <tqradiobutton.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQRADIOBT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqradiobutton.h>
|
|
@ -1,45 +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_TQRADIOBUTTON_H
|
|
||||||
#define TQT_TQRADIOBUTTON_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QRadioButton class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qradiobutton.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QRadioButton class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qradiobutton.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQRADIOBUTTON_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqrangecontrol.h>
|
|
@ -1,45 +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_TQRANGECONTROL_H
|
|
||||||
#define TQT_TQRANGECONTROL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QRangeControl class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qrangecontrol.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QRangeControl class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3rangecontrol.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQRANGECONTROL_H */
|
|
@ -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_TQRANGECT_H
|
|
||||||
#define TQT_TQRANGECT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqrangecontrol defines
|
|
||||||
|
|
||||||
#include <tqrangecontrol.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQRANGECT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqrect.h>
|
|
@ -1,45 +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_TQRECT_H
|
|
||||||
#define TQT_TQRECT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QRect class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qrect.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QRect class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qrect.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQRECT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqregexp.h>
|
|
@ -1,45 +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_TQREGEXP_H
|
|
||||||
#define TQT_TQREGEXP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QRegExp class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qregexp.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QRegExp class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qregexp.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQREGEXP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqregion.h>
|
|
@ -1,45 +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_TQREGION_H
|
|
||||||
#define TQT_TQREGION_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QRegion class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qregion.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QRegion class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qregion.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQREGION_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqrtlcodec.h>
|
|
@ -1,43 +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_TQRTLCODEC_H
|
|
||||||
#define TQT_TQRTLCODEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QHebrewCodec class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qrtlcodec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QHebrewCodec class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQRTLCODEC_H */
|
|
@ -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_TQSCRBAR_H
|
|
||||||
#define TQT_TQSCRBAR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqscrollbar defines
|
|
||||||
|
|
||||||
#include <tqscrollbar.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQSCRBAR_H */
|
|
@ -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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqscrollbar.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
int QScrollBar::sliderStart() const {
|
|
||||||
return sliderPosition();
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQSCROLLBAR_H
|
|
||||||
#define TQT_TQSCROLLBAR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QScrollBar class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qscrollbar.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QScrollBar class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qscrollbar.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSCROLLBAR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqscrollview.h>
|
|
@ -1,45 +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_TQSCROLLVIEW_H
|
|
||||||
#define TQT_TQSCROLLVIEW_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QScrollView class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qscrollview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QScrollView class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3scrollview.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSCROLLVIEW_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsemaphore.h>
|
|
@ -1,45 +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_TQSEMAPHORE_H
|
|
||||||
#define TQT_TQSEMAPHORE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSemaphore class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsemaphore.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSemaphore class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3semaphore.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSEMAPHORE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsemimodal.h>
|
|
@ -1,43 +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_TQSEMIMODAL_H
|
|
||||||
#define TQT_TQSEMIMODAL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSemiModal class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsemimodal.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSemiModal class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSEMIMODAL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqserversocket.h>
|
|
@ -1,45 +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_TQSERVERSOCKET_H
|
|
||||||
#define TQT_TQSERVERSOCKET_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QServerSocket class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qserversocket.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QServerSocket class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3serversocket.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSERVERSOCKET_H */
|
|
@ -1,43 +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_TQSESSION_H
|
|
||||||
#define TQT_TQSESSION_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in Qt3 qsession defines
|
|
||||||
|
|
||||||
#include <qsession.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in Qt4 qsession defines
|
|
||||||
|
|
||||||
#include <qsession.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSESSION_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsessionmanager.h>
|
|
@ -1,45 +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_TQSESSIONMANAGER_H
|
|
||||||
#define TQT_TQSESSIONMANAGER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSessionManager class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsessionmanager.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSessionManager class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsessionmanager.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSESSIONMANAGER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsettings.h>
|
|
@ -1,45 +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_TQSETTINGS_H
|
|
||||||
#define TQT_TQSETTINGS_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSettings class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsettings.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSettings class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsettings.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSETTINGS_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsgistyle.h>
|
|
@ -1,43 +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_TQSGISTYLE_H
|
|
||||||
#define TQT_TQSGISTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSGIStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsgistyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSGIStyle class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSGISTYLE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqshared.h>
|
|
@ -1,45 +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_TQSHARED_H
|
|
||||||
#define TQT_TQSHARED_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QShared class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsettings.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QShared class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3shared.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSHARED_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsignal.h>
|
|
@ -1,45 +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_TQSIGNAL_H
|
|
||||||
#define TQT_TQSIGNAL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSignal class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsignal.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSignal class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3signal.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSIGNAL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsignalmapper.h>
|
|
@ -1,45 +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_TQSIGNALMAPPER_H
|
|
||||||
#define TQT_TQSIGNALMAPPER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSignalMapper class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsignalmapper.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSignalMapper class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsignalmapper.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSIGNALMAPPER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsignalslotimp.h>
|
|
@ -1,43 +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_TQSIGNALSLOTIMP_H
|
|
||||||
#define TQT_TQSIGNALSLOTIMP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSignalSlotImp class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsignalslotimp.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSignalSlotImp class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSIGNALSLOTIMP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsimplerichtext.h>
|
|
@ -1,45 +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_TQSIMPLERICHTEXT_H
|
|
||||||
#define TQT_TQSIMPLERICHTEXT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSimpleRichText class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsimplerichtext.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSimpleRichText class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3simplerichtext.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSIMPLERICHTEXT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsize.h>
|
|
@ -1,45 +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_TQSIZE_H
|
|
||||||
#define TQT_TQSIZE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSize class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsize.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSize class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsize.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSIZE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsizegrip.h>
|
|
@ -1,45 +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_TQSIZEGRIP_H
|
|
||||||
#define TQT_TQSIZEGRIP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSizeGrip class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsizegrip.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSizeGrip class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsizegrip.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSIZEGRIP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsizepolicy.h>
|
|
@ -1,45 +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_TQSIZEPOLICY_H
|
|
||||||
#define TQT_TQSIZEPOLICY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSizePolicy class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsizepolicy.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSizePolicy class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsizepolicy.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSIZEPOLICY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsjiscodec.h>
|
|
@ -1,43 +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_TQSJISCODEC_H
|
|
||||||
#define TQT_TQSJISCODEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSjisCodec class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsjiscodec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSjisCodec class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSJISCODEC_H */
|
|
@ -1,29 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqslider.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,45 +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_TQSLIDER_H
|
|
||||||
#define TQT_TQSLIDER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSlider class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qslider.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSlider class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qslider.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSLIDER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsocket.h>
|
|
@ -1,45 +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_TQSOCKET_H
|
|
||||||
#define TQT_TQSOCKET_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSocket class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsocket.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSocket class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3socket.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSOCKET_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsocketdevice.h>
|
|
@ -1,45 +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_TQSOCKETDEVICE_H
|
|
||||||
#define TQT_TQSOCKETDEVICE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSocketDevice class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsocketdevice.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSocketDevice class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3socketdevice.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSOCKETDEVICE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsocketnotifier.h>
|
|
@ -1,45 +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_TQSOCKETNOTIFIER_H
|
|
||||||
#define TQT_TQSOCKETNOTIFIER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSocketNotifier class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsocketnotifier.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSocketNotifier class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsocketnotifier.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSOCKETNOTIFIER_H */
|
|
@ -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_TQSOCKNOT_H
|
|
||||||
#define TQT_TQSOCKNOT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
// Pull in tqsocketnotifier defines
|
|
||||||
|
|
||||||
#include <tqsocketnotifier.h>
|
|
||||||
|
|
||||||
#endif /* TQT_TQSOCKNOT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsortedlist.h>
|
|
@ -1,45 +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_TQSORTEDLIST_H
|
|
||||||
#define TQT_TQSORTEDLIST_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QAccel class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsortedlist.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QAccel class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3sortedlist.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSORTEDLIST_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsound.h>
|
|
@ -1,45 +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_TQSOUND_H
|
|
||||||
#define TQT_TQSOUND_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSound class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsound.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSound class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsound.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSOUND_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqspinbox.h>
|
|
@ -1,45 +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_TQSPINBOX_H
|
|
||||||
#define TQT_TQSPINBOX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSpinBox class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qspinbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSpinBox class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qspinbox.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSPINBOX_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsplashscreen.h>
|
|
@ -1,45 +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_TQSPLASHSCREEN_H
|
|
||||||
#define TQT_TQSPLASHSCREEN_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSplashScreen class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsplashscreen.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSplashScreen class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsplashscreen.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSPLASHSCREEN_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsplitter.h>
|
|
@ -1,45 +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_TQSPLITTER_H
|
|
||||||
#define TQT_TQSPLITTER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSplitter class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsplitter.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSplitter class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsplitter.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSPLITTER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsql.h>
|
|
@ -1,45 +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_TQSQL_H
|
|
||||||
#define TQT_TQSQL_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSql class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsql.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSql class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsql.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQL_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlcursor.h>
|
|
@ -1,45 +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_TQSQLCURSOR_H
|
|
||||||
#define TQT_TQSQLCURSOR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlCursor class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlcursor.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlCursor class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3sqlcursor.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLCURSOR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqldatabase.h>
|
|
@ -1,45 +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_TQSQLDATABASE_H
|
|
||||||
#define TQT_TQSQLDATABASE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlDatabase class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqldatabase.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlDatabase class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsqldatabase.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLDATABASE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqldriver.h>
|
|
@ -1,45 +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_TQSQLDRIVER_H
|
|
||||||
#define TQT_TQSQLDRIVER_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlDriver class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqldriver.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlDriver class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsqldriver.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLDRIVER_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqldriverplugin.h>
|
|
@ -1,45 +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_TQSQLDRIVERPLUGIN_H
|
|
||||||
#define TQT_TQSQLDRIVERPLUGIN_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlDriverPlugin class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqldriverplugin.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlDriverPlugin class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsqldriverplugin.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLDRIVERPLUGIN_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqleditorfactory.h>
|
|
@ -1,45 +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_TQSQLEDITORFACTORY_H
|
|
||||||
#define TQT_TQSQLEDITORFACTORY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlEditorFactory class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqleditorfactory.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlEditorFactory class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3sqleditorfactory.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLEDITORFACTORY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlerror.h>
|
|
@ -1,45 +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_TQSQLERROR_H
|
|
||||||
#define TQT_TQSQLERROR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlError class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlerror.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlError class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsqlerror.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLERROR_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlfield.h>
|
|
@ -1,45 +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_TQSQLFIELD_H
|
|
||||||
#define TQT_TQSQLFIELD_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlField class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlfield.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlField class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3sqlfieldinfo.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLFIELD_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlform.h>
|
|
@ -1,45 +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_TQSQLFORM_H
|
|
||||||
#define TQT_TQSQLFORM_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlForm class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlform.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlForm class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3sqlform.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLFORM_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlindex.h>
|
|
@ -1,45 +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_TQSQLINDEX_H
|
|
||||||
#define TQT_TQSQLINDEX_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlIndex class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlindex.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlIndex class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsqlindex.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLINDEX_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlpropertymap.h>
|
|
@ -1,45 +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_TQSQLPROPERTYMAP_H
|
|
||||||
#define TQT_TQSQLPROPERTYMAP_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlPropertyMap class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlpropertymap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlPropertyMap class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3sqlpropertymap.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLPROPERTYMAP_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlquery.h>
|
|
@ -1,45 +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_TQSQLQUERY_H
|
|
||||||
#define TQT_TQSQLQUERY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlQuery class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlquery.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlQuery class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsqlquery.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLQUERY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlrecord.h>
|
|
@ -1,45 +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_TQSQLRECORD_H
|
|
||||||
#define TQT_TQSQLRECORD_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlRecord class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlrecord.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlRecord class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsqlrecord.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLRECORD_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlresult.h>
|
|
@ -1,45 +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_TQSQLRESULT_H
|
|
||||||
#define TQT_TQSQLRESULT_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlResult class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlresult.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlResult class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qsqlresult.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLRESULT_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqsqlselectcursor.h>
|
|
@ -1,45 +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_TQSQLSELECTCURSOR_H
|
|
||||||
#define TQT_TQSQLSELECTCURSOR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QSqlSelectCursor class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qsqlselectcursor.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QSqlSelectCursor class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/q3sqlselectcursor.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSQLSELECTCURSOR_H */
|
|
@ -1,43 +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_TQSTACK_H
|
|
||||||
#define TQT_TQSTACK_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Pull in Qt3 qptrstack defines
|
|
||||||
|
|
||||||
#include <qptrstack.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Pull in Qt4 qptrstack defines
|
|
||||||
|
|
||||||
#include <qptrstack.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTACK_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstatusbar.h>
|
|
@ -1,45 +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_TQSTATUSBAR_H
|
|
||||||
#define TQT_TQSTATUSBAR_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QStatusBar class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qstatusbar.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QStatusBar class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qstatusbar.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTATUSBAR_H */
|
|
@ -1,43 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#define TQT_TQ_EXCLUDE_QCSTRING
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstring.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
int Q3CString::contains( const char *a ) const
|
|
||||||
{
|
|
||||||
QString d = QString::fromAscii( data() );
|
|
||||||
return d.count( a );
|
|
||||||
}
|
|
||||||
|
|
||||||
QString::operator bool () const
|
|
||||||
{
|
|
||||||
if (this == QString::null)
|
|
||||||
return false;
|
|
||||||
else
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,48 +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_TQSTRING_H
|
|
||||||
#define TQT_TQSTRING_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqcstring.h>
|
|
||||||
#include <tqdatastream.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QString class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qstring.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QString class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qstring.h>
|
|
||||||
#include <QtCore/QRegExp>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTRING_H */
|
|
@ -1,178 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstringlist.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
void TQStringList::sort()
|
|
||||||
{
|
|
||||||
qHeapSort( *this );
|
|
||||||
}
|
|
||||||
|
|
||||||
TQStringList TQStringList::split( const QChar &sep, const QString &str,
|
|
||||||
bool allowEmptyEntries )
|
|
||||||
{
|
|
||||||
return split( QString(sep), str, allowEmptyEntries );
|
|
||||||
}
|
|
||||||
|
|
||||||
TQStringList TQStringList::split( const QString &sep, const QString &str,
|
|
||||||
bool allowEmptyEntries )
|
|
||||||
{
|
|
||||||
TQStringList lst;
|
|
||||||
|
|
||||||
int j = 0;
|
|
||||||
int i = str.find( sep, j );
|
|
||||||
|
|
||||||
while ( i != -1 ) {
|
|
||||||
if ( i > j && i <= (int)str.length() )
|
|
||||||
lst << str.mid( j, i - j );
|
|
||||||
else if ( allowEmptyEntries )
|
|
||||||
lst << QString::null;
|
|
||||||
j = i + sep.length();
|
|
||||||
i = str.find( sep, sep.length() > 0 ? j : j+1 );
|
|
||||||
}
|
|
||||||
|
|
||||||
int l = str.length() - 1;
|
|
||||||
if ( str.mid( j, l - j + 1 ).length() > 0 )
|
|
||||||
lst << str.mid( j, l - j + 1 );
|
|
||||||
else if ( allowEmptyEntries )
|
|
||||||
lst << QString::null;
|
|
||||||
|
|
||||||
return lst;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef QT_NO_REGEXP
|
|
||||||
TQStringList TQStringList::split( const QRegExp &sep, const QString &str,
|
|
||||||
bool allowEmptyEntries )
|
|
||||||
{
|
|
||||||
TQStringList lst;
|
|
||||||
|
|
||||||
QRegExp tep = sep;
|
|
||||||
|
|
||||||
int j = 0;
|
|
||||||
int i = tep.search( str, j );
|
|
||||||
|
|
||||||
while ( i != -1 ) {
|
|
||||||
if ( str.mid( j, i - j ).length() > 0 )
|
|
||||||
lst << str.mid( j, i - j );
|
|
||||||
else if ( allowEmptyEntries )
|
|
||||||
lst << QString::null;
|
|
||||||
if ( tep.matchedLength() == 0 )
|
|
||||||
j = i + 1;
|
|
||||||
else
|
|
||||||
j = i + tep.matchedLength();
|
|
||||||
i = tep.search( str, j );
|
|
||||||
}
|
|
||||||
|
|
||||||
int l = str.length() - 1;
|
|
||||||
if ( str.mid( j, l - j + 1 ).length() > 0 )
|
|
||||||
lst << str.mid( j, l - j + 1 );
|
|
||||||
else if ( allowEmptyEntries )
|
|
||||||
lst << QString::null;
|
|
||||||
|
|
||||||
return lst;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
TQStringList TQStringList::grep( const QString &str, bool cs ) const
|
|
||||||
{
|
|
||||||
TQStringList res;
|
|
||||||
for ( TQStringList::ConstIterator it = begin(); it != end(); ++it )
|
|
||||||
if ( (*it).contains(str, cs) )
|
|
||||||
res << *it;
|
|
||||||
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#ifndef QT_NO_REGEXP
|
|
||||||
TQStringList TQStringList::grep( const QRegExp &rx ) const
|
|
||||||
{
|
|
||||||
TQStringList res;
|
|
||||||
for ( TQStringList::ConstIterator it = begin(); it != end(); ++it )
|
|
||||||
if ( (*it).find(rx) != -1 )
|
|
||||||
res << *it;
|
|
||||||
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
TQStringList& TQStringList::gres( const QString &before, const QString &after,
|
|
||||||
bool cs )
|
|
||||||
{
|
|
||||||
TQStringList::Iterator it = begin();
|
|
||||||
while ( it != end() ) {
|
|
||||||
(*it).replace( before, after, cs );
|
|
||||||
++it;
|
|
||||||
}
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef QT_NO_REGEXP_CAPTURE
|
|
||||||
TQStringList& TQStringList::gres( const QRegExp &rx, const QString &after )
|
|
||||||
{
|
|
||||||
TQStringList::Iterator it = begin();
|
|
||||||
while ( it != end() ) {
|
|
||||||
(*it).replace( rx, after );
|
|
||||||
++it;
|
|
||||||
}
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
QString TQStringList::join( const QString &sep ) const
|
|
||||||
{
|
|
||||||
QString res;
|
|
||||||
bool alredy = FALSE;
|
|
||||||
for ( TQStringList::ConstIterator it = begin(); it != end(); ++it ) {
|
|
||||||
if ( alredy )
|
|
||||||
res += sep;
|
|
||||||
alredy = TRUE;
|
|
||||||
res += *it;
|
|
||||||
}
|
|
||||||
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
|
||||||
QDataStream &operator>>( QDataStream & s, TQStringList& l )
|
|
||||||
{
|
|
||||||
return s >> (TQValueList<QString>&)l;
|
|
||||||
}
|
|
||||||
|
|
||||||
QDataStream &operator<<( QDataStream & s, const TQStringList& l )
|
|
||||||
{
|
|
||||||
return s << (const TQValueList<QString>&)l;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
TQStringList TQStringList::fromStrList(const TQStrList& ascii)
|
|
||||||
{
|
|
||||||
TQStringList res;
|
|
||||||
const char * s;
|
|
||||||
for ( TQStrListIterator it(ascii); (s=it.current()); ++it )
|
|
||||||
res << s;
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,168 +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_TQSTRINGLIST_H
|
|
||||||
#define TQT_TQSTRINGLIST_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the TQStringList class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qstringlist.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the TQStringList class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqvaluelist.h>
|
|
||||||
#include <tqstrlist.h>
|
|
||||||
#include <tqtl.h>
|
|
||||||
#include <Qt/qstringlist.h>
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Definition of TQStringList class
|
|
||||||
**
|
|
||||||
** Created : 990406
|
|
||||||
**
|
|
||||||
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
|
|
||||||
**
|
|
||||||
** This file is part of the tools module of the Qt GUI Toolkit.
|
|
||||||
**
|
|
||||||
** This file may be used under the terms of the GNU General
|
|
||||||
** Public License versions 2.0 or 3.0 as published by the Free
|
|
||||||
** Software Foundation and appearing in the files LICENSE.GPL2
|
|
||||||
** and LICENSE.GPL3 included in the packaging of this file.
|
|
||||||
** Alternatively you may (at your option) use any later version
|
|
||||||
** of the GNU General Public License if such license has been
|
|
||||||
** publicly approved by Trolltech ASA (or its successors, if any)
|
|
||||||
** and the KDE Free Qt Foundation.
|
|
||||||
**
|
|
||||||
** Please review the following information to ensure GNU General
|
|
||||||
** Public Licensing requirements will be met:
|
|
||||||
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
|
|
||||||
** If you are unsure which license is appropriate for your use, please
|
|
||||||
** review the following information:
|
|
||||||
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
|
|
||||||
** or contact the sales department at sales@trolltech.com.
|
|
||||||
**
|
|
||||||
** This file may be used under the terms of the Q Public License as
|
|
||||||
** defined by Trolltech ASA and appearing in the file LICENSE.QPL
|
|
||||||
** included in the packaging of this file. Licensees holding valid Qt
|
|
||||||
** Commercial licenses may use this file in accordance with the Qt
|
|
||||||
** Commercial License Agreement provided with the Software.
|
|
||||||
**
|
|
||||||
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
|
|
||||||
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
|
|
||||||
** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
|
|
||||||
** herein.
|
|
||||||
**
|
|
||||||
**********************************************************************/
|
|
||||||
|
|
||||||
#ifndef QT_NO_STRINGLIST
|
|
||||||
|
|
||||||
class QRegExp;
|
|
||||||
template <class T> class QDeepCopy;
|
|
||||||
|
|
||||||
#if defined(Q_TEMPLATEDLL)
|
|
||||||
// MOC_SKIP_BEGIN
|
|
||||||
//Q_TEMPLATE_EXTERN template class Q_EXPORT TQValueList<QString>;
|
|
||||||
// MOC_SKIP_END
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class TQStringList : public TQValueList<QString>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQStringList() { }
|
|
||||||
TQStringList( const TQStringList& l ) : TQValueList<QString>(l) { }
|
|
||||||
TQStringList( const TQValueList<QString>& l ) : TQValueList<QString>(l) { }
|
|
||||||
TQStringList( const QString& i ) { append(i); }
|
|
||||||
#ifndef QT_NO_CAST_ASCII
|
|
||||||
TQStringList( const char* i ) { append(i); }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Interoperability
|
|
||||||
TQStringList(const QStringList& l)
|
|
||||||
{
|
|
||||||
for (int i = 0; i < l.size(); ++i) append(l.at(i));
|
|
||||||
}
|
|
||||||
|
|
||||||
TQStringList& operator= (const QStringList& l)
|
|
||||||
{
|
|
||||||
this->clear();
|
|
||||||
for (int i = 0; i < l.size(); ++i) append(l.at(i));
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
operator QStringList() const {
|
|
||||||
QStringList list;
|
|
||||||
for (TQStringList::const_iterator it = TQStringList::constBegin();
|
|
||||||
it != TQStringList::constEnd(); ++it)
|
|
||||||
list.append(*it);
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
static TQStringList fromStrList(const TQStrList&);
|
|
||||||
|
|
||||||
void sort();
|
|
||||||
|
|
||||||
static TQStringList split( const QString &sep, const QString &str, bool allowEmptyEntries = FALSE );
|
|
||||||
static TQStringList split( const QChar &sep, const QString &str, bool allowEmptyEntries = FALSE );
|
|
||||||
#ifndef QT_NO_REGEXP
|
|
||||||
static TQStringList split( const QRegExp &sep, const QString &str, bool allowEmptyEntries = FALSE );
|
|
||||||
#endif
|
|
||||||
QString join( const QString &sep ) const;
|
|
||||||
|
|
||||||
TQStringList grep( const QString &str, bool cs = TRUE ) const;
|
|
||||||
#ifndef QT_NO_REGEXP
|
|
||||||
TQStringList grep( const QRegExp &expr ) const;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
TQStringList& gres( const QString &before, const QString &after,
|
|
||||||
bool cs = TRUE );
|
|
||||||
#ifndef QT_NO_REGEXP_CAPTURE
|
|
||||||
TQStringList& gres( const QRegExp &expr, const QString &after );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
protected:
|
|
||||||
void detach() { TQValueList<QString>::detach(); }
|
|
||||||
friend class QDeepCopy< TQStringList >;
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
|
||||||
class QDataStream;
|
|
||||||
extern QDataStream &operator>>( QDataStream &, TQStringList& );
|
|
||||||
extern QDataStream &operator<<( QDataStream &, const TQStringList& );
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**********************************************************************/
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTRINGLIST_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstrlist.h>
|
|
@ -1,198 +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_TQSTRLIST_H
|
|
||||||
#define TQT_TQSTRLIST_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the TQStrList class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qstrlist.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the TQStrList class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqptrlist.h>
|
|
||||||
#include <Qt/q3strlist.h>
|
|
||||||
#include <Qt/q3ptrcollection.h>
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
**
|
|
||||||
** Definition of TQStrList, TQStrIList and TQStrListIterator classes
|
|
||||||
**
|
|
||||||
** Created : 920730
|
|
||||||
**
|
|
||||||
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
|
|
||||||
**
|
|
||||||
** This file is part of the tools module of the Qt GUI Toolkit.
|
|
||||||
**
|
|
||||||
** This file may be used under the terms of the GNU General
|
|
||||||
** Public License versions 2.0 or 3.0 as published by the Free
|
|
||||||
** Software Foundation and appearing in the files LICENSE.GPL2
|
|
||||||
** and LICENSE.GPL3 included in the packaging of this file.
|
|
||||||
** Alternatively you may (at your option) use any later version
|
|
||||||
** of the GNU General Public License if such license has been
|
|
||||||
** publicly approved by Trolltech ASA (or its successors, if any)
|
|
||||||
** and the KDE Free Qt Foundation.
|
|
||||||
**
|
|
||||||
** Please review the following information to ensure GNU General
|
|
||||||
** Public Licensing requirements will be met:
|
|
||||||
** http://trolltech.com/products/qt/licenses/licensing/opensource/.
|
|
||||||
** If you are unsure which license is appropriate for your use, please
|
|
||||||
** review the following information:
|
|
||||||
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
|
|
||||||
** or contact the sales department at sales@trolltech.com.
|
|
||||||
**
|
|
||||||
** This file may be used under the terms of the Q Public License as
|
|
||||||
** defined by Trolltech ASA and appearing in the file LICENSE.QPL
|
|
||||||
** included in the packaging of this file. Licensees holding valid Qt
|
|
||||||
** Commercial licenses may use this file in accordance with the Qt
|
|
||||||
** Commercial License Agreement provided with the Software.
|
|
||||||
**
|
|
||||||
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
|
|
||||||
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
|
|
||||||
** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
|
|
||||||
** herein.
|
|
||||||
**
|
|
||||||
**********************************************************************/
|
|
||||||
|
|
||||||
#if defined(Q_QDOC)
|
|
||||||
class TQStrListIterator : public TQPtrListIterator<char>
|
|
||||||
{
|
|
||||||
};
|
|
||||||
#else
|
|
||||||
typedef TQPtrListIterator<char> TQStrListIterator;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class TQStrList : public TQPtrList<char>
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQStrList( bool deepCopies=TRUE ) { dc = deepCopies; del_item = deepCopies; }
|
|
||||||
TQStrList( const TQStrList & );
|
|
||||||
~TQStrList() { clear(); }
|
|
||||||
TQStrList& operator=( const TQStrList & );
|
|
||||||
|
|
||||||
// Interoperability
|
|
||||||
TQStrList(Q3StrList& l)
|
|
||||||
{
|
|
||||||
for (unsigned int i = 0; i < l.count(); ++i) append(l.at(i));
|
|
||||||
}
|
|
||||||
|
|
||||||
TQStrList& operator= (Q3StrList& l)
|
|
||||||
{
|
|
||||||
this->clear();
|
|
||||||
for (unsigned int i = 0; i < l.count(); ++i) append(l.at(i));
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
operator Q3StrList() {
|
|
||||||
Q3StrList list;
|
|
||||||
for (TQStrList::const_iterator it = TQStrList::constBegin();
|
|
||||||
it != TQStrList::constEnd(); ++it)
|
|
||||||
list.append(*it);
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
operator Q3StrList() const {
|
|
||||||
Q3StrList list;
|
|
||||||
for (TQStrList::const_iterator it = TQStrList::constBegin();
|
|
||||||
it != TQStrList::constEnd(); ++it)
|
|
||||||
list.append(*it);
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
// More interoperability
|
|
||||||
// Should convert to and from a QList<QByteArray>
|
|
||||||
TQStrList(const QList<QByteArray> &list) {
|
|
||||||
for (int i = 0; i < list.size(); ++i)
|
|
||||||
append(list.at(i).constData());
|
|
||||||
}
|
|
||||||
|
|
||||||
TQStrList &operator =(const QList<QByteArray> &list) {
|
|
||||||
clear();
|
|
||||||
for (int i = 0; i < list.size(); ++i)
|
|
||||||
append(list.at(i).constData());
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
operator QList<QByteArray>() const {
|
|
||||||
QList<QByteArray> list;
|
|
||||||
for (TQPtrListStdIterator<char> it = begin(); it != end(); ++it)
|
|
||||||
list.append(QByteArray(*it));
|
|
||||||
return list;
|
|
||||||
}
|
|
||||||
|
|
||||||
private:
|
|
||||||
Q3PtrCollection::Item newItem( Q3PtrCollection::Item d ) { return dc ? qstrdup( (const char*)d ) : d; }
|
|
||||||
void deleteItem( Q3PtrCollection::Item d ) { if ( del_item ) delete[] (char*)d; }
|
|
||||||
int compareItems( Q3PtrCollection::Item s1, Q3PtrCollection::Item s2 ) { return qstrcmp((const char*)s1,
|
|
||||||
(const char*)s2); }
|
|
||||||
#ifndef QT_NO_DATASTREAM
|
|
||||||
QDataStream &read( QDataStream &s, Q3PtrCollection::Item &d )
|
|
||||||
{ s >> (char *&)d; return s; }
|
|
||||||
QDataStream &write( QDataStream &s, Q3PtrCollection::Item d ) const
|
|
||||||
{ return s << (const char *)d; }
|
|
||||||
#endif
|
|
||||||
bool dc;
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
class TQStrIList : public TQStrList // case insensitive string list
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
TQStrIList( bool deepCopies=TRUE ) : TQStrList( deepCopies ) {}
|
|
||||||
~TQStrIList() { clear(); }
|
|
||||||
private:
|
|
||||||
int compareItems( Q3PtrCollection::Item s1, Q3PtrCollection::Item s2 )
|
|
||||||
{ return qstricmp((const char*)s1,
|
|
||||||
(const char*)s2); }
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
inline TQStrList & TQStrList::operator=( const TQStrList &strList )
|
|
||||||
{
|
|
||||||
clear();
|
|
||||||
dc = strList.dc;
|
|
||||||
del_item = dc;
|
|
||||||
TQPtrList<char>::operator=( strList );
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline TQStrList::TQStrList( const TQStrList &strList )
|
|
||||||
: TQPtrList<char>( strList )
|
|
||||||
{
|
|
||||||
dc = FALSE;
|
|
||||||
operator=( strList );
|
|
||||||
}
|
|
||||||
|
|
||||||
/**********************************************************************/
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTRLIST_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstrvec.h>
|
|
@ -1,43 +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_TQSTRVEC_H
|
|
||||||
#define TQT_TQSTRVEC_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QStrVec class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qstrvec.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QStrVec class
|
|
||||||
// For Qt4, this class was removed!
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTRVEC_H */
|
|
@ -1,47 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstyle.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// TQStyle::TQStyle() : QStyle(), def(TRUE) {}
|
|
||||||
|
|
||||||
// bool TQStyle::isDefault() const {
|
|
||||||
// return def;
|
|
||||||
// }
|
|
||||||
|
|
||||||
bool QStyle::isDefault() const {
|
|
||||||
return def;
|
|
||||||
}
|
|
||||||
|
|
||||||
bool QStyleOption::isDefault() const {
|
|
||||||
return def;
|
|
||||||
}
|
|
||||||
|
|
||||||
Q3ListViewItem* QStyleOption::listViewItem() const {
|
|
||||||
const QStyleOptionQ3ListView *lv = qstyleoption_cast<const QStyleOptionQ3ListView *>(this);
|
|
||||||
QStyleOptionQ3ListViewItem item = lv->items.at(0);
|
|
||||||
return (Q3ListViewItem*)&item;
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
@ -1,59 +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_TQSTYLE_H
|
|
||||||
#define TQT_TQSTYLE_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QStyle class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qstyle.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QStyle class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <tqt4/Qt/qstyle.h>
|
|
||||||
#include <Qt/q3listview.h>
|
|
||||||
#include <tqt4/Qt/qstyleoption.h>
|
|
||||||
|
|
||||||
// class TQStyle : public QStyle {
|
|
||||||
// public:
|
|
||||||
// typedef QStyle::StateFlag StyleFlags;
|
|
||||||
// TQStyle();
|
|
||||||
// virtual ~TQStyle() {};
|
|
||||||
//
|
|
||||||
// bool isDefault() const;
|
|
||||||
//
|
|
||||||
// private:
|
|
||||||
// bool def;
|
|
||||||
// };
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTYLE_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstylefactory.h>
|
|
@ -1,45 +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_TQSTYLEFACTORY_H
|
|
||||||
#define TQT_TQSTYLEFACTORY_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QStyleFactory class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qstylefactory.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QStyleFactory class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qstylefactory.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTYLEFACTORY_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstyleplugin.h>
|
|
@ -1,45 +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_TQSTYLEPLUGIN_H
|
|
||||||
#define TQT_TQSTYLEPLUGIN_H
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
|
|
||||||
#ifdef USE_QT3
|
|
||||||
|
|
||||||
// Reimplement the QStylePlugin class
|
|
||||||
// For Qt3, no changes are needed
|
|
||||||
|
|
||||||
#include <qstyleplugin.h>
|
|
||||||
|
|
||||||
#endif // USE_QT3
|
|
||||||
|
|
||||||
#ifdef USE_QT4
|
|
||||||
|
|
||||||
// Reimplement the QStylePlugin class
|
|
||||||
// For Qt4, some changes are needed
|
|
||||||
|
|
||||||
#include <Qt/qstyleplugin.h>
|
|
||||||
|
|
||||||
#endif // USE_QT4
|
|
||||||
|
|
||||||
#endif /* TQT_TQSTYLEPLUGIN_H */
|
|
@ -1,23 +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.
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <tqt.h>
|
|
||||||
#include <tqstylesheet.h>
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue