From b0b1269481829b26c9b8be60cedc1b6e2f5a35a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 23 Jul 2013 01:37:03 +0200 Subject: Rename smokeqt -> smoketqt --- smoke/Makefile.am | 2 +- smoke/Makefile.in | 2 +- smoke/qt/Makefile.am | 17 - smoke/qt/Makefile.in | 684 -------------------------------------- smoke/qt/generate.pl.in | 153 --------- smoke/qt/generate_makefile_am.pl | 56 ---- smoke/qt/header_list | 350 ------------------- smoke/qt/qt_smoke.h | 9 - smoke/qt/qtguess.pl.in | 501 ---------------------------- smoke/tqt/Makefile.am | 17 + smoke/tqt/Makefile.in | 684 ++++++++++++++++++++++++++++++++++++++ smoke/tqt/generate.pl.in | 153 +++++++++ smoke/tqt/generate_makefile_am.pl | 56 ++++ smoke/tqt/header_list | 350 +++++++++++++++++++ smoke/tqt/qt_smoke.h | 9 + smoke/tqt/qtguess.pl.in | 501 ++++++++++++++++++++++++++++ 16 files changed, 1772 insertions(+), 1772 deletions(-) delete mode 100644 smoke/qt/Makefile.am delete mode 100644 smoke/qt/Makefile.in delete mode 100644 smoke/qt/generate.pl.in delete mode 100755 smoke/qt/generate_makefile_am.pl delete mode 100644 smoke/qt/header_list delete mode 100644 smoke/qt/qt_smoke.h delete mode 100644 smoke/qt/qtguess.pl.in create mode 100644 smoke/tqt/Makefile.am create mode 100644 smoke/tqt/Makefile.in create mode 100644 smoke/tqt/generate.pl.in create mode 100755 smoke/tqt/generate_makefile_am.pl create mode 100644 smoke/tqt/header_list create mode 100644 smoke/tqt/qt_smoke.h create mode 100644 smoke/tqt/qtguess.pl.in (limited to 'smoke') diff --git a/smoke/Makefile.am b/smoke/Makefile.am index 49bd9d5..00d56b0 100644 --- a/smoke/Makefile.am +++ b/smoke/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS = qt +SUBDIRS = tqt include_HEADERS = smoke.h diff --git a/smoke/Makefile.in b/smoke/Makefile.in index dfb559b..2df970f 100644 --- a/smoke/Makefile.in +++ b/smoke/Makefile.in @@ -193,7 +193,7 @@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ x_includes = @x_includes@ x_libraries = @x_libraries@ -SUBDIRS = qt +SUBDIRS = tqt include_HEADERS = smoke.h diff --git a/smoke/qt/Makefile.am b/smoke/qt/Makefile.am deleted file mode 100644 index 63e4ec8..0000000 --- a/smoke/qt/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -lib_LTLIBRARIES = libsmokeqt.la - -# set the include path for X, qt and KDE -INCLUDES = -I$(srcdir)/.. $(all_includes) - -EXTRA_DIST=generate.pl.in qtguess.pl.in qt_smoke.h Makefile.am Makefile.in - -# the library search path. -libsmokeqt_la_LDFLAGS = -version-info 3:1:2 -no-undefined $(all_libraries) $(GL_CFLAGS) $(KDE_RPATH) - -# the libraries to link against. -libsmokeqt_la_LIBADD = $(LIB_QT) $(GL_LIBS) - -# which sources should be compiled for perlqtkde -libsmokeqt_la_SOURCES = smokedata.cpp x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \ - x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \ - x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp diff --git a/smoke/qt/Makefile.in b/smoke/qt/Makefile.in deleted file mode 100644 index 6a98cac..0000000 --- a/smoke/qt/Makefile.in +++ /dev/null @@ -1,684 +0,0 @@ -# Makefile.in generated by automake 1.7.2 from Makefile.am. -# KDE tags expanded automatically by am_edit - $Revision: 1.3 $ -# @configure_input@ - -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 -# Free Software Foundation, Inc. -# This Makefile.in is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -@SET_MAKE@ - -srcdir = @srcdir@ -top_srcdir = @top_srcdir@ -VPATH = @srcdir@ -pkgdatadir = $(datadir)/@PACKAGE@ -pkglibdir = $(libdir)/@PACKAGE@ -pkgincludedir = $(includedir)/@PACKAGE@ -top_builddir = ../.. - -am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd -INSTALL = @INSTALL@ -install_sh_DATA = $(install_sh) -c -m 644 -install_sh_PROGRAM = $(install_sh) -c -install_sh_SCRIPT = $(install_sh) -c -INSTALL_HEADER = $(INSTALL_DATA) -transform = $(program_transform_name) -NORMAL_INSTALL = : -PRE_INSTALL = : -POST_INSTALL = : -NORMAL_UNINSTALL = : -PRE_UNINSTALL = : -POST_UNINSTALL = : -host_triplet = @host@ -ACLOCAL = @ACLOCAL@ -AMDEP_FALSE = @AMDEP_FALSE@ -AMDEP_TRUE = @AMDEP_TRUE@ -AMTAR = @AMTAR@ -AUTOCONF = @AUTOCONF@ -AUTODIRS = @AUTODIRS@ -AUTOHEADER = @AUTOHEADER@ -AUTOMAKE = @AUTOMAKE@ -AWK = @AWK@ -CC = @CC@ -CCDEPMODE = @CCDEPMODE@ -CFLAGS = @CFLAGS@ -CONF_FILES = @CONF_FILES@ -CPP = @CPP@ -CPPFLAGS = @CPPFLAGS@ -CXX = @CXX@ -CXXCPP = @CXXCPP@ -CXXDEPMODE = @CXXDEPMODE@ -CXXFLAGS = @CXXFLAGS@ -CYGPATH_W = @CYGPATH_W@ -DEFS = @DEFS@ -DEPDIR = @DEPDIR@ -ECHO = @ECHO@ -ECHO_C = @ECHO_C@ -ECHO_N = @ECHO_N@ -ECHO_T = @ECHO_T@ -EGREP = @EGREP@ -EXEEXT = @EXEEXT@ -FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@ -GL_CFLAGS = @GL_CFLAGS@ -GL_LIBS = @GL_LIBS@ -INSTALL_DATA = @INSTALL_DATA@ -INSTALL_PROGRAM = @INSTALL_PROGRAM@ -INSTALL_SCRIPT = @INSTALL_SCRIPT@ -INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ -KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@ -KDE_HAVE_GL = @KDE_HAVE_GL@ -KDE_INCLUDES = @KDE_INCLUDES@ -KDE_LDFLAGS = @KDE_LDFLAGS@ -KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@ -KDE_MT_LIBS = @KDE_MT_LIBS@ -KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@ -KDE_PLUGIN = @KDE_PLUGIN@ -KDE_RPATH = @KDE_RPATH@ -KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@ -KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@ -KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@ -KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@ -KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@ -KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@ -LDFLAGS = @LDFLAGS@ -LIBCOMPAT = @LIBCOMPAT@ -LIBCRYPT = @LIBCRYPT@ -LIBDL = @LIBDL@ -LIBJPEG = @LIBJPEG@ -LIBOBJS = @LIBOBJS@ -LIBPNG = @LIBPNG@ -LIBPTHREAD = @LIBPTHREAD@ -LIBRESOLV = @LIBRESOLV@ -LIBS = @LIBS@ -LIBSM = @LIBSM@ -LIBSOCKET = @LIBSOCKET@ -LIBTOOL = @LIBTOOL@ -LIBUCB = @LIBUCB@ -LIBUTIL = @LIBUTIL@ -LIBZ = @LIBZ@ -LIB_POLL = @LIB_POLL@ -LIB_TQPE = @LIB_TQPE@ -LIB_QT = @LIB_QT@ -LIB_X11 = @LIB_X11@ -LIB_XEXT = @LIB_XEXT@ -LN_S = @LN_S@ -LTLIBOBJS = @LTLIBOBJS@ -MAKEINFO = @MAKEINFO@ -TQMOC = @TQMOC@ -NOOPT_CFLAGS = @NOOPT_CFLAGS@ -NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@ -OBJEXT = @OBJEXT@ -PACKAGE = @PACKAGE@ -PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ -PACKAGE_NAME = @PACKAGE_NAME@ -PACKAGE_STRING = @PACKAGE_STRING@ -PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_VERSION = @PACKAGE_VERSION@ -PATH_SEPARATOR = @PATH_SEPARATOR@ -TQTE_NORTTI = @TQTE_NORTTI@ -TQT_INCLUDES = @TQT_INCLUDES@ -TQT_LDFLAGS = @TQT_LDFLAGS@ -RANLIB = @RANLIB@ -SET_MAKE = @SET_MAKE@ -SHELL = @SHELL@ -STRIP = @STRIP@ -TOPSUBDIRS = @TOPSUBDIRS@ -UIC = @UIC@ -UIC_TR = @UIC_TR@ -USER_INCLUDES = @USER_INCLUDES@ -USER_LDFLAGS = @USER_LDFLAGS@ -USE_EXCEPTIONS = @USE_EXCEPTIONS@ -USE_RPATH = @USE_RPATH@ -USE_RTTI = @USE_RTTI@ -USE_THREADS = @USE_THREADS@ -VERSION = @VERSION@ -WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@ -X_CFLAGS = @X_CFLAGS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_INCLUDES = @X_INCLUDES@ -X_LDFLAGS = @X_LDFLAGS@ -X_LIBS = @X_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ -ac_ct_CC = @ac_ct_CC@ -ac_ct_CXX = @ac_ct_CXX@ -ac_ct_RANLIB = @ac_ct_RANLIB@ -ac_ct_STRIP = @ac_ct_STRIP@ -all_includes = @all_includes@ -all_libraries = @all_libraries@ -am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ -am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ -am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ -am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ -am__include = @am__include@ -am__quote = @am__quote@ -bindir = @bindir@ -build = @build@ -build_alias = @build_alias@ -build_cpu = @build_cpu@ -build_os = @build_os@ -build_vendor = @build_vendor@ -datadir = @datadir@ -exec_prefix = @exec_prefix@ -host = @host@ -host_alias = @host_alias@ -host_cpu = @host_cpu@ -host_os = @host_os@ -host_vendor = @host_vendor@ -includedir = @includedir@ -infodir = @infodir@ -install_sh = @install_sh@ -kde_includes = @kde_includes@ -kde_libraries = @kde_libraries@ -kde_qtver = @kde_qtver@ -libdir = @libdir@ -libexecdir = @libexecdir@ -localstatedir = @localstatedir@ -mandir = @mandir@ -oldincludedir = @oldincludedir@ -prefix = @prefix@ -program_transform_name = @program_transform_name@ -qt_includes = @qt_includes@ -qt_libraries = @qt_libraries@ -qt_test_threshold = @qt_test_threshold@ -sbindir = @sbindir@ -sharedstatedir = @sharedstatedir@ -sysconfdir = @sysconfdir@ -target_alias = @target_alias@ -x_includes = @x_includes@ -x_libraries = @x_libraries@ -lib_LTLIBRARIES = libsmokeqt.la - -# set the include path for X, qt and KDE -INCLUDES = -I$(srcdir)/.. $(all_includes) - -EXTRA_DIST = generate.pl.in qtguess.pl.in qt_smoke.h Makefile.am Makefile.in - -# the library search path. -#>- libsmokeqt_la_LDFLAGS = -version-info 3:1:2 -no-undefined $(all_libraries) $(GL_CFLAGS) $(KDE_RPATH) -#>+ 1 -libsmokeqt_la_LDFLAGS = -version-info 3:1:2 -no-undefined $(KDE_NO_UNDEFINED) $(all_libraries) $(GL_CFLAGS) $(KDE_RPATH) - -# the libraries to link against. -libsmokeqt_la_LIBADD = $(LIB_QT) $(GL_LIBS) - -# which sources should be compiled for perlqtkde -libsmokeqt_la_SOURCES = smokedata.cpp x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \ - x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \ - x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp - -subdir = smoke/qt -mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs -CONFIG_HEADER = $(top_builddir)/config.h -CONFIG_CLEAN_FILES = qtguess.pl generate.pl -LTLIBRARIES = $(lib_LTLIBRARIES) - -libsmokeqt_la_DEPENDENCIES = -am_libsmokeqt_la_OBJECTS = smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo \ - x_5.lo x_6.lo x_7.lo x_8.lo x_9.lo x_10.lo x_11.lo x_12.lo \ - x_13.lo x_14.lo x_15.lo x_16.lo x_17.lo x_18.lo x_19.lo x_20.lo -#>- libsmokeqt_la_OBJECTS = $(am_libsmokeqt_la_OBJECTS) -#>+ 6 -libsmokeqt_la_final_OBJECTS = libsmokeqt_la.all_cpp.lo -libsmokeqt_la_nofinal_OBJECTS = smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo \ - x_5.lo x_6.lo x_7.lo x_8.lo x_9.lo x_10.lo x_11.lo x_12.lo \ - x_13.lo x_14.lo x_15.lo x_16.lo x_17.lo x_18.lo x_19.lo x_20.lo -@KDE_USE_FINAL_FALSE@libsmokeqt_la_OBJECTS = $(libsmokeqt_la_nofinal_OBJECTS) -@KDE_USE_FINAL_TRUE@libsmokeqt_la_OBJECTS = $(libsmokeqt_la_final_OBJECTS) - -DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -depcomp = $(SHELL) $(top_srcdir)/admin/depcomp -am__depfiles_maybe = depfiles -#>- @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/smokedata.Plo ./$(DEPDIR)/x_1.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_10.Plo ./$(DEPDIR)/x_11.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_12.Plo ./$(DEPDIR)/x_13.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_14.Plo ./$(DEPDIR)/x_15.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_16.Plo ./$(DEPDIR)/x_17.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_18.Plo ./$(DEPDIR)/x_19.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_2.Plo ./$(DEPDIR)/x_20.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_3.Plo ./$(DEPDIR)/x_4.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_5.Plo ./$(DEPDIR)/x_6.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_7.Plo ./$(DEPDIR)/x_8.Plo \ -#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_9.Plo -#>+ 23 -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@DEP_FILES = $(DEPDIR)/libsmokeqt_la.all_cpp.P ./$(DEPDIR)/smokedata.Plo ./$(DEPDIR)/x_1.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_10.Plo ./$(DEPDIR)/x_11.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_12.Plo ./$(DEPDIR)/x_13.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_14.Plo ./$(DEPDIR)/x_15.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_16.Plo ./$(DEPDIR)/x_17.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_18.Plo ./$(DEPDIR)/x_19.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_2.Plo ./$(DEPDIR)/x_20.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_3.Plo ./$(DEPDIR)/x_4.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_5.Plo ./$(DEPDIR)/x_6.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_7.Plo ./$(DEPDIR)/x_8.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_9.Plo -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@DEP_FILES = ./$(DEPDIR)/smokedata.Plo ./$(DEPDIR)/x_1.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_10.Plo ./$(DEPDIR)/x_11.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_12.Plo ./$(DEPDIR)/x_13.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_14.Plo ./$(DEPDIR)/x_15.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_16.Plo ./$(DEPDIR)/x_17.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_18.Plo ./$(DEPDIR)/x_19.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_2.Plo ./$(DEPDIR)/x_20.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_3.Plo ./$(DEPDIR)/x_4.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_5.Plo ./$(DEPDIR)/x_6.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_7.Plo ./$(DEPDIR)/x_8.Plo \ -@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_9.Plo - -#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ -#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -#>+ 2 -CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ - $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) -#>- LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \ -#>- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ -#>- $(AM_CXXFLAGS) $(CXXFLAGS) -#>+ 3 -LTCXXCOMPILE = $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(DEFS) \ - $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ - $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) -CXXLD = $(CXX) -#>- CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ -#>- $(AM_LDFLAGS) $(LDFLAGS) -o $@ -#>+ 2 -CXXLINK = $(LIBTOOL) --mode=link --tag=CXX $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ -DIST_SOURCES = $(libsmokeqt_la_SOURCES) -DIST_COMMON = Makefile.am Makefile.in generate.pl.in qtguess.pl.in -SOURCES = $(libsmokeqt_la_SOURCES) - -#>- all: all-am -#>+ 1 -all: docs-am all-am - -.SUFFIXES: -.SUFFIXES: .cpp .lo .o .obj -$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) -#>- cd $(top_srcdir) && \ -#>- $(AUTOMAKE) --gnu smoke/qt/Makefile -#>+ 3 - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu smoke/qt/Makefile - cd $(top_srcdir) && perl admin/am_edit PerlTQt-3.008/smoke/qt/Makefile.in -Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) -qtguess.pl: $(top_builddir)/config.status qtguess.pl.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -generate.pl: $(top_builddir)/config.status generate.pl.in - cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ -libLTLIBRARIES_INSTALL = $(INSTALL) -install-libLTLIBRARIES: $(lib_LTLIBRARIES) - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(libdir) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - if test -f $$p; then \ - f="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \ - $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \ - else :; fi; \ - done - -uninstall-libLTLIBRARIES: - @$(NORMAL_UNINSTALL) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - p="`echo $$p | sed -e 's|^.*/||'`"; \ - echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \ - $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ - done - -clean-libLTLIBRARIES: - -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) - @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ - dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ - test "$$dir" = "$$p" && dir=.; \ - echo "rm -f \"$${dir}/so_locations\""; \ - rm -f "$${dir}/so_locations"; \ - done -#>- libsmokeqt.la: $(libsmokeqt_la_OBJECTS) $(libsmokeqt_la_DEPENDENCIES) -#>+ 2 -@KDE_USE_CLOSURE_TRUE@libsmokeqt.la: libsmokeqt.la.closure $(libsmokeqt_la_OBJECTS) $(libsmokeqt_la_DEPENDENCIES) -@KDE_USE_CLOSURE_FALSE@libsmokeqt.la: $(libsmokeqt_la_OBJECTS) $(libsmokeqt_la_DEPENDENCIES) - $(CXXLINK) -rpath $(libdir) $(libsmokeqt_la_LDFLAGS) $(libsmokeqt_la_OBJECTS) $(libsmokeqt_la_LIBADD) $(LIBS) - -mostlyclean-compile: - -rm -f *.$(OBJEXT) core *.core - -distclean-compile: - -rm -f *.tab.c - -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smokedata.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_1.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_10.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_11.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_12.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_13.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_14.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_15.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_16.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_17.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_18.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_19.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_2.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_20.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_3.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_4.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_5.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_6.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_7.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_8.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_9.Plo@am__quote@ - -distclean-depend: - -rm -rf ./$(DEPDIR) - -.cpp.o: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ -@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ -@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ -@am__fastdepCXX_TRUE@ fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< - -.cpp.obj: -@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ -@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ -@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ -@am__fastdepCXX_TRUE@ fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` - -.cpp.lo: -@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ -@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ -@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ -@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ -@am__fastdepCXX_TRUE@ fi -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ -@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ -@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< - -mostlyclean-libtool: - -rm -f *.lo - -clean-libtool: - -rm -rf .libs _libs - -distclean-libtool: - -rm -f libtool -uninstall-info-am: - -ETAGS = etags -ETAGSFLAGS = - -CTAGS = ctags -CTAGSFLAGS = - -tags: TAGS - -ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - mkid -fID $$unique - -TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(ETAGS_ARGS)$$tags$$unique" \ - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ - $$tags $$unique - -ctags: CTAGS -CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ - $(TAGS_FILES) $(LISP) - tags=; \ - here=`pwd`; \ - list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ - unique=`for i in $$list; do \ - if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ - done | \ - $(AWK) ' { files[$$0] = 1; } \ - END { for (i in files) print i; }'`; \ - test -z "$(CTAGS_ARGS)$$tags$$unique" \ - || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ - $$tags $$unique - -GTAGS: - here=`$(am__cd) $(top_builddir) && pwd` \ - && cd $(top_srcdir) \ - && gtags -i $(GTAGS_ARGS) $$here - -distclean-tags: - -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) -#>+ 4 -KDE_DIST=header_list generate_makefile_am.pl - -DISTFILES= $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST) - - -top_distdir = ../.. -distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) - -distdir: $(DISTFILES) - @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ - topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ - list='$(DISTFILES)'; for file in $$list; do \ - case $$file in \ - $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ - $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ - esac; \ - if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ - dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ - if test "$$dir" != "$$file" && test "$$dir" != "."; then \ - dir="/$$dir"; \ - $(mkinstalldirs) "$(distdir)$$dir"; \ - else \ - dir=''; \ - fi; \ - if test -d $$d/$$file; then \ - if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ - cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ - fi; \ - cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ - else \ - test -f $(distdir)/$$file \ - || cp -p $$d/$$file $(distdir)/$$file \ - || exit 1; \ - fi; \ - done -check-am: all-am -check: check-am -all-am: Makefile $(LTLIBRARIES) - -installdirs: - $(mkinstalldirs) $(DESTDIR)$(libdir) - -install: install-am -install-exec: install-exec-am -install-data: install-data-am -uninstall: uninstall-am - -install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am - -installcheck: installcheck-am -install-strip: - $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ - INSTALL_STRIP_FLAG=-s \ - `test -z '$(STRIP)' || \ - echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install -mostlyclean-generic: - -clean-generic: - -distclean-generic: - -rm -f Makefile $(CONFIG_CLEAN_FILES) - -maintainer-clean-generic: - @echo "This command is intended for maintainers to use" - @echo "it deletes files that may require special tools to rebuild." -#>- clean: clean-am -#>+ 1 -clean: kde-rpo-clean clean-am - -#>- clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ -#>- mostlyclean-am -#>+ 2 -clean-am: clean-closures clean-final clean-generic clean-libLTLIBRARIES clean-libtool \ - mostlyclean-am - -distclean: distclean-am - -distclean-am: clean-am distclean-compile distclean-depend \ - distclean-generic distclean-libtool distclean-tags - -dvi: dvi-am - -dvi-am: - -info: info-am - -info-am: - -install-data-am: - -install-exec-am: install-libLTLIBRARIES - -install-info: install-info-am - -install-man: - -installcheck-am: - -maintainer-clean: maintainer-clean-am - -maintainer-clean-am: distclean-am maintainer-clean-generic - -mostlyclean: mostlyclean-am - -mostlyclean-am: mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool - -pdf: pdf-am - -pdf-am: - -ps: ps-am - -ps-am: - -uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES - -.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool ctags distclean \ - distclean-compile distclean-depend distclean-generic \ - distclean-libtool distclean-tags distdir dvi dvi-am info \ - info-am install install-am install-data install-data-am \ - install-exec install-exec-am install-info install-info-am \ - install-libLTLIBRARIES install-man install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ - maintainer-clean-generic mostlyclean mostlyclean-compile \ - mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ - tags uninstall uninstall-am uninstall-info-am \ - uninstall-libLTLIBRARIES - -# Tell versions [3.59,3.63) of GNU make to not export all variables. -# Otherwise a system limit (for SysV at least) may be exceeded. -.NOEXPORT: - - -#>+ 8 -libsmokeqt.la.closure: $(libsmokeqt_la_OBJECTS) $(libsmokeqt_la_DEPENDENCIES) - @echo "int main() {return 0;}" > libsmokeqt_la_closure.cpp - @$(LTCXXCOMPILE) -c libsmokeqt_la_closure.cpp - $(CXXLINK) libsmokeqt_la_closure.lo $(libsmokeqt_la_LDFLAGS) $(libsmokeqt_la_OBJECTS) $(libsmokeqt_la_LIBADD) $(LIBS) - @rm -f libsmokeqt_la_closure.* libsmokeqt.la.closure - @echo "timestamp" > libsmokeqt.la.closure - - -#>+ 3 -clean-closures: - -rm -f libsmokeqt.la.closure - -#>+ 2 -docs-am: - -#>+ 6 -force-reedit: - cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu smoke/qt/Makefile - cd $(top_srcdir) && perl admin/am_edit PerlTQt-3.008/smoke/qt/Makefile.in - - -#>+ 9 -bcheck: bcheck-am - -bcheck-am: - test ! -r bchecktest.cc.class || mv -f bchecktest.cc.class bchecktest.cc.oldclass - @echo "int main() {return 0;}" > bchecktest.cc - for i in $(include_HEADERS); do echo "#include \"$$i\"" >> bchecktest.cc; done - test ! -s bchecktest.cc || $(CXXCOMPILE) --dump-class-hierarchy bchecktest.cc - test ! -s bchecktest.cc.oldclass || test ! -s bchecktest.cc.class || cmp -s bchecktest.cc.oldclass bchecktest.cc.class - -#>+ 11 -libsmokeqt_la.all_cpp.cpp: $(srcdir)/Makefile.in smokedata.cpp x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp - @echo 'creating libsmokeqt_la.all_cpp.cpp ...'; \ - rm -f libsmokeqt_la.all_cpp.files libsmokeqt_la.all_cpp.final; \ - echo "#define KDE_USE_FINAL 1" >> libsmokeqt_la.all_cpp.final; \ - for file in smokedata.cpp x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp ; do \ - echo "#include \"$$file\"" >> libsmokeqt_la.all_cpp.files; \ - test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libsmokeqt_la.all_cpp.final; \ - done; \ - cat libsmokeqt_la.all_cpp.final libsmokeqt_la.all_cpp.files > libsmokeqt_la.all_cpp.cpp; \ - rm -f libsmokeqt_la.all_cpp.final libsmokeqt_la.all_cpp.files - -#>+ 3 -clean-final: - -rm -f libsmokeqt_la.all_cpp.cpp - -#>+ 2 -final: - $(MAKE) libsmokeqt_la_OBJECTS="$(libsmokeqt_la_final_OBJECTS)" all-am -#>+ 2 -final-install: - $(MAKE) libsmokeqt_la_OBJECTS="$(libsmokeqt_la_final_OBJECTS)" install-am -#>+ 2 -no-final: - $(MAKE) libsmokeqt_la_OBJECTS="$(libsmokeqt_la_nofinal_OBJECTS)" all-am -#>+ 2 -no-final-install: - $(MAKE) libsmokeqt_la_OBJECTS="$(libsmokeqt_la_nofinal_OBJECTS)" install-am -#>+ 3 -cvs-clean: - $(MAKE) admindir=$(top_srcdir)/admin -f $(top_srcdir)/admin/Makefile.common cvs-clean - -#>+ 3 -kde-rpo-clean: - -rm -f *.rpo - -#>+ 3 -nmcheck: -nmcheck-am: nmcheck diff --git a/smoke/qt/generate.pl.in b/smoke/qt/generate.pl.in deleted file mode 100644 index 8dfda1a..0000000 --- a/smoke/qt/generate.pl.in +++ /dev/null @@ -1,153 +0,0 @@ -#!/usr/bin/perl -w - -## Run this first, to generate the x_*.cpp files from the TQt headers -## using kalyptus - -my $kalyptusdir = "../../kalyptus"; - -use File::Basename; -use File::Copy qw|cp|; -use File::Compare; -use Cwd; - -my $here = getcwd; -my $outdir = $here . "/generate.pl.tmpdir"; -my $finaloutdir = $here; -my $defines = "qtdefines"; -my $headerlist = "header_list"; -my $definespath = "$here/$defines"; -my $headerlistpath = "$here/$headerlist"; - -## Note: outdir and finaloutdir should NOT be the same dir! - -# Delete all x_*.cpp files under outdir (or create outdir if nonexistent) -if (-d $outdir) { system "rm -f $outdir/x_*.cpp"; } else { mkdir $outdir; } - -mkdir $finaloutdir unless (-d $finaloutdir); - -# Load the TQT_NO_* macros found in "qtdefines". They'll be passed to kalyptus -my $macros=""; -if ( -e $definespath ){ - print "Found '$defines'. Reading preprocessor symbols from there...\n"; - $macros = " --defines=$definespath "; -} - -# Need to cd to kalyptus's directory so that perl finds Ast.pm etc. -chdir "$kalyptusdir" or die "Couldn't go to $kalyptusdir (edit script to change dir)\n"; - -# Find out which header files we need to parse -# We don't want all of them - e.g. not template-based stuff -my %excludes = ( - 'ntqaccessible.h' => 1, # Accessibility support is not compiled by defaut - 'ntqassistantclient.h' => 1, # Not part of TQt (introduced in TQt-3.1) - 'ntqmotif.h' => 1, # - 'ntqmotifwidget.h' => 1, # Motif extension (introduced in TQt-3.1) - 'ntqmotifdialog.h' => 1, # - 'ntqxt.h' => 1, # Xt - 'ntqxtwidget.h' => 1, # Xt - 'ntqdns.h' => 1, # internal - 'ntqgl.h' => 1, # OpenGL - 'ntqglcolormap.h' => 1, # OpenGL - 'ntqnp.h' => 1, # NSPlugin - 'ntqttableview.h' => 1, # Not in TQt anymore... - 'ntqtmultilineedit.h' => 1, # Not in TQt anymore... - 'ntqwidgetfactory.h' => 1, # Just an interface - 'ntqsharedmemory.h' => 1, # "not part of the TQt API" they say - 'ntqwindowsstyle.h' => 1, # TQt windowsstyle, plugin - 'ntqmotifstyle.h' => 1, - 'ntqcompactstyle.h' => 1, - 'ntqinterlacestyle.h' => 1, - 'ntqmotifplusstyle.h' => 1, - 'ntqsgistyle.h' => 1, - 'ntqplatinumstyle.h' => 1, - 'ntqcdestyle.h' => 1, - 'ntqwindowsxpstyle.h' => 1 # play on the safe side -); - -# Some systems have a TQTDIR = TDEDIR = PREFIX -# We need a complete list - -my %includes; -open(HEADERS, $headerlistpath) or die "Couldn't open $headerlistpath: $!\n"; -map { chomp ; $includes{$_} = 1 } ; -close HEADERS; - -# Can we compile the OpenGl module ? -if("@KDE_HAVE_GL@" eq "yes") -{ - open(DEFS, $definespath); - my @defs = ; - close DEFS; - if(!grep(/TQT_NO_OPENGL/, @defs)) - { - $excludes{'qgl.h'} = undef; - $excludes{'qglcolormap.h'} = undef; - } - else - { - print STDERR "TQt was not compiled with OpenGL support...\n Skipping TQGL Classes.\n"; - } -} - -# List TQt headers, and exclude the ones listed above -my @headers = (); - -$qtinc= '@qt_includes@'; -opendir (QT, $qtinc) or die "Couldn't find $qtinc"; -foreach $filename (readdir(QT)) { - $entry = $qtinc."/".$filename; - if ( ( -e $entry or -l $entry ) # A real file or a symlink - && ( ! -d _ ) ) # Not a symlink to a dir though - { - push(@headers, $entry) - if ( !defined $excludes{$filename} # Not excluded - && $includes{$filename} # Known header - && $filename =~ /\.h$/ ); # Not a backup file etc. Only headers. - undef $includes{$filename} - } -} -closedir QT; - -# Launch kalyptus -system "perl kalyptus @ARGV --globspace -fsmoke --name=qt $macros --no-cache --outputdir=$outdir @headers"; -my $exit = $? >> 8; -exit $exit if ($exit); - -# Generate diff for smokedata.cpp -unless ( -e "$finaloutdir/smokedata.cpp" ) { - open( TOUCH, ">$finaloutdir/smokedata.cpp"); - close TOUCH; -} -system "diff -u $finaloutdir/smokedata.cpp $outdir/smokedata.cpp > $outdir/smokedata.cpp.diff"; - -# Copy changed or new files to finaloutdir -opendir (OUT, $outdir) or die "Couldn't opendir $outdir"; -foreach $filename (readdir(OUT)) { - next if ( -d "$outdir/$filename" ); # only files, not dirs - my $docopy = 1; - if ( -f "$finaloutdir/$filename" ) { - $docopy = compare("$outdir/$filename", "$finaloutdir/$filename"); # 1 if files are differents - } - if ($docopy) { - #print STDERR "Updating $filename...\n"; - cp("$outdir/$filename", "$finaloutdir/$filename"); - } -} -closedir OUT; - -# Check for deleted files and warn -my $deleted = 0; -opendir(FINALOUT, $finaloutdir) or die "Couldn't opendir $finaloutdir"; -foreach $filename (readdir(FINALOUT)) { - next if ( -d "$finaloutdir/$filename" ); # only files, not dirs - if ( $filename =~ /.cpp$/ && ! ($filename =~ /_la_closure.cpp/) && ! -f "$outdir/$filename" ) { - print STDERR "Removing obsolete file $filename\n"; - unlink "$finaloutdir/$filename"; - $deleted = 1; - } -} -closedir FINALOUT; - -# Delete outdir -system "rm -rf $outdir"; - diff --git a/smoke/qt/generate_makefile_am.pl b/smoke/qt/generate_makefile_am.pl deleted file mode 100755 index 49cdd49..0000000 --- a/smoke/qt/generate_makefile_am.pl +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/perl -w - -use File::Basename; -use File::Copy qw|cp|; -use File::Compare; -use Cwd; - -my $here = getcwd; -my $outdir = $here; -my $tempfile = "$outdir/.Makefile.am.tmpfile"; - -# Update list of source files in $outdir/Makefile.am -open( MAKEFILE, "<$outdir/Makefile.am" ) or die; -my $makeFileData = ''; -my $found = 0; -while () { - if (/^libsmokeqt_la_SOURCES/) - { - $found = 1; - $makeFileData .= "libsmokeqt_la_SOURCES = smokedata.cpp"; - } - $makeFileData .= $_ if (!$found); -} -close MAKEFILE; - -die "libsmokeqt_la_SOURCES not found" if (!$found); - -open( MAKEFILE, ">$tempfile" ) or die; -print MAKEFILE $makeFileData; - -my $count = 0; -opendir (FILES, $outdir) or die; -foreach $filename (readdir(FILES)) { - if ( $filename =~ /^x_.*\.cpp$/ ) { - if ( $count++ == 7 ) { - $count = 0; - print MAKEFILE " \\\n"; - } - print MAKEFILE " $filename"; - } -} - -print MAKEFILE "\n"; -close MAKEFILE; -closedir FILES; - -if (compare("$tempfile", "$outdir/Makefile.am")) { - cp("$tempfile", "$outdir/Makefile.am"); - print STDERR "Makefile.am updated.\n"; -} -else { - print STDERR "Makefile.am unchanged.\n"; -} -unlink $tempfile; - -exit 0; diff --git a/smoke/qt/header_list b/smoke/qt/header_list deleted file mode 100644 index be1fcb2..0000000 --- a/smoke/qt/header_list +++ /dev/null @@ -1,350 +0,0 @@ -ntq1xcompatibility.h -ntqabstractlayout.h -ntqaccel.h -ntqaccessible.h -ntqaction.h -ntqapp.h -ntqapplication.h -ntqarray.h -ntqasciicache.h -ntqasciidict.h -ntqassistantclient.h -ntqasyncimageio.h -ntqasyncio.h -ntqbig5codec.h -ntqbitarray.h -ntqbitarry.h -ntqbitmap.h -ntqbrush.h -ntqbttngrp.h -ntqbuffer.h -ntqbuttongroup.h -ntqbutton.h -ntqcache.h -ntqcanvas.h -ntqcdestyle.h -ntqcheckbox.h -ntqchkbox.h -ntqcleanuphandler.h -ntqclipboard.h -ntqclipbrd.h -ntqcollect.h -ntqcollection.h -ntqcolordialog.h -ntqcolor.h -ntqcombobox.h -ntqcombo.h -ntqcommonstyle.h -ntqcompactstyle.h -ntqconfig-dist.h -ntqconfig.h -ntqconnect.h -ntqconnection.h -ntqcstring.h -ntqcursor.h -ntqdatabrowser.h -ntqdatastream.h -ntqdatatable.h -ntqdataview.h -ntqdatetimeedit.h -ntqdatetime.h -ntqdatetm.h -ntqdeepcopy.h -ntqdesktopwidget.h -ntqdial.h -ntqdialog.h -ntqdict.h -ntqdir.h -ntqdns.h -ntqdockarea.h -ntqdockwindow.h -ntqdom.h -ntqdragobject.h -ntqdrawutil.h -ntqdrawutl.h -ntqdropsite.h -ntqdstream.h -ntqeditorfactory.h -ntqerrormessage.h -ntqeucjpcodec.h -ntqeuckrcodec.h -ntqevent.h -ntqeventloop.h -ntqfeatures.h -ntqfiledef.h -ntqfiledialog.h -ntqfiledlg.h -ntqfile.h -ntqfileinf.h -ntqfileinfo.h -ntqfocusdata.h -ntqfontdatabase.h -ntqfontdialog.h -ntqfontdta.h -ntqfont.h -ntqfontinf.h -ntqfontinfo.h -ntqfontmet.h -ntqfontmetrics.h -ntqframe.h -ntqftp.h -ntqgarray.h -ntqgb18030codec.h -ntqgbkcodec.h -ntqgcache.h -ntqgdict.h -ntqgeneric.h -ntqgif.h -ntqglcolormap.h -ntqgl.h -ntqglist.h -ntqglobal.h -ntqgplugin.h -ntqgrid.h -ntqgridview.h -ntqgroupbox.h -ntqgrpbox.h -ntqguardedptr.h -ntqgvector.h -ntqhbox.h -ntqhbuttongroup.h -ntqheader.h -ntqhgroupbox.h -ntqhostaddress.h -ntqhttp.h -ntqiconset.h -ntqiconview.h -ntqimageformatplugin.h -ntqimage.h -ntqinputdialog.h -ntqintcache.h -ntqintcach.h -ntqintdict.h -ntqinterlacestyle.h -ntqiodev.h -ntqiodevice.h -ntqjiscodec.h -ntqjpunicode.h -ntqkeycode.h -ntqkeysequence.h -ntqlabel.h -ntqlayout.h -ntqlcdnumber.h -ntqlcdnum.h -ntqlibrary.h -ntqlined.h -ntqlineedit.h -ntqlistbox.h -ntqlist.h -ntqlistview.h -ntqlocalfs.h -ntqmainwindow.h -ntqmap.h -ntqmemarray.h -ntqmenubar.h -ntqmenudata.h -ntqmenudta.h -ntqmessagebox.h -ntqmetaobject.h -ntqmetaobj.h -ntqmime.h -ntqmlined.h -ntqmodules.h -ntqmotifdialog.h -ntqmotif.h -ntqmotifplusstyle.h -ntqmotifstyle.h -ntqmotifwidget.h -ntqmovie.h -ntqmsgbox.h -ntqmultilinedit.h -ntqmultilineedit.h -ntqmutex.h -ntqnamespace.h -ntqnetwork.h -ntqnetworkprotocol.h -ntqobjcoll.h -ntqobjdefs.h -ntqobjectcleanuphandler.h -ntqobjectdefs.h -ntqobjectdict.h -ntqobject.h -ntqobjectlist.h -ntqpaintdc.h -ntqpaintdevicedefs.h -ntqpaintdevice.h -ntqpaintdevicemetrics.h -ntqpaintd.h -ntqpainter.h -ntqpair.h -ntqpalette.h -ntqpdevmet.h -ntqpen.h -ntqpicture.h -ntqpixmapcache.h -ntqpixmap.h -ntqplatinumstyle.h -ntqpmcache.h -ntqpntarry.h -ntqpointarray.h -ntqpoint.h -ntqpolygonscanner.h -ntqpopmenu.h -ntqpopupmenu.h -ntqprintdialog.h -ntqprinter.h -ntqprndlg.h -ntqprocess.h -ntqprogbar.h -ntqprogdlg.h -ntqprogressbar.h -ntqprogressdialog.h -ntqpsprn.h -ntqptrcollection.h -ntqptrdict.h -ntqptrlist.h -ntqptrqueue.h -ntqptrstack.h -ntqptrvector.h -ntqpushbt.h -ntqpushbutton.h -ntqqueue.h -ntqradiobt.h -ntqradiobutton.h -ntqrangecontrol.h -ntqrangect.h -ntqrect.h -ntqregexp.h -ntqregion.h -ntqremotefactory.h -ntqremoteplugin.h -ntqrtlcodec.h -ntqscopedptr.h -ntqscrbar.h -ntqscrollbar.h -ntqscrollview.h -ntqsemaphore.h -ntqsemimodal.h -ntqserversocket.h -ntqsession.h -ntqsessionmanager.h -ntqsettings.h -ntqsgistyle.h -ntqshared.h -ntqsignal.h -ntqsignalmapper.h -ntqsignalslotimp.h -ntqsimplerichtext.h -ntqsizegrip.h -ntqsize.h -ntqsizepolicy.h -ntqsjiscodec.h -ntqslider.h -ntqsocketdevice.h -ntqsocket.h -ntqsocketnotifier.h -ntqsocknot.h -ntqsortedlist.h -ntqsound.h -ntqspinbox.h -ntqsplashscreen.h -ntqsplitter.h -ntqsqlcursor.h -ntqsqldatabase.h -ntqsqldriver.h -ntqsqldriverplugin.h -ntqsqleditorfactory.h -ntqsqlerror.h -ntqsqlfield.h -ntqsqlform.h -ntqsql.h -ntqsqlindex.h -ntqsqlpropertymap.h -ntqsqlquery.h -ntqsqlrecord.h -ntqsqlresult.h -ntqsqlselectcursor.h -ntqstack.h -ntqstatusbar.h -ntqstring.h -ntqstringlist.h -ntqstrlist.h -ntqstrvec.h -ntqstylefactory.h -ntqstyle.h -ntqstyleplugin.h -ntqstylesheet.h -ntqsyntaxhighlighter.h -ntqtabbar.h -ntqtabdialog.h -ntqtabdlg.h -ntqtable.h -ntqtabwidget.h -ntqtextbrowser.h -ntqtextcodecfactory.h -ntqtextcodec.h -ntqtextcodecplugin.h -ntqtextedit.h -ntqtextstream.h -ntqtextview.h -ntqt.h -ntqthread.h -ntqtimer.h -ntqtl.h -ntqtmultilineedit.h -ntqtoolbar.h -ntqtoolbutton.h -ntqtoolbox.h -ntqtooltip.h -ntqtranslator.h -ntqtsciicodec.h -ntqtstream.h -ntqttableview.h -ntqurl.h -ntqurlinfo.h -ntqurloperator.h -ntqutfcodec.h -ntquuid.h -ntqvalidator.h -ntqvaluelist.h -ntqvaluestack.h -ntqvaluevector.h -ntqvariant.h -ntqvbox.h -ntqvbuttongroup.h -ntqvector.h -ntqvgroupbox.h -ntqwaitcondition.h -ntqwhatsthis.h -ntqwidcoll.h -ntqwidgetfactory.h -ntqwidget.h -ntqwidgetintdict.h -ntqwidgetlist.h -ntqwidgetplugin.h -ntqwidgetstack.h -ntqwindefs.h -ntqwindowdefs.h -ntqwindow.h -ntqwindowsstyle.h -ntqwizard.h -ntqwmatrix.h -ntqworkspace.h -ntqwsbeosdecoration_qws.h -ntqwscommand_qws.h -ntqwscursor_qws.h -ntqwsdecoration_qws.h -ntqwsdefaultdecoration_qws.h -ntqwsdisplay_qws.h -ntqwsevent_qws.h -ntqwshydrodecoration_qws.h -ntqwskde2decoration_qws.h -ntqwskdedecoration_qws.h -ntqwsmanager_qws.h -ntqwsmouse_qws.h -ntqwsproperty_qws.h -ntqwsregionmanager_qws.h -ntqwssocket_qws.h -ntqwsutils_qws.h -ntqwswindowsdecoration_qws.h -ntqxml.h diff --git a/smoke/qt/qt_smoke.h b/smoke/qt/qt_smoke.h deleted file mode 100644 index 3ca29df..0000000 --- a/smoke/qt/qt_smoke.h +++ /dev/null @@ -1,9 +0,0 @@ -#ifndef TQT_SMOKE_H -#define TQT_SMOKE_H - -// Defined in smokedata.cpp, initialized by init_qt_Smoke(), used by all .cpp files -extern Smoke* qt_Smoke; - -class TQGlobalSpace { }; - -#endif diff --git a/smoke/qt/qtguess.pl.in b/smoke/qt/qtguess.pl.in deleted file mode 100644 index 9f6d011..0000000 --- a/smoke/qt/qtguess.pl.in +++ /dev/null @@ -1,501 +0,0 @@ -#!/usr/bin/perl - -# qtguess.pl : check how TQt was compiled. Issue a list of all defined TQT_NO_* macros, one per line. -# -# author: germain Garand -# licence: GPL v.2 - -# options: -q: be quieter -# -o file: redirect output to "file". (default: ./qtdefines) -# -t [0..15]: set the testing threshold (see below) -# -f "flags": additional compiler flags/parameters - -use Getopt::Std; - -use vars qw/$opt_f $opt_o $opt_p/; - -getopts('qo:f:t:'); - -# Threshold : -# 0 - test basic TQt types/classes -# 5 - test higher level, non-gui classes -# 8 - test options of the above (ex: TQT_NO_IMAGE_SMOOTHSCALE) -# 10 - test basic widgets -# 12 - test composite widgets -# 13 - test widgets inheriting composite widgets -# 15 - test goodies (default) - -my $default_threshold = @qt_test_threshold@; -my $cc = "@CXX@"; -my $ccflags = $opt_f || "@CXXFLAGS@"; - -my $nspaces = 50; - -my %qtdefs=(); -my %qtundefs=(); - -my $tmp = gettmpfile(); -my $qtinc = '@qt_includes@'; -my $allinc = '@all_includes@'; -my $alllib = '@all_libraries@'; -my $qtflags ='@LIB_QT@'; -my %x; -$x{'LIBPNG'} = '@LIBPNG@'; -$x{'LIBJPEG'} = '@LIBJPEG@'; -$x{'LIBSM'} = '@LIBSM@'; -$x{'LIBSOCKET'} = '@LIBSOCKET@'; -$x{'LIBDL'} = '@LIBDL@'; -$x{'LIBRESOLV'} = '@LIBRESOLV@'; -$x{'LIB_X11'} = '@LIB_X11@'; -$x{'X_PRE_LIBS'} = '@X_PRE_LIBS@'; -$x{'LIB_X11'} =~ s/\$\((.*?)\)/$x{$1}/g; - -$qtflags =~ s/\$\((.*?)\)/$x{$1}/g; - - -e "$qtinc/ntqglobal.h" or die "Invalid TQt directory.\n"; - -my $ccmd = "$cc $ccflags $allinc $alllib -o $tmp $tmp.cpp $qtflags"; - -my $threshold = defined($opt_t)?$opt_t : $default_threshold; -$threshold >= 0 or die "invalid testing threshold: $threshold\n"; - -print "Checking how TQt was built... \n"; -print "Threshold is set to $threshold\n" unless $opt_q; - -my($count, $used, $total); -map{ $tests{$_}->[2]>=$threshold ? ($used++, $total++):$total++ } keys %tests; - -print "Number of defines to be tested : $used/$total\n\n" unless $opt_q; -open( TQTDEFS, ">".($opt_o || "ntqtdefines") ) or die "Can't open output file: $!\n"; - -grab_qglobal_symbols(); -preliminary_test(); -perform_all_tests(); - -print +scalar(keys %qtdefs) . " defines found.\n"; - -print TQTDEFS join("\n", keys %qtdefs), "\n"; -close; - -#--------------------------------------------------------------# - -sub gettmpfile -{ - my $tmpdir = $ENV{'TMP'} || "."; - my $tmpname = $$."-qtguess"; - while( -e "$tmpdir/$tmpname" || -e "$tmpdir/${tmpname}.cpp" ) - { - $tmpname .= int (rand * 9); - } - return "$tmpdir/$tmpname"; -} - -#--------------------------------------------------------------# - -sub grab_qglobal_symbols -{ - my $cmd = "$cc -E -D__cplusplus -dM -I$qtinc $qtinc/ntqglobal.h 2>/dev/null"; - my $symbols = `$cmd`; - for(0..1) - { - if( check_exit_status($?) ) - { - while( $symbols =~/^#\s*define\s*(TQT_\S+)/gm ) - { - $qtdefs{$1} = 1; - } - print "Found ". scalar( keys %qtdefs )." predefined symbol".((scalar( keys %qtdefs ) -1)?"s":"")." in qglobal.h\n" unless ($opt_q or !(keys %qtdefs)); - while( $symbols =~/^#\s*define\s*TQT_MODULE_(\S+)/gm ) - { - $qtundefs{"TQT_NO_$1"} = 1; - } - print "Found ". scalar( keys %qtundefs )." undefined symbol".((scalar( keys %qtundefs ) -1)?"s":"")." in qglobal.h\n" unless ($opt_q or !(keys %qtundefs)); - last; - } - elsif(! $_) # first try - { - print "Failed to run $cmd.\nTrying without __cplusplus (might be already defined)\n"; - $cmd = "$cc -E -dM -I$qtinc $qtinc/ntqglobal.h 2>/dev/null"; - $symbols = `$cmd`; - next; - } - } -} - -#--------------------------------------------------------------# - -sub preliminary_test -{ - my $msg = "Trying to compile and link a small program..."; - print $msg, " " x ($nspaces - length($msg) + 8); - open( OUT, ">${tmp}.cpp" ) or die "Failed to open temp file ${tmp}.cpp: $!\n"; - my $simple=q£ - #include - int main( int argc, char **argv ) - { - TQApplication foo( argc, argv ); - return 0; - } - £; - print OUT $simple; - close OUT; - my $out = `$ccmd 2>&1`; - if( !check_exit_status($?) ) - { - die <<"EOF"; - -FAILED : check your configuration. -Failed program was: -$simple -Compiled with: -$ccmd -Compiler output: -$out -EOF - } - else - { - print "OK\n"; - } -} - -#--------------------------------------------------------------# - -sub perform_all_tests -{ - foreach ( sort { $tests{$a}->[2] <=> $tests{$b}->[2]} keys %tests) - { - $tests{$_}->[2] < $threshold and next; - ($qtdefs{$_} || $qtundefs{$_}) and do - { - print "\rSkipping $_ (in ntqglobal.h)".( " " x (($nspaces-16) - length($_)) ).($qtundefs{$_}?"*Undefined*":" [Defined]").($opt_q?"":"\n"); - next - }; - print "\rTesting $_".( " " x ($nspaces - length($_)) ); - open( OUT, ">${tmp}.cpp" ) or die "Failed to open temp file ${tmp}.cpp: $!\n"; - foreach $def(keys %qtdefs) - { - print OUT "#define $def\n"; - } - foreach $inc(split /,\s*/, $tests{$_}->[0]) - { - print OUT "#include <$inc>\n"; - } - print OUT "#include \n"; - print OUT $tests{$_}->[3] if $tests{$_}->[3]; # need to define some classes ? - print OUT qq£ - - int main( int argc, char **argv ) - { - $tests{$_}->[1] - return 0; - } - £; - close OUT; - - my $out = `$ccmd 2>&1`; - - my $ok = check_exit_status($?); - if( !$ok ) - { - $qtdefs{$_} = 1; - } - print +$opt_q ? ++$count."/$used" : ( $ok ? "*Undefined*\n" : " [Defined]\n" ); - } - $opt_q && print "\n"; -} - -#--------------------------------------------------------------# - -sub check_exit_status -{ - my $a = 0xFFFF & shift; - if( !$a ) - { - return 1; - } - elsif( $a == 0xFF00 ) - { - die "\nSystem call failed: $!\n"; - } - elsif( $a > 0x80 ) - { - # non-zero status. - } - else - { - if( $a & 0x80 ) - { - die "\n$cc coredumped with signal ". ($a & ~0x80); - } - die "\n$cc interrupted by signal $a\n"; - } - return 0; -} - -#--------------------------------------------------------------# - -END -{ - unlink $tmp if -e $tmp; - unlink "${tmp}.cpp" if -e "${tmp}.cpp"; -} - -#--------------------------------------------------------------# - -BEGIN { - -# "DEFINE" => ["header-1.h,... header-n.h", "main() code", priority, "Definitions (if needed)"] - -our %tests = ( - "TQT_NO_ACCEL" => ["ntqaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5], - "TQT_NO_ACTION" => ["ntqaction.h", "TQAction foo( (TQObject*)NULL );", 5], - "TQT_NO_ASYNC_IO" => ["ntqasyncio.h", "TQAsyncIO foo();", 5], - "TQT_NO_ASYNC_IMAGE_IO"=> ["ntqasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5], - "TQT_NO_BIG_CODECS" => ["ntqbig5codec.h", "TQBig5Codec foo();", 5], - "TQT_NO_BUTTON" => ["ntqbutton.h", "TQButton foo( (TQWidget*)NULL );", 10], - "TQT_NO_BUTTONGROUP" => ["ntqbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12], - "TQT_NO_CANVAS" => ["ntqcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10], - "TQT_NO_CHECKBOX" => ["ntqcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10], - "TQT_NO_CLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£ - TQApplication foo( argc, argv ); - TQClipboard *baz= foo.clipboard(); - £, 5], - "TQT_NO_COLORDIALOG" => ["ntqcolordialog.h", "TQColorDialog::customCount();", 12], - "TQT_NO_COMBOBOX" => ["ntqcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], - "TQT_NO_COMPAT" => ["ntqfontmetrics.h", q£ - TQFontMetrics *foo= new TQFontMetrics( TQFont() ); - int bar = foo->width( 'c' ); - £, 0], - "TQT_NO_COMPONENT" => ["ntqapplication.h", q£ - TQApplication foo( argc, argv ); - foo.addLibraryPath( TQString::null ); - £, 5], - "TQT_NO_CURSOR" => ["ntqcursor.h", "TQCursor foo;", 5], - "TQT_NO_DATASTREAM" => ["ntqdatastream.h", "TQDataStream foo;", 5], - "TQT_NO_DATETIMEEDIT" => ["ntqdatetimeedit.h", "TQTimeEdit foo;", 12], - "TQT_NO_DIAL" => ["ntqdial.h", "TQDial foo;", 10], - "TQT_NO_DIALOG" => ["ntqdialog.h", "TQDialog foo;", 12], - "TQT_NO_DIR" => ["ntqdir.h", "TQDir foo;", 5], - "TQT_NO_DNS" => ["ntqdns.h", "TQDns foo;", 5], - "TQT_NO_DOM" => ["ntqdom.h", "TQDomDocumentType foo;", 5], - "TQT_NO_DRAGANDDROP" => ["ntqevent.h", "TQDropEvent foo( TQPoint(1,1) );", 5], - "TQT_NO_DRAWUTIL" => ["ntqdrawutil.h, qcolor.h", "ntqDrawPlainRect( (TQPainter *) NULL, 0, 0, 0, 0, TQColor() );", 10], - "TQT_NO_ERRORMESSAGE" => ["ntqerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13], - "TQT_NO_FILEDIALOG" => ["ntqfiledialog.h", "TQFileIconProvider foo;", 13], - - "TQT_NO_FONTDATABASE" => ["ntqfontdatabase.h", "TQFontDatabase foo;", 5], - "TQT_NO_FONTDIALOG" => ["ntqfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12], - "TQT_NO_FRAME" => ["ntqframe.h", "TQFrame foo;", 10], - "TQT_NO_GRID" => ["ntqgrid.h", "TQGrid foo(5);", 12], - "TQT_NO_GRIDVIEW" => ["ntqgridview.h", "TQFoo foo;", 13, q£ - class TQFoo: public TQGridView - { - public: - TQFoo(){}; - ~TQFoo(){}; - void paintCell(TQPainter *, int, int){}; - }; - £], - "TQT_NO_GROUPBOX" => ["ntqgroupbox.h", "TQGroupBox foo;", 12], - "TQT_NO_HBOX" => ["ntqhbox.h", "TQHBox foo;", 12], - "TQT_NO_HBUTTONGROUP" => ["ntqhbuttongroup.h", "TQHButtonGroup foo;", 13], - "TQT_NO_HEADER" => ["ntqheader.h", "TQHeader foo;", 10], - "TQT_NO_HGROUPBOX" => ["ntqhgroupbox.h", "TQHGroupBox foo;", 13], - "TQT_NO_ICONSET" => ["ntqiconset.h", "TQIconSet foo;", 8], - - "TQT_NO_ICONVIEW" => ["ntqiconview.h", "TQIconView foo;", 13], - "TQT_NO_IMAGEFORMATPLUGIN" => ["ntqimageformatplugin.h, qstringlist.h", "TQFoo foo;", 5, q£ - - class TQFoo: public TQImageFormatPlugin - { - public: - TQFoo() {}; - ~TQFoo() {}; - TQStringList keys() const { return TQStringList(); }; - bool installIOHandler( const TQString &format ) { return true; }; - }; - TTQ_EXPORT_PLUGIN( TQFoo ) - £], - "TQT_NO_IMAGE_DITHER_TO_1" => ["ntqimage.h", q£ - TQImage *foo = new TQImage; - foo->createAlphaMask(); - £, 8], - "TQT_NO_IMAGE_HEURISTIC_MASK" => ["ntqimage.h", q£ - TQImage *foo = new TQImage; - foo->createHeuristicMask(); - £, 8], - "TQT_NO_IMAGE_MIRROR" => ["ntqimage.h", q£ - TQImage *foo = new TQImage; - foo->mirror(); - £, 8], - "TQT_NO_IMAGE_SMOOTHSCALE" => ["ntqimage.h", q£ - TQImage *foo = new TQImage; - foo->smoothScale( 10, 10); - £, 8], - "TQT_NO_IMAGE_TEXT" => ["ntqimage.h", "TQImageTextKeyLang foo;", 8], - "TQT_NO_IMAGE_TRANSFORMATION" => ["ntqimage.h", q£ - TQImage *foo = new TQImage; - foo->scale( 10, 10); - £, 8], - "TQT_NO_IMAGE_TRUECOLOR" => ["ntqimage.h", q£ - TQImage *foo = new TQImage; - foo->convertDepthWithPalette( 1, (TQRgb*) NULL, 1 ); - £, 8], - "TQT_NO_INPUTDIALOG" => ["ntqinputdialog.h, qstring.h", q£TQInputDialog::getText( TQString::null, TQString::null);£, 13], - "TQT_NO_IMAGEIO" => ["ntqbitmap.h, qstring.h", q£ - TQBitmap foo( TQString::fromLatin1("foobar") ); - £, 5], - "TQT_NO_IMAGEIO_JPEG" => ["ntqjpegio.h", "ntqInitJpegIO();", 8], - "TQT_NO_IMAGEIO_MNG" => ["ntqmngio.h", "ntqInitMngIO();", 8], - "TQT_NO_IMAGEIO_PNG" => ["ntqpngio.h", "ntqInitPngIO();", 8], - "TQT_NO_LABEL" => ["ntqlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10], - "TQT_NO_LAYOUT" => ["ntqlayout.h", "TQFoo foo;", 10, q£ - - class TQFoo: public TQLayout - { - public: - TQFoo() {}; - ~TQFoo() {}; - void addItem( TQLayoutItem * ) { }; - TQSize sizeHint() const { return TQSize(); } - TQLayoutIterator iterator() { return TQLayoutIterator( (TQGLayoutIterator *) NULL ); }; - void setGeometry( const TQRect & ) { }; - }; - £], - "TQT_NO_LCDNUMBER" => ["ntqlcdnumber.h", "TQLCDNumber foo;", 12], - "TQT_NO_LINEEDIT" => ["ntqlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12], - "TQT_NO_LISTBOX" => ["ntqlistbox.h", "TQListBox foo;", 13], - "TQT_NO_LISTVIEW" => ["ntqlistview.h", "TQListView foo;", 13], - "TQT_NO_MAINWINDOW" => ["ntqmainwindow.h", "TQMainWindow foo;", 13], - "TQT_NO_MENUBAR" => ["ntqmenubar.h", "TQMenuBar foo;", 13], - "TQT_NO_MOVIE" => ["ntqmovie.h", "TQMovie foo;", 5], - "TQT_NO_MENUDATA" => ["ntqmenudata.h", "TQMenuData foo;", 9], - "TQT_NO_MESSAGEBOX" => ["ntqmessagebox.h", "TQMessageBox foo;", 13], - "TQT_NO_MIME" => ["ntqmime.h", "TQMimeSourceFactory foo;", 5], - "TQT_NO_MIMECLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£ - TQApplication foo( argc, argv ); - TQClipboard *baz= foo.clipboard(); - baz->data(); - £, 8], - - "TQT_NO_MULTILINEEDIT" => ["ntqmultilineedit.h", "TQMultiLineEdit foo;", 14], - "TQT_NO_NETWORK" => ["ntqnetwork.h", "ntqInitNetworkProtocols();", 5], - "TQT_NO_NETWORKPROTOCOL" => ["ntqnetworkprotocol.h", "TQNetworkProtocol foo;", 8], - "TQT_NO_NETWORKPROTOCOL_FTP" => ["ntqftp.h", "TQFtp foo;", 9], - "TQT_NO_PALETTE" => ["ntqpalette.h", "TQColorGroup foo;", 5], - "TQT_NO_PICTURE" => ["ntqpicture.h", "TQPicture foo;", 5], - "TQT_NO_PIXMAP_TRANSFORMATION" =>["ntqbitmap.h, qwmatrix.h", q£ - TQBitmap *foo= new TQBitmap(); - TQWMatrix bar; - foo->xForm( bar ); - £, 5], - "TQT_NO_POPUPMENU" => ["ntqpopupmenu.h", "TQPopupMenu foo;", 12], - "TQT_NO_PRINTER" => ["ntqprinter.h", "TQPrinter foo;", 5], - "TQT_NO_PRINTDIALOG" => ["ntqprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13], - "TQT_NO_PROCESS" => ["ntqprocess.h", "TQProcess foo;", 5], - "TQT_NO_PROGRESSBAR" => ["ntqprogressbar.h", "TQProgressBar foo;", 12], - "TQT_NO_PROGRESSDIALOG" => ["ntqprogressdialog.h", "TQProgressDialog foo;", 13], - "TQT_NO_PUSHBUTTON" => ["ntqpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12], - "TQT_NO_PROPERTIES" => ["ntqmetaobject.h", "TQMetaProperty foo;", 0], -# "TQT_NO_TQTMULTILINEEDIT" => ["ntqtmultilineedit.h", "TQtMultiLineEdit foo;", 15], -# "TQT_NO_TQTTABLEVIEW" => ["ntqttableview.h", "TQFoo foo;", 16, q£ -# class TQFoo: public TQtTableView -# { -# public: -# TQFoo() {}; -# ~TQFoo() {}; -# void paintCell( TQPainter *, int, int) {}; -# }; -# £], - "TQT_NO_TQUUID_STRING" => ["ntquuid.h", "TQUuid foo( TQString::null );", 8], - "TQT_NO_RANGECONTROL" => ["ntqrangecontrol.h", "TQRangeControl foo;", 10], - "TQT_NO_REGEXP" => ["ntqregexp.h", "TQRegExp foo;", 5], - "TQT_NO_REGEXP_WILDCARD" => ["ntqregexp.h", q£ - TQRegExp foo; - foo.wildcard(); - £, 8], - "TQT_NO_REMOTE" => ["ntqapplication.h", q£ - TQApplication foo( argc, argv ); - foo.remoteControlEnabled(); - £, 15], - "TQT_NO_RADIOBUTTON" => ["ntqradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12], - "TQT_NO_RICHTEXT" => ["ntqsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10], - "TQT_NO_SCROLLBAR" => ["ntqscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12], - "TQT_NO_SCROLLVIEW" => ["ntqscrollview.h", "TQScrollView foo;", 12], - "TQT_NO_SEMIMODAL" => ["ntqsemimodal.h", "TQSemiModal foo;", 10], - "TQT_NO_SESSIONMANAGER" => ["ntqapplication.h", q£ - TQApplication foo( argc, argv ); - foo.sessionId(); - £, 15], - "TQT_NO_SETTINGS" => ["ntqsettings.h", "TQSettings foo;", 5], - "TQT_NO_SIGNALMAPPER" => ["ntqsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0], - "TQT_NO_SIZEGRIP" => ["ntqsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10], - "TQT_NO_SLIDER" => ["ntqslider.h", "TQSlider foo( (TQWidget *) NULL );", 12], - "TQT_NO_SOUND" => ["ntqsound.h", "TQSound foo( TQString::null );", 5], - - - "TQT_NO_SPINWIDGET" => ["ntqrangecontrol.h", "TQSpinWidget foo;", 10], - "TQT_NO_SPRINTF" => ["ntqcolor.h", q£ - TQColor foo; - foo.name(); - £, 0], - - - - "TQT_NO_SQL" => ["ntqsqlcursor.h", "TQSqlCursor foo;", 5], - "TQT_NO_STRINGLIST" => ["ntqstringlist.h", "TQStringList foo;", 0], - "TQT_NO_STYLE" => ["ntqapplication.h", q£ - TQApplication foo( argc, argv ); - foo.style(); - £, 15], - -# "TQT_NO_STYLE_CDE" => ["ntqcdestyle.h", "TQCDEStyle foo;", 16], -# "TQT_NO_STYLE_COMPACT" => ["ntqcompactstyle.h", "TQCompactStyle foo;", 16], -# "TQT_NO_STYLE_INTERLACE" => ["ntqinterlacestyle.h", "TQInterlaceStyle foo;", 16], -# "TQT_NO_STYLE_PLATINUM" => ["ntqplatinumstyle.h", "TQPlatinumStyle foo;", 16], -# "TQT_NO_STYLE_MOTIF" => ["ntqmotifstyle.h", "TQMotifStyle foo;", 16], -# "TQT_NO_STYLE_MOTIFPLUS" => ["ntqmotifplusstyle.h", "TQMotifPlusStyle foo;", 16], -# "TQT_NO_STYLE_SGI" => ["ntqsgistyle.h", "TQSGIStyle foo;", 16], -# "TQT_NO_STYLE_WINDOWS" => ["ntqwindowsstyle.h", "TQWindowsStyle foo;", 16], - "TQT_NO_TABBAR" => ["ntqtabbar.h", "TQTabBar foo;", 10], - "TQT_NO_TABDIALOG" => ["ntqtabdialog.h", "TQTabDialog foo;", 12], - "TQT_NO_TABLE" => ["ntqtable.h", "TQTable foo;", 10], - "TQT_NO_TABWIDGET" => ["ntqtabwidget.h", "TQTabWidget foo;", 10], - "TQT_NO_TEXTBROWSER" => ["ntqtextbrowser.h", "TQTextBrowser foo;", 14], - "TQT_NO_TEXTCODEC" => ["ntqtextcodec.h", "TQTextCodec::codecForIndex(1);", 5], - "TQT_NO_TEXTCODECPLUGIN" => ["ntqtextcodecplugin.h, qstringlist.h, qvaluelist.h, qtextcodec.h", "TQFoo foo;", 6, q£ - - class TQFoo: public TQTextCodecPlugin - { - public: - TQFoo() {}; - ~TQFoo() {}; - TQStringList names() const {return TQStringList();} - TQValueListmibEnums() const {return TQValueList();} - TQTextCodec *createForName( const TQString & name ) {return (TQTextCodec *)NULL;} - TQTextCodec *createForMib( int mib ) {return (TQTextCodec *)NULL;} - }; - TTQ_EXPORT_PLUGIN( TQFoo ) - £], - "TQT_NO_TEXTEDIT" => ["ntqtextedit.h", "TQTextEdit foo;", 13], - "TQT_NO_TEXTSTREAM" => ["ntqtextstream.h", "TQTextStream foo;", 5], - "TQT_NO_TEXTVIEW" => ["ntqtextview.h", "TQTextView foo;", 14], #Obsolete - "TQT_NO_TOOLBAR" => ["ntqtoolbar.h", "TQToolBar foo;", 10], - "TQT_NO_TOOLBUTTON" => ["ntqtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12], - "TQT_NO_TOOLTIP" => ["ntqtooltip.h", "TQToolTip::hide();", 10], - - "TQT_NO_TRANSFORMATIONS" => ["ntqpainter.h", q£ - TQPainter *foo= new TQPainter(); - foo->setViewXForm( true );£, 5], - "TQT_NO_VARIANT" => ["ntqvariant.h", "TQVariant foo;", 0], - "TQT_NO_WHATSTHIS" => ["ntqwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10], - "TQT_NO_WHEELEVENT" => ["ntqevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5], - "TQT_NO_WIDGET_TOPEXTRA" => ["ntqwidget.h", "TQWidget foo; foo.caption();", 9], - "TQT_NO_WIDGETSTACK" => ["ntqwidgetstack.h", "TQWidgetStack foo;", 13], - "TQT_NO_WIZARD" => ["ntqwizard.h", "TQWizard foo;", 13], - "TQT_NO_WMATRIX" => ["ntqwmatrix.h", "TQWMatrix foo;", 0], - "TQT_NO_XML" => ["ntqxml.h", "TQXmlNamespaceSupport foo;", 5], - ); - -} diff --git a/smoke/tqt/Makefile.am b/smoke/tqt/Makefile.am new file mode 100644 index 0000000..3614181 --- /dev/null +++ b/smoke/tqt/Makefile.am @@ -0,0 +1,17 @@ +lib_LTLIBRARIES = libsmoketqt.la + +# set the include path for X, qt and KDE +INCLUDES = -I$(srcdir)/.. $(all_includes) + +EXTRA_DIST=generate.pl.in qtguess.pl.in qt_smoke.h Makefile.am Makefile.in + +# the library search path. +libsmoketqt_la_LDFLAGS = -version-info 3:1:2 -no-undefined $(all_libraries) $(GL_CFLAGS) $(KDE_RPATH) + +# the libraries to link against. +libsmoketqt_la_LIBADD = $(LIB_QT) $(GL_LIBS) + +# which sources should be compiled for perlqtkde +libsmoketqt_la_SOURCES = smokedata.cpp x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \ + x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \ + x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp diff --git a/smoke/tqt/Makefile.in b/smoke/tqt/Makefile.in new file mode 100644 index 0000000..d2e8932 --- /dev/null +++ b/smoke/tqt/Makefile.in @@ -0,0 +1,684 @@ +# Makefile.in generated by automake 1.7.2 from Makefile.am. +# KDE tags expanded automatically by am_edit - $Revision: 1.3 $ +# @configure_input@ + +# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 +# Free Software Foundation, Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + +@SET_MAKE@ + +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ +VPATH = @srcdir@ +pkgdatadir = $(datadir)/@PACKAGE@ +pkglibdir = $(libdir)/@PACKAGE@ +pkgincludedir = $(includedir)/@PACKAGE@ +top_builddir = ../.. + +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +INSTALL = @INSTALL@ +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +host_triplet = @host@ +ACLOCAL = @ACLOCAL@ +AMDEP_FALSE = @AMDEP_FALSE@ +AMDEP_TRUE = @AMDEP_TRUE@ +AMTAR = @AMTAR@ +AUTOCONF = @AUTOCONF@ +AUTODIRS = @AUTODIRS@ +AUTOHEADER = @AUTOHEADER@ +AUTOMAKE = @AUTOMAKE@ +AWK = @AWK@ +CC = @CC@ +CCDEPMODE = @CCDEPMODE@ +CFLAGS = @CFLAGS@ +CONF_FILES = @CONF_FILES@ +CPP = @CPP@ +CPPFLAGS = @CPPFLAGS@ +CXX = @CXX@ +CXXCPP = @CXXCPP@ +CXXDEPMODE = @CXXDEPMODE@ +CXXFLAGS = @CXXFLAGS@ +CYGPATH_W = @CYGPATH_W@ +DEFS = @DEFS@ +DEPDIR = @DEPDIR@ +ECHO = @ECHO@ +ECHO_C = @ECHO_C@ +ECHO_N = @ECHO_N@ +ECHO_T = @ECHO_T@ +EGREP = @EGREP@ +EXEEXT = @EXEEXT@ +FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@ +GL_CFLAGS = @GL_CFLAGS@ +GL_LIBS = @GL_LIBS@ +INSTALL_DATA = @INSTALL_DATA@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_SCRIPT = @INSTALL_SCRIPT@ +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ +KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@ +KDE_HAVE_GL = @KDE_HAVE_GL@ +KDE_INCLUDES = @KDE_INCLUDES@ +KDE_LDFLAGS = @KDE_LDFLAGS@ +KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@ +KDE_MT_LIBS = @KDE_MT_LIBS@ +KDE_NO_UNDEFINED = @KDE_NO_UNDEFINED@ +KDE_PLUGIN = @KDE_PLUGIN@ +KDE_RPATH = @KDE_RPATH@ +KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@ +KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@ +KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@ +KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@ +KDE_USE_NMCHECK_FALSE = @KDE_USE_NMCHECK_FALSE@ +KDE_USE_NMCHECK_TRUE = @KDE_USE_NMCHECK_TRUE@ +LDFLAGS = @LDFLAGS@ +LIBCOMPAT = @LIBCOMPAT@ +LIBCRYPT = @LIBCRYPT@ +LIBDL = @LIBDL@ +LIBJPEG = @LIBJPEG@ +LIBOBJS = @LIBOBJS@ +LIBPNG = @LIBPNG@ +LIBPTHREAD = @LIBPTHREAD@ +LIBRESOLV = @LIBRESOLV@ +LIBS = @LIBS@ +LIBSM = @LIBSM@ +LIBSOCKET = @LIBSOCKET@ +LIBTOOL = @LIBTOOL@ +LIBUCB = @LIBUCB@ +LIBUTIL = @LIBUTIL@ +LIBZ = @LIBZ@ +LIB_POLL = @LIB_POLL@ +LIB_TQPE = @LIB_TQPE@ +LIB_QT = @LIB_QT@ +LIB_X11 = @LIB_X11@ +LIB_XEXT = @LIB_XEXT@ +LN_S = @LN_S@ +LTLIBOBJS = @LTLIBOBJS@ +MAKEINFO = @MAKEINFO@ +TQMOC = @TQMOC@ +NOOPT_CFLAGS = @NOOPT_CFLAGS@ +NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@ +OBJEXT = @OBJEXT@ +PACKAGE = @PACKAGE@ +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ +PACKAGE_NAME = @PACKAGE_NAME@ +PACKAGE_STRING = @PACKAGE_STRING@ +PACKAGE_TARNAME = @PACKAGE_TARNAME@ +PACKAGE_VERSION = @PACKAGE_VERSION@ +PATH_SEPARATOR = @PATH_SEPARATOR@ +TQTE_NORTTI = @TQTE_NORTTI@ +TQT_INCLUDES = @TQT_INCLUDES@ +TQT_LDFLAGS = @TQT_LDFLAGS@ +RANLIB = @RANLIB@ +SET_MAKE = @SET_MAKE@ +SHELL = @SHELL@ +STRIP = @STRIP@ +TOPSUBDIRS = @TOPSUBDIRS@ +UIC = @UIC@ +UIC_TR = @UIC_TR@ +USER_INCLUDES = @USER_INCLUDES@ +USER_LDFLAGS = @USER_LDFLAGS@ +USE_EXCEPTIONS = @USE_EXCEPTIONS@ +USE_RPATH = @USE_RPATH@ +USE_RTTI = @USE_RTTI@ +USE_THREADS = @USE_THREADS@ +VERSION = @VERSION@ +WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@ +X_CFLAGS = @X_CFLAGS@ +X_EXTRA_LIBS = @X_EXTRA_LIBS@ +X_INCLUDES = @X_INCLUDES@ +X_LDFLAGS = @X_LDFLAGS@ +X_LIBS = @X_LIBS@ +X_PRE_LIBS = @X_PRE_LIBS@ +ac_ct_CC = @ac_ct_CC@ +ac_ct_CXX = @ac_ct_CXX@ +ac_ct_RANLIB = @ac_ct_RANLIB@ +ac_ct_STRIP = @ac_ct_STRIP@ +all_includes = @all_includes@ +all_libraries = @all_libraries@ +am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ +am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ +am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@ +am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@ +am__include = @am__include@ +am__quote = @am__quote@ +bindir = @bindir@ +build = @build@ +build_alias = @build_alias@ +build_cpu = @build_cpu@ +build_os = @build_os@ +build_vendor = @build_vendor@ +datadir = @datadir@ +exec_prefix = @exec_prefix@ +host = @host@ +host_alias = @host_alias@ +host_cpu = @host_cpu@ +host_os = @host_os@ +host_vendor = @host_vendor@ +includedir = @includedir@ +infodir = @infodir@ +install_sh = @install_sh@ +kde_includes = @kde_includes@ +kde_libraries = @kde_libraries@ +kde_qtver = @kde_qtver@ +libdir = @libdir@ +libexecdir = @libexecdir@ +localstatedir = @localstatedir@ +mandir = @mandir@ +oldincludedir = @oldincludedir@ +prefix = @prefix@ +program_transform_name = @program_transform_name@ +qt_includes = @qt_includes@ +qt_libraries = @qt_libraries@ +qt_test_threshold = @qt_test_threshold@ +sbindir = @sbindir@ +sharedstatedir = @sharedstatedir@ +sysconfdir = @sysconfdir@ +target_alias = @target_alias@ +x_includes = @x_includes@ +x_libraries = @x_libraries@ +lib_LTLIBRARIES = libsmoketqt.la + +# set the include path for X, qt and KDE +INCLUDES = -I$(srcdir)/.. $(all_includes) + +EXTRA_DIST = generate.pl.in qtguess.pl.in qt_smoke.h Makefile.am Makefile.in + +# the library search path. +#>- libsmoketqt_la_LDFLAGS = -version-info 3:1:2 -no-undefined $(all_libraries) $(GL_CFLAGS) $(KDE_RPATH) +#>+ 1 +libsmoketqt_la_LDFLAGS = -version-info 3:1:2 -no-undefined $(KDE_NO_UNDEFINED) $(all_libraries) $(GL_CFLAGS) $(KDE_RPATH) + +# the libraries to link against. +libsmoketqt_la_LIBADD = $(LIB_QT) $(GL_LIBS) + +# which sources should be compiled for perlqtkde +libsmoketqt_la_SOURCES = smokedata.cpp x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp \ + x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp \ + x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp + +subdir = smoke/tqt +mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs +CONFIG_HEADER = $(top_builddir)/config.h +CONFIG_CLEAN_FILES = qtguess.pl generate.pl +LTLIBRARIES = $(lib_LTLIBRARIES) + +libsmoketqt_la_DEPENDENCIES = +am_libsmoketqt_la_OBJECTS = smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo \ + x_5.lo x_6.lo x_7.lo x_8.lo x_9.lo x_10.lo x_11.lo x_12.lo \ + x_13.lo x_14.lo x_15.lo x_16.lo x_17.lo x_18.lo x_19.lo x_20.lo +#>- libsmoketqt_la_OBJECTS = $(am_libsmoketqt_la_OBJECTS) +#>+ 6 +libsmoketqt_la_final_OBJECTS = libsmoketqt_la.all_cpp.lo +libsmoketqt_la_nofinal_OBJECTS = smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo \ + x_5.lo x_6.lo x_7.lo x_8.lo x_9.lo x_10.lo x_11.lo x_12.lo \ + x_13.lo x_14.lo x_15.lo x_16.lo x_17.lo x_18.lo x_19.lo x_20.lo +@KDE_USE_FINAL_FALSE@libsmoketqt_la_OBJECTS = $(libsmoketqt_la_nofinal_OBJECTS) +@KDE_USE_FINAL_TRUE@libsmoketqt_la_OBJECTS = $(libsmoketqt_la_final_OBJECTS) + +DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +depcomp = $(SHELL) $(top_srcdir)/admin/depcomp +am__depfiles_maybe = depfiles +#>- @AMDEP_TRUE@DEP_FILES = ./$(DEPDIR)/smokedata.Plo ./$(DEPDIR)/x_1.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_10.Plo ./$(DEPDIR)/x_11.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_12.Plo ./$(DEPDIR)/x_13.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_14.Plo ./$(DEPDIR)/x_15.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_16.Plo ./$(DEPDIR)/x_17.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_18.Plo ./$(DEPDIR)/x_19.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_2.Plo ./$(DEPDIR)/x_20.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_3.Plo ./$(DEPDIR)/x_4.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_5.Plo ./$(DEPDIR)/x_6.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_7.Plo ./$(DEPDIR)/x_8.Plo \ +#>- @AMDEP_TRUE@ ./$(DEPDIR)/x_9.Plo +#>+ 23 +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@DEP_FILES = $(DEPDIR)/libsmoketqt_la.all_cpp.P ./$(DEPDIR)/smokedata.Plo ./$(DEPDIR)/x_1.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_10.Plo ./$(DEPDIR)/x_11.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_12.Plo ./$(DEPDIR)/x_13.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_14.Plo ./$(DEPDIR)/x_15.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_16.Plo ./$(DEPDIR)/x_17.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_18.Plo ./$(DEPDIR)/x_19.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_2.Plo ./$(DEPDIR)/x_20.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_3.Plo ./$(DEPDIR)/x_4.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_5.Plo ./$(DEPDIR)/x_6.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_7.Plo ./$(DEPDIR)/x_8.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_TRUE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_9.Plo +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@DEP_FILES = ./$(DEPDIR)/smokedata.Plo ./$(DEPDIR)/x_1.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_10.Plo ./$(DEPDIR)/x_11.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_12.Plo ./$(DEPDIR)/x_13.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_14.Plo ./$(DEPDIR)/x_15.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_16.Plo ./$(DEPDIR)/x_17.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_18.Plo ./$(DEPDIR)/x_19.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_2.Plo ./$(DEPDIR)/x_20.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_3.Plo ./$(DEPDIR)/x_4.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_5.Plo ./$(DEPDIR)/x_6.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_7.Plo ./$(DEPDIR)/x_8.Plo \ +@AMDEP_TRUE@@KDE_USE_FINAL_FALSE@ @AMDEP_TRUE@ ./$(DEPDIR)/x_9.Plo + +#>- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ +#>- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) +#>+ 2 +CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ + $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) +#>- LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) \ +#>- $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ +#>- $(AM_CXXFLAGS) $(CXXFLAGS) +#>+ 3 +LTCXXCOMPILE = $(LIBTOOL) --mode=compile --tag=CXX $(CXX) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) +CXXLD = $(CXX) +#>- CXXLINK = $(LIBTOOL) --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \ +#>- $(AM_LDFLAGS) $(LDFLAGS) -o $@ +#>+ 2 +CXXLINK = $(LIBTOOL) --mode=link --tag=CXX $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(KDE_CXXFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +DIST_SOURCES = $(libsmoketqt_la_SOURCES) +DIST_COMMON = Makefile.am Makefile.in generate.pl.in qtguess.pl.in +SOURCES = $(libsmoketqt_la_SOURCES) + +#>- all: all-am +#>+ 1 +all: docs-am all-am + +.SUFFIXES: +.SUFFIXES: .cpp .lo .o .obj +$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) +#>- cd $(top_srcdir) && \ +#>- $(AUTOMAKE) --gnu smoke/tqt/Makefile +#>+ 3 + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu smoke/tqt/Makefile + cd $(top_srcdir) && perl admin/am_edit PerlTQt-3.008/smoke/tqt/Makefile.in +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) +qtguess.pl: $(top_builddir)/config.status qtguess.pl.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ +generate.pl: $(top_builddir)/config.status generate.pl.in + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ +libLTLIBRARIES_INSTALL = $(INSTALL) +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + $(mkinstalldirs) $(DESTDIR)$(libdir) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f"; \ + $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(libdir)/$$f; \ + else :; fi; \ + done + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + p="`echo $$p | sed -e 's|^.*/||'`"; \ + echo " $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p"; \ + $(LIBTOOL) --mode=uninstall rm -f $(DESTDIR)$(libdir)/$$p; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" = "$$p" && dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +#>- libsmoketqt.la: $(libsmoketqt_la_OBJECTS) $(libsmoketqt_la_DEPENDENCIES) +#>+ 2 +@KDE_USE_CLOSURE_TRUE@libsmoketqt.la: libsmoketqt.la.closure $(libsmoketqt_la_OBJECTS) $(libsmoketqt_la_DEPENDENCIES) +@KDE_USE_CLOSURE_FALSE@libsmoketqt.la: $(libsmoketqt_la_OBJECTS) $(libsmoketqt_la_DEPENDENCIES) + $(CXXLINK) -rpath $(libdir) $(libsmoketqt_la_LDFLAGS) $(libsmoketqt_la_OBJECTS) $(libsmoketqt_la_LIBADD) $(LIBS) + +mostlyclean-compile: + -rm -f *.$(OBJEXT) core *.core + +distclean-compile: + -rm -f *.tab.c + +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/smokedata.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_1.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_10.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_11.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_12.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_13.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_14.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_15.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_16.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_17.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_18.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_19.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_2.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_20.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_3.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_4.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_5.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_6.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_7.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_8.Plo@am__quote@ +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/x_9.Plo@am__quote@ + +distclean-depend: + -rm -rf ./$(DEPDIR) + +.cpp.o: +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ +@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ +@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ +@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ +@am__fastdepCXX_TRUE@ fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< + +.cpp.obj: +@am__fastdepCXX_TRUE@ if $(CXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ +@am__fastdepCXX_TRUE@ -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi`; \ +@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ +@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ +@am__fastdepCXX_TRUE@ fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Po' tmpdepfile='$(DEPDIR)/$*.TPo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `if test -f '$<'; then $(CYGPATH_W) '$<'; else $(CYGPATH_W) '$(srcdir)/$<'; fi` + +.cpp.lo: +@am__fastdepCXX_TRUE@ if $(LTCXXCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" \ +@am__fastdepCXX_TRUE@ -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<; \ +@am__fastdepCXX_TRUE@ then mv "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; \ +@am__fastdepCXX_TRUE@ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; \ +@am__fastdepCXX_TRUE@ fi +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$< + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + +distclean-libtool: + -rm -f libtool +uninstall-info-am: + +ETAGS = etags +ETAGSFLAGS = + +CTAGS = ctags +CTAGSFLAGS = + +tags: TAGS + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + mkid -fID $$unique + +TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(ETAGS_ARGS)$$tags$$unique" \ + || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$tags $$unique + +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + tags=; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) ' { files[$$0] = 1; } \ + END { for (i in files) print i; }'`; \ + test -z "$(CTAGS_ARGS)$$tags$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$tags $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && cd $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) $$here + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags +#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +#>+ 4 +KDE_DIST=header_list generate_makefile_am.pl + +DISTFILES= $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST) + + +top_distdir = ../.. +distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) + +distdir: $(DISTFILES) + @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ + list='$(DISTFILES)'; for file in $$list; do \ + case $$file in \ + $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ + $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ + esac; \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test "$$dir" != "$$file" && test "$$dir" != "."; then \ + dir="/$$dir"; \ + $(mkinstalldirs) "$(distdir)$$dir"; \ + else \ + dir=''; \ + fi; \ + if test -d $$d/$$file; then \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ + fi; \ + cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ + else \ + test -f $(distdir)/$$file \ + || cp -p $$d/$$file $(distdir)/$$file \ + || exit 1; \ + fi; \ + done +check-am: all-am +check: check-am +all-am: Makefile $(LTLIBRARIES) + +installdirs: + $(mkinstalldirs) $(DESTDIR)$(libdir) + +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + +distclean-generic: + -rm -f Makefile $(CONFIG_CLEAN_FILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." +#>- clean: clean-am +#>+ 1 +clean: kde-rpo-clean clean-am + +#>- clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ +#>- mostlyclean-am +#>+ 2 +clean-am: clean-closures clean-final clean-generic clean-libLTLIBRARIES clean-libtool \ + mostlyclean-am + +distclean: distclean-am + +distclean-am: clean-am distclean-compile distclean-depend \ + distclean-generic distclean-libtool distclean-tags + +dvi: dvi-am + +dvi-am: + +info: info-am + +info-am: + +install-data-am: + +install-exec-am: install-libLTLIBRARIES + +install-info: install-info-am + +install-man: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES + +.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \ + clean-libLTLIBRARIES clean-libtool ctags distclean \ + distclean-compile distclean-depend distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am info \ + info-am install install-am install-data install-data-am \ + install-exec install-exec-am install-info install-info-am \ + install-libLTLIBRARIES install-man install-strip installcheck \ + installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-am uninstall-info-am \ + uninstall-libLTLIBRARIES + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: + + +#>+ 8 +libsmoketqt.la.closure: $(libsmoketqt_la_OBJECTS) $(libsmoketqt_la_DEPENDENCIES) + @echo "int main() {return 0;}" > libsmoketqt_la_closure.cpp + @$(LTCXXCOMPILE) -c libsmoketqt_la_closure.cpp + $(CXXLINK) libsmoketqt_la_closure.lo $(libsmoketqt_la_LDFLAGS) $(libsmoketqt_la_OBJECTS) $(libsmoketqt_la_LIBADD) $(LIBS) + @rm -f libsmoketqt_la_closure.* libsmoketqt.la.closure + @echo "timestamp" > libsmoketqt.la.closure + + +#>+ 3 +clean-closures: + -rm -f libsmoketqt.la.closure + +#>+ 2 +docs-am: + +#>+ 6 +force-reedit: + cd $(top_srcdir) && \ + $(AUTOMAKE) --gnu smoke/tqt/Makefile + cd $(top_srcdir) && perl admin/am_edit PerlTQt-3.008/smoke/tqt/Makefile.in + + +#>+ 9 +bcheck: bcheck-am + +bcheck-am: + test ! -r bchecktest.cc.class || mv -f bchecktest.cc.class bchecktest.cc.oldclass + @echo "int main() {return 0;}" > bchecktest.cc + for i in $(include_HEADERS); do echo "#include \"$$i\"" >> bchecktest.cc; done + test ! -s bchecktest.cc || $(CXXCOMPILE) --dump-class-hierarchy bchecktest.cc + test ! -s bchecktest.cc.oldclass || test ! -s bchecktest.cc.class || cmp -s bchecktest.cc.oldclass bchecktest.cc.class + +#>+ 11 +libsmoketqt_la.all_cpp.cpp: $(srcdir)/Makefile.in smokedata.cpp x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp + @echo 'creating libsmoketqt_la.all_cpp.cpp ...'; \ + rm -f libsmoketqt_la.all_cpp.files libsmoketqt_la.all_cpp.final; \ + echo "#define KDE_USE_FINAL 1" >> libsmoketqt_la.all_cpp.final; \ + for file in smokedata.cpp x_1.cpp x_2.cpp x_3.cpp x_4.cpp x_5.cpp x_6.cpp x_7.cpp x_8.cpp x_9.cpp x_10.cpp x_11.cpp x_12.cpp x_13.cpp x_14.cpp x_15.cpp x_16.cpp x_17.cpp x_18.cpp x_19.cpp x_20.cpp ; do \ + echo "#include \"$$file\"" >> libsmoketqt_la.all_cpp.files; \ + test ! -f $(srcdir)/$$file || egrep '^#pragma +implementation' $(srcdir)/$$file >> libsmoketqt_la.all_cpp.final; \ + done; \ + cat libsmoketqt_la.all_cpp.final libsmoketqt_la.all_cpp.files > libsmoketqt_la.all_cpp.cpp; \ + rm -f libsmoketqt_la.all_cpp.final libsmoketqt_la.all_cpp.files + +#>+ 3 +clean-final: + -rm -f libsmoketqt_la.all_cpp.cpp + +#>+ 2 +final: + $(MAKE) libsmoketqt_la_OBJECTS="$(libsmoketqt_la_final_OBJECTS)" all-am +#>+ 2 +final-install: + $(MAKE) libsmoketqt_la_OBJECTS="$(libsmoketqt_la_final_OBJECTS)" install-am +#>+ 2 +no-final: + $(MAKE) libsmoketqt_la_OBJECTS="$(libsmoketqt_la_nofinal_OBJECTS)" all-am +#>+ 2 +no-final-install: + $(MAKE) libsmoketqt_la_OBJECTS="$(libsmoketqt_la_nofinal_OBJECTS)" install-am +#>+ 3 +cvs-clean: + $(MAKE) admindir=$(top_srcdir)/admin -f $(top_srcdir)/admin/Makefile.common cvs-clean + +#>+ 3 +kde-rpo-clean: + -rm -f *.rpo + +#>+ 3 +nmcheck: +nmcheck-am: nmcheck diff --git a/smoke/tqt/generate.pl.in b/smoke/tqt/generate.pl.in new file mode 100644 index 0000000..8dfda1a --- /dev/null +++ b/smoke/tqt/generate.pl.in @@ -0,0 +1,153 @@ +#!/usr/bin/perl -w + +## Run this first, to generate the x_*.cpp files from the TQt headers +## using kalyptus + +my $kalyptusdir = "../../kalyptus"; + +use File::Basename; +use File::Copy qw|cp|; +use File::Compare; +use Cwd; + +my $here = getcwd; +my $outdir = $here . "/generate.pl.tmpdir"; +my $finaloutdir = $here; +my $defines = "qtdefines"; +my $headerlist = "header_list"; +my $definespath = "$here/$defines"; +my $headerlistpath = "$here/$headerlist"; + +## Note: outdir and finaloutdir should NOT be the same dir! + +# Delete all x_*.cpp files under outdir (or create outdir if nonexistent) +if (-d $outdir) { system "rm -f $outdir/x_*.cpp"; } else { mkdir $outdir; } + +mkdir $finaloutdir unless (-d $finaloutdir); + +# Load the TQT_NO_* macros found in "qtdefines". They'll be passed to kalyptus +my $macros=""; +if ( -e $definespath ){ + print "Found '$defines'. Reading preprocessor symbols from there...\n"; + $macros = " --defines=$definespath "; +} + +# Need to cd to kalyptus's directory so that perl finds Ast.pm etc. +chdir "$kalyptusdir" or die "Couldn't go to $kalyptusdir (edit script to change dir)\n"; + +# Find out which header files we need to parse +# We don't want all of them - e.g. not template-based stuff +my %excludes = ( + 'ntqaccessible.h' => 1, # Accessibility support is not compiled by defaut + 'ntqassistantclient.h' => 1, # Not part of TQt (introduced in TQt-3.1) + 'ntqmotif.h' => 1, # + 'ntqmotifwidget.h' => 1, # Motif extension (introduced in TQt-3.1) + 'ntqmotifdialog.h' => 1, # + 'ntqxt.h' => 1, # Xt + 'ntqxtwidget.h' => 1, # Xt + 'ntqdns.h' => 1, # internal + 'ntqgl.h' => 1, # OpenGL + 'ntqglcolormap.h' => 1, # OpenGL + 'ntqnp.h' => 1, # NSPlugin + 'ntqttableview.h' => 1, # Not in TQt anymore... + 'ntqtmultilineedit.h' => 1, # Not in TQt anymore... + 'ntqwidgetfactory.h' => 1, # Just an interface + 'ntqsharedmemory.h' => 1, # "not part of the TQt API" they say + 'ntqwindowsstyle.h' => 1, # TQt windowsstyle, plugin + 'ntqmotifstyle.h' => 1, + 'ntqcompactstyle.h' => 1, + 'ntqinterlacestyle.h' => 1, + 'ntqmotifplusstyle.h' => 1, + 'ntqsgistyle.h' => 1, + 'ntqplatinumstyle.h' => 1, + 'ntqcdestyle.h' => 1, + 'ntqwindowsxpstyle.h' => 1 # play on the safe side +); + +# Some systems have a TQTDIR = TDEDIR = PREFIX +# We need a complete list + +my %includes; +open(HEADERS, $headerlistpath) or die "Couldn't open $headerlistpath: $!\n"; +map { chomp ; $includes{$_} = 1 } ; +close HEADERS; + +# Can we compile the OpenGl module ? +if("@KDE_HAVE_GL@" eq "yes") +{ + open(DEFS, $definespath); + my @defs = ; + close DEFS; + if(!grep(/TQT_NO_OPENGL/, @defs)) + { + $excludes{'qgl.h'} = undef; + $excludes{'qglcolormap.h'} = undef; + } + else + { + print STDERR "TQt was not compiled with OpenGL support...\n Skipping TQGL Classes.\n"; + } +} + +# List TQt headers, and exclude the ones listed above +my @headers = (); + +$qtinc= '@qt_includes@'; +opendir (QT, $qtinc) or die "Couldn't find $qtinc"; +foreach $filename (readdir(QT)) { + $entry = $qtinc."/".$filename; + if ( ( -e $entry or -l $entry ) # A real file or a symlink + && ( ! -d _ ) ) # Not a symlink to a dir though + { + push(@headers, $entry) + if ( !defined $excludes{$filename} # Not excluded + && $includes{$filename} # Known header + && $filename =~ /\.h$/ ); # Not a backup file etc. Only headers. + undef $includes{$filename} + } +} +closedir QT; + +# Launch kalyptus +system "perl kalyptus @ARGV --globspace -fsmoke --name=qt $macros --no-cache --outputdir=$outdir @headers"; +my $exit = $? >> 8; +exit $exit if ($exit); + +# Generate diff for smokedata.cpp +unless ( -e "$finaloutdir/smokedata.cpp" ) { + open( TOUCH, ">$finaloutdir/smokedata.cpp"); + close TOUCH; +} +system "diff -u $finaloutdir/smokedata.cpp $outdir/smokedata.cpp > $outdir/smokedata.cpp.diff"; + +# Copy changed or new files to finaloutdir +opendir (OUT, $outdir) or die "Couldn't opendir $outdir"; +foreach $filename (readdir(OUT)) { + next if ( -d "$outdir/$filename" ); # only files, not dirs + my $docopy = 1; + if ( -f "$finaloutdir/$filename" ) { + $docopy = compare("$outdir/$filename", "$finaloutdir/$filename"); # 1 if files are differents + } + if ($docopy) { + #print STDERR "Updating $filename...\n"; + cp("$outdir/$filename", "$finaloutdir/$filename"); + } +} +closedir OUT; + +# Check for deleted files and warn +my $deleted = 0; +opendir(FINALOUT, $finaloutdir) or die "Couldn't opendir $finaloutdir"; +foreach $filename (readdir(FINALOUT)) { + next if ( -d "$finaloutdir/$filename" ); # only files, not dirs + if ( $filename =~ /.cpp$/ && ! ($filename =~ /_la_closure.cpp/) && ! -f "$outdir/$filename" ) { + print STDERR "Removing obsolete file $filename\n"; + unlink "$finaloutdir/$filename"; + $deleted = 1; + } +} +closedir FINALOUT; + +# Delete outdir +system "rm -rf $outdir"; + diff --git a/smoke/tqt/generate_makefile_am.pl b/smoke/tqt/generate_makefile_am.pl new file mode 100755 index 0000000..8f528bd --- /dev/null +++ b/smoke/tqt/generate_makefile_am.pl @@ -0,0 +1,56 @@ +#!/usr/bin/perl -w + +use File::Basename; +use File::Copy qw|cp|; +use File::Compare; +use Cwd; + +my $here = getcwd; +my $outdir = $here; +my $tempfile = "$outdir/.Makefile.am.tmpfile"; + +# Update list of source files in $outdir/Makefile.am +open( MAKEFILE, "<$outdir/Makefile.am" ) or die; +my $makeFileData = ''; +my $found = 0; +while () { + if (/^libsmoketqt_la_SOURCES/) + { + $found = 1; + $makeFileData .= "libsmoketqt_la_SOURCES = smokedata.cpp"; + } + $makeFileData .= $_ if (!$found); +} +close MAKEFILE; + +die "libsmoketqt_la_SOURCES not found" if (!$found); + +open( MAKEFILE, ">$tempfile" ) or die; +print MAKEFILE $makeFileData; + +my $count = 0; +opendir (FILES, $outdir) or die; +foreach $filename (readdir(FILES)) { + if ( $filename =~ /^x_.*\.cpp$/ ) { + if ( $count++ == 7 ) { + $count = 0; + print MAKEFILE " \\\n"; + } + print MAKEFILE " $filename"; + } +} + +print MAKEFILE "\n"; +close MAKEFILE; +closedir FILES; + +if (compare("$tempfile", "$outdir/Makefile.am")) { + cp("$tempfile", "$outdir/Makefile.am"); + print STDERR "Makefile.am updated.\n"; +} +else { + print STDERR "Makefile.am unchanged.\n"; +} +unlink $tempfile; + +exit 0; diff --git a/smoke/tqt/header_list b/smoke/tqt/header_list new file mode 100644 index 0000000..be1fcb2 --- /dev/null +++ b/smoke/tqt/header_list @@ -0,0 +1,350 @@ +ntq1xcompatibility.h +ntqabstractlayout.h +ntqaccel.h +ntqaccessible.h +ntqaction.h +ntqapp.h +ntqapplication.h +ntqarray.h +ntqasciicache.h +ntqasciidict.h +ntqassistantclient.h +ntqasyncimageio.h +ntqasyncio.h +ntqbig5codec.h +ntqbitarray.h +ntqbitarry.h +ntqbitmap.h +ntqbrush.h +ntqbttngrp.h +ntqbuffer.h +ntqbuttongroup.h +ntqbutton.h +ntqcache.h +ntqcanvas.h +ntqcdestyle.h +ntqcheckbox.h +ntqchkbox.h +ntqcleanuphandler.h +ntqclipboard.h +ntqclipbrd.h +ntqcollect.h +ntqcollection.h +ntqcolordialog.h +ntqcolor.h +ntqcombobox.h +ntqcombo.h +ntqcommonstyle.h +ntqcompactstyle.h +ntqconfig-dist.h +ntqconfig.h +ntqconnect.h +ntqconnection.h +ntqcstring.h +ntqcursor.h +ntqdatabrowser.h +ntqdatastream.h +ntqdatatable.h +ntqdataview.h +ntqdatetimeedit.h +ntqdatetime.h +ntqdatetm.h +ntqdeepcopy.h +ntqdesktopwidget.h +ntqdial.h +ntqdialog.h +ntqdict.h +ntqdir.h +ntqdns.h +ntqdockarea.h +ntqdockwindow.h +ntqdom.h +ntqdragobject.h +ntqdrawutil.h +ntqdrawutl.h +ntqdropsite.h +ntqdstream.h +ntqeditorfactory.h +ntqerrormessage.h +ntqeucjpcodec.h +ntqeuckrcodec.h +ntqevent.h +ntqeventloop.h +ntqfeatures.h +ntqfiledef.h +ntqfiledialog.h +ntqfiledlg.h +ntqfile.h +ntqfileinf.h +ntqfileinfo.h +ntqfocusdata.h +ntqfontdatabase.h +ntqfontdialog.h +ntqfontdta.h +ntqfont.h +ntqfontinf.h +ntqfontinfo.h +ntqfontmet.h +ntqfontmetrics.h +ntqframe.h +ntqftp.h +ntqgarray.h +ntqgb18030codec.h +ntqgbkcodec.h +ntqgcache.h +ntqgdict.h +ntqgeneric.h +ntqgif.h +ntqglcolormap.h +ntqgl.h +ntqglist.h +ntqglobal.h +ntqgplugin.h +ntqgrid.h +ntqgridview.h +ntqgroupbox.h +ntqgrpbox.h +ntqguardedptr.h +ntqgvector.h +ntqhbox.h +ntqhbuttongroup.h +ntqheader.h +ntqhgroupbox.h +ntqhostaddress.h +ntqhttp.h +ntqiconset.h +ntqiconview.h +ntqimageformatplugin.h +ntqimage.h +ntqinputdialog.h +ntqintcache.h +ntqintcach.h +ntqintdict.h +ntqinterlacestyle.h +ntqiodev.h +ntqiodevice.h +ntqjiscodec.h +ntqjpunicode.h +ntqkeycode.h +ntqkeysequence.h +ntqlabel.h +ntqlayout.h +ntqlcdnumber.h +ntqlcdnum.h +ntqlibrary.h +ntqlined.h +ntqlineedit.h +ntqlistbox.h +ntqlist.h +ntqlistview.h +ntqlocalfs.h +ntqmainwindow.h +ntqmap.h +ntqmemarray.h +ntqmenubar.h +ntqmenudata.h +ntqmenudta.h +ntqmessagebox.h +ntqmetaobject.h +ntqmetaobj.h +ntqmime.h +ntqmlined.h +ntqmodules.h +ntqmotifdialog.h +ntqmotif.h +ntqmotifplusstyle.h +ntqmotifstyle.h +ntqmotifwidget.h +ntqmovie.h +ntqmsgbox.h +ntqmultilinedit.h +ntqmultilineedit.h +ntqmutex.h +ntqnamespace.h +ntqnetwork.h +ntqnetworkprotocol.h +ntqobjcoll.h +ntqobjdefs.h +ntqobjectcleanuphandler.h +ntqobjectdefs.h +ntqobjectdict.h +ntqobject.h +ntqobjectlist.h +ntqpaintdc.h +ntqpaintdevicedefs.h +ntqpaintdevice.h +ntqpaintdevicemetrics.h +ntqpaintd.h +ntqpainter.h +ntqpair.h +ntqpalette.h +ntqpdevmet.h +ntqpen.h +ntqpicture.h +ntqpixmapcache.h +ntqpixmap.h +ntqplatinumstyle.h +ntqpmcache.h +ntqpntarry.h +ntqpointarray.h +ntqpoint.h +ntqpolygonscanner.h +ntqpopmenu.h +ntqpopupmenu.h +ntqprintdialog.h +ntqprinter.h +ntqprndlg.h +ntqprocess.h +ntqprogbar.h +ntqprogdlg.h +ntqprogressbar.h +ntqprogressdialog.h +ntqpsprn.h +ntqptrcollection.h +ntqptrdict.h +ntqptrlist.h +ntqptrqueue.h +ntqptrstack.h +ntqptrvector.h +ntqpushbt.h +ntqpushbutton.h +ntqqueue.h +ntqradiobt.h +ntqradiobutton.h +ntqrangecontrol.h +ntqrangect.h +ntqrect.h +ntqregexp.h +ntqregion.h +ntqremotefactory.h +ntqremoteplugin.h +ntqrtlcodec.h +ntqscopedptr.h +ntqscrbar.h +ntqscrollbar.h +ntqscrollview.h +ntqsemaphore.h +ntqsemimodal.h +ntqserversocket.h +ntqsession.h +ntqsessionmanager.h +ntqsettings.h +ntqsgistyle.h +ntqshared.h +ntqsignal.h +ntqsignalmapper.h +ntqsignalslotimp.h +ntqsimplerichtext.h +ntqsizegrip.h +ntqsize.h +ntqsizepolicy.h +ntqsjiscodec.h +ntqslider.h +ntqsocketdevice.h +ntqsocket.h +ntqsocketnotifier.h +ntqsocknot.h +ntqsortedlist.h +ntqsound.h +ntqspinbox.h +ntqsplashscreen.h +ntqsplitter.h +ntqsqlcursor.h +ntqsqldatabase.h +ntqsqldriver.h +ntqsqldriverplugin.h +ntqsqleditorfactory.h +ntqsqlerror.h +ntqsqlfield.h +ntqsqlform.h +ntqsql.h +ntqsqlindex.h +ntqsqlpropertymap.h +ntqsqlquery.h +ntqsqlrecord.h +ntqsqlresult.h +ntqsqlselectcursor.h +ntqstack.h +ntqstatusbar.h +ntqstring.h +ntqstringlist.h +ntqstrlist.h +ntqstrvec.h +ntqstylefactory.h +ntqstyle.h +ntqstyleplugin.h +ntqstylesheet.h +ntqsyntaxhighlighter.h +ntqtabbar.h +ntqtabdialog.h +ntqtabdlg.h +ntqtable.h +ntqtabwidget.h +ntqtextbrowser.h +ntqtextcodecfactory.h +ntqtextcodec.h +ntqtextcodecplugin.h +ntqtextedit.h +ntqtextstream.h +ntqtextview.h +ntqt.h +ntqthread.h +ntqtimer.h +ntqtl.h +ntqtmultilineedit.h +ntqtoolbar.h +ntqtoolbutton.h +ntqtoolbox.h +ntqtooltip.h +ntqtranslator.h +ntqtsciicodec.h +ntqtstream.h +ntqttableview.h +ntqurl.h +ntqurlinfo.h +ntqurloperator.h +ntqutfcodec.h +ntquuid.h +ntqvalidator.h +ntqvaluelist.h +ntqvaluestack.h +ntqvaluevector.h +ntqvariant.h +ntqvbox.h +ntqvbuttongroup.h +ntqvector.h +ntqvgroupbox.h +ntqwaitcondition.h +ntqwhatsthis.h +ntqwidcoll.h +ntqwidgetfactory.h +ntqwidget.h +ntqwidgetintdict.h +ntqwidgetlist.h +ntqwidgetplugin.h +ntqwidgetstack.h +ntqwindefs.h +ntqwindowdefs.h +ntqwindow.h +ntqwindowsstyle.h +ntqwizard.h +ntqwmatrix.h +ntqworkspace.h +ntqwsbeosdecoration_qws.h +ntqwscommand_qws.h +ntqwscursor_qws.h +ntqwsdecoration_qws.h +ntqwsdefaultdecoration_qws.h +ntqwsdisplay_qws.h +ntqwsevent_qws.h +ntqwshydrodecoration_qws.h +ntqwskde2decoration_qws.h +ntqwskdedecoration_qws.h +ntqwsmanager_qws.h +ntqwsmouse_qws.h +ntqwsproperty_qws.h +ntqwsregionmanager_qws.h +ntqwssocket_qws.h +ntqwsutils_qws.h +ntqwswindowsdecoration_qws.h +ntqxml.h diff --git a/smoke/tqt/qt_smoke.h b/smoke/tqt/qt_smoke.h new file mode 100644 index 0000000..3ca29df --- /dev/null +++ b/smoke/tqt/qt_smoke.h @@ -0,0 +1,9 @@ +#ifndef TQT_SMOKE_H +#define TQT_SMOKE_H + +// Defined in smokedata.cpp, initialized by init_qt_Smoke(), used by all .cpp files +extern Smoke* qt_Smoke; + +class TQGlobalSpace { }; + +#endif diff --git a/smoke/tqt/qtguess.pl.in b/smoke/tqt/qtguess.pl.in new file mode 100644 index 0000000..9f6d011 --- /dev/null +++ b/smoke/tqt/qtguess.pl.in @@ -0,0 +1,501 @@ +#!/usr/bin/perl + +# qtguess.pl : check how TQt was compiled. Issue a list of all defined TQT_NO_* macros, one per line. +# +# author: germain Garand +# licence: GPL v.2 + +# options: -q: be quieter +# -o file: redirect output to "file". (default: ./qtdefines) +# -t [0..15]: set the testing threshold (see below) +# -f "flags": additional compiler flags/parameters + +use Getopt::Std; + +use vars qw/$opt_f $opt_o $opt_p/; + +getopts('qo:f:t:'); + +# Threshold : +# 0 - test basic TQt types/classes +# 5 - test higher level, non-gui classes +# 8 - test options of the above (ex: TQT_NO_IMAGE_SMOOTHSCALE) +# 10 - test basic widgets +# 12 - test composite widgets +# 13 - test widgets inheriting composite widgets +# 15 - test goodies (default) + +my $default_threshold = @qt_test_threshold@; +my $cc = "@CXX@"; +my $ccflags = $opt_f || "@CXXFLAGS@"; + +my $nspaces = 50; + +my %qtdefs=(); +my %qtundefs=(); + +my $tmp = gettmpfile(); +my $qtinc = '@qt_includes@'; +my $allinc = '@all_includes@'; +my $alllib = '@all_libraries@'; +my $qtflags ='@LIB_QT@'; +my %x; +$x{'LIBPNG'} = '@LIBPNG@'; +$x{'LIBJPEG'} = '@LIBJPEG@'; +$x{'LIBSM'} = '@LIBSM@'; +$x{'LIBSOCKET'} = '@LIBSOCKET@'; +$x{'LIBDL'} = '@LIBDL@'; +$x{'LIBRESOLV'} = '@LIBRESOLV@'; +$x{'LIB_X11'} = '@LIB_X11@'; +$x{'X_PRE_LIBS'} = '@X_PRE_LIBS@'; +$x{'LIB_X11'} =~ s/\$\((.*?)\)/$x{$1}/g; + +$qtflags =~ s/\$\((.*?)\)/$x{$1}/g; + + -e "$qtinc/ntqglobal.h" or die "Invalid TQt directory.\n"; + +my $ccmd = "$cc $ccflags $allinc $alllib -o $tmp $tmp.cpp $qtflags"; + +my $threshold = defined($opt_t)?$opt_t : $default_threshold; +$threshold >= 0 or die "invalid testing threshold: $threshold\n"; + +print "Checking how TQt was built... \n"; +print "Threshold is set to $threshold\n" unless $opt_q; + +my($count, $used, $total); +map{ $tests{$_}->[2]>=$threshold ? ($used++, $total++):$total++ } keys %tests; + +print "Number of defines to be tested : $used/$total\n\n" unless $opt_q; +open( TQTDEFS, ">".($opt_o || "ntqtdefines") ) or die "Can't open output file: $!\n"; + +grab_qglobal_symbols(); +preliminary_test(); +perform_all_tests(); + +print +scalar(keys %qtdefs) . " defines found.\n"; + +print TQTDEFS join("\n", keys %qtdefs), "\n"; +close; + +#--------------------------------------------------------------# + +sub gettmpfile +{ + my $tmpdir = $ENV{'TMP'} || "."; + my $tmpname = $$."-qtguess"; + while( -e "$tmpdir/$tmpname" || -e "$tmpdir/${tmpname}.cpp" ) + { + $tmpname .= int (rand * 9); + } + return "$tmpdir/$tmpname"; +} + +#--------------------------------------------------------------# + +sub grab_qglobal_symbols +{ + my $cmd = "$cc -E -D__cplusplus -dM -I$qtinc $qtinc/ntqglobal.h 2>/dev/null"; + my $symbols = `$cmd`; + for(0..1) + { + if( check_exit_status($?) ) + { + while( $symbols =~/^#\s*define\s*(TQT_\S+)/gm ) + { + $qtdefs{$1} = 1; + } + print "Found ". scalar( keys %qtdefs )." predefined symbol".((scalar( keys %qtdefs ) -1)?"s":"")." in qglobal.h\n" unless ($opt_q or !(keys %qtdefs)); + while( $symbols =~/^#\s*define\s*TQT_MODULE_(\S+)/gm ) + { + $qtundefs{"TQT_NO_$1"} = 1; + } + print "Found ". scalar( keys %qtundefs )." undefined symbol".((scalar( keys %qtundefs ) -1)?"s":"")." in qglobal.h\n" unless ($opt_q or !(keys %qtundefs)); + last; + } + elsif(! $_) # first try + { + print "Failed to run $cmd.\nTrying without __cplusplus (might be already defined)\n"; + $cmd = "$cc -E -dM -I$qtinc $qtinc/ntqglobal.h 2>/dev/null"; + $symbols = `$cmd`; + next; + } + } +} + +#--------------------------------------------------------------# + +sub preliminary_test +{ + my $msg = "Trying to compile and link a small program..."; + print $msg, " " x ($nspaces - length($msg) + 8); + open( OUT, ">${tmp}.cpp" ) or die "Failed to open temp file ${tmp}.cpp: $!\n"; + my $simple=q£ + #include + int main( int argc, char **argv ) + { + TQApplication foo( argc, argv ); + return 0; + } + £; + print OUT $simple; + close OUT; + my $out = `$ccmd 2>&1`; + if( !check_exit_status($?) ) + { + die <<"EOF"; + +FAILED : check your configuration. +Failed program was: +$simple +Compiled with: +$ccmd +Compiler output: +$out +EOF + } + else + { + print "OK\n"; + } +} + +#--------------------------------------------------------------# + +sub perform_all_tests +{ + foreach ( sort { $tests{$a}->[2] <=> $tests{$b}->[2]} keys %tests) + { + $tests{$_}->[2] < $threshold and next; + ($qtdefs{$_} || $qtundefs{$_}) and do + { + print "\rSkipping $_ (in ntqglobal.h)".( " " x (($nspaces-16) - length($_)) ).($qtundefs{$_}?"*Undefined*":" [Defined]").($opt_q?"":"\n"); + next + }; + print "\rTesting $_".( " " x ($nspaces - length($_)) ); + open( OUT, ">${tmp}.cpp" ) or die "Failed to open temp file ${tmp}.cpp: $!\n"; + foreach $def(keys %qtdefs) + { + print OUT "#define $def\n"; + } + foreach $inc(split /,\s*/, $tests{$_}->[0]) + { + print OUT "#include <$inc>\n"; + } + print OUT "#include \n"; + print OUT $tests{$_}->[3] if $tests{$_}->[3]; # need to define some classes ? + print OUT qq£ + + int main( int argc, char **argv ) + { + $tests{$_}->[1] + return 0; + } + £; + close OUT; + + my $out = `$ccmd 2>&1`; + + my $ok = check_exit_status($?); + if( !$ok ) + { + $qtdefs{$_} = 1; + } + print +$opt_q ? ++$count."/$used" : ( $ok ? "*Undefined*\n" : " [Defined]\n" ); + } + $opt_q && print "\n"; +} + +#--------------------------------------------------------------# + +sub check_exit_status +{ + my $a = 0xFFFF & shift; + if( !$a ) + { + return 1; + } + elsif( $a == 0xFF00 ) + { + die "\nSystem call failed: $!\n"; + } + elsif( $a > 0x80 ) + { + # non-zero status. + } + else + { + if( $a & 0x80 ) + { + die "\n$cc coredumped with signal ". ($a & ~0x80); + } + die "\n$cc interrupted by signal $a\n"; + } + return 0; +} + +#--------------------------------------------------------------# + +END +{ + unlink $tmp if -e $tmp; + unlink "${tmp}.cpp" if -e "${tmp}.cpp"; +} + +#--------------------------------------------------------------# + +BEGIN { + +# "DEFINE" => ["header-1.h,... header-n.h", "main() code", priority, "Definitions (if needed)"] + +our %tests = ( + "TQT_NO_ACCEL" => ["ntqaccel.h", "TQAccel foo( (TQWidget*)NULL );", 5], + "TQT_NO_ACTION" => ["ntqaction.h", "TQAction foo( (TQObject*)NULL );", 5], + "TQT_NO_ASYNC_IO" => ["ntqasyncio.h", "TQAsyncIO foo();", 5], + "TQT_NO_ASYNC_IMAGE_IO"=> ["ntqasyncimageio.h", "TQImageDecoder foo( (TQImageConsumer*) NULL );", 5], + "TQT_NO_BIG_CODECS" => ["ntqbig5codec.h", "TQBig5Codec foo();", 5], + "TQT_NO_BUTTON" => ["ntqbutton.h", "TQButton foo( (TQWidget*)NULL );", 10], + "TQT_NO_BUTTONGROUP" => ["ntqbuttongroup.h", "TQButtonGroup foo( (TQWidget*)NULL );", 12], + "TQT_NO_CANVAS" => ["ntqcanvas.h", "TQCanvas foo( (TQObject*)NULL );", 10], + "TQT_NO_CHECKBOX" => ["ntqcheckbox.h", "TQCheckBox( (TQWidget*)NULL );", 10], + "TQT_NO_CLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£ + TQApplication foo( argc, argv ); + TQClipboard *baz= foo.clipboard(); + £, 5], + "TQT_NO_COLORDIALOG" => ["ntqcolordialog.h", "TQColorDialog::customCount();", 12], + "TQT_NO_COMBOBOX" => ["ntqcombobox.h", "TQComboBox( (TQWidget*)NULL );", 10], + "TQT_NO_COMPAT" => ["ntqfontmetrics.h", q£ + TQFontMetrics *foo= new TQFontMetrics( TQFont() ); + int bar = foo->width( 'c' ); + £, 0], + "TQT_NO_COMPONENT" => ["ntqapplication.h", q£ + TQApplication foo( argc, argv ); + foo.addLibraryPath( TQString::null ); + £, 5], + "TQT_NO_CURSOR" => ["ntqcursor.h", "TQCursor foo;", 5], + "TQT_NO_DATASTREAM" => ["ntqdatastream.h", "TQDataStream foo;", 5], + "TQT_NO_DATETIMEEDIT" => ["ntqdatetimeedit.h", "TQTimeEdit foo;", 12], + "TQT_NO_DIAL" => ["ntqdial.h", "TQDial foo;", 10], + "TQT_NO_DIALOG" => ["ntqdialog.h", "TQDialog foo;", 12], + "TQT_NO_DIR" => ["ntqdir.h", "TQDir foo;", 5], + "TQT_NO_DNS" => ["ntqdns.h", "TQDns foo;", 5], + "TQT_NO_DOM" => ["ntqdom.h", "TQDomDocumentType foo;", 5], + "TQT_NO_DRAGANDDROP" => ["ntqevent.h", "TQDropEvent foo( TQPoint(1,1) );", 5], + "TQT_NO_DRAWUTIL" => ["ntqdrawutil.h, qcolor.h", "ntqDrawPlainRect( (TQPainter *) NULL, 0, 0, 0, 0, TQColor() );", 10], + "TQT_NO_ERRORMESSAGE" => ["ntqerrormessage.h", "TQErrorMessage foo( (TQWidget*) NULL );", 13], + "TQT_NO_FILEDIALOG" => ["ntqfiledialog.h", "TQFileIconProvider foo;", 13], + + "TQT_NO_FONTDATABASE" => ["ntqfontdatabase.h", "TQFontDatabase foo;", 5], + "TQT_NO_FONTDIALOG" => ["ntqfontdialog.h", "TQFontDialog::getFont( (bool *)NULL );", 12], + "TQT_NO_FRAME" => ["ntqframe.h", "TQFrame foo;", 10], + "TQT_NO_GRID" => ["ntqgrid.h", "TQGrid foo(5);", 12], + "TQT_NO_GRIDVIEW" => ["ntqgridview.h", "TQFoo foo;", 13, q£ + class TQFoo: public TQGridView + { + public: + TQFoo(){}; + ~TQFoo(){}; + void paintCell(TQPainter *, int, int){}; + }; + £], + "TQT_NO_GROUPBOX" => ["ntqgroupbox.h", "TQGroupBox foo;", 12], + "TQT_NO_HBOX" => ["ntqhbox.h", "TQHBox foo;", 12], + "TQT_NO_HBUTTONGROUP" => ["ntqhbuttongroup.h", "TQHButtonGroup foo;", 13], + "TQT_NO_HEADER" => ["ntqheader.h", "TQHeader foo;", 10], + "TQT_NO_HGROUPBOX" => ["ntqhgroupbox.h", "TQHGroupBox foo;", 13], + "TQT_NO_ICONSET" => ["ntqiconset.h", "TQIconSet foo;", 8], + + "TQT_NO_ICONVIEW" => ["ntqiconview.h", "TQIconView foo;", 13], + "TQT_NO_IMAGEFORMATPLUGIN" => ["ntqimageformatplugin.h, qstringlist.h", "TQFoo foo;", 5, q£ + + class TQFoo: public TQImageFormatPlugin + { + public: + TQFoo() {}; + ~TQFoo() {}; + TQStringList keys() const { return TQStringList(); }; + bool installIOHandler( const TQString &format ) { return true; }; + }; + TTQ_EXPORT_PLUGIN( TQFoo ) + £], + "TQT_NO_IMAGE_DITHER_TO_1" => ["ntqimage.h", q£ + TQImage *foo = new TQImage; + foo->createAlphaMask(); + £, 8], + "TQT_NO_IMAGE_HEURISTIC_MASK" => ["ntqimage.h", q£ + TQImage *foo = new TQImage; + foo->createHeuristicMask(); + £, 8], + "TQT_NO_IMAGE_MIRROR" => ["ntqimage.h", q£ + TQImage *foo = new TQImage; + foo->mirror(); + £, 8], + "TQT_NO_IMAGE_SMOOTHSCALE" => ["ntqimage.h", q£ + TQImage *foo = new TQImage; + foo->smoothScale( 10, 10); + £, 8], + "TQT_NO_IMAGE_TEXT" => ["ntqimage.h", "TQImageTextKeyLang foo;", 8], + "TQT_NO_IMAGE_TRANSFORMATION" => ["ntqimage.h", q£ + TQImage *foo = new TQImage; + foo->scale( 10, 10); + £, 8], + "TQT_NO_IMAGE_TRUECOLOR" => ["ntqimage.h", q£ + TQImage *foo = new TQImage; + foo->convertDepthWithPalette( 1, (TQRgb*) NULL, 1 ); + £, 8], + "TQT_NO_INPUTDIALOG" => ["ntqinputdialog.h, qstring.h", q£TQInputDialog::getText( TQString::null, TQString::null);£, 13], + "TQT_NO_IMAGEIO" => ["ntqbitmap.h, qstring.h", q£ + TQBitmap foo( TQString::fromLatin1("foobar") ); + £, 5], + "TQT_NO_IMAGEIO_JPEG" => ["ntqjpegio.h", "ntqInitJpegIO();", 8], + "TQT_NO_IMAGEIO_MNG" => ["ntqmngio.h", "ntqInitMngIO();", 8], + "TQT_NO_IMAGEIO_PNG" => ["ntqpngio.h", "ntqInitPngIO();", 8], + "TQT_NO_LABEL" => ["ntqlabel.h", "TQLabel foo( (TQWidget*) NULL );", 10], + "TQT_NO_LAYOUT" => ["ntqlayout.h", "TQFoo foo;", 10, q£ + + class TQFoo: public TQLayout + { + public: + TQFoo() {}; + ~TQFoo() {}; + void addItem( TQLayoutItem * ) { }; + TQSize sizeHint() const { return TQSize(); } + TQLayoutIterator iterator() { return TQLayoutIterator( (TQGLayoutIterator *) NULL ); }; + void setGeometry( const TQRect & ) { }; + }; + £], + "TQT_NO_LCDNUMBER" => ["ntqlcdnumber.h", "TQLCDNumber foo;", 12], + "TQT_NO_LINEEDIT" => ["ntqlineedit.h", "TQLineEdit foo( (TQWidget *) NULL );", 12], + "TQT_NO_LISTBOX" => ["ntqlistbox.h", "TQListBox foo;", 13], + "TQT_NO_LISTVIEW" => ["ntqlistview.h", "TQListView foo;", 13], + "TQT_NO_MAINWINDOW" => ["ntqmainwindow.h", "TQMainWindow foo;", 13], + "TQT_NO_MENUBAR" => ["ntqmenubar.h", "TQMenuBar foo;", 13], + "TQT_NO_MOVIE" => ["ntqmovie.h", "TQMovie foo;", 5], + "TQT_NO_MENUDATA" => ["ntqmenudata.h", "TQMenuData foo;", 9], + "TQT_NO_MESSAGEBOX" => ["ntqmessagebox.h", "TQMessageBox foo;", 13], + "TQT_NO_MIME" => ["ntqmime.h", "TQMimeSourceFactory foo;", 5], + "TQT_NO_MIMECLIPBOARD" => ["ntqapplication.h, qclipboard.h", q£ + TQApplication foo( argc, argv ); + TQClipboard *baz= foo.clipboard(); + baz->data(); + £, 8], + + "TQT_NO_MULTILINEEDIT" => ["ntqmultilineedit.h", "TQMultiLineEdit foo;", 14], + "TQT_NO_NETWORK" => ["ntqnetwork.h", "ntqInitNetworkProtocols();", 5], + "TQT_NO_NETWORKPROTOCOL" => ["ntqnetworkprotocol.h", "TQNetworkProtocol foo;", 8], + "TQT_NO_NETWORKPROTOCOL_FTP" => ["ntqftp.h", "TQFtp foo;", 9], + "TQT_NO_PALETTE" => ["ntqpalette.h", "TQColorGroup foo;", 5], + "TQT_NO_PICTURE" => ["ntqpicture.h", "TQPicture foo;", 5], + "TQT_NO_PIXMAP_TRANSFORMATION" =>["ntqbitmap.h, qwmatrix.h", q£ + TQBitmap *foo= new TQBitmap(); + TQWMatrix bar; + foo->xForm( bar ); + £, 5], + "TQT_NO_POPUPMENU" => ["ntqpopupmenu.h", "TQPopupMenu foo;", 12], + "TQT_NO_PRINTER" => ["ntqprinter.h", "TQPrinter foo;", 5], + "TQT_NO_PRINTDIALOG" => ["ntqprintdialog.h", "TQPrintDialog foo( (TQPrinter*) NULL );", 13], + "TQT_NO_PROCESS" => ["ntqprocess.h", "TQProcess foo;", 5], + "TQT_NO_PROGRESSBAR" => ["ntqprogressbar.h", "TQProgressBar foo;", 12], + "TQT_NO_PROGRESSDIALOG" => ["ntqprogressdialog.h", "TQProgressDialog foo;", 13], + "TQT_NO_PUSHBUTTON" => ["ntqpushbutton.h", "TQPushButton foo( (TQWidget *) NULL );", 12], + "TQT_NO_PROPERTIES" => ["ntqmetaobject.h", "TQMetaProperty foo;", 0], +# "TQT_NO_TQTMULTILINEEDIT" => ["ntqtmultilineedit.h", "TQtMultiLineEdit foo;", 15], +# "TQT_NO_TQTTABLEVIEW" => ["ntqttableview.h", "TQFoo foo;", 16, q£ +# class TQFoo: public TQtTableView +# { +# public: +# TQFoo() {}; +# ~TQFoo() {}; +# void paintCell( TQPainter *, int, int) {}; +# }; +# £], + "TQT_NO_TQUUID_STRING" => ["ntquuid.h", "TQUuid foo( TQString::null );", 8], + "TQT_NO_RANGECONTROL" => ["ntqrangecontrol.h", "TQRangeControl foo;", 10], + "TQT_NO_REGEXP" => ["ntqregexp.h", "TQRegExp foo;", 5], + "TQT_NO_REGEXP_WILDCARD" => ["ntqregexp.h", q£ + TQRegExp foo; + foo.wildcard(); + £, 8], + "TQT_NO_REMOTE" => ["ntqapplication.h", q£ + TQApplication foo( argc, argv ); + foo.remoteControlEnabled(); + £, 15], + "TQT_NO_RADIOBUTTON" => ["ntqradiobutton.h", "TQRadioButton foo( (TQWidget *) NULL );", 12], + "TQT_NO_RICHTEXT" => ["ntqsimplerichtext.h, qstring.h, qfont.h", "TQSimpleRichText foo( TQString::null, TQFont() );", 10], + "TQT_NO_SCROLLBAR" => ["ntqscrollbar.h", "TQScrollBar foo( (TQWidget *) NULL );", 12], + "TQT_NO_SCROLLVIEW" => ["ntqscrollview.h", "TQScrollView foo;", 12], + "TQT_NO_SEMIMODAL" => ["ntqsemimodal.h", "TQSemiModal foo;", 10], + "TQT_NO_SESSIONMANAGER" => ["ntqapplication.h", q£ + TQApplication foo( argc, argv ); + foo.sessionId(); + £, 15], + "TQT_NO_SETTINGS" => ["ntqsettings.h", "TQSettings foo;", 5], + "TQT_NO_SIGNALMAPPER" => ["ntqsignalmapper.h", "TQSignalMapper foo( (TQObject *) NULL );", 0], + "TQT_NO_SIZEGRIP" => ["ntqsizegrip.h", "TQSizeGrip foo( (TQWidget *) NULL );", 10], + "TQT_NO_SLIDER" => ["ntqslider.h", "TQSlider foo( (TQWidget *) NULL );", 12], + "TQT_NO_SOUND" => ["ntqsound.h", "TQSound foo( TQString::null );", 5], + + + "TQT_NO_SPINWIDGET" => ["ntqrangecontrol.h", "TQSpinWidget foo;", 10], + "TQT_NO_SPRINTF" => ["ntqcolor.h", q£ + TQColor foo; + foo.name(); + £, 0], + + + + "TQT_NO_SQL" => ["ntqsqlcursor.h", "TQSqlCursor foo;", 5], + "TQT_NO_STRINGLIST" => ["ntqstringlist.h", "TQStringList foo;", 0], + "TQT_NO_STYLE" => ["ntqapplication.h", q£ + TQApplication foo( argc, argv ); + foo.style(); + £, 15], + +# "TQT_NO_STYLE_CDE" => ["ntqcdestyle.h", "TQCDEStyle foo;", 16], +# "TQT_NO_STYLE_COMPACT" => ["ntqcompactstyle.h", "TQCompactStyle foo;", 16], +# "TQT_NO_STYLE_INTERLACE" => ["ntqinterlacestyle.h", "TQInterlaceStyle foo;", 16], +# "TQT_NO_STYLE_PLATINUM" => ["ntqplatinumstyle.h", "TQPlatinumStyle foo;", 16], +# "TQT_NO_STYLE_MOTIF" => ["ntqmotifstyle.h", "TQMotifStyle foo;", 16], +# "TQT_NO_STYLE_MOTIFPLUS" => ["ntqmotifplusstyle.h", "TQMotifPlusStyle foo;", 16], +# "TQT_NO_STYLE_SGI" => ["ntqsgistyle.h", "TQSGIStyle foo;", 16], +# "TQT_NO_STYLE_WINDOWS" => ["ntqwindowsstyle.h", "TQWindowsStyle foo;", 16], + "TQT_NO_TABBAR" => ["ntqtabbar.h", "TQTabBar foo;", 10], + "TQT_NO_TABDIALOG" => ["ntqtabdialog.h", "TQTabDialog foo;", 12], + "TQT_NO_TABLE" => ["ntqtable.h", "TQTable foo;", 10], + "TQT_NO_TABWIDGET" => ["ntqtabwidget.h", "TQTabWidget foo;", 10], + "TQT_NO_TEXTBROWSER" => ["ntqtextbrowser.h", "TQTextBrowser foo;", 14], + "TQT_NO_TEXTCODEC" => ["ntqtextcodec.h", "TQTextCodec::codecForIndex(1);", 5], + "TQT_NO_TEXTCODECPLUGIN" => ["ntqtextcodecplugin.h, qstringlist.h, qvaluelist.h, qtextcodec.h", "TQFoo foo;", 6, q£ + + class TQFoo: public TQTextCodecPlugin + { + public: + TQFoo() {}; + ~TQFoo() {}; + TQStringList names() const {return TQStringList();} + TQValueListmibEnums() const {return TQValueList();} + TQTextCodec *createForName( const TQString & name ) {return (TQTextCodec *)NULL;} + TQTextCodec *createForMib( int mib ) {return (TQTextCodec *)NULL;} + }; + TTQ_EXPORT_PLUGIN( TQFoo ) + £], + "TQT_NO_TEXTEDIT" => ["ntqtextedit.h", "TQTextEdit foo;", 13], + "TQT_NO_TEXTSTREAM" => ["ntqtextstream.h", "TQTextStream foo;", 5], + "TQT_NO_TEXTVIEW" => ["ntqtextview.h", "TQTextView foo;", 14], #Obsolete + "TQT_NO_TOOLBAR" => ["ntqtoolbar.h", "TQToolBar foo;", 10], + "TQT_NO_TOOLBUTTON" => ["ntqtoolbutton.h", "TQToolButton foo((TQWidget *) NULL );", 12], + "TQT_NO_TOOLTIP" => ["ntqtooltip.h", "TQToolTip::hide();", 10], + + "TQT_NO_TRANSFORMATIONS" => ["ntqpainter.h", q£ + TQPainter *foo= new TQPainter(); + foo->setViewXForm( true );£, 5], + "TQT_NO_VARIANT" => ["ntqvariant.h", "TQVariant foo;", 0], + "TQT_NO_WHATSTHIS" => ["ntqwhatsthis.h", "TQWhatsThis::inWhatsThisMode();", 10], + "TQT_NO_WHEELEVENT" => ["ntqevent.h", "TQWheelEvent foo( TQPoint(1,1), 1, 1 );", 5], + "TQT_NO_WIDGET_TOPEXTRA" => ["ntqwidget.h", "TQWidget foo; foo.caption();", 9], + "TQT_NO_WIDGETSTACK" => ["ntqwidgetstack.h", "TQWidgetStack foo;", 13], + "TQT_NO_WIZARD" => ["ntqwizard.h", "TQWizard foo;", 13], + "TQT_NO_WMATRIX" => ["ntqwmatrix.h", "TQWMatrix foo;", 0], + "TQT_NO_XML" => ["ntqxml.h", "TQXmlNamespaceSupport foo;", 5], + ); + +} -- cgit v1.2.1