Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>r14.0.x
parent
13cc5da8bf
commit
a6e71fe0b8
@ -1,6 +1,3 @@
|
||||
[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,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
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit f9148018b2f8a11fd830712c1b508046cc34ff22
|
@ -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"
|
@ -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
|
@ -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_ */
|
Loading…
Reference in new issue