Browse Source

Dropped unused code.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 4 months ago
parent
commit
c753c65cf7
Signed by: Michele Calgaro <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
100 changed files with 57 additions and 3636 deletions
  1. 0
    3
      CMakeLists.txt
  2. 53
    128
      ConfigureChecks.cmake
  3. 3
    53
      qtinterface/CMakeLists.txt
  4. 1
    5
      qtinterface/Makefile.am
  5. 0
    4
      qtinterface/configure.in.in
  6. 0
    35
      qtinterface/interface_qt3/private/tqcom_p.h
  7. 0
    40
      qtinterface/interface_qt3/private/tqeffects_p.h
  8. 0
    40
      qtinterface/interface_qt3/private/tqinternal_p.h
  9. 0
    36
      qtinterface/interface_qt3/private/tqlayoutengine_p.h
  10. 0
    35
      qtinterface/interface_qt3/private/tqpluginmanager_p.h
  11. 0
    40
      qtinterface/interface_qt3/private/tqrichtext_p.h
  12. 0
    40
      qtinterface/interface_qt3/private/tqtextengine_p.h
  13. 0
    35
      qtinterface/interface_qt3/private/tqucom_p.h
  14. 0
    27
      qtinterface/interface_qt3/private/tqucomextra_p.cpp
  15. 0
    48
      qtinterface/interface_qt3/private/tqucomextra_p.h
  16. 0
    35
      qtinterface/interface_qt3/private/tqwidgetinterface_p.h
  17. 0
    24
      qtinterface/interface_qt3/tmoc.cmake
  18. 0
    23
      qtinterface/interface_qt3/tqabstractlayout.cpp
  19. 0
    39
      qtinterface/interface_qt3/tqabstractlayout.h
  20. 0
    23
      qtinterface/interface_qt3/tqaccel.cpp
  21. 0
    45
      qtinterface/interface_qt3/tqaccel.h
  22. 0
    23
      qtinterface/interface_qt3/tqaccessible.cpp
  23. 0
    45
      qtinterface/interface_qt3/tqaccessible.h
  24. 0
    23
      qtinterface/interface_qt3/tqaction.cpp
  25. 0
    46
      qtinterface/interface_qt3/tqaction.h
  26. 0
    31
      qtinterface/interface_qt3/tqapp.h
  27. 0
    70
      qtinterface/interface_qt3/tqapplication.cpp
  28. 0
    52
      qtinterface/interface_qt3/tqapplication.h
  29. 0
    31
      qtinterface/interface_qt3/tqarray.h
  30. 0
    23
      qtinterface/interface_qt3/tqasciicache.cpp
  31. 0
    45
      qtinterface/interface_qt3/tqasciicache.h
  32. 0
    23
      qtinterface/interface_qt3/tqasciidict.cpp
  33. 0
    45
      qtinterface/interface_qt3/tqasciidict.h
  34. 0
    26
      qtinterface/interface_qt3/tqassistantclient.cpp
  35. 0
    33
      qtinterface/interface_qt3/tqassistantclient.h
  36. 0
    23
      qtinterface/interface_qt3/tqasyncimageio.cpp
  37. 0
    43
      qtinterface/interface_qt3/tqasyncimageio.h
  38. 0
    23
      qtinterface/interface_qt3/tqasyncio.cpp
  39. 0
    44
      qtinterface/interface_qt3/tqasyncio.h
  40. 0
    23
      qtinterface/interface_qt3/tqbig5codec.cpp
  41. 0
    43
      qtinterface/interface_qt3/tqbig5codec.h
  42. 0
    23
      qtinterface/interface_qt3/tqbitarray.cpp
  43. 0
    45
      qtinterface/interface_qt3/tqbitarray.h
  44. 0
    31
      qtinterface/interface_qt3/tqbitarry.h
  45. 0
    23
      qtinterface/interface_qt3/tqbitmap.cpp
  46. 0
    45
      qtinterface/interface_qt3/tqbitmap.h
  47. 0
    23
      qtinterface/interface_qt3/tqbrush.cpp
  48. 0
    45
      qtinterface/interface_qt3/tqbrush.h
  49. 0
    31
      qtinterface/interface_qt3/tqbttngrp.h
  50. 0
    23
      qtinterface/interface_qt3/tqbuffer.cpp
  51. 0
    45
      qtinterface/interface_qt3/tqbuffer.h
  52. 0
    23
      qtinterface/interface_qt3/tqbutton.cpp
  53. 0
    45
      qtinterface/interface_qt3/tqbutton.h
  54. 0
    23
      qtinterface/interface_qt3/tqbuttongroup.cpp
  55. 0
    45
      qtinterface/interface_qt3/tqbuttongroup.h
  56. 0
    23
      qtinterface/interface_qt3/tqcache.cpp
  57. 0
    45
      qtinterface/interface_qt3/tqcache.h
  58. 0
    23
      qtinterface/interface_qt3/tqcanvas.cpp
  59. 0
    45
      qtinterface/interface_qt3/tqcanvas.h
  60. 0
    23
      qtinterface/interface_qt3/tqcdestyle.cpp
  61. 0
    45
      qtinterface/interface_qt3/tqcdestyle.h
  62. 0
    23
      qtinterface/interface_qt3/tqcheckbox.cpp
  63. 0
    45
      qtinterface/interface_qt3/tqcheckbox.h
  64. 0
    31
      qtinterface/interface_qt3/tqchkbox.h
  65. 0
    23
      qtinterface/interface_qt3/tqcleanuphandler.cpp
  66. 0
    131
      qtinterface/interface_qt3/tqcleanuphandler.h
  67. 0
    23
      qtinterface/interface_qt3/tqclipboard.cpp
  68. 0
    45
      qtinterface/interface_qt3/tqclipboard.h
  69. 0
    31
      qtinterface/interface_qt3/tqclipbrd.h
  70. 0
    31
      qtinterface/interface_qt3/tqcollect.h
  71. 0
    31
      qtinterface/interface_qt3/tqcollection.h
  72. 0
    23
      qtinterface/interface_qt3/tqcolor.cpp
  73. 0
    45
      qtinterface/interface_qt3/tqcolor.h
  74. 0
    23
      qtinterface/interface_qt3/tqcolordialog.cpp
  75. 0
    45
      qtinterface/interface_qt3/tqcolordialog.h
  76. 0
    31
      qtinterface/interface_qt3/tqcombo.h
  77. 0
    23
      qtinterface/interface_qt3/tqcombobox.cpp
  78. 0
    45
      qtinterface/interface_qt3/tqcombobox.h
  79. 0
    95
      qtinterface/interface_qt3/tqcommonstyle.cpp
  80. 0
    47
      qtinterface/interface_qt3/tqcommonstyle.h
  81. 0
    23
      qtinterface/interface_qt3/tqcompactstyle.cpp
  82. 0
    43
      qtinterface/interface_qt3/tqcompactstyle.h
  83. 0
    43
      qtinterface/interface_qt3/tqconfig.h
  84. 0
    31
      qtinterface/interface_qt3/tqconnect.h
  85. 0
    23
      qtinterface/interface_qt3/tqconnection.cpp
  86. 0
    43
      qtinterface/interface_qt3/tqconnection.h
  87. 0
    55
      qtinterface/interface_qt3/tqcstring.cpp
  88. 0
    53
      qtinterface/interface_qt3/tqcstring.h
  89. 0
    23
      qtinterface/interface_qt3/tqcursor.cpp
  90. 0
    45
      qtinterface/interface_qt3/tqcursor.h
  91. 0
    23
      qtinterface/interface_qt3/tqdatabrowser.cpp
  92. 0
    45
      qtinterface/interface_qt3/tqdatabrowser.h
  93. 0
    43
      qtinterface/interface_qt3/tqdatastream.cpp
  94. 0
    46
      qtinterface/interface_qt3/tqdatastream.h
  95. 0
    23
      qtinterface/interface_qt3/tqdatatable.cpp
  96. 0
    45
      qtinterface/interface_qt3/tqdatatable.h
  97. 0
    23
      qtinterface/interface_qt3/tqdataview.cpp
  98. 0
    45
      qtinterface/interface_qt3/tqdataview.h
  99. 0
    23
      qtinterface/interface_qt3/tqdatetime.cpp
  100. 0
    0
      qtinterface/interface_qt3/tqdatetime.h

+ 0
- 3
CMakeLists.txt View File

@@ -48,9 +48,6 @@ tde_setup_install_path( PKGCONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig" )

option( WITH_ALL_OPTIONS "Enable all optional support" OFF )

option( WITH_QT3 "Build TQt interface based on TQt3" ${WITH_ALL_OPTIONS} )
option( WITH_QT4 "Build TQt interface based on Qt4" OFF )


##### user requested modules ####################


+ 53
- 128
ConfigureChecks.cmake View File

@@ -13,42 +13,11 @@ macro( qt_message )
message( STATUS "${ARGN}" )
endmacro( )

if( (WITH_QT3 OR USE_QT3) AND (WITH_QT4 OR USE_QT4) )
tde_message_fatal( "Options WITH_QT3 and WITH_QT4 are mutually exclusive." )
endif( )

if( WITH_QT3 OR USE_QT3 )
set( QT_VERSION "3" )
elseif( WITH_QT4 OR USE_QT4 )
set( QT_VERSION "4" )
message( AUTHOR_WARNING
" ------------------------------------------------------------- \n"
" *** NOTE *** \n"
" \n"
" The code for the TQt interface based on Qt4 is not maintained \n"
" and the result can cause unexpected problems.\n"
" \n"
" It is not recommended to build a TQt interface based on Qt4!\n"
" ------------------------------------------------------------- \n"
)
endif()


if( NOT DEFINED QT_VERSION )
tde_message_fatal( "You must select a Qt version, like this:\n \n cmake -DQT_VERSION=3 [arguments...]\n or\n cmake -DUSE_QT3=ON [arguments...]" )
endif( )


if( NOT (QT_VERSION STREQUAL "3" OR QT_VERSION STREQUAL "4") )
tde_message_fatal( "You have chosen an invalid version.\n QT_VERSION should be 3 or 4." )
else( )
qt_message( "Checking for Qt${QT_VERSION}..." )
endif( )

set( QT_VERSION "3" )

# qt prefix directory
if( NOT DEFINED QT_PREFIX_DIR )
if( NOT $ENV{TQTDIR} STREQUAL "" AND QT_VERSION STREQUAL "3" )
if( NOT $ENV{TQTDIR} STREQUAL "" )
set( QT_PREFIX_DIR "$ENV{TQTDIR}" )
qt_message( " QT_PREFIX_DIR is set to TQTDIR" )
else( )
@@ -72,35 +41,17 @@ if( NOT DEFINED TQT_INCLUDE_DIR )
endif( )
qt_message( " TQT_INCLUDE_DIR: ${TQT_INCLUDE_DIR}" )

# detect native tqt
if( EXISTS "${TQT_INCLUDE_DIR}/ntqglobal.h" )
set( HAVE_REAL_TQT ON CACHE BOOL "Native TQt3 detected" )
qt_message( "Native TQt3 detected" )
else( )
qt_message( "Qt3 detected" )
endif( )

# qt library path
if( NOT DEFINED TQT_LIBRARY_DIR )
set( TQT_LIBRARY_DIR "${QT_PREFIX_DIR}/lib${LIB_SUFFIX}" )
if( QT_VERSION STREQUAL "4" )
if( NOT EXISTS "${TQT_LIBRARY_DIR}/libQtGui.so" )
if( EXISTS "${TQT_LIBRARY_DIR}/qt4/libQtGui.so" )
set( TQT_LIBRARY_DIR "${QT_PREFIX_DIR}/lib${LIB_SUFFIX}/qt4" )
endif( )
endif( )
endif( )
endif( )
qt_message( " TQT_LIBRARY_DIR: ${TQT_LIBRARY_DIR}" )


# qt library name
if( NOT DEFINED TQT_LIBRARIES )
if( QT_VERSION STREQUAL "3" )
set( TQT_LIBRARIES qt-mt )
elseif( QT_VERSION STREQUAL "4" )
set( TQT_LIBRARIES QtCore QtGui )
endif( )
set( TQT_LIBRARIES qt-mt )
endif( )


@@ -117,11 +68,7 @@ if( DEFINED MOC_EXECUTABLE )
tde_message_fatal( "moc was NOT found.\n MOC_EXECUTABLE may not be set correctly." )
endif( )
else( )
if( QT_VERSION STREQUAL "3" )
find_program( MOC_EXECUTABLE NAMES tqmoc moc-qt3 moc HINTS "${QT_BINARY_DIR}" )
elseif( QT_VERSION STREQUAL "4" )
find_program( MOC_EXECUTABLE NAMES moc-qt4 moc HINTS "${QT_BINARY_DIR}" )
endif( )
find_program( MOC_EXECUTABLE NAMES tqmoc moc-qt3 moc HINTS "${QT_BINARY_DIR}" )
if( NOT MOC_EXECUTABLE )
tde_message_fatal( "moc was NOT found.\n Please check if your Qt${QT_VERSION} is correctly installed." )
endif( )
@@ -144,96 +91,74 @@ endif( )
qt_message( " MOC_EXECUTABLE: ${MOC_EXECUTABLE} (using Qt ${CMAKE_MATCH_1})" )

if( QT_VERSION STREQUAL "3" AND NOT "${CMAKE_MATCH_1}" VERSION_LESS "4" )
tde_message_fatal( "Strange, you want Qt3, but your moc using Qt4." )
elseif( QT_VERSION STREQUAL "4" AND "${CMAKE_MATCH_1}" VERSION_LESS "4" )
tde_message_fatal( "Strange, you want Qt4, but your moc using Qt3." )
tde_message_fatal( "Strange, you want TQt3, but your moc using Qt>=4." )
endif( )


# find uic (only for Qt3)
if( QT_VERSION STREQUAL "3" )
if( DEFINED UIC_EXECUTABLE )
if( IS_DIRECTORY "${UIC_EXECUTABLE}" OR NOT EXISTS "${UIC_EXECUTABLE}" )
tde_message_fatal( "uic was NOT found.\n MOC_EXECUTABLE may not be set correctly" )
endif( )
else( )
find_program( UIC_EXECUTABLE NAMES tquic uic-qt3 uic HINTS "${QT_BINARY_DIR}" )
if( NOT UIC_EXECUTABLE )
tde_message_fatal( "uic was NOT found.\n Please check if your Qt${QT_VERSION} is correctly installed." )
endif( )
endif( )
qt_message( " UIC_EXECUTABLE: ${UIC_EXECUTABLE}" )
if( DEFINED UIC_EXECUTABLE )
if( IS_DIRECTORY "${UIC_EXECUTABLE}" OR NOT EXISTS "${UIC_EXECUTABLE}" )
tde_message_fatal( "uic was NOT found.\n MOC_EXECUTABLE may not be set correctly" )
endif( )
else( )
find_program( UIC_EXECUTABLE NAMES tquic uic-qt3 uic HINTS "${QT_BINARY_DIR}" )
if( NOT UIC_EXECUTABLE )
tde_message_fatal( "uic was NOT found.\n Please check if your Qt${QT_VERSION} is correctly installed." )
endif( )
endif( )
qt_message( " UIC_EXECUTABLE: ${UIC_EXECUTABLE}" )


# definitions
if( QT_VERSION STREQUAL "3" )
if( HAVE_REAL_TQT )
set( QT_DEFINITIONS "-DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT" )
else( )
set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
endif( )
elseif( QT_VERSION STREQUAL "4" )
set( QT_DEFINITIONS "-DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT" )
endif( )
set( QT_DEFINITIONS "-DTQT_NO_ASCII_CAST -DTQT_NO_STL -DTQT_NO_COMPAT -DTQT_NO_TRANSLATION -DTQT_THREAD_SUPPORT -D_REENTRANT" )


tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
set( CMAKE_REQUIRED_INCLUDES ${TQT_INCLUDE_DIR} )
set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIR} ${TQT_LIBRARIES} )

# check if Qt3 is usable
if( QT_VERSION STREQUAL "3" )
check_cxx_source_compiles("
#include <qapplication.h>
int main(int argc, char **argv) { QApplication app(argc, argv); return 0; } "
HAVE_USABLE_QT${QT_VERSION} )
if( NOT HAVE_USABLE_QT${QT_VERSION} )
# Unset the Qt detection variable
unset( HAVE_USABLE_QT${QT_VERSION} CACHE )
# Reset libraries
set( TQT_LIBRARIES tqt-mt )
set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIR} ${TQT_LIBRARIES} )
qt_message( "Looking for native TQt3..." )
check_cxx_source_compiles("
#include <ntqapplication.h>
int main(int argc, char **argv) { TQApplication app(argc, argv); return 0; } "
HAVE_USABLE_QT${QT_VERSION} )
endif( )
# check if Qt4 is usable
elseif( QT_VERSION STREQUAL "4" )
check_cxx_source_compiles("
#include <QtGui/QApplication>
int main(int argc, char **argv) { QApplication app(argc, argv); return 0; } "
HAVE_USABLE_QT${QT_VERSION} )
endif( )
# check if TQt3 is usable
check_cxx_source_compiles("
#include <qapplication.h>
int main(int argc, char **argv) { QApplication app(argc, argv); return 0; } "
HAVE_USABLE_QT${QT_VERSION} )
if( NOT HAVE_USABLE_QT${QT_VERSION} )
# Unset the Qt detection variable
unset( HAVE_USABLE_QT${QT_VERSION} CACHE )
# Reset libraries
set( TQT_LIBRARIES tqt-mt )
set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIR} ${TQT_LIBRARIES} )
qt_message( "Looking for native TQt3..." )
check_cxx_source_compiles("
#include <ntqapplication.h>
int main(int argc, char **argv) { TQApplication app(argc, argv); return 0; } "
HAVE_USABLE_QT${QT_VERSION} )
endif( )
if( NOT HAVE_USABLE_QT${QT_VERSION} )
tde_message_fatal( "Unable to build a simple Qt${QT_VERSION} test." )
endif( )

# check if Qt3 is patched for compatibility with TQt
if( QT_VERSION STREQUAL "3" )
check_cxx_source_compiles("
#include <qobjectlist.h>
#include <qobject.h>
int main(int, char**) { QObject::objectTreesListObject(); return 0; } "
HAVE_PATCHED_QT3 )
if( NOT HAVE_PATCHED_QT3 )
# Unset the Qt detection variable
unset( HAVE_PATCHED_QT3 CACHE )
# Reset libraries
set( TQT_LIBRARIES tqt-mt )
set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIR} ${TQT_LIBRARIES} )
qt_message( "Looking for patched native TQt3..." )
check_cxx_source_compiles("
#include <ntqobjectlist.h>
#include <ntqobject.h>
int main(int, char**) { TQObject::objectTreesListObject(); return 0; } "
HAVE_PATCHED_QT3 )
endif( )
if( NOT HAVE_PATCHED_QT3 )
tde_message_fatal( "Your Qt3 is not patched for compatibility with tqtinterface." )
endif( )
check_cxx_source_compiles("
#include <qobjectlist.h>
#include <qobject.h>
int main(int, char**) { QObject::objectTreesListObject(); return 0; } "
HAVE_PATCHED_QT3 )
if( NOT HAVE_PATCHED_QT3 )
# Unset the Qt detection variable
unset( HAVE_PATCHED_QT3 CACHE )
# Reset libraries
set( TQT_LIBRARIES tqt-mt )
set( CMAKE_REQUIRED_LIBRARIES -L${TQT_LIBRARY_DIR} ${TQT_LIBRARIES} )
qt_message( "Looking for patched native TQt3..." )
check_cxx_source_compiles("
#include <ntqobjectlist.h>
#include <ntqobject.h>
int main(int, char**) { TQObject::objectTreesListObject(); return 0; } "
HAVE_PATCHED_QT3 )
endif( )
if( NOT HAVE_PATCHED_QT3 )
tde_message_fatal( "Your Qt3 is not patched for compatibility with tqtinterface." )
endif( )

tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )

+ 3
- 53
qtinterface/CMakeLists.txt View File

@@ -11,11 +11,7 @@
#
#################################################

if ( NOT HAVE_REAL_TQT )
set( IFACE "interface_qt3" )
else ( NOT HAVE_REAL_TQT )
set( IFACE "interface_tqt3" )
endif ( NOT HAVE_REAL_TQT )
set( IFACE "interface_tqt3" )

include_directories(
${CMAKE_CURRENT_BINARY_DIR}
@@ -101,23 +97,12 @@ install( FILES
${IFACE}/tqlistiterator.h
DESTINATION ${INCLUDE_INSTALL_DIR} )

install(
DIRECTORY tqt4/Qt
DESTINATION ${INCLUDE_INSTALL_DIR}
PATTERN ".svn" EXCLUDE )


##### tqt tools #################################

configure_file( ${IFACE}/tmoc.cmake tmoc @ONLY )
configure_file( uic-tqt.cmake uic-tqt @ONLY )
if ( NOT HAVE_REAL_TQT )
configure_file( tqt-replace.cmake tqt-replace @ONLY )
configure_file( tqt-replace-stream.cmake tqt-replace-stream @ONLY )
else ()
configure_file( tqt-replace-tqt3.cmake tqt-replace @ONLY )
configure_file( tqt-replace-stream-tqt3.cmake tqt-replace-stream @ONLY )
endif ()
configure_file( tqt-replace-tqt3.cmake tqt-replace @ONLY )
configure_file( tqt-replace-stream-tqt3.cmake tqt-replace-stream @ONLY )

install( PROGRAMS
moc-tqt ${CMAKE_CURRENT_BINARY_DIR}/uic-tqt
@@ -214,38 +199,3 @@ tde_add_library( tqt SHARED
LINK ${TQT_LIBRARIES}
DESTINATION ${LIB_INSTALL_DIR}
)

##### tqassistantclient (shared) ##############################

if ( NOT HAVE_REAL_TQT )

find_library( QASSISTANTCLIENT_STATIC libqassistantclient.a )

if ( QASSISTANTCLIENT_STATIC )

add_library(qassistantclient STATIC IMPORTED)
set_property(TARGET qassistantclient PROPERTY
IMPORTED_LOCATION ${QASSISTANTCLIENT_STATIC})

tde_add_library( tqassistantclient SHARED
SOURCES
${IFACE}/tqassistantclient.cpp
VERSION 4.2.0
LINK ${TQT_LIBRARIES}
EMBED qassistantclient
DESTINATION ${LIB_INSTALL_DIR}
)

else ( QASSISTANTCLIENT_STATIC )

tde_add_library( tqassistantclient SHARED
SOURCES
${IFACE}/tqassistantclient.cpp
VERSION 4.2.0
LINK ${TQT_LIBRARIES} -lqassistantclient
DESTINATION ${LIB_INSTALL_DIR}
)

endif ( QASSISTANTCLIENT_STATIC )

endif ( NOT HAVE_REAL_TQT )

+ 1
- 5
qtinterface/Makefile.am View File

@@ -151,10 +151,7 @@ if USE_QT3
QT_VER_REPLACE = s/QT_VER=X/QT_VER=3/g
QT_HVER_REPLACE = s/USE_QTX/USE_QT3/g
endif
if USE_QT4
QT_VER_REPLACE = s/QT_VER=X/QT_VER=4/g
QT_HVER_REPLACE = s/USE_QTX/USE_QT4/g
endif


install-exec-local:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
@@ -172,4 +169,3 @@ install-exec-local:
sed -i '$(QT_VER_REPLACE)' "$(DESTDIR)$(bindir)/tqt-replace"
sed -i '$(QT_VER_REPLACE)' "$(DESTDIR)$(bindir)/tqt-replace-stream"
sed -i '$(QT_HVER_REPLACE)' "$(srcdir)/tqt.h"
cp -Rp "$(srcdir)/tqt4/" "$(DESTDIR)$(includedir)/"

+ 0
- 4
qtinterface/configure.in.in View File

@@ -1,7 +1,3 @@
#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])

+ 0
- 35
qtinterface/interface_qt3/private/tqcom_p.h View File

@@ -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 */

+ 0
- 40
qtinterface/interface_qt3/private/tqeffects_p.h View File

@@ -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 */

+ 0
- 40
qtinterface/interface_qt3/private/tqinternal_p.h View File

@@ -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 */

+ 0
- 36
qtinterface/interface_qt3/private/tqlayoutengine_p.h View File

@@ -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 */

+ 0
- 35
qtinterface/interface_qt3/private/tqpluginmanager_p.h View File

@@ -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 */

+ 0
- 40
qtinterface/interface_qt3/private/tqrichtext_p.h View File

@@ -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 */

+ 0
- 40
qtinterface/interface_qt3/private/tqtextengine_p.h View File

@@ -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 */

+ 0
- 35
qtinterface/interface_qt3/private/tqucom_p.h View File

@@ -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 */

+ 0
- 27
qtinterface/interface_qt3/private/tqucomextra_p.cpp View File

@@ -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

+ 0
- 48
qtinterface/interface_qt3/private/tqucomextra_p.h View File

@@ -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 */

+ 0
- 35
qtinterface/interface_qt3/private/tqwidgetinterface_p.h View File

@@ -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 */

+ 0
- 24
qtinterface/interface_qt3/tmoc.cmake View File

@@ -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

+ 0
- 23
qtinterface/interface_qt3/tqabstractlayout.cpp View File

@@ -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>

+ 0
- 39
qtinterface/interface_qt3/tqabstractlayout.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqaccel.cpp View File

@@ -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>

+ 0
- 45
qtinterface/interface_qt3/tqaccel.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqaccessible.cpp View File

@@ -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>

+ 0
- 45
qtinterface/interface_qt3/tqaccessible.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqaction.cpp View File

@@ -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>

+ 0
- 46
qtinterface/interface_qt3/tqaction.h View File

@@ -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 */

+ 0
- 31
qtinterface/interface_qt3/tqapp.h View File

@@ -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 */

+ 0
- 70
qtinterface/interface_qt3/tqapplication.cpp View File

@@ -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

+ 0
- 52
qtinterface/interface_qt3/tqapplication.h View File

@@ -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 */

+ 0
- 31
qtinterface/interface_qt3/tqarray.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqasciicache.cpp View File

@@ -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>

+ 0
- 45
qtinterface/interface_qt3/tqasciicache.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqasciidict.cpp View File

@@ -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>

+ 0
- 45
qtinterface/interface_qt3/tqasciidict.h View File

@@ -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 */

+ 0
- 26
qtinterface/interface_qt3/tqassistantclient.cpp View File

@@ -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;

+ 0
- 33
qtinterface/interface_qt3/tqassistantclient.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqasyncimageio.cpp View File

@@ -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>

+ 0
- 43
qtinterface/interface_qt3/tqasyncimageio.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqasyncio.cpp View File

@@ -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>

+ 0
- 44
qtinterface/interface_qt3/tqasyncio.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqbig5codec.cpp View File

@@ -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>

+ 0
- 43
qtinterface/interface_qt3/tqbig5codec.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqbitarray.cpp View File

@@ -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>

+ 0
- 45
qtinterface/interface_qt3/tqbitarray.h View File

@@ -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 */

+ 0
- 31
qtinterface/interface_qt3/tqbitarry.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqbitmap.cpp View File

@@ -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>

+ 0
- 45
qtinterface/interface_qt3/tqbitmap.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqbrush.cpp View File

@@ -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>

+ 0
- 45
qtinterface/interface_qt3/tqbrush.h View File

@@ -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 */

+ 0
- 31
qtinterface/interface_qt3/tqbttngrp.h View File

@@ -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 */

+ 0
- 23
qtinterface/interface_qt3/tqbuffer.cpp View File

@@ -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