Compare commits

...

83 Commits

Author SHA1 Message Date
Michele Calgaro 84c1344fcf
Use TDE cmake macro to set version
2 years ago
Michele Calgaro 9b5c9a25b5
Remove obsolete setting of CMAKE_MODULE_PATH in cmake files.
2 years ago
Slávek Banko 660ef2af60
Raise the minimum required version of CMake to 3.1.
2 years ago
Slávek Banko 4fd4c885fc
cmake: Install libraries according to multi-arch rules
2 years ago
Slávek Banko adba96aa2b
Remove cmake submodule since it has now been replaced by cmake-trinity dependency.
3 years ago
TDE Gitea 7df7d43f10 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
3 years ago
TDE Gitea e5a1b416bc Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
3 years ago
Michele Calgaro 687f7289ea
Fixed broken Q_FULL_TEMPLATE_INSTANTIATION define (renamed to TQ_FULL_TEMPLATE_INSTANTIATION).
3 years ago
Michele Calgaro 533ac06a21
Fixed references to TDE website.
3 years ago
TDE Gitea 90710e4427 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
3 years ago
TDE Gitea 932260f3d4 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
3 years ago
Slávek Banko 383ee1f5c6
Raise the minimum required version of CMake to 2.8.12.
3 years ago
TDE Gitea 310ed06a65 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
3 years ago
TDE Gitea 98021d1056 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
3 years ago
TDE Gitea 36354f3efe Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea ff1341e397 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea e65a90e7bb Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
Slávek Banko 6ce1ad64e9
Add quotes for the file name used as a parameter in tqt-replace scripts.
4 years ago
TDE Gitea 41712dcbc3 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea d00d348889 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 519b12ab11 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea e08f438ce5 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 7c5f86e3de Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 69e4a5011d Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 1fad181177 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 5ad7ae6678 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea ca1d9215c1 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 6ed20562bb Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 10bee25af1 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 732c9a6ef4 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea ec9ee83345 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
gregory guy be0376665a
Allow tqtinterface to build without OpenGL support.
4 years ago
TDE Gitea afc170a48e Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 1e7a9edc2a Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 99bb6396bd Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
TDE Gitea 6aebb5adfd Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
4 years ago
Slávek Banko 63acb9ade1
Switch all submodules to https.
4 years ago
Michele Calgaro 45e2a6b99f
Removed .lsm files. lsm database is outdated and unmaintained.
5 years ago
TDE Gitea fb060b1842 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
Michele Calgaro a6e71fe0b8
Removed unnecessary files and drop dependency on admin module.
5 years ago
TDE Gitea 13cc5da8bf Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea d71f33dc29 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
Michele Calgaro 932b9ea8f0
Updated date and version to R14.0.6 in .lsm files.
5 years ago
TDE Gitea db4d3ea7f0 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea d7d2c4a9ef Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
5 years ago
TDE Gitea 5446941194 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea 71ca7f5bcd Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea f04d5d5c3c Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
OBATA Akio ed5c5ff654
Prevent to use GNU sed extension feature
5 years ago
TDE Gitea 6a81255a4f Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea f242a8aabd Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea b188123cd9 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea 5a0178cf44 Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
5 years ago
TDE Gitea 2ff69e2915 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea f8d19921d6 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
5 years ago
TDE Gitea 4b352159b4 Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
6 years ago
Slávek Banko 3bbed5fde5
cmake: Add BUILD_ALL and WITH_ALL_OPTIONS for consistency with other modules
6 years ago
Slávek Banko af3beba6a8 Update version numbers and date for R14.0.5 final release
6 years ago
Slávek Banko b2b0e26b21 Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
6 years ago
Slávek Banko 2b3446c301 Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
6 years ago
Slávek Banko a11c99788e Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
6 years ago
Slávek Banko af29ce3408 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
7 years ago
Slávek Banko 00fbcb66fa Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
7 years ago
Slávek Banko ceec86f744 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
7 years ago
Slávek Banko fbb0b0c4e3 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
7 years ago
Slávek Banko d1e2983ad9 Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
7 years ago
Slávek Banko e693311dea cmake: add tde_add_check_executable macro
7 years ago
Slávek Banko a3ad32a1aa Update version number for new target R14.0.5
8 years ago
Slávek Banko c95d745ea4 Update date in lsm files
8 years ago
Slávek Banko b6ee83ab51 Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
8 years ago
Slávek Banko 7fcc4a75fa Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
8 years ago
Slávek Banko f4384c8e7e Fix usage uic-tqt without an '.ui' file in arguments
8 years ago
Slávek Banko 4af346b182 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
8 years ago
Slávek Banko 0ace282565 Update version number for new target R14.0.4
8 years ago
Slávek Banko 02db20ec44 Update date in lsm files
8 years ago
Slávek Banko 40c6a3a874 Update version number for new target R14.0.3
9 years ago
Slávek Banko bb917394b2 Update date in lsm files
9 years ago
Slávek Banko f2e4b554ce Update version number for new target R14.0.2
9 years ago
Slávek Banko 8fed89186a Update date in lsm files
9 years ago
Slávek Banko 0174f522bb Update version in lsm files
9 years ago
Slávek Banko 6056e4a51f Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
9 years ago
Slávek Banko 392edf0105 Reset submodule main/dependencies/tqtinterface/cmake to latest HEAD
9 years ago
Slávek Banko 2a0c3319b3 Reset submodule main/dependencies/tqtinterface/admin to latest HEAD
9 years ago

6
.gitmodules vendored

@ -1,6 +0,0 @@
[submodule "admin"]
path = admin
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

@ -1,13 +1,18 @@
#################################################
#
# (C) 2010-2011 Serghei Amelian
# serghei (DOT) amelian (AT) gmail.com
#
# Improvements and feedback are welcome
#
# This file is released under GPL >= 2
#
#################################################
###########################################
# #
# (C) 2010-2011 Serghei Amelian #
# serghei (DOT) amelian (AT) gmail.com #
# #
# Improvements and feedback are welcome #
# #
# This file is released under GPL >= 2 #
# #
###########################################
cmake_minimum_required( VERSION 3.1 )
#### general package setup
project( tqt )
@ -17,27 +22,68 @@ set( TQT_MICRO_VERSION 0 )
set( TQT_VERSION "${TQT_MAJOR_VERSION}.${TQT_MINOR_VERSION}.${TQT_MICRO_VERSION}" )
##### cmake setup ###############################
cmake_minimum_required( VERSION 2.8 )
#### include essential cmake modules
include( FindPkgConfig )
include( CheckFunctionExists )
include( CheckSymbolExists )
include( CheckIncludeFile )
include( CheckLibraryExists )
include( CheckCSourceCompiles )
include( CheckCXXSourceCompiles )
include( GNUInstallDirs OPTIONAL )
##### include our cmake modules
set( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/modules" )
include( TDEMacros )
include( ConfigureChecks.cmake )
##### set version number ########################
tde_set_project_version( )
##### install paths setup #######################
##### install paths setup
tde_setup_install_path( EXEC_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}" )
tde_setup_install_path( BIN_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/bin" )
if( CMAKE_INSTALL_LIBDIR )
tde_setup_install_path( LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" )
else( )
tde_setup_install_path( LIB_INSTALL_DIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}" )
endif( )
tde_setup_install_path( INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include/tqt" )
tde_setup_install_path( PKGCONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig" )
##### tqtinterface sources ######################
##### optional stuff
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_QT3 "Build TQt interface based on TQt3" ${WITH_ALL_OPTIONS} )
option( WITH_QT4 "Build TQt interface based on Qt4" OFF )
##### configure checks
include( ConfigureChecks.cmake )
###### global compiler settings
add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined" )
##### directories
add_subdirectory( qtinterface )
##### write configure files
configure_file( config.h.cmake config.h @ONLY )

@ -9,15 +9,38 @@
#
#################################################
##### setup architecture flags ##################
tde_setup_architecture_flags( )
include(TestBigEndian)
test_big_endian(WORDS_BIGENDIAN)
tde_setup_largefiles( )
macro( qt_message )
message( STATUS "${ARGN}" )
endmacro( )
if( (WITH_QT3 OR USE_QT3) AND (WITH_QT4 OR USE_QT4) )
tde_message_fatal( "Options WITH_QT3 and WITH_QT4 are mutually exclusive." )
endif( )
if( DEFINED USE_QT3 )
if( WITH_QT3 OR USE_QT3 )
set( QT_VERSION "3" )
elseif( DEFINED USE_QT4 )
elseif( WITH_QT4 OR USE_QT4 )
set( QT_VERSION "4" )
message( AUTHOR_WARNING
" ------------------------------------------------------------- \n"
" *** NOTE *** \n"
" \n"
" The code for the TQt interface based on Qt4 is not maintained \n"
" and the result can cause unexpected problems.\n"
" \n"
" It is not recommended to build a TQt interface based on Qt4!\n"
" ------------------------------------------------------------- \n"
)
endif()
@ -62,8 +85,12 @@ qt_message( " QT_INCLUDE_DIR: ${QT_INCLUDE_DIR}" )
# detect native tqt
if( EXISTS "${QT_INCLUDE_DIR}/ntqglobal.h" )
set( HAVE_REAL_TQT ON CACHE BOOL "Native TQt3 detected" )
set( TQGLWIDGET_NAME "TQGLWidget" )
set( TQGL_INCLUDE "ntqgl.h" )
qt_message( "Native TQt3 detected" )
else( )
set( TQGLWIDGET_NAME "QGLWidget" )
set( TQGL_INCLUDE "qgl.h" )
qt_message( "Qt3 detected" )
endif( )
@ -220,3 +247,44 @@ if( QT_VERSION STREQUAL "3" )
endif( )
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
##### check for OpenGL
execute_process(
COMMAND ${PKG_CONFIG_EXECUTABLE} ${QT_LIBRARIES} --variable=qt_config
OUTPUT_VARIABLE TQT_CONF_VARS
OUTPUT_STRIP_TRAILING_WHITESPACE
)
MESSAGE(STATUS "List of qt_config variables: ${TQT_CONF_VARS}")
string( REGEX MATCH " opengl " OPENGL_ENABLED " ${TQT_CONF_VARS} " )
if( OPENGL_ENABLED )
check_include_file( "OpenGL/glu.h" HAVE_GLU_OPENGL )
check_include_file( "GL/glu.h" HAVE_GLU_GL )
tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
set( CMAKE_REQUIRED_INCLUDES ${QT_INCLUDE_DIR} )
set( CMAKE_REQUIRED_LIBRARIES -L${QT_LIBRARY_DIR} ${QT_LIBRARIES} )
check_cxx_source_compiles("
#include <cstdlib>
#include <${TQGL_INCLUDE}>
int main( int, char** )
{
(void) new ${TQGLWIDGET_NAME}( NULL, \"qgl\" ) ;
return EXIT_SUCCESS ;
}"
TQGLWIDGET )
tde_restore( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )
if( ( HAVE_GLU_OPENGL OR HAVE_GLU_GL ) AND TQGLWIDGET )
set( HAVE_OPENGL 1 )
else()
tde_message_fatal( "OpenGL has been requested, but neither the OpenGL headers or tqt3 with OpenGL support have been found on your system" )
endif()
endif( OPENGL_ENABLED )

@ -1,37 +0,0 @@
# This file is part of the KDE libraries
# Copyright (C) 1996-1997 Matthias Kalle Dalheimer (kalle@kde.org)
# (C) 1997,1998 Stephan Kulow (coolo@kde.org)
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public License
# along with this library; see the file COPYING.LIB. If not, write to
# the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
COMPILE_FIRST = libltdl qtinterface
# COMPILE_BEFORE_doc = qtinterface
$(top_srcdir)/acinclude.m4: $(top_srcdir)/libltdl/ltdl.m4
AUTOMAKE_OPTIONS = foreign 1.6.1
EXTRA_DIST = admin \
COMPILING DEBUG \
NAMING tqtinterface.lsm \
configure.in.in configure.in.mid configure.in.bot
MAINTAINERCLEANFILES = configure.files subdirs
dist-hook:
cd $(top_distdir) && perl $(top_srcdir)/admin/am_edit -padmin

@ -127,7 +127,7 @@ So, here are some tips on bug reporting:
older, deprecated versions usually don't get that much attention :-)
* Also the chance is high that another one experienced your problem. The
bug report wizard at http://bugs.pearsoncomputing.net will help you to
bug report wizard at http://bugs.trinitydesktop.org will help you to
find out if your problem has already been reported.
* The best bug report for a project based on voluntary work is of course one
@ -136,4 +136,4 @@ So, here are some tips on bug reporting:
More info
---------
http://trinity.pearsoncomputing.net
http://www.trinitydesktop.org

@ -1 +0,0 @@
Subproject commit 04db460623e1f235e7239f08fdcc2d0ef72636af

@ -1 +0,0 @@
Subproject commit 1994b808819fd74446cb8f1a0491b3e10244f463

@ -0,0 +1,11 @@
#define VERSION "@TQT_VERSION@"
// Defined if you have fvisibility and fvisibility-inlines-hidden support.
#cmakedefine __KDE_HAVE_GCC_VISIBILITY 1
/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@
/* Defined if you build with OpenGL */
#cmakedefine HAVE_OPENGL 1

@ -1,2 +0,0 @@
dnl put here things which have to be done as very last part of configure

@ -1,363 +0,0 @@
# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas
dnl Process this file with autoconf to produce a configure script.
AC_INIT(acinclude.m4) dnl a source file from your sub dir
dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)
dnl Setting the prefix for tdelibs uses a special version of KDE_SET_PREFIX
dnl (since that one normally looks for existing kde installations)
KDE_SET_PREFIX_CORE
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(@MODULENAME@, @VERSION@) dnl searches for some needed programs
AM_MAINTAINER_MODE
AC_PROG_INSTALL
dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done
dnl Checks for programs.
AC_CHECK_COMPILERS
AC_LIBLTDL_CONVENIENCE
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL
AC_LANG_SAVE
AC_LANG_C
KDE_LIB_LTDL
AC_LANG_RESTORE
dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files, GNU_GETTEXT for the sources
AM_KDE_WITH_NLS
AM_KDE_GNU_GETTEXT
dnl Checks for header files.
KDE_CHECK_STL
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS(sys/param.h sys/mman.h sys/time.h sysent.h strings.h sys/stat.h sys/select.h paths.h malloc.h limits.h sys/soundcard.h dlfcn.h termios.h sys/prctl.h)
AC_ARG_WITH(acl,
[AC_HELP_STRING(--with-acl,
[enable support for POSIX ACLs @<:@default=check@:>@])],
[], with_acl=check)
ACL_LIBS=""
if test "x$with_acl" != xno; then
USE_POSIX_ACL=yes
HAVE_NON_POSIX_ACL_EXTENSIONS=no
KDE_CHECK_HEADER(sys/acl.h, ,[USE_POSIX_ACL="no"])
HAVE_SYS_XATTR_H=no
KDE_CHECK_HEADER(sys/xattr.h,[HAVE_SYS_XATTR_H="yes"],)
if test "$HAVE_SYS_XATTR_H" = "yes" ; then
AC_DEFINE([HAVE_SYS_XATTR_H], 1, [Define if system has the sys/xattr.h header.])
fi
case $host in
*-*-freebsd*)
KDE_CHECK_LIB(c,acl_init,[ACL_LIBS="-lc"],[USE_POSIX_ACL="no"])
;;
*)
KDE_CHECK_HEADER(attr/libattr.h, ,[USE_POSIX_ACL="no"])
KDE_CHECK_LIB(acl,acl_init,[ACL_LIBS="-lacl -lattr"],[USE_POSIX_ACL="no"])
KDE_CHECK_HEADER(acl/libacl.h,[HAVE_NON_POSIX_ACL_EXTENSIONS="yes"],)
if test "$HAVE_SYS_XATTR_H" = "no" ; then
USE_POSIX_ACL="no"
fi
;;
esac
if test "$USE_POSIX_ACL" = "yes" ; then
AC_DEFINE([USE_POSIX_ACL], 1, [Define if system has POSIX ACL support.])
if test "$HAVE_NON_POSIX_ACL_EXTENSIONS" = "yes" ; then
AC_DEFINE([HAVE_NON_POSIX_ACL_EXTENSIONS], 1, [Define if system has non-POSIX extensions to the ACL support.])
fi
fi
if test "x$with_acl" != xcheck && test "$USE_POSIX_ACL" != "yes"; then
AC_MSG_ERROR([--with-acl was given, but test for POSIX ACLs failed])
fi
fi
AC_SUBST(ACL_LIBS)
DCOPIDL2CPP="compiled"
DCOPIDL="compiled"
DCOPIDLNG="compiled"
MEINPROC="compiled"
KDECONFIG="compiled"
KCONFIG_COMPILER="compiled"
MAKETDEWIDGETS="compiled"
dnl Checks for libraries etc
ac_cpp_safe=$ac_cpp
ac_CPPFLAGS_safe=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $X_INCLUDES"
ac_cpp='$CXXCPP $CPPFLAGS'
KDE_CHECK_HEADERS(X11/extensions/shape.h,,,
[
#include <X11/Xlib.h>
#include <X11/Xutil.h>
])
KDE_CHECK_HEADERS(X11/extensions/XShm.h,
[have_mitshm=yes], [have_mitshm=no], [#include <X11/Xlib.h>])
KDE_CHECK_HEADERS(X11/ICE/ICElib.h)
KDE_CHECK_HEADER(sys/sendfile.h, [have_sendfile=yes], )
ac_cpp=$ac_cpp_safe
CPPFLAGS=$ac_CPPFLAGS_safe
dnl Checks for typedefs, structures, and compiler characteristics.
AC_HEADER_TIME
AC_LANG_SAVE
AC_LANG_C
dnl AC_C_BIGENDIAN has a bug (one of its tests uses "main()" instead of
dnl "int main()") so C++ compilers would break. Thats why we switch languages
AC_C_BIGENDIAN
AC_LANG_RESTORE
dnl check if the compiler has bool
AC_CHECK_BOOL
dnl Checks for library functions.
AC_CHECK_SETENV
AC_CHECK_UNSETENV
AC_CHECK_RANDOM
AC_CHECK_MKSTEMPS
AC_CHECK_MKSTEMP
AC_CHECK_MKDTEMP
AC_CHECK_FUNCS(strtoll socket seteuid setegid strfmon stpcpy gettimeofday readdir_r setpriority tcgetattr tcsetattr)
AH_BOTTOM([
/* provide a definition for a 32 bit entity, usable as a typedef, possibly
extended by "unsigned" */
#undef INT32_BASETYPE
#ifdef SIZEOF_INT
#if SIZEOF_INT == 4
#define INT32_BASETYPE int
#endif
#endif
#if !defined(INT32_BASETYPE) && defined(SIZEOF_LONG)
#if SIZEOF_LONG == 4
#define INT32_BASETYPE long
#endif
#endif
#ifndef INT32_BASETYPE
#define INT32_BASETYPE int
#endif
#ifndef HAVE_SETEUID
#define HAVE_SETEUID
#define HAVE_SETEUID_FAKE
#ifdef __cplusplus
extern "C"
#endif
int seteuid(INT32_BASETYPE euid); /* defined in fakes.c */
#endif
])
AC_CHECK_USLEEP
AC_CHECK_GETHOSTNAME
AC_CHECK_RANDOM
AC_CHECK_S_ISSOCK
AC_CHECK_INITGROUPS
AC_MSG_CHECKING([for mount tab file])
AC_CACHE_VAL(kde_cv_mtab_file,
[
kde_cv_mtab_file=no
for ac_file in \
\
/etc/mtab \
/etc/mnttab \
; \
do
if test -r "$ac_file"; then
kde_cv_mtab_file=$ac_file
break
fi
done
])
AC_MSG_RESULT($kde_cv_mtab_file)
if test "$kde_cv_mtab_file" != "no"; then
AC_DEFINE_UNQUOTED(MTAB_FILE, "$kde_cv_mtab_file", [Define the file for mount entries])
fi
dnl Check for Qt
AC_PATH_QT
if test -n "$qt_includes"; then
QNAMESPACE_H="$qt_includes/qnamespace.h"
fi
AC_SUBST(QNAMESPACE_H)
AC_LANG_SAVE
AC_LANG_CPLUSPLUS
AC_MSG_CHECKING([if getmntinfo() uses struct statvfs])
AC_TRY_LINK([#include <sys/types.h>
#include <sys/statvfs.h>
],[int flags = 0; struct statvfs *mntbufp; return getmntinfo(&mntbufp, flags);],
[AC_MSG_RESULT(yes)
AC_DEFINE(GETMNTINFO_USES_STATVFS,,[getmntinfo() uses struct statvfs])],
AC_MSG_RESULT(no))
AC_LANG_RESTORE
dnl output files
AC_SUBST(x_includes)
AC_SUBST(x_libraries)
AC_SUBST(LIBSOCKET)
AC_SUBST(LIBCOMPAT)
AC_SUBST(LIBUTIL)
AC_SUBST(LIBRESOLV)
AC_SUBST(LIBICE)
AC_SUBST(LIB_TQT, '$(top_builddir)/qtinterface/libtqt.la')
AC_SUBST(EXTRA_SUBDIRS)
AC_MSG_CHECKING(if sendfile() is wanted)
AC_ARG_ENABLE(sendfile,
AC_HELP_STRING([--enable-sendfile],[enable the use of sendfile() (Linux only)]),
[if test "$enableval" = yes; then
AC_MSG_RESULT(yes)
want_sendfile="yes"
else
AC_MSG_RESULT(no)
fi], [AC_MSG_RESULT(no)])
if test "$want_sendfile" = "yes" -a "$have_sendfile" = "yes"; then
AC_SUBST(HAVE_SENDFILE)
AC_DEFINE(HAVE_SENDFILE,1,[Define if you want sendfile() support])
fi
AC_MSG_CHECKING(if MIT-SHM support is wanted)
AC_ARG_ENABLE(mitshm,
AC_HELP_STRING([--enable-mitshm],[use MIT-SHM for pixmap loading/saving]),
[if test "$enableval" = yes; then
AC_MSG_RESULT(yes)
want_mitshm="yes"
else
AC_MSG_RESULT(no)
fi], [AC_MSG_RESULT(yes); want_mitshm="yes"])
if test "$want_mitshm" = "yes" -a "$have_mitshm" = "yes"; then
AC_SUBST(HAVE_MITSHM)
AC_DEFINE(HAVE_MITSHM,1,[Define if you want MIT-SHM support])
fi
AC_CHECK_FUNC(posix_fadvise,[AC_DEFINE(HAVE_FADVISE,1,[Define is posix_fadvise is supported] )])
ac_save_LIBS="$LIBS"
LIBS="$LIBS $X_LDFLAGS -lICE"
AC_CHECK_FUNCS(_IceTransNoListen)
LIBS="$ac_save_LIBS"
if test "x$kde_use_qt_emb" != "xyes"; then
CXXFLAGS="$CXXFLAGS $USE_RTTI"
fi
AC_ARG_WITH([rgbfile],
AC_HELP_STRING([--with-rgbfile=path], [Define custom path for rgb.txt. (default: \$(x11libdir)/X11/rgb.txt)]),
[rgb_file=$withval], [rgb_file="$x_libraries/X11/rgb.txt"])
AC_DEFINE_UNQUOTED(X11_RGBFILE, "$rgb_file", [where rgb.txt is in])
AC_MSG_CHECKING([for Compiler version])
case "$CXX" in
xlC*)
# The __IBMCPP__ macro contains the C++ compiler version in decimal notation.
echo "__IBMCPP__" > conftest.C
# Preprocess and at least make sure it's returned a number.
changequote(, )dnl
$CXX -E conftest.C 2>&1 | grep "^[0-9][0-9][0-9]" > conftest.i
changequote([, ])dnl
# "502" would signify version 5.0.2.
clean_compiler_version="$CXX version "`cut -b1 conftest.i`"."`cut -b2 conftest.i`"."`cut -b3 conftest.i`
rm -f conftest.C conftest.i
;;
KCC*)
# KCC doesn't give it's version, if nothing is compiled (the frontend
# isn't called in that case)
rm -f conftest.C conftest.o
echo "void f(void) {}" > conftest.C
clean_compiler_version=`$CXX -V -c conftest.C -o conftest.o 2>&1 | sed 's/--.*//'`
rm -f conftest.C conftest.o
;;
*)
for flag in '-v' '-V' '--version' '-version'; do
compiler_version=`$CXX $flag 2>&1 | egrep -v "Reading specs|Using built-?in specs|Configured with|Thread model" | head -n 1`
clean_compiler_version=`echo $compiler_version | egrep -vi 'Usage|ERROR|unknown option|WARNING|missing|###'`
test -n "$clean_compiler_version" && break
done
;;
esac
# Quote backslashesm, as we are going to make this a string.
clean_compiler_version=`echo $clean_compiler_version | sed 's/\([\\\\]\)/\\\\\\1/g'`
if test -z "$clean_compiler_version"; then
clean_compiler_version="unknown"
fi
AC_DEFINE_UNQUOTED(KDE_COMPILER_VERSION, "$clean_compiler_version", [what C++ compiler was used for compilation])
AC_MSG_RESULT($clean_compiler_version)
AC_MSG_CHECKING([for uname])
case `uname -s` in
AIX)
IBM_ARCH=PowerPC #good default
if [ -x /usr/sbin/lsdev -a -x /usr/sbin/lsattr ]; then
IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'`
if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
IBM_ARCH=POWER
fi
fi
uname_string=`uname -svr | awk '{ print $1" "$3"."$2 }'`" ${IBM_ARCH}"
;;
*)
uname_string=`uname -smr`
;;
esac
AC_DEFINE_UNQUOTED(KDE_COMPILING_OS, "$uname_string", [what OS used for compilation])
AC_MSG_RESULT($uname_string)
AC_MSG_CHECKING([for distribution channel])
AC_ARG_WITH(distribution,
AC_HELP_STRING([--with-distribution],[indicate the distribution in bug reports]),
[kde_distribution_text="$withval"
], [kde_distribution_text='compiled sources'])
AC_DEFINE_UNQUOTED(KDE_DISTRIBUTION_TEXT, "$kde_distribution_text", [Distribution Text to append to OS])
AC_MSG_RESULT($kde_distribution_text)
AC_ARG_WITH(utempter,
[AC_HELP_STRING([--with-utempter], [use utempter for utmp management @<:@default=check@:>@])],
[], with_utempter=check)
if test "x$with_utempter" != xno; then
kde_have_utempter=yes
AC_CHECK_LIB(utempter, addToUtmp, [LIBUTEMPTER=-lutempter], kde_have_utempter=no)
AC_SUBST(LIBUTEMPTER)
if test "$kde_have_utempter" = "yes"; then
AC_DEFINE_UNQUOTED(HAVE_UTEMPTER, 1, [Define if you have the utempter helper for utmp managment])
fi
if test "x$with_utempter" != xcheck && test "x$kde_have_utempter" != xyes; then
AC_MSG_ERROR([--with-utempter was given, but test for utempter failed])
fi
fi
KDE_INIT_DOXYGEN([The KDE API Reference], [Version $VERSION])
KDE_CHECK_BINUTILS

@ -1,7 +0,0 @@
dnl put here things which have to be done after all usual autoconf macros
dnl have been run, but before the Makefiles are created
all_includes='-I$(top_srcdir)/qtinterface -I$(top_srcdir) $(QT_INCLUDES) $(X_INCLUDES) $(KDE_INCLUDES) $(USER_INCLUDES)'
AC_SUBST(all_includes)
CXXFLAGS="$CXXFLAGS $KDE_DEFAULT_CXXFLAGS"

@ -24,6 +24,7 @@ include_directories(
${QT_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/${IFACE}
${CMAKE_CURRENT_SOURCE_DIR}/${IFACE}/private
${CMAKE_BINARY_DIR}
)
link_directories(

@ -1,177 +0,0 @@
# This Makefile.am was taken from the tdelibs distribution and
# modified for tqtinterface. Timothy Pearson (6/29/2010)
#
# Copyright (c) 2010 Timothy Pearson <kb9vqf@pearsoncomputing.net>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# TRINITY PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
SUBDIRS = .
KDE_OPTIONS = qtonly
INCLUDES = $(all_includes)
bin_PROGRAMS =
check_PROGRAMS =
lib_LTLIBRARIES = libtqt.la
libtqt_la_SOURCES = tqt.cpp tqaccel.cpp tqaccessible.cpp tqaction.cpp tqapplication.cpp tqasyncio.cpp \
tqbuttongroup.cpp tqbutton.cpp \
tqcanvas.cpp tqcdestyle.cpp tqcheckbox.cpp tqclipboard.cpp tqcolordialog.cpp tqcombobox.cpp tqcommonstyle.cpp \
tqdatabrowser.cpp tqdatatable.cpp tqdataview.cpp tqdatetimeedit.cpp tqdesktopwidget.cpp tqdial.cpp tqdialog.cpp tqdns.cpp tqdockarea.cpp tqdockwindow.cpp tqdragobject.cpp \
tqerrormessage.cpp tqeventloop.cpp \
tqframe.cpp tqftp.cpp tqfiledialog.cpp tqfontdialog.cpp \
tqgl.cpp tqgplugin.cpp tqgrid.cpp tqgridview.cpp tqgroupbox.cpp tqguardedptr.cpp \
tqhbox.cpp tqhbuttongroup.cpp tqheader.cpp tqhgroupbox.cpp tqhttp.cpp \
tqiconview.cpp tqimageformatplugin.cpp tqinputcontext.cpp tqinputdialog.cpp \
tqlabel.cpp tqlayout.cpp tqlcdnumber.cpp tqlineedit.cpp tqlistbox.cpp tqlistview.cpp tqlocalfs.cpp \
tqmainwindow.cpp tqmenubar.cpp tqmessagebox.cpp tqmotifplusstyle.cpp tqmotifstyle.cpp tqmultilineedit.cpp \
tqnetworkprotocol.cpp tqnp.cpp \
tqobjectcleanuphandler.cpp tqobject.cpp \
tqplatinumstyle.cpp tqpopupmenu.cpp tqprintdialog.cpp tqprocess.cpp tqprogressbar.cpp tqprogressdialog.cpp tqpushbutton.cpp \
tqradiobutton.cpp tqrangecontrol.cpp \
tqscrollbar.cpp tqscrollview.cpp tqsemimodal.cpp tqserversocket.cpp tqsessionmanager.cpp tqsgistyle.cpp tqsignal.cpp tqsignalmapper.cpp tqsizegrip.cpp tqslider.cpp tqsocket.cpp tqsocketnotifier.cpp tqsound.cpp tqspinbox.cpp tqsplashscreen.cpp tqsplitter.cpp tqsqldatabase.cpp tqsqldriver.cpp tqsqldriverplugin.cpp tqsqlform.cpp tqsqlquery.cpp tqstatusbar.cpp tqstyle.cpp tqstyleplugin.cpp tqstylesheet.cpp \
tqtabbar.cpp tqtabdialog.cpp tqtable.cpp tqtabwidget.cpp tqtextbrowser.cpp tqtextcodecplugin.cpp tqtextedit.cpp tqtextview.cpp tqtimer.cpp tqtoolbar.cpp tqtoolbox.cpp tqtoolbutton.cpp tqtooltip.cpp tqtranslator.cpp \
tqurloperator.cpp \
tqvalidator.cpp tqvbox.cpp tqvbuttongroup.cpp tqvgroupbox.cpp \
tqwidget.cpp tqwidgetplugin.cpp tqwidgetstack.cpp tqwindowsstyle.cpp tqwizard.cpp tqworkspace.cpp \
\
tq1xcompatibility.cpp \
tqabstractlayout.cpp tqasciicache.cpp tqasciidict.cpp tqassistantclient.cpp tqasyncimageio.cpp \
tqbig5codec.cpp tqbitarray.cpp tqbitmap.cpp tqbrush.cpp tqbuffer.cpp \
tqcache.cpp tqcleanuphandler.cpp tqcolor.cpp tqcompactstyle.cpp tqconnection.cpp tqcstring.cpp tqcursor.cpp \
tqdatastream.cpp tqdatetime.cpp tqdeepcopy.cpp tqdict.cpp tqdir.cpp tqdom.cpp tqdrawutil.cpp tqdropsite.cpp \
tqeditorfactory.cpp tqeucjpcodec.cpp tqeuckrcodec.cpp tqevent.cpp \
tqfile.cpp tqfileinfo.cpp tqfocusdata.cpp tqfontdatabase.cpp tqfont.cpp tqfontinfo.cpp tqfontmetrics.cpp \
tqgarray.cpp tqgb18030codec.cpp tqgcache.cpp tqgdict.cpp tqglcolormap.cpp tqglist.cpp tqgvector.cpp \
tqhostaddress.cpp \
tqiconset.cpp tqimage.cpp tqinputcontextfactory.cpp tqintcache.cpp tqintdict.cpp tqinterlacestyle.cpp tqiodevice.cpp \
tqjiscodec.h tqjpunicode.cpp \
tqkeysequence.cpp \
tqlibrary.cpp tqlocale.cpp \
tqmap.cpp tqmemarray.cpp tqmenudata.cpp tqmetaobject.cpp tqmime.cpp tqmovie.cpp tqmutex.cpp \
tqnamespace.cpp \
tqobjectdict.cpp tqobjectlist.cpp \
tqpaintdevice.cpp tqpaintdevicemetrics.cpp tqpainter.cpp tqpair.cpp tqpalette.cpp tqpen.cpp tqpicture.cpp tqpixmapcache.cpp tqpixmap.cpp tqpngio.cpp tqpointarray.cpp tqpoint.cpp tqpolygonscanner.cpp tqprinter.cpp tqptrcollection.cpp tqptrdict.cpp tqptrlist.cpp tqptrqueue.cpp tqptrstack.cpp tqptrvector.cpp \
tqrect.cpp tqregexp.cpp tqregion.cpp tqrtlcodec.cpp \
tqsemaphore.cpp tqsettings.cpp tqshared.cpp tqsignalslotimp.cpp tqsimplerichtext.cpp tqsize.cpp tqsizepolicy.cpp tqsjiscodec.cpp tqsocketdevice.cpp tqsortedlist.cpp tqsqlcursor.cpp tqsqleditorfactory.cpp tqsqlerror.cpp tqsqlfield.cpp tqsql.cpp tqsqlindex.cpp tqsqlpropertymap.cpp tqsqlrecord.cpp tqsqlresult.cpp tqsqlselectcursor.cpp tqstring.cpp tqstringlist.cpp tqstrlist.cpp tqstrvec.cpp tqstylefactory.cpp tqsyntaxhighlighter.cpp \
tqtextcodecfactory.cpp tqtextcodec.cpp tqtextstream.cpp tqthread.cpp tqthreadstorage.cpp tqtl.cpp tqtsciicodec.cpp \
tqurl.cpp tqurlinfo.cpp tqutfcodec.cpp tquuid.cpp \
tqvaluelist.cpp tqvaluestack.cpp tqvaluevector.cpp tqvariant.cpp tqvfbhdr.cpp \
tqwaitcondition.cpp tqwhatsthis.cpp tqwidgetfactory.cpp tqwidgetintdict.cpp tqwidgetlist.cpp tqwmatrix.cpp \
tqxml.cpp \
\
private/tqucomextra_p.cpp \
\
tqlistiterator.cpp
libtqt_la_LIBADD = $(LIB_QT) -ltqassistantclient
libtqt_la_LDFLAGS = $(KDE_RPATH) -version-info 6:0:2 -no-undefined $(all_libraries) -ltqassistantclient
include_HEADERS = tqt.h tqtglobaldefines.h tqaccel.h tqaccessible.h tqaction.h tqapplication.h tqassistantclient.h tqasyncio.h \
tqbuttongroup.h tqbutton.h \
tqcanvas.h tqcdestyle.h tqcheckbox.h tqclipboard.h tqcolordialog.h tqcombobox.h tqcommonstyle.h \
tqdatabrowser.h tqdatatable.h tqdataview.h tqdatetimeedit.h tqdesktopwidget.h tqdial.h tqdialog.h tqdns.h tqdockarea.h tqdockwindow.h tqdragobject.h \
tqerrormessage.h tqeventloop.h \
tqfiledialog.h tqfontdialog.h tqframe.h tqftp.h \
tqgl.h tqgplugin.h tqgrid.h tqgridview.h tqgroupbox.h tqguardedptr.h \
tqhbox.h tqhbuttongroup.h tqheader.h tqhgroupbox.h tqhttp.h \
tqiconview.h tqimageformatplugin.h tqinputcontext.h tqinputdialog.h \
tqlabel.h tqlayout.h tqlcdnumber.h tqlineedit.h tqlistbox.h tqlistview.h tqlocalfs.h \
tqmainwindow.h tqmenubar.h tqmessagebox.h tqmotifplusstyle.h tqmotifstyle.h tqmultilineedit.h \
tqnetworkprotocol.h tqnp.h \
tqobjectcleanuphandler.h tqobject.h \
tqplatinumstyle.h tqpopupmenu.h tqprintdialog.h tqprocess.h tqprogressbar.h tqprogressdialog.h tqpushbutton.h \
tqradiobutton.h tqrangecontrol.h \
tqscrollbar.h tqscrollview.h tqsemimodal.h tqserversocket.h tqsessionmanager.h tqsgistyle.h tqsignal.h tqsignalmapper.h tqsizegrip.h tqslider.h tqsocket.h tqsocketnotifier.h tqsound.h tqspinbox.h tqsplashscreen.h tqsplitter.h tqsqldatabase.h tqsqldriver.h tqsqldriverplugin.h tqsqlform.h tqsqlquery.h tqstatusbar.h tqstyle.h tqstyleplugin.h tqstylesheet.h \
tqtabbar.h tqtabdialog.h tqtable.h tqtabwidget.h tqtextbrowser.h tqtextcodecplugin.h tqtextedit.h tqtextview.h tqtimer.h tqtoolbar.h tqtoolbox.h tqtoolbutton.h tqtooltip.h tqtranslator.h \
tqurloperator.h \
tqvalidator.h tqvbox.h tqvbuttongroup.h tqvgroupbox.h \
tqwidget.h tqwidgetplugin.h tqwidgetstack.h tqwindowsstyle.h tqwizard.h tqworkspace.h \
\
tqapp.h tqarray.h tqbitarry.h tqbttngrp.h tqchkbox.h tqclipbrd.h tqcollect.h tqcollection.h tqcombo.h tqconfig.h tqconnect.h tqdatetm.h tqdrawutl.h tqdstream.h tqfeatures.h tqfiledef.h tqfiledlg.h tqfileinf.h tqfontinf.h tqfontmet.h tqgbkcodec.h tqgeneric.h tqgif.h tqglobal.h tqgrpbox.h tqintcach.h tqiodev.h tqjpegio.h tqkeycode.h tqlcdnumber.h tqlined.h tqlist.h tqmenudta.h tqmetaobj.h tqmlined.h tqmngio.h tqmodules.h tqmsgbox.h tqmultilinedit.h tqnetwork.h tqobjcoll.h tqobjdefs.h tqpaintdc.h tqpaintd.h tqpdevmet.h tqpmcache.h tqpntarry.h tqpopmenu.h tqprndlg.h tqprogbar.h tqprogdlg.h tqpushbt.h tqqueue.h tqradiobt.h tqrangect.h tqscrbar.h tqsession.h tqsocknot.h tqstack.h tqtabdlg.h tqtstream.h tqvector.h tqwidcoll.h tqwindefs.h tqwindowdefs.h tqwinexport.h \
\
tq1xcompatibility.h \
tqabstractlayout.h tqasciicache.h tqasciidict.h tqasyncimageio.h \
tqbig5codec.h tqbitarray.h tqbitmap.h tqbrush.h tqbuffer.h \
tqcache.h tqcleanuphandler.h tqcolor.h tqcompactstyle.h tqconnection.h tqcstring.h tqcursor.h \
tqdatastream.h tqdatetime.h tqdeepcopy.h tqdict.h tqdir.h tqdom.h tqdrawutil.h tqdropsite.h \
tqeditorfactory.h tqeucjpcodec.h tqeuckrcodec.h tqevent.h \
tqfile.h tqfileinfo.h tqfocusdata.h tqfontdatabase.h tqfont.h tqfontinfo.h tqfontmetrics.h \
tqgarray.h tqgb18030codec.h tqgcache.h tqgdict.h tqglcolormap.h tqglist.h tqgvector.h \
tqhostaddress.h \
tqiconset.h tqimage.h tqinputcontextfactory.h tqintcache.h tqintdict.h tqinterlacestyle.h tqiodevice.h \
tqjiscodec.h tqjpunicode.h \
tqkeysequence.h \
tqlibrary.h tqlocale.h \
tqmap.h tqmemarray.h tqmenudata.h tqmetaobject.h tqmime.h tqmovie.h tqmutex.h \
tqnamespace.h \
tqobjectdict.h tqobjectlist.h \
tqpaintdevice.h tqpaintdevicemetrics.h tqpainter.h tqpair.h tqpalette.h tqpen.h tqpicture.h tqpixmapcache.h tqpixmap.h tqpngio.h tqpointarray.h tqpoint.h tqpolygonscanner.h tqprinter.h tqptrcollection.h tqptrdict.h tqptrlist.h tqptrqueue.h tqptrstack.h tqptrvector.h \
tqrect.h tqregexp.h tqregion.h tqrtlcodec.h \
tqsemaphore.h tqsettings.h tqshared.h tqsignalslotimp.h tqsimplerichtext.h tqsize.h tqsizepolicy.h tqsjiscodec.h tqsocketdevice.h tqsortedlist.h tqsqlcursor.h tqsqleditorfactory.h tqsqlerror.h tqsqlfield.h tqsql.h tqsqlindex.h tqsqlpropertymap.h tqsqlrecord.h tqsqlresult.h tqsqlselectcursor.h tqstring.h tqstringlist.h tqstrlist.h tqstrvec.h tqstylefactory.h tqsyntaxhighlighter.h \
tqtextcodecfactory.h tqtextcodec.h tqtextstream.h tqthread.h tqthreadstorage.h tqtl.h tqtsciicodec.h \
tqurl.h tqurlinfo.h tqutfcodec.h tquuid.h \
tqvaluelist.h tqvaluestack.h tqvaluevector.h tqvariant.h tqvfbhdr.h \
tqwaitcondition.h tqwhatsthis.h tqwidgetfactory.h tqwidgetintdict.h tqwidgetlist.h tqwmatrix.h \
tqxml.h \
\
private/tqucomextra_p.h \
private/tqlayoutengine_p.h \
private/tqpluginmanager_p.h \
private/tqwidgetinterface_p.h \
private/tqcom_p.h \
private/tqucom_p.h \
private/tqinternal_p.h \
private/tqeffects_p.h \
private/tqrichtext_p.h \
private/tqtextengine_p.h \
\
tqlistiterator.h
noinst_HEADERS =
METASOURCES = AUTO
DOXYGEN_REFERENCES = tqt
DOXYGEN_EXCLUDE = KDE-ICE
include ../admin/Doxyfile.am
if USE_QT3
QT_VER_REPLACE = s/QT_VER=X/QT_VER=3/g
QT_HVER_REPLACE = s/USE_QTX/USE_QT3/g
endif
if USE_QT4
QT_VER_REPLACE = s/QT_VER=X/QT_VER=4/g
QT_HVER_REPLACE = s/USE_QTX/USE_QT4/g
endif
install-exec-local:
test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
cp -Rp "$(srcdir)/tqt-replace" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/tqt-replace-stream" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/moc-tqt" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/uic-tqt" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/mcopidl-tqt" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/dcopidl-tqt" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/dcopidlng-tqt" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/dcopidl2cpp-tqt" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/convert_qt_tqt1" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/convert_qt_tqt2" "$(DESTDIR)$(bindir)/"
cp -Rp "$(srcdir)/convert_qt_tqt3" "$(DESTDIR)$(bindir)/"
sed -i '$(QT_VER_REPLACE)' "$(DESTDIR)$(bindir)/tqt-replace"
sed -i '$(QT_VER_REPLACE)' "$(DESTDIR)$(bindir)/tqt-replace-stream"
sed -i '$(QT_HVER_REPLACE)' "$(srcdir)/tqt.h"
cp -Rp "$(srcdir)/tqt4/" "$(DESTDIR)$(includedir)/"

@ -1,7 +0,0 @@
#MIN_CONFIG
AC_ARG_ENABLE(qt4support, [ --enable-qt4 Enable Qt4 support (this will disable all Qt3 support) ], with_qt4support=$enableval, with_qt4support=no)
AM_CONDITIONAL(USE_QT3, test "$with_qt4support" = "no")
AM_CONDITIONAL(USE_QT4, test "$with_qt4support" = "yes")
AC_PATH_PROGS(MD5SUM, [md5sum gmd5sum], [md5sum])

@ -1,356 +0,0 @@
kdemacros.h.in
parser.sh
tq1xcompatibility.h
tqabstractlayout.h
tqaccel.h
tqaccessible.h
tqaction.h
tqapp.h
tqapplication.h
tqarray.h
tqasciicache.cpp
tqasciicache.h
tqasciidict.h
tqasyncimageio.h
tqasyncio.h
tqbig5codec.h
tqbitarray.h
tqbitarry.h
tqbitmap.h
tqbrush.cpp
tqbrush.h
tqbttngrp.h
tqbuffer.h
tqbuttongroup.h
tqbutton.h
tqcache.cpp
tqcache.h
tqcanvas.h
tqcdestyle.h
tqcheckbox.cpp
tqcheckbox.h
tqchkbox.h
tqcleanuphandler.cpp
tqcleanuphandler.h
tqclipboard.h
tqclipbrd.h
tqcollect.h
tqcollection.h
tqcolordialog.h
tqcolor.h
tqcombobox.h
tqcombo.h
tqcommonstyle.h
tqcompactstyle.h
tqconfig.h
tqconnect.h
tqconnection.h
tqcstring.h
tqcursor.h
tqdatabrowser.h
tqdatastream.h
tqdatatable.h
tqdataview.h
tqdatetimeedit.h
tqdatetime.h
tqdatetm.h
tqdeepcopy.h
tqdesktopwidget.h
tqdial.h
tqdialog.h
tqdict.h
tqdir.h
tqdns.h
tqdockarea.h
tqdockwindow.h
tqdom.h
tqdragobject.h
tqdrawutil.h
tqdrawutl.h
tqdropsite.h
tqdstream.h
tqeditorfactory.h
tqerrormessage.h
tqeucjpcodec.h
tqeuckrcodec.h
tqevent.h
tqeventloop.h
tqfeatures.h
tqfiledef.h
tqfiledialog.h
tqfiledlg.h
tqfile.h
tqfileinf.h
tqfileinfo.h
tqfocusdata.h
tqfontdatabase.h
tqfontdialog.h
tqfont.h
tqfontinf.h
tqfontinfo.h
tqfontmet.h
tqfontmetrics.h
tqframe.h
tqftp.h
tqgarray.h
tqgb18030codec.h
tqgbkcodec.h
tqgcache.cpp
tqgcache.h
tqgdict.h
tqgeneric.h
tqgif.h
tqglcolormap.h
tqgl.h
tqglist.h
tqglobal.h
tqgplugin.h
tqgrid.h
tqgridview.h
tqgroupbox.h
tqgrpbox.h
tqguardedptr.h
tqgvector.h
tqhbox.cpp
tqhbox.h
tqhbuttongroup.cpp
tqhbuttongroup.h
tqheader.cpp
tqheader.h
tqhgroupbox.cpp
tqhgroupbox.h
tqhostaddress.cpp
tqhostaddress.h
tqhttp.cpp
tqhttp.h
tqiconset.h
tqiconview.h
tqimageformatplugin.h
tqimage.h
tqinputcontextfactory.h
tqinputcontext.h
tqinputdialog.h
tqintcache.cpp
tqintcache.h
tqintcach.h
tqintdict.h
tqinterlacestyle.h
tqiodev.h
tqiodevice.h
tqjiscodec.h
tqjpegio.h
tqjpunicode.h
tqkeycode.h
tqkeysequence.h
tqlabel.h
tqlayout.h
tqlcdnumber.h
tqlcdnum.h
tqlibrary.h
tqlined.h
tqlineedit.h
tqlistbox.h
tqlist.h
tqlistview.h
tqlocale.h
tqlocalfs.h
tqmainwindow.h
tqmap.h
tqmemarray.h
tqmenubar.h
tqmenudata.h
tqmenudta.h
tqmessagebox.h
tqmetaobject.h
tqmetaobj.h
tqmime.h
tqmlined.h
tqmngio.h
tqmodules.h
tqmotifplusstyle.h
tqmotifstyle.h
tqmovie.h
tqmsgbox.h
tqmultilinedit.h
tqmultilineedit.h
tqmutex.h
tqnamespace.h
tqnetwork.h
tqnetworkprotocol.h
tqnp.h
tqobjcoll.h
tqobjdefs.h
tqobjectcleanuphandler.cpp
tqobjectcleanuphandler.h
tqobjectdict.h
tqobject.h
tqobjectlist.h
tqpaintdc.h
tqpaintdevice.h
tqpaintdevicemetrics.h
tqpaintd.h
tqpainter.h
tqpair.h
tqpalette.h
tqpdevmet.h
tqpen.h
tqpicture.h
tqpixmapcache.cpp
tqpixmapcache.h
tqpixmap.h
tqplatinumstyle.h
tqpmcache.h
tqpngio.h
tqpntarry.h
tqpointarray.h
tqpoint.h
tqpolygonscanner.h
tqpopmenu.h
tqpopupmenu.h
tqprintdialog.h
tqprinter.h
tqprndlg.h
tqprocess.h
tqprogbar.h
tqprogdlg.h
tqprogressbar.h
tqprogressdialog.h
tqptrcollection.h
tqptrdict.h
tqptrlist.h
tqptrqueue.h
tqptrstack.h
tqptrvector.h
tqpushbt.h
tqpushbutton.cpp
tqpushbutton.h
tqqueue.h
tqradiobt.h
tqradiobutton.h
tqrangecontrol.h
tqrangect.h
tqrect.h
tqregexp.h
tqregion.h
tqrtlcodec.h
tqscrbar.h
tqscrollbar.h
tqscrollview.h
tqsemaphore.cpp
tqsemaphore.h
tqsemimodal.h
tqserversocket.h
tqsession.h
tqsessionmanager.h
tqsettings.h
tqsgistyle.h
tqshared.cpp
tqshared.h
tqsignal.h
tqsignalmapper.h
tqsignalslotimp.h
tqsimplerichtext.cpp
tqsimplerichtext.h
tqsizegrip.h
tqsize.h
tqsizepolicy.h
tqsjiscodec.h
tqslider.h
tqsocketdevice.h
tqsocket.h
tqsocketnotifier.h
tqsocknot.h
tqsortedlist.h
tqsound.h
tqspinbox.h
tqsplashscreen.cpp
tqsplashscreen.h
tqsplitter.h
tqsqlcursor.h
tqsqldatabase.h
tqsqldriver.h
tqsqldriverplugin.h
tqsqleditorfactory.h
tqsqlerror.h
tqsqlfield.h
tqsqlform.h
tqsql.h
tqsqlindex.h
tqsqlpropertymap.h
tqsqlquery.h
tqsqlrecord.h
tqsqlresult.h
tqsqlselectcursor.h
tqstack.h
tqstatusbar.h
tqstring.h
tqstringlist.h
tqstrlist.h
tqstrvec.h
tqstylefactory.h
tqstyle.h
tqstyleplugin.h
tqstylesheet.cpp
tqstylesheet.h
tqsyntaxhighlighter.cpp
tqsyntaxhighlighter.h
tqtabbar.h
tqtabdialog.h
tqtabdlg.h
tqtable.h
tqtabwidget.h
tqtextbrowser.h
tqtextcodecfactory.h
tqtextcodec.h
tqtextcodecplugin.h
tqtextedit.h
tqtextstream.h
tqtextview.h
tqt.h
tqthread.cpp
tqthread.h
tqthreadstorage.cpp
tqthreadstorage.h
tqtimer.h
tqtl.h
tqtoolbar.h
tqtoolbox.h
tqtoolbutton.h
tqtooltip.h
tqtranslator.h
tqtsciicodec.h
tqtstream.h
tqurl.h
tqurlinfo.h
tqurloperator.h
tqutfcodec.h
tquuid.h
tqvalidator.h
tqvaluelist.h
tqvaluestack.h
tqvaluevector.h
tqvariant.h
tqvbox.h
tqvbuttongroup.h
tqvector.h
tqvfbhdr.cpp
tqvfbhdr.h
tqvgroupbox.h
tqwaitcondition.h
tqwhatsthis.cpp
tqwhatsthis.h
tqwidcoll.h
tqwidgetfactory.h
tqwidget.h
tqwidgetintdict.h
tqwidgetlist.h
tqwidgetplugin.h
tqwidgetstack.h
tqwindefs.h
tqwindowdefs.h
tqwindowsstyle.h
tqwinexport.h
tqwizard.h
tqwmatrix.h
tqworkspace.h
tqxml.h

@ -12,7 +12,10 @@ if [ -f @BIN_INSTALL_DIR@/tqt-replace-stream ]; then
out_file="$3"
@BIN_INSTALL_DIR@/tqt-replace-stream "${input_file}" | \
@MOC_EXECUTABLE@ | \
sed "/#include <qmetaobject.h>/ i #undef QT_NO_COMPAT\n#include \"${input_file}\"" \
sed "/#include <qmetaobject.h>/ i\\
#undef QT_NO_COMPAT\\
#include \"${input_file}\"\\
" \
> "${out_file}"
fi
else

@ -18,6 +18,12 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqt.h>
#ifdef HAVE_OPENGL
#include <tqgl.h>
#endif

@ -12,7 +12,10 @@ if [ -f @BIN_INSTALL_DIR@/tqt-replace-stream ]; then
out_file="$3"
@BIN_INSTALL_DIR@/tqt-replace-stream "${input_file}" | \
@MOC_EXECUTABLE@ | \
sed "/#include <ntqmetaobject.h>/ i #undef QT_NO_COMPAT\n#include \"${input_file}\"" \
sed "/#include <ntqmetaobject.h>/ i\\
#undef QT_NO_COMPAT\\
#include \"${input_file}\"\\
" \
> "${out_file}"
fi
else

@ -18,6 +18,12 @@ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <tqt.h>
#ifdef HAVE_OPENGL
#include <ntqgl.h>
#endif

@ -785,7 +785,7 @@ public:
void remove( iterator it ) { detach(); sh->remove( it ); }
void remove( const Key& k );
#if defined(Q_FULL_TEMPLATE_INSTANTIATION)
#if defined(TQ_FULL_TEMPLATE_INSTANTIATION)
bool operator==( const TQMap<Key,T>& ) const { return FALSE; }
#ifndef QT_NO_STL
bool operator==( const std::map<Key,T>& ) const { return FALSE; }

@ -1,220 +0,0 @@
/* This file is part of the KDE libraries
Copyright (c) 2002-2003 KDE Team
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef _KDE_MACROS_H_
#define _KDE_MACROS_H_
/* Set by configure */
#undef __KDE_HAVE_GCC_VISIBILITY
/**
* The KDE_NO_EXPORT macro marks the symbol of the given variable
* to be hidden. A hidden symbol is stripped during the linking step,
* so it can't be used from outside the resulting library, which is similar
* to static. However, static limits the visibility to the current
* compilation unit. hidden symbols can still be used in multiple compilation
* units.
*
* \code
* int KDE_NO_EXPORT foo;
* int KDE_EXPORT bar;
* \end
*/
#ifdef __KDE_HAVE_GCC_VISIBILITY
#define KDE_NO_EXPORT __attribute__ ((visibility("hidden")))
#define KDE_EXPORT __attribute__ ((visibility("default")))
#elif defined(Q_WS_WIN)
#define KDE_NO_EXPORT
#define KDE_EXPORT __declspec(dllexport)
#else
#define KDE_NO_EXPORT
#define KDE_EXPORT
#endif
/**
* KDE_Q_EXPORT_PLUGIN is a workaround for Qt not being able to
* cope with symbol visibility.
*/
#define KDE_Q_EXPORT_PLUGIN(PLUGIN) \
Q_EXTERN_C KDE_EXPORT const char* qt_ucm_query_verification_data(); \
Q_EXTERN_C KDE_EXPORT QUnknownInterface* ucm_instantiate(); \
Q_EXPORT_PLUGIN(PLUGIN)
/**
* The KDE_PACKED can be used to hint the compiler that a particular
* structure or class should not contain unnecessary paddings.
*/
#ifdef __GNUC__
#define KDE_PACKED __attribute__((__packed__))
#else
#define KDE_PACKED
#endif
/**
* The KDE_DEPRECATED macro can be used to trigger compile-time warnings
* with newer compilers when deprecated functions are used.
*
* For non-inline functions, the macro gets inserted at the very end of the
* function declaration, right before the semicolon:
*
* \code
* DeprecatedConstructor() KDE_DEPRECATED;
* void deprecatedFunctionA() KDE_DEPRECATED;
* int deprecatedFunctionB() const KDE_DEPRECATED;
* \endcode
*
* Functions which are implemented inline are handled differently: for them,
* the KDE_DEPRECATED macro is inserted at the front, right before the return
* type, but after "static" or "virtual":
*
* \code
* KDE_DEPRECATED void deprecatedInlineFunctionA() { .. }
* virtual KDE_DEPRECATED int deprecatedInlineFunctionB() { .. }
* static KDE_DEPRECATED bool deprecatedInlineFunctionC() { .. }
* \end
*
* You can also mark whole structs or classes as deprecated, by inserting the
* KDE_DEPRECATED macro after the struct/class keyword, but before the
* name of the struct/class:
*
* \code
* class KDE_DEPRECATED DeprecatedClass { };
* struct KDE_DEPRECATED DeprecatedStruct { };
* \endcode
*
* \note
* It does not make much sense to use the KDE_DEPRECATED keyword for a Qt signal;
* this is because usually get called by the class which they belong to,
* and one'd assume that a class author doesn't use deprecated methods of his
* own class. The only exception to this are signals which are connected to
* other signals; they get invoked from moc-generated code. In any case,
* printing a warning message in either case is not useful.
* For slots, it can make sense (since slots can be invoked directly) but be
* aware that if the slots get triggered by a signal, the will get called from
* moc code as well and thus the warnings are useless.
*
* \par
* Also note that it is not possible to use KDE_DEPRECATED for classes which
* use the k_dcop keyword (to indicate a DCOP interface declaration); this is
* because the dcopidl program would choke on the unexpected declaration
* syntax.
*/
#ifndef KDE_DEPRECATED
#if __GNUC__ - 0 > 3 || (__GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2)
/* gcc >= 3.2 */
# define KDE_DEPRECATED __attribute__ ((deprecated))
#elif defined(_MSC_VER) && (_MSC_VER >= 1300)
/* msvc >= 7 */
# define KDE_DEPRECATED __declspec(deprecated)
#else
# define KDE_DEPRECATED
#endif
#endif
/**
* The KDE_ISLIKELY macro tags a boolean expression as likely to evaluate to
* 'true'. When used in an if ( ) statement, it gives a hint to the compiler
* that the following codeblock is likely to get executed. Providing this
* information helps the compiler to optimize the code for better performance.
* Using the macro has an insignificant code size or runtime memory footprint impact.
* The code semantics is not affected.
*
* \note
* Providing wrong information ( like marking a condition that almost never
* passes as 'likely' ) will cause a significant runtime slowdown. Therefore only
* use it for cases where you can be sure about the odds of the expression to pass
* in all cases ( independent from e.g. user configuration ).
*
* \par
* The KDE_ISUNLIKELY macro tags an expression as unlikely evaluating to 'true'.
*
* \note
* Do NOT use ( !KDE_ISLIKELY(foo) ) as an replacement for KDE_ISUNLIKELY !
*
* \code
* if ( KDE_ISUNLIKELY( testsomething() ) )
* abort(); // assume its unlikely that the application aborts
* \endcode
*/
#if __GNUC__ - 0 >= 3
# define KDE_ISLIKELY( x ) __builtin_expect(!!(x),1)
# define KDE_ISUNLIKELY( x ) __builtin_expect(!!(x),0)
#else
# define KDE_ISLIKELY( x ) ( x )
# define KDE_ISUNLIKELY( x ) ( x )
#endif
/**
* This macro, and it's friends going up to 10 reserve a fixed number of virtual
* functions in a class. Because adding virtual functions to a class changes the
* size of the vtable, adding virtual functions to a class breaks binary
* compatibility. However, by using this macro, and decrementing it as new
* virtual methods are added, binary compatibility can still be preserved.
*
* \note The added functions must be added to the header at the same location
* as the macro; changing the order of virtual functions in a header is also
* binary incompatible as it breaks the layout of the vtable.
*/
#define RESERVE_VIRTUAL_1 \
virtual void reservedVirtual1() {}
#define RESERVE_VIRTUAL_2 \
virtual void reservedVirtual2() {} \
RESERVE_VIRTUAL_1
#define RESERVE_VIRTUAL_3 \
virtual void reservedVirtual3() {} \
RESERVE_VIRTUAL_2
#define RESERVE_VIRTUAL_4 \
virtual void reservedVirtual4() {} \
RESERVE_VIRTUAL_3
#define RESERVE_VIRTUAL_5 \
virtual void reservedVirtual5() {} \
RESERVE_VIRTUAL_4
#define RESERVE_VIRTUAL_6 \
virtual void reservedVirtual6() {} \
RESERVE_VIRTUAL_5
#define RESERVE_VIRTUAL_7 \
virtual void reservedVirtual7() {} \
RESERVE_VIRTUAL_6
#define RESERVE_VIRTUAL_8 \
virtual void reservedVirtual8() {} \
RESERVE_VIRTUAL_7
#define RESERVE_VIRTUAL_9 \
virtual void reservedVirtual9() {} \
RESERVE_VIRTUAL_8
#define RESERVE_VIRTUAL_10 \
virtual void reservedVirtual10() {} \
RESERVE_VIRTUAL_9
/**
* The KDE_WEAK_SYMBOL macro can be used to tell the compiler that
* a particular function should be a weak symbol (that e.g. may be overriden
* in another library, -Bdirect will not bind this symbol directly)
*/
#ifdef __GNUC__
#define KDE_WEAK_SYMBOL __attribute__((__weak__))
#else
#define KDE_WEAK_SYMBOL
#endif
#endif /* _KDE_MACROS_H_ */

@ -1,7 +1,7 @@
#!/bin/bash
QT_VER=X
if [[ $1 == "" ]]; then
if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace <input_file>"
else
if [[ $QT_VER == 3 ]]; then

@ -1,11 +1,11 @@
#!/bin/bash
QT_VER=X
if [[ $1 == "" ]]; then
if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace-stream <filename>"
else
if [[ $QT_VER == 3 ]]; then
cat $1 | \
cat "$1" | \
sed 's/^TQ\([^T_]\)/Q\1/g' | \
sed 's/\([^_]\)TQ\([^T_]\)/\1Q\2/g' | \
sed 's/TQT\([^_]\)/QT\1/g' | \
@ -33,7 +33,7 @@ else
fi
if [[ $QT_VER == 4 ]]; then
cat $1 | \
cat "$1" | \
sed 's/TQAccel/Q3Accel/g' | \
sed 's/TQAccessible/QAccessible/g' | \
sed 's/TQAccessibleObject/QAccessibleObject/g' | \

@ -1,8 +1,8 @@
#!/bin/bash
QT_VERSION=@QT_VERSION@
if [[ $1 == "" ]]; then
if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace-stream <filename>"
else
cat $1 | sed 's/^Q_OBJECT/TQ_OBJECT/g' | sed 's/\([^T]\)Q_OBJECT/\1TQ_OBJECT/g'
cat "$1" | sed 's/^Q_OBJECT/TQ_OBJECT/g' | sed 's/\([^T]\)Q_OBJECT/\1TQ_OBJECT/g'
fi

@ -1,11 +1,11 @@
#!/bin/bash
QT_VERSION=@QT_VERSION@
if [[ $1 == "" ]]; then
if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace-stream <filename>"
else
if [[ $QT_VERSION == 3 ]]; then
cat $1 | \
cat "$1" | \
sed 's/^TQ\([^T_]\)/Q\1/g' | \
sed 's/\([^_]\)TQ\([^T_]\)/\1Q\2/g' | \
sed 's/TQT\([^_]\)/QT\1/g' | \
@ -33,7 +33,7 @@ else
fi
if [[ $QT_VERSION == 4 ]]; then
cat $1 | \
cat "$1" | \
sed 's/TQAccel/Q3Accel/g' | \
sed 's/TQAccessible/QAccessible/g' | \
sed 's/TQAccessibleObject/QAccessibleObject/g' | \

@ -1,7 +1,7 @@
#!/bin/bash
QT_VERSION=@QT_VERSION@
if [[ $1 == "" ]]; then
if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace <input_file>"
else
sed -i 's/Q_SLOTS>/slots>/g' "$1"

@ -1,7 +1,7 @@
#!/bin/bash
QT_VERSION=@QT_VERSION@
if [[ $1 == "" ]]; then
if [[ "$1" == "" ]]; then
echo "Usage: tqt-replace <input_file>"
else
if [[ $QT_VERSION == 3 ]]; then

@ -10,9 +10,13 @@ else
fi
done
if [[ "$uifile" != "" ]]; then
cp -Rp $uifile $uifile.bkp
tqt-replace $uifile
fi
@UIC_EXECUTABLE@ "$@"
if [[ "$uifile" != "" ]]; then
cp -Rp $uifile.bkp $uifile
rm -f $uifile.bkp
fi
fi

@ -1,14 +0,0 @@
Begin4
Title: tqtinterface
Version: R14.0.0
Entered-date: 2010-05-10
Description: Interface and abstraction library for Qt and the Trinity Desktop Environment
Keywords: TDE X11 desktop Qt TQT
Author: Timothy Pearson (http://trinity.pearsoncomputing.net/)
Maintained-by: The Trinity Desktop Environment (TDE) http://www.trinitydesktop.org/
Primary-site: http://git.trinitydesktop.org/cgit/
Alternate-site:
Original-site: http://trinity.pearsoncomputing.net/
Platforms: Linux and other Unices running TDE
Copying-policy: GPL
End
Loading…
Cancel
Save