Replace Qt with TQt

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/10/head
Michele Calgaro 9 months ago
parent c6f6aa86d3
commit c295d595e9
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,7 +1,7 @@
Krecipes is a Recipe Book for TDE. Krecipes is a Recipe Book for TDE.
First of all, make sure you have at least one of the three necessary databases installed: SQLite, MySQL, or PostgreSQL. In case you decide to use MySQL or PostgreSQL, make sure also that you have Qt's MySQL or PostgreSQL plugin properly installed. The program won't work without database support. First of all, make sure you have at least one of the three necessary databases installed: SQLite, MySQL, or PostgreSQL. In case you decide to use MySQL or PostgreSQL, make sure also that you have TQt's MySQL or PostgreSQL plugin properly installed. The program won't work without database support.
** Building The Latest (0.9) Release ** Building The Latest (0.9) Release
@ -9,7 +9,7 @@ First of all, make sure you have at least one of the three necessary databases i
tar -zxf krecipes-0.9.tar.gz tar -zxf krecipes-0.9.tar.gz
And compile (see ./configure --help for more compile options like '--prefix' and '--with-qt-dir') And compile (see ./configure --help for more compile options like '--prefix' and '--with-tqt-dir')
./configure ./configure
make make

@ -241,8 +241,8 @@ AC_DEFUN([KDE_FIND_PATH],
AC_DEFUN([KDE_MOC_ERROR_MESSAGE], AC_DEFUN([KDE_MOC_ERROR_MESSAGE],
[ [
AC_MSG_ERROR([No Qt meta object compiler (moc) found! AC_MSG_ERROR([No TQt meta object compiler (moc) found!
Please check whether you installed Qt correctly. Please check whether you installed TQt correctly.
You need to have a running moc binary. You need to have a running moc binary.
configure tried to run $ac_cv_path_moc and the test didn't configure tried to run $ac_cv_path_moc and the test didn't
succeed. If configure shouldn't have tried this one, set succeed. If configure shouldn't have tried this one, set
@ -253,8 +253,8 @@ configure.
AC_DEFUN([KDE_UIC_ERROR_MESSAGE], AC_DEFUN([KDE_UIC_ERROR_MESSAGE],
[ [
AC_MSG_WARN([No Qt ui compiler (uic) found! AC_MSG_WARN([No TQt ui compiler (uic) found!
Please check whether you installed Qt correctly. Please check whether you installed TQt correctly.
You need to have a running uic binary. You need to have a running uic binary.
configure tried to run $ac_cv_path_uic and the test didn't configure tried to run $ac_cv_path_uic and the test didn't
succeed. If configure shouldn't have tried this one, set succeed. If configure shouldn't have tried this one, set
@ -306,7 +306,7 @@ AC_DEFUN([AC_PATH_TQT_MOC_UIC],
for dir in $kde_qt_dirs; do for dir in $kde_qt_dirs; do
qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc" qt_bindirs="$qt_bindirs $dir/bin $dir/src/moc"
done done
qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/qt/bin" qt_bindirs="$qt_bindirs /usr/bin /usr/X11R6/bin /usr/local/tqt/bin"
if test ! "$ac_qt_bindir" = "NO"; then if test ! "$ac_qt_bindir" = "NO"; then
qt_bindirs="$ac_qt_bindir $qt_bindirs" qt_bindirs="$ac_qt_bindir $qt_bindirs"
fi fi
@ -378,7 +378,7 @@ if AC_TRY_EVAL(ac_link) && test -s conftest; then
else else
AC_MSG_ERROR([your system fails at linking a small KDE application! AC_MSG_ERROR([your system fails at linking a small KDE application!
Check, if your compiler is installed correctly and if you have used the Check, if your compiler is installed correctly and if you have used the
same compiler to compile Qt and tdelibs as you did use now. same compiler to compile TQt and tdelibs as you did use now.
For more details about this problem, look at the end of config.log.]) For more details about this problem, look at the end of config.log.])
fi fi
@ -854,21 +854,21 @@ AC_REQUIRE([KDE_CHECK_LIB64])
AC_ARG_ENABLE( AC_ARG_ENABLE(
embedded, embedded,
AC_HELP_STRING([--enable-embedded],[link to Qt-embedded, don't use X]), AC_HELP_STRING([--enable-embedded],[link to TQt-embedded, don't use X]),
kde_use_qt_emb=$enableval, kde_use_qt_emb=$enableval,
kde_use_qt_emb=no kde_use_qt_emb=no
) )
AC_ARG_ENABLE( AC_ARG_ENABLE(
qtopia, qtopia,
AC_HELP_STRING([--enable-qtopia],[link to Qt-embedded, link to the Qtopia Environment]), AC_HELP_STRING([--enable-qtopia],[link to TQt-embedded, link to the Qtopia Environment]),
kde_use_qt_emb_palm=$enableval, kde_use_qt_emb_palm=$enableval,
kde_use_qt_emb_palm=no kde_use_qt_emb_palm=no
) )
AC_ARG_ENABLE( AC_ARG_ENABLE(
mac, mac,
AC_HELP_STRING([--enable-mac],[link to Qt/Mac (don't use X)]), AC_HELP_STRING([--enable-mac],[link to TQt/Mac (don't use X)]),
kde_use_qt_mac=$enableval, kde_use_qt_mac=$enableval,
kde_use_qt_mac=no kde_use_qt_mac=no
) )
@ -1026,7 +1026,7 @@ LIB_XEXT="-lXext"
QTE_NORTTI="" QTE_NORTTI=""
elif test "$kde_use_qt_emb" = "yes"; then elif test "$kde_use_qt_emb" = "yes"; then
dnl We're using QT Embedded dnl We're using TQt Embedded
CPPFLAGS=-DQWS CPPFLAGS=-DQWS
CXXFLAGS="$CXXFLAGS -fno-rtti" CXXFLAGS="$CXXFLAGS -fno-rtti"
QTE_NORTTI="-fno-rtti -DQWS" QTE_NORTTI="-fno-rtti -DQWS"
@ -1040,7 +1040,7 @@ elif test "$kde_use_qt_emb" = "yes"; then
x_includes="" x_includes=""
x_libraries="" x_libraries=""
elif test "$kde_use_qt_mac" = "yes"; then elif test "$kde_use_qt_mac" = "yes"; then
dnl We're using QT/Mac (I use QT_MAC so that ntqglobal.h doesn't *have* to dnl We're using TQt/Mac (I use QT_MAC so that ntqglobal.h doesn't *have* to
dnl be included to get the information) --Sam dnl be included to get the information) --Sam
CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp" CXXFLAGS="$CXXFLAGS -DQT_MAC -no-cpp-precomp"
CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp" CFLAGS="$CFLAGS -DQT_MAC -no-cpp-precomp"
@ -1105,7 +1105,7 @@ EOF
AC_DEFUN([KDE_USE_TQT], AC_DEFUN([KDE_USE_TQT],
[ [
if test -z "$1"; then if test -z "$1"; then
# Current default Qt version: 3.3 # Current default TQt version: 3.3
kde_qtver=3 kde_qtver=3
kde_qtsubver=3 kde_qtsubver=3
else else
@ -1118,7 +1118,7 @@ else
fi fi
if test -z "$2"; then if test -z "$2"; then
kde_qt_minversion=">= Qt 3.3 and < 4.0" kde_qt_minversion=">= TQt 3.3 and < 4.0"
else else
kde_qt_minversion="$2" kde_qt_minversion="$2"
fi fi
@ -1132,14 +1132,14 @@ else
fi fi
if test $kde_qtver = 3; then if test $kde_qtver = 3; then
kde_qt_dirs="$TQTDIR /usr/lib/qt3 /usr/lib/qt /usr/share/qt3" kde_qt_dirs="$TQTDIR /usr/lib/qt3 /usr/lib/tqt /usr/share/qt3"
fi fi
]) ])
AC_DEFUN([KDE_CHECK_QT_DIRECT], AC_DEFUN([KDE_CHECK_QT_DIRECT],
[ [
AC_REQUIRE([KDE_USE_TQT]) AC_REQUIRE([KDE_USE_TQT])
AC_MSG_CHECKING([if Qt compiles without flags]) AC_MSG_CHECKING([if TQt compiles without flags])
AC_CACHE_VAL(kde_cv_qt_direct, AC_CACHE_VAL(kde_cv_qt_direct,
[ [
AC_LANG_SAVE AC_LANG_SAVE
@ -1194,7 +1194,7 @@ fi
]) ])
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
dnl Try to find the Qt headers and libraries. dnl Try to find the TQt headers and libraries.
dnl $(QT_LDFLAGS) will be -Ltqtliblocation (if needed) dnl $(QT_LDFLAGS) will be -Ltqtliblocation (if needed)
dnl and $(TQT_INCLUDES) will be -Iqthdrlocation (if needed) dnl and $(TQT_INCLUDES) will be -Iqthdrlocation (if needed)
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
@ -1206,12 +1206,12 @@ AC_REQUIRE([KDE_USE_TQT])
AC_REQUIRE([KDE_CHECK_LIB64]) AC_REQUIRE([KDE_CHECK_LIB64])
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
dnl Add configure flag to enable linking to MT version of Qt library. dnl Add configure flag to enable linking to MT version of TQt library.
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
AC_ARG_ENABLE( AC_ARG_ENABLE(
mt, mt,
AC_HELP_STRING([--disable-mt],[link to non-threaded Qt (deprecated)]), AC_HELP_STRING([--disable-mt],[link to non-threaded TQt (deprecated)]),
kde_use_qt_mt=$enableval, kde_use_qt_mt=$enableval,
[ [
if test $kde_qtver = 3; then if test $kde_qtver = 3; then
@ -1246,7 +1246,7 @@ AC_SUBST(KDE_MT_LIBS)
kde_qt_was_given=yes kde_qt_was_given=yes
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
dnl If we haven't been told how to link to Qt, we work it out for ourselves. dnl If we haven't been told how to link to TQt, we work it out for ourselves.
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
if test -z "$LIBTQT_GLOB"; then if test -z "$LIBTQT_GLOB"; then
if test "x$kde_use_qt_emb" = "xyes"; then if test "x$kde_use_qt_emb" = "xyes"; then
@ -1257,12 +1257,12 @@ if test -z "$LIBTQT_GLOB"; then
fi fi
dnl ------------------------------------------------------------ dnl ------------------------------------------------------------
dnl If we got --enable-embedded then adjust the Qt library name. dnl If we got --enable-embedded then adjust the TQt library name.
dnl ------------------------------------------------------------ dnl ------------------------------------------------------------
if test "x$kde_use_qt_emb" = "xyes"; then if test "x$kde_use_qt_emb" = "xyes"; then
tqtlib="qte" tqtlib="qte"
else else
tqtlib="qt" tqtlib="tqt"
fi fi
kde_int_qt="-l$tqtlib" kde_int_qt="-l$tqtlib"
@ -1283,7 +1283,7 @@ dnl ------------------------------------------------------------
fi fi
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
dnl If we got --enable-tqt-mt then adjust the Qt library name for the host. dnl If we got --enable-tqt-mt then adjust the TQt library name for the host.
dnl ------------------------------------------------------------------------ dnl ------------------------------------------------------------------------
if test "x$kde_use_qt_mt" = "xyes"; then if test "x$kde_use_qt_mt" = "xyes"; then
@ -1304,7 +1304,7 @@ if test $kde_qtver = 3; then
LIBTQT="$LIBTQT $LIBDL" LIBTQT="$LIBTQT $LIBDL"
fi fi
AC_MSG_CHECKING([for Qt]) AC_MSG_CHECKING([for TQt])
if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then if test "x$kde_use_qt_emb" != "xyes" && test "x$kde_use_qt_mac" != "xyes"; then
LIBTQT="$LIBTQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET" LIBTQT="$LIBTQT $X_PRE_LIBS -lXext -lX11 $LIBSM $LIBSOCKET"
@ -1312,35 +1312,35 @@ fi
ac_tqt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO ac_tqt_includes=NO ac_qt_libraries=NO ac_qt_bindir=NO
qt_libraries="" qt_libraries=""
tqt_includes="" tqt_includes=""
AC_ARG_WITH(qt-dir, AC_ARG_WITH(tqt-dir,
AC_HELP_STRING([--with-qt-dir=DIR],[where the root of Qt is installed ]), AC_HELP_STRING([--with-tqt-dir=DIR],[where the root of TQt is installed ]),
[ ac_tqt_includes="$withval"/include [ ac_tqt_includes="$withval"/include
ac_qt_libraries="$withval"/lib${tdelibsuff} ac_qt_libraries="$withval"/lib${tdelibsuff}
ac_qt_bindir="$withval"/bin ac_qt_bindir="$withval"/bin
]) ])
AC_ARG_WITH(qt-includes, AC_ARG_WITH(tqt-includes,
AC_HELP_STRING([--with-qt-includes=DIR],[where the Qt includes are. ]), AC_HELP_STRING([--with-tqt-includes=DIR],[where the TQt includes are. ]),
[ [
ac_tqt_includes="$withval" ac_tqt_includes="$withval"
]) ])
kde_qt_libs_given=no kde_qt_libs_given=no
AC_ARG_WITH(qt-libraries, AC_ARG_WITH(tqt-libraries,
AC_HELP_STRING([--with-qt-libraries=DIR],[where the Qt library is installed.]), AC_HELP_STRING([--with-tqt-libraries=DIR],[where the TQt library is installed.]),
[ ac_qt_libraries="$withval" [ ac_qt_libraries="$withval"
kde_qt_libs_given=yes kde_qt_libs_given=yes
]) ])
AC_CACHE_VAL(ac_cv_have_qt, AC_CACHE_VAL(ac_cv_have_qt,
[#try to guess Qt locations [#try to guess TQt locations
qt_incdirs="" qt_incdirs=""
for dir in $kde_qt_dirs; do for dir in $kde_qt_dirs; do
qt_incdirs="$qt_incdirs $dir/include $dir" qt_incdirs="$qt_incdirs $dir/include $dir"
done done
qt_incdirs="$QTINC $qt_incdirs /usr/local/qt/include /usr/include/qt /usr/include /usr/X11R6/include/X11/qt /usr/X11R6/include/qt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes" qt_incdirs="$QTINC $qt_incdirs /usr/local/tqt/include /usr/include/tqt /usr/include /usr/X11R6/include/X11/tqt /usr/X11R6/include/tqt /usr/X11R6/include/qt2 /usr/include/qt3 $x_includes"
if test ! "$ac_tqt_includes" = "NO"; then if test ! "$ac_tqt_includes" = "NO"; then
qt_incdirs="$ac_tqt_includes $qt_incdirs" qt_incdirs="$ac_tqt_includes $qt_incdirs"
fi fi
@ -1354,12 +1354,12 @@ qt_libdirs=""
for dir in $kde_qt_dirs; do for dir in $kde_qt_dirs; do
qt_libdirs="$qt_libdirs $dir/lib${tdelibsuff} $dir" qt_libdirs="$qt_libdirs $dir/lib${tdelibsuff} $dir"
done done
qt_libdirs="$TQTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/qt/lib $x_libraries" qt_libdirs="$TQTLIB $qt_libdirs /usr/X11R6/lib /usr/lib /usr/local/tqt/lib $x_libraries"
if test ! "$ac_qt_libraries" = "NO"; then if test ! "$ac_qt_libraries" = "NO"; then
qt_libdir=$ac_qt_libraries qt_libdir=$ac_qt_libraries
else else
qt_libdirs="$ac_qt_libraries $qt_libdirs" qt_libdirs="$ac_qt_libraries $qt_libdirs"
# if the Qt was given, the chance is too big that libtqt.* doesn't exist # if the TQt was given, the chance is too big that libtqt.* doesn't exist
qt_libdir=NONE qt_libdir=NONE
for dir in $qt_libdirs; do for dir in $qt_libdirs; do
try="ls -1 $dir/${LIBTQT_GLOB}" try="ls -1 $dir/${LIBTQT_GLOB}"
@ -1414,14 +1414,14 @@ if test "$ac_tqt_includes" = NO || test "$ac_qt_libraries" = NO; then
else else
if test "x$kde_use_qt_mt" = "xyes"; then if test "x$kde_use_qt_mt" = "xyes"; then
missing_qt_mt=" missing_qt_mt="
Make sure that you have compiled Qt with thread support!" Make sure that you have compiled TQt with thread support!"
ac_qt_notfound="(library $tqtlib-mt)"; ac_qt_notfound="(library $tqtlib-mt)";
else else
ac_qt_notfound="(library $tqtlib)"; ac_qt_notfound="(library $tqtlib)";
fi fi
fi fi
AC_MSG_ERROR([Qt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation! AC_MSG_ERROR([TQt ($kde_qt_minversion) $ac_qt_notfound not found. Please check your installation!
For more details about this problem, look at the end of config.log.$missing_qt_mt]) For more details about this problem, look at the end of config.log.$missing_qt_mt])
else else
have_qt="yes" have_qt="yes"
@ -1539,10 +1539,10 @@ if test "$kde_cv_uic_plugins" != yes; then
AC_MSG_ERROR([ AC_MSG_ERROR([
you need to install tdelibs first. you need to install tdelibs first.
If you did install tdelibs, then the Qt version that is picked up by If you did install tdelibs, then the TQt version that is picked up by
this configure is not the same version you used to compile tdelibs. this configure is not the same version you used to compile tdelibs.
The Qt Plugin installed by tdelibs is *ONLY* loadable if it is the The TQt Plugin installed by tdelibs is *ONLY* loadable if it is the
_same Qt version_, compiled with the _same compiler_ and the same Qt _same TQt version_, compiled with the _same compiler_ and the same TQt
configuration settings. configuration settings.
]) ])
fi fi
@ -1910,14 +1910,14 @@ For more details about this problem, look at the end of config.log.])
AC_DEFUN([KDE_CHECK_KDEQTADDON], AC_DEFUN([KDE_CHECK_KDEQTADDON],
[ [
AC_MSG_CHECKING(for kde-qt-addon) AC_MSG_CHECKING(for kde-tqt-addon)
AC_CACHE_VAL(kde_cv_have_kdetqtaddon, AC_CACHE_VAL(kde_cv_have_kdetqtaddon,
[ [
kde_ldflags_safe="$LDFLAGS" kde_ldflags_safe="$LDFLAGS"
kde_libs_safe="$LIBS" kde_libs_safe="$LIBS"
kde_cxxflags_safe="$CXXFLAGS" kde_cxxflags_safe="$CXXFLAGS"
LIBS="-lkde-qt-addon $LIBTQT $LIBS" LIBS="-lkde-tqt-addon $LIBTQT $LIBS"
CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/tde $all_includes" CXXFLAGS="$CXXFLAGS -I$prefix/include -I$prefix/include/tde $all_includes"
LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS" LDFLAGS="$LDFLAGS $all_libraries $USER_LDFLAGS"
@ -1939,8 +1939,8 @@ AC_CACHE_VAL(kde_cv_have_kdetqtaddon,
AC_MSG_RESULT($kde_cv_have_kdetqtaddon) AC_MSG_RESULT($kde_cv_have_kdetqtaddon)
if test "$kde_cv_have_kdetqtaddon" = "no"; then if test "$kde_cv_have_kdetqtaddon" = "no"; then
AC_MSG_ERROR([Can't find libkde-qt-addon. You need to install it first. AC_MSG_ERROR([Can't find libkde-tqt-addon. You need to install it first.
It is a separate package (and CVS module) named kde-qt-addon.]) It is a separate package (and CVS module) named kde-tqt-addon.])
fi fi
]) ])
@ -2447,7 +2447,7 @@ AH_VERBATIM(_AC_CHECK_JPEG,
AC_DEFUN([KDE_CHECK_QT_JPEG], AC_DEFUN([KDE_CHECK_QT_JPEG],
[ [
if test -n "$LIBJPEG"; then if test -n "$LIBJPEG"; then
AC_MSG_CHECKING([if Qt needs $LIBJPEG]) AC_MSG_CHECKING([if TQt needs $LIBJPEG])
AC_CACHE_VAL(kde_cv_qt_jpeg, AC_CACHE_VAL(kde_cv_qt_jpeg,
[ [
AC_LANG_SAVE AC_LANG_SAVE
@ -3103,7 +3103,7 @@ AC_DEFUN([AC_CHECK_COMPILERS],
AM_CONDITIONAL(unsermake_enable_pch, test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes") AM_CONDITIONAL(unsermake_enable_pch, test "$kde_use_pch" = "yes" && test "$kde_gcc_supports_pch" = "yes")
if test "$CXX" = "KCC"; then if test "$CXX" = "KCC"; then
dnl unfortunately we currently cannot disable exception support in KCC dnl unfortunately we currently cannot disable exception support in KCC
dnl because doing so is binary incompatible and Qt by default links with exceptions :-( dnl because doing so is binary incompatible and TQt by default links with exceptions :-(
dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"]) dnl KDE_CHECK_COMPILER_FLAG(-no_exceptions,[CXXFLAGS="$CXXFLAGS --no_exceptions"])
dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= ) dnl KDE_CHECK_COMPILER_FLAG(-exceptions, [USE_EXCEPTIONS="--exceptions"], USE_EXCEPTIONS= )
@ -3264,7 +3264,7 @@ AC_DEFUN([KDE_ENABLE_HIDDEN_VISIBILITY],
[kde_have_gcc_visibility=$enableval], [kde_have_gcc_visibility=$enableval],
[kde_have_gcc_visibility=no]) [kde_have_gcc_visibility=no])
AC_CACHE_CHECK([if Qt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched, AC_CACHE_CHECK([if TQt is patched for -fvisibility], kde_cv_val_qt_gcc_visibility_patched,
[ [
AC_LANG_SAVE AC_LANG_SAVE
AC_LANG_CPLUSPLUS AC_LANG_CPLUSPLUS
@ -3850,7 +3850,7 @@ AC_DEFUN([AC_HAVE_GL],
AC_ARG_WITH(gl,AC_HELP_STRING([--without-gl],[disable 3D GL modes]), AC_ARG_WITH(gl,AC_HELP_STRING([--without-gl],[disable 3D GL modes]),
gl_test=$withval, gl_test="yes") gl_test=$withval, gl_test="yes")
if test "x$kde_use_qt_emb" = "xyes"; then if test "x$kde_use_qt_emb" = "xyes"; then
# GL and Qt Embedded is a no-go for now. # GL and TQt Embedded is a no-go for now.
ac_cv_have_gl=no ac_cv_have_gl=no
elif test "x$gl_test" = xno; then elif test "x$gl_test" = xno; then
ac_cv_have_gl=no ac_cv_have_gl=no
@ -4539,7 +4539,7 @@ AC_LANG_RESTORE
if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then if eval "test \"`echo $ac_cv_lib_qimgio`\" = yes"; then
LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG" LIBQIMGIO="-lqimgio -lpng -lz $LIBJPEG"
AC_MSG_RESULT(yes) AC_MSG_RESULT(yes)
AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the Qt extension qimgio available]) AC_DEFINE_UNQUOTED(HAVE_QIMGIO, 1, [Define if you have the TQt extension qimgio available])
AC_SUBST(LIBQIMGIO) AC_SUBST(LIBQIMGIO)
else else
AC_MSG_RESULT(not found) AC_MSG_RESULT(not found)
@ -5360,13 +5360,13 @@ the end of config.log])
AC_DEFUN([KDE_INIT_DOXYGEN], AC_DEFUN([KDE_INIT_DOXYGEN],
[ [
AC_MSG_CHECKING([for Qt docs]) AC_MSG_CHECKING([for TQt docs])
kde_qtdir= kde_qtdir=
if test "${with_qt_dir+set}" = set; then if test "${with_qt_dir+set}" = set; then
kde_qtdir="$with_qt_dir" kde_qtdir="$with_qt_dir"
fi fi
AC_FIND_FILE(ntqsql.html, [ $kde_qtdir/doc/html $TQTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/qt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/qt/html ], TQTDOCDIR) AC_FIND_FILE(ntqsql.html, [ $kde_qtdir/doc/html $TQTDIR/doc/html /usr/share/doc/packages/qt3/html /usr/lib/tqt/doc /usr/lib/qt3/doc /usr/lib/qt3/doc/html /usr/doc/qt3/html /usr/doc/qt3 /usr/share/doc/qt3-doc /usr/share/qt3/doc/html /usr/X11R6/share/doc/tqt/html ], TQTDOCDIR)
AC_MSG_RESULT($TQTDOCDIR) AC_MSG_RESULT($TQTDOCDIR)
AC_SUBST(TQTDOCDIR) AC_SUBST(TQTDOCDIR)

@ -318,15 +318,15 @@ fi
if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then if test x$GXX = "xyes" -a x$kde_have_gcc_visibility = "xyes" -a x$kde_cv_val_qt_gcc_visibility_patched = "xno"; then
echo "" echo ""
echo "Your GCC supports symbol visibility, but the patch for Qt supporting visibility" echo "Your GCC supports symbol visibility, but the patch for TQt supporting visibility"
echo "was not included. Therefore, GCC symbol visibility support remains disabled." echo "was not included. Therefore, GCC symbol visibility support remains disabled."
echo "" echo ""
echo "For better performance, consider including the Qt visibility supporting patch" echo "For better performance, consider including the TQt visibility supporting patch"
echo "located at:" echo "located at:"
echo "" echo ""
echo "http://bugs.kde.org/show_bug.cgi?id=109386" echo "http://bugs.kde.org/show_bug.cgi?id=109386"
echo "" echo ""
echo "and recompile all of Qt and KDE. Note, this is entirely optional and" echo "and recompile all of TQt and TDE. Note, this is entirely optional and"
echo "everything will continue to work just fine without it." echo "everything will continue to work just fine without it."
echo "" echo ""
fi fi

@ -2491,9 +2491,9 @@ specific OS, (you wrote a graphical LILO configurator for example) put this
information here. information here.
--> -->
<para>For at bruge &krecipes; med heldigt resultat, skal du sørge for at du har mindst en af de to nødvendige databaser installeret: <emphasis>SQLite</emphasis> eller <emphasis>MySQL</emphasis>. Hvis du bestemmer dig for at bruge MySQL, så sørg for at du også har <emphasis>&Qt;'s MySQL-plugin</emphasis> rigtigt installeret. Programmet virker ikke uden databaseunderstøttelse. </para> <para>For at bruge &krecipes; med heldigt resultat, skal du sørge for at du har mindst en af de to nødvendige databaser installeret: <emphasis>SQLite</emphasis> eller <emphasis>MySQL</emphasis>. Hvis du bestemmer dig for at bruge MySQL, så sørg for at du også har <emphasis>&TQt;'s MySQL-plugin</emphasis> rigtigt installeret. Programmet virker ikke uden databaseunderstøttelse. </para>
<para>&krecipes; kræver også &kde; &gt;= 3.1 og &Qt; &gt;= 3.1 </para> <para>&krecipes; kræver også &kde; &gt;= 3.1 og &TQt; &gt;= 3.1 </para>
<para>Hvis du kompilerer &krecipes; fra kildekode, kan du behøve følgende pakker (pakkenavne kan variere afhængig af distribution):</para> <para>Hvis du kompilerer &krecipes; fra kildekode, kan du behøve følgende pakker (pakkenavne kan variere afhængig af distribution):</para>
@ -2507,7 +2507,7 @@ information here.
<listitem><para>zlib-devel</para></listitem> <listitem><para>zlib-devel</para></listitem>
<listitem><para>XFree86-devel eller xorg-x11-devel eller libxorg-x11-devel</para></listitem> <listitem><para>XFree86-devel eller xorg-x11-devel eller libxorg-x11-devel</para></listitem>
<listitem><para>tdelibs-devel</para></listitem> <listitem><para>tdelibs-devel</para></listitem>
<listitem><para>qt-devel eller libtqt3-devel</para></listitem> <listitem><para>tqt-devel eller libtqt3-devel</para></listitem>
</itemizedlist> </itemizedlist>
<para>&krecipes; har for øjeblikket understøttelse for at opbevare opskrifter med PostgreSQL-databasen, selvom det for øjeblikket anses for at være en betaversion. Ingen problemer er fundet med det, men indtil det er testet mere, er det markeret som om det ikke understøttes. </para> <para>&krecipes; har for øjeblikket understøttelse for at opbevare opskrifter med PostgreSQL-databasen, selvom det for øjeblikket anses for at være en betaversion. Ingen problemer er fundet med det, men indtil det er testet mere, er det markeret som om det ikke understøttes. </para>

@ -2491,9 +2491,9 @@ specific OS, (you wrote a graphical LILO configurator for example) put this
information here. information here.
--> -->
<para>Para una utilización correcta de &krecipes;, asegúres de que tiene al menos un de las siguientes dos bases de datos instaladas: <emphasis>SQLite</emphasis> o <emphasis>MySQL</emphasis>. En el caso de que decida utilizar MySQL, asegúrese de que también esté instalada correctamente <emphasis>la extensión MySQL de &Qt;</emphasis>. El programa no funcionará sin soporte de base de datos. </para> <para>Para una utilización correcta de &krecipes;, asegúres de que tiene al menos un de las siguientes dos bases de datos instaladas: <emphasis>SQLite</emphasis> o <emphasis>MySQL</emphasis>. En el caso de que decida utilizar MySQL, asegúrese de que también esté instalada correctamente <emphasis>la extensión MySQL de &TQt;</emphasis>. El programa no funcionará sin soporte de base de datos. </para>
<para>&krecipes; también precisa &kde; &gt;= 3.1 y &Qt; &gt;= 3.1. </para> <para>&krecipes; también precisa &kde; &gt;= 3.1 y &TQt; &gt;= 3.1. </para>
<para>Si está compilando &krecipes; desde los fuentes, puede necesitar los siguientes paquetes (los nombres de los paquetes pueden variar dependiendo de su distribución):</para> <para>Si está compilando &krecipes; desde los fuentes, puede necesitar los siguientes paquetes (los nombres de los paquetes pueden variar dependiendo de su distribución):</para>
@ -2507,7 +2507,7 @@ information here.
<listitem><para>zlib-devel.</para></listitem> <listitem><para>zlib-devel.</para></listitem>
<listitem><para>XFree86-devel, xorg-x11-devel o libxorg-x11-devel.</para></listitem> <listitem><para>XFree86-devel, xorg-x11-devel o libxorg-x11-devel.</para></listitem>
<listitem><para>tdelibs-devel.</para></listitem> <listitem><para>tdelibs-devel.</para></listitem>
<listitem><para>qt-devel o libtqt3-devel.</para></listitem> <listitem><para>tqt-devel o libtqt3-devel.</para></listitem>
</itemizedlist> </itemizedlist>
<para>&krecipes; en estos momentos tiene soporte para almacenar recetas en una base de datos PostgreSQL que se considera beta. No se han encontrado problemas en ella, pero hasta que no se pruebe más, estará marcada como no soportada. </para> <para>&krecipes; en estos momentos tiene soporte para almacenar recetas en una base de datos PostgreSQL que se considera beta. No se han encontrado problemas en ella, pero hasta que no se pruebe más, estará marcada como no soportada. </para>

@ -2075,9 +2075,9 @@ specific OS, (you wrote a graphical LILO configurator for example) put this
information here. information here.
--> -->
<para>&krecipes;e edukaks kasutamiseks peab olema paigaldatud vähemalt üks kahest andmebaasist: <emphasis>SQLite</emphasis> või <emphasis>MySQL</emphasis>. MySQL-i korral peab olema paigaldatud ka <emphasis>&Qt;'s MySQL-i plugin</emphasis>. Ilma andmebaasitoetuseta rakendus ei tööta. </para> <para>&krecipes;e edukaks kasutamiseks peab olema paigaldatud vähemalt üks kahest andmebaasist: <emphasis>SQLite</emphasis> või <emphasis>MySQL</emphasis>. MySQL-i korral peab olema paigaldatud ka <emphasis>&TQt;'s MySQL-i plugin</emphasis>. Ilma andmebaasitoetuseta rakendus ei tööta. </para>
<para>&krecipes;ele on vajalikud ka &kde; &gt;= 3.1 ja &Qt; &gt;= 3.1. </para> <para>&krecipes;ele on vajalikud ka &kde; &gt;= 3.1 ja &TQt; &gt;= 3.1. </para>
<para>&krecipes;t lähtekoodist kompileerides on vajalikud järgmised paketid (nende nimed võivad sõltuvalt distributsioonist veidi erineda):</para> <para>&krecipes;t lähtekoodist kompileerides on vajalikud järgmised paketid (nende nimed võivad sõltuvalt distributsioonist veidi erineda):</para>
@ -2091,7 +2091,7 @@ information here.
<listitem><para>zlib-devel</para></listitem> <listitem><para>zlib-devel</para></listitem>
<listitem><para>XFree86-devel või xorg-x11-devel või libxorg-x11-devel</para></listitem> <listitem><para>XFree86-devel või xorg-x11-devel või libxorg-x11-devel</para></listitem>
<listitem><para>tdelibs-devel</para></listitem> <listitem><para>tdelibs-devel</para></listitem>
<listitem><para>qt-devel või libtqt3-devel</para></listitem> <listitem><para>tqt-devel või libtqt3-devel</para></listitem>
</itemizedlist> </itemizedlist>
<para>&krecipes; toetab ka retseptide salvestamist PostgreSQL andmebaasi, kuigi toetus on veel arendusjärgus. Seni pole küll probleeme leitud, aga kuni teste pole põhjalikumalt läbi viidud, hindame seda mittetoetatuks. </para> <para>&krecipes; toetab ka retseptide salvestamist PostgreSQL andmebaasi, kuigi toetus on veel arendusjärgus. Seni pole küll probleeme leitud, aga kuni teste pole põhjalikumalt läbi viidud, hindame seda mittetoetatuks. </para>

@ -3056,11 +3056,11 @@ information here.
--> -->
<para> <para>
In order to successfully use &krecipes;, make sure you have at least one of the two necessary databases installed: <emphasis>SQLite</emphasis> or <emphasis>MySQL</emphasis>. In case you decide to use MySQL, make sure also that you have <emphasis>&Qt;'s MySQL plugin</emphasis> properly installed. The program won't work without database support. In order to successfully use &krecipes;, make sure you have at least one of the two necessary databases installed: <emphasis>SQLite</emphasis> or <emphasis>MySQL</emphasis>. In case you decide to use MySQL, make sure also that you have <emphasis>&TQt;'s MySQL plugin</emphasis> properly installed. The program won't work without database support.
</para> </para>
<para> <para>
&krecipes; also requires &kde; &gt;= 3.1 and &Qt; &gt;= 3.1 &krecipes; also requires &kde; &gt;= 3.1 and &TQt; &gt;= 3.1
</para> </para>
<para>If you are compiling &krecipes; from source, you may need the following packages (package names may vary depending upon your distribution):</para> <para>If you are compiling &krecipes; from source, you may need the following packages (package names may vary depending upon your distribution):</para>
@ -3075,7 +3075,7 @@ In order to successfully use &krecipes;, make sure you have at least one of the
<listitem><para>zlib-devel</para></listitem> <listitem><para>zlib-devel</para></listitem>
<listitem><para>XFree86-devel or xorg-x11-devel or libxorg-x11-devel</para></listitem> <listitem><para>XFree86-devel or xorg-x11-devel or libxorg-x11-devel</para></listitem>
<listitem><para>tdelibs-devel</para></listitem> <listitem><para>tdelibs-devel</para></listitem>
<listitem><para>qt-devel or libtqt3-devel</para></listitem> <listitem><para>tqt-devel or libtqt3-devel</para></listitem>
</itemizedlist> </itemizedlist>
<para> <para>

@ -19,7 +19,7 @@
Krecipes \- The TDE Cookbook Krecipes \- The TDE Cookbook
.SH SYNOPSIS .SH SYNOPSIS
.B krecipes .B krecipes
[Qt\-options] [TDE\-options] [options] [TQt\-options] [TDE\-options] [options]
.SH DESCRIPTION .SH DESCRIPTION
.B Krecipes .B Krecipes
is a program that lets you to manage your recipes, create shopping is a program that lets you to manage your recipes, create shopping
@ -38,8 +38,8 @@ Convert the current SQLite 2.x database to SQLite 3 and exit
.B \-\-help .B \-\-help
Show help about options Show help about options
.TP .TP
.B \-\-help\-qt .B \-\-help\-tqt
Show Qt specific options Show TQt specific options
.TP .TP
.B \-\-help\-tde .B \-\-help\-tde
Show TDE specific options Show TDE specific options
@ -58,7 +58,7 @@ Show license information
.TP .TP
.B \-\- .B \-\-
End of options End of options
.SS Qt options .SS TQt options
.TP .TP
.B \-\-display <displayname> .B \-\-display <displayname>
Use the X\-server display 'displayname' Use the X\-server display 'displayname'
@ -76,7 +76,7 @@ display, if the application is using the QApplication::ManyColor color
specification specification
.TP .TP
.B \-\-nograb .B \-\-nograb
tells Qt to never grab the mouse or the keyboard tells TQt to never grab the mouse or the keyboard
.TP .TP
.B --dograb .B --dograb
running under a debugger can cause an implicit \-nograb, use \-dograb running under a debugger can cause an implicit \-nograb, use \-dograb

@ -2890,9 +2890,9 @@ specific OS, (you wrote a graphical LILO configurator for example) put this
information here. information here.
--> -->
<para>Para usar com sucesso o &krecipes;, certifique-se que tem pelo menos uma das duas bases de dados instaladas: o <emphasis>SQLite</emphasis> ou o <emphasis>MySQL</emphasis>. No caso de optar por usar o MySQL, certifique-se que também tem o <emphasis>'plugin' de MySQL do &Qt;</emphasis> devidamente instalado. O programa não irá funcionar sem qualquer suporte para bases de dados. </para> <para>Para usar com sucesso o &krecipes;, certifique-se que tem pelo menos uma das duas bases de dados instaladas: o <emphasis>SQLite</emphasis> ou o <emphasis>MySQL</emphasis>. No caso de optar por usar o MySQL, certifique-se que também tem o <emphasis>'plugin' de MySQL do &TQt;</emphasis> devidamente instalado. O programa não irá funcionar sem qualquer suporte para bases de dados. </para>
<para>&krecipes; também necessita do &kde; &gt;= 3.1 e do &Qt; &gt;= 3.1 </para> <para>&krecipes; também necessita do &kde; &gt;= 3.1 e do &TQt; &gt;= 3.1 </para>
<para>Se você estiver a compilar o &krecipes; a partir do código, poderá necessitar dos seguintes pacotes (os nomes dos mesmos poderão variar de acordo com a sua distribuição):</para> <para>Se você estiver a compilar o &krecipes; a partir do código, poderá necessitar dos seguintes pacotes (os nomes dos mesmos poderão variar de acordo com a sua distribuição):</para>
@ -2906,7 +2906,7 @@ information here.
<listitem><para>zlib-devel</para></listitem> <listitem><para>zlib-devel</para></listitem>
<listitem><para>XFree86-devel, xorg-x11-devel ou libxorg-x11-devel</para></listitem> <listitem><para>XFree86-devel, xorg-x11-devel ou libxorg-x11-devel</para></listitem>
<listitem><para>tdelibs-devel</para></listitem> <listitem><para>tdelibs-devel</para></listitem>
<listitem><para>qt-devel ou libtqt3-devel</para></listitem> <listitem><para>tqt-devel ou libtqt3-devel</para></listitem>
</itemizedlist> </itemizedlist>
<para>O &krecipes; tem suporte, de momento, para guardar as receitas numa base de dados PostgreSQL, ainda que seja considerado numa versão 'beta'. Ainda não foram encontrados problemas com ele, mas até que sejam feitos mais testes, será marcado como não suportado. </para> <para>O &krecipes; tem suporte, de momento, para guardar as receitas numa base de dados PostgreSQL, ainda que seja considerado numa versão 'beta'. Ainda não foram encontrados problemas com ele, mas até que sejam feitos mais testes, será marcado como não suportado. </para>

@ -2491,9 +2491,9 @@ specific OS, (you wrote a graphical LILO configurator for example) put this
information here. information here.
--> -->
<para>För att använda Krecept med lyckat resultat, försäkra dig om att du har minst en av de två nödvändiga databaserna installerad: <emphasis>SQLite</emphasis> eller <emphasis>MySQL</emphasis>. Om du bestämmer dig för att använda MySQL, försäkra dig om att du också har <emphasis>&Qt;:s MySQL-insticksmodul</emphasis> riktigt installerad. Programmet fungerar inte utan databasstöd. </para> <para>För att använda Krecept med lyckat resultat, försäkra dig om att du har minst en av de två nödvändiga databaserna installerad: <emphasis>SQLite</emphasis> eller <emphasis>MySQL</emphasis>. Om du bestämmer dig för att använda MySQL, försäkra dig om att du också har <emphasis>&TQt;:s MySQL-insticksmodul</emphasis> riktigt installerad. Programmet fungerar inte utan databasstöd. </para>
<para>&krecipes; kräver också &kde; &gt;= 3.1 och &Qt; &gt;= 3.1 </para> <para>&krecipes; kräver också &kde; &gt;= 3.1 och &TQt; &gt;= 3.1 </para>
<para>Om du kompilerar &krecipes; från källkod, kan du behöva följande paket (paketnamn kan variera beroende på distribution):</para> <para>Om du kompilerar &krecipes; från källkod, kan du behöva följande paket (paketnamn kan variera beroende på distribution):</para>
@ -2507,7 +2507,7 @@ information here.
<listitem><para>zlib-devel</para></listitem> <listitem><para>zlib-devel</para></listitem>
<listitem><para>XFree86-devel eller xorg-x11-devel eller libxorg-x11-devel</para></listitem> <listitem><para>XFree86-devel eller xorg-x11-devel eller libxorg-x11-devel</para></listitem>
<listitem><para>tdelibs-devel</para></listitem> <listitem><para>tdelibs-devel</para></listitem>
<listitem><para>qt-devel eller libtqt3-devel</para></listitem> <listitem><para>tqt-devel eller libtqt3-devel</para></listitem>
</itemizedlist> </itemizedlist>
<para>Krecept har för närvarande stöd för att lagra recept med PostgreSQL-databasen, även om det för närvarande anses vara en betaversion. Inga problem har hittats med det, men till det har testats mer, är det markerat som om det inte stöds. </para> <para>Krecept har för närvarande stöd för att lagra recept med PostgreSQL-databasen, även om det för närvarande anses vara en betaversion. Inga problem har hittats med det, men till det har testats mer, är det markerat som om det inte stöds. </para>

@ -6,7 +6,7 @@ bin_PROGRAMS = krecipes
SUBDIRS = backends importers widgets dialogs exporters datablocks tests SUBDIRS = backends importers widgets dialogs exporters datablocks tests
# set the include path for X, qt and KDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir) -I$(srcdir)/backends -I$(srcdir)/backends/SQLite $(all_includes) INCLUDES = -I$(srcdir) -I$(srcdir)/backends -I$(srcdir)/backends/SQLite $(all_includes)
# the library search path. # the library search path.

@ -3,7 +3,7 @@
# this is the program that gets installed. it's name is used for all # this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables # of the other Makefile.am variables
# set the include path for X, qt and KDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir) -I$(srcdir)/.. $(all_includes) INCLUDES = -I$(srcdir) -I$(srcdir)/.. $(all_includes)
# Check for optional database libs # Check for optional database libs

@ -3,7 +3,7 @@
# this is the program that gets installed. it's name is used for all # this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables # of the other Makefile.am variables
# set the include path for X, qt and KDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes) INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes)

@ -3,7 +3,7 @@
# this is the program that gets installed. it's name is used for all # this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables # of the other Makefile.am variables
# set the include path for X, qt and KDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes) INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes)

@ -3,7 +3,7 @@
# this is the program that gets installed. it's name is used for all # this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables # of the other Makefile.am variables
# set the include path for X, qt and KDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes) INCLUDES = -I$(srcdir) -I$(srcdir)/.. -I$(srcdir)/../.. $(all_includes)
# Instructions for building the convenience library # Instructions for building the convenience library

@ -703,7 +703,6 @@ void LiteRecipeDB::portOldDatabases( float version )
TQImageIO iio( &buffer, "JPEG" ); TQImageIO iio( &buffer, "JPEG" );
iio.setImage( photo ); iio.setImage( photo );
iio.write(); iio.write();
//recipe->photo.save( &buffer, "JPEG" ); don't need TQImageIO in QT 3.2
storePhoto( query.value(0).toInt(), ba ); storePhoto( query.value(0).toInt(), ba );
emit progress(); emit progress();

@ -626,7 +626,6 @@ void TQSqlRecipeDB::saveRecipe( Recipe *recipe )
TQImageIO iio( &buffer, "JPEG" ); TQImageIO iio( &buffer, "JPEG" );
iio.setImage( recipe->photo.convertToImage() ); iio.setImage( recipe->photo.convertToImage() );
iio.write(); iio.write();
//recipe->photo.save( &buffer, "JPEG" ); don't need TQImageIO in QT 3.2
storePhoto( recipeID, ba ); storePhoto( recipeID, ba );
} }

@ -3,7 +3,7 @@
# this is the program that gets installed. it's name is used for all # this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables # of the other Makefile.am variables
# set the include path for X, qt and KDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir)/.. $(all_includes) INCLUDES = -I$(srcdir)/.. $(all_includes)
noinst_LTLIBRARIES=libdatablocks.la noinst_LTLIBRARIES=libdatablocks.la

@ -3,7 +3,7 @@
# this is the program that gets installed. it's name is used for all # this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables # of the other Makefile.am variables
# set the include path for X, qt and TDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir)/.. $(all_includes) INCLUDES = -I$(srcdir)/.. $(all_includes)
KDE_CXXFLAGS = $(USE_EXCEPTIONS) KDE_CXXFLAGS = $(USE_EXCEPTIONS)

@ -189,8 +189,7 @@ void DBImportDialog::switchDBPage( int id )
TQString DBImportDialog::dbType() const TQString DBImportDialog::dbType() const
{ {
//int id=dbButtonGroup->selectedId(); //QT 3.2 int id = dbButtonGroup->id( dbButtonGroup->selected() );
int id = dbButtonGroup->id( dbButtonGroup->selected() ); //QT 3.1
switch ( id ) { switch ( id ) {
case 0: case 0:
return "SQLite"; return "SQLite";

@ -92,7 +92,6 @@ TQString CookMLExporter::createContent( const RecipeList& recipes )
TQImageIO iio( &buffer, "JPEG" ); TQImageIO iio( &buffer, "JPEG" );
iio.setImage( ( *recipe_it ).photo.convertToImage() ); iio.setImage( ( *recipe_it ).photo.convertToImage() );
iio.write(); iio.write();
//( *recipe_it ).photo.save( &buffer, "JPEG" ); don't need TQImageIO in QT 3.2
picbin_tag.appendChild( doc.createTextNode( KCodecs::base64Encode( data, true ) ) ); picbin_tag.appendChild( doc.createTextNode( KCodecs::base64Encode( data, true ) ) );
head_tag.appendChild( picbin_tag ); head_tag.appendChild( picbin_tag );

@ -113,7 +113,6 @@ TQString KreExporter::createContent( const RecipeList& recipes )
TQImageIO iio( &buffer, "JPEG" ); TQImageIO iio( &buffer, "JPEG" );
iio.setImage( ( *recipe_it ).photo.convertToImage() ); iio.setImage( ( *recipe_it ).photo.convertToImage() );
iio.write(); iio.write();
//( *recipe_it ).photo.save( &buffer, "JPEG" ); don't need TQImageIO in QT 3.2
xml += KCodecs::base64Encode( data, true ); xml += KCodecs::base64Encode( data, true );

@ -3,7 +3,7 @@
# this is the program that gets installed. it's name is used for all # this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables # of the other Makefile.am variables
# set the include path for X, qt and KDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../backends $(all_includes) INCLUDES = -I$(srcdir)/.. -I$(srcdir)/../backends $(all_includes)
noinst_LTLIBRARIES=libkrecipesimporters.la noinst_LTLIBRARIES=libkrecipesimporters.la

@ -816,8 +816,7 @@ DBTypeSetupPage::DBTypeSetupPage( TQWidget *parent ) : TQWidget( parent )
int DBTypeSetupPage::dbType( void ) int DBTypeSetupPage::dbType( void )
{ {
//int id=bg->selectedId(); //QT 3.2 int id = bg->id( bg->selected() );
int id = bg->id( bg->selected() ); //QT 3.1
switch ( id ) { switch ( id ) {
case 1: case 1:

@ -3,7 +3,7 @@
# this is the program that gets installed. it's name is used for all # this is the program that gets installed. it's name is used for all
# of the other Makefile.am variables # of the other Makefile.am variables
# set the include path for X, qt and KDE # set the include path for X, tqt and TDE
INCLUDES = -I$(srcdir)/.. $(all_includes) INCLUDES = -I$(srcdir)/.. $(all_includes)
noinst_LTLIBRARIES=libkrecipeswidgets.la noinst_LTLIBRARIES=libkrecipeswidgets.la

@ -65,7 +65,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Приставката (%1) за базата данни Qt не е инсталирана. Тя е необходима за " "Приставката (%1) за базата данни TQt не е инсталирана. Тя е необходима за "
"използването на тази база данни." "използването на тази база данни."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -73,7 +73,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Zásuvný modul databáze (%1) pro prostředí Qt není instalován. Tento zásuvný " "Zásuvný modul databáze (%1) pro prostředí TQt není instalován. Tento zásuvný "
"modul je vyžadován při použití vybraného databázového stroje." "modul je vyžadován při použití vybraného databázového stroje."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -65,7 +65,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Qt database plugin (%1) er ikke installeret. Dette plugin er påkrævet for at " "TQt database plugin (%1) er ikke installeret. Dette plugin er påkrævet for at "
"kunne bruge det underliggende database-program." "kunne bruge det underliggende database-program."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -64,7 +64,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Το πρόσθετο βάσης δεδομένων Qt (%1) δεν είναι εγκατεστημένο. Αυτό το " "Το πρόσθετο βάσης δεδομένων TQt (%1) δεν είναι εγκατεστημένο. Αυτό το "
"πρόσθετο είναι απαραίτητο για τη χρήση αυτού του συστήματος υποστήριξης " "πρόσθετο είναι απαραίτητο για τη χρήση αυτού του συστήματος υποστήριξης "
"βάσης δεδομένων." "βάσης δεδομένων."

@ -67,7 +67,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"The Qt database plug-in (%1) is not installed. This plug-in is required for " "The TQt database plug-in (%1) is not installed. This plug-in is required for "
"using this database backend." "using this database backend."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -76,7 +76,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"La extensión de base de datos de las Qt (%1) no está instalado. Esta " "La extensión de base de datos de las TQt (%1) no está instalado. Esta "
"extensión es necesaria para usar este motor de base de datos." "extensión es necesaria para usar este motor de base de datos."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -61,7 +61,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Qt andmebaasi plugin (%1) ei ole paigaldatud. Selle andmebaasi " "TQt andmebaasi plugin (%1) ei ole paigaldatud. Selle andmebaasi "
"taustaprogrammi kasutamiseks on see plugin hädavajalik." "taustaprogrammi kasutamiseks on see plugin hädavajalik."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -67,7 +67,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Qt tietokannan liitännäistä (%1) ei ole asennettu. Tätä liitännäistä " "TQt tietokannan liitännäistä (%1) ei ole asennettu. Tätä liitännäistä "
"tarvitaan tätä tietokantaa (backend)." "tarvitaan tätä tietokantaa (backend)."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -80,7 +80,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Le module (%1) de base de données Qt n'est pas installé. Ce module est " "Le module (%1) de base de données TQt n'est pas installé. Ce module est "
"nécessaire afin d'utiliser une base de données MySQL." "nécessaire afin d'utiliser une base de données MySQL."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -61,7 +61,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"O plugin de base de dados de Qt (%1) non está instalado. Este plugin é " "O plugin de base de dados de TQt (%1) non está instalado. Este plugin é "
"necesário para utilizar esta infra-estrutura de base de dados." "necesário para utilizar esta infra-estrutura de base de dados."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -65,7 +65,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Il plugin di Qt per banche dati (%1) non è installato. Questo plugin è " "Il plugin di TQt per banche dati (%1) non è installato. Questo plugin è "
"richiesto per usare questa interfaccia a banche dati." "richiesto per usare questa interfaccia a banche dati."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -61,7 +61,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"このデータベースバックエンドを使用するために必要な Qt データベースプラグイン " "このデータベースバックエンドを使用するために必要な TQt データベースプラグイン "
"(%1) がインストールされていません。" "(%1) がインストールされていません。"
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -63,7 +63,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Qt მონაცემთა ბაზის მოდული (%1) არაა დაყენებული. ეს მოდული საჭიროა საჭიროა " "TQt მონაცემთა ბაზის მოდული (%1) არაა დაყენებული. ეს მოდული საჭიროა საჭიროა "
"ბაზის backend-ის გამოყენებისას." "ბაზის backend-ის გამოყენებისას."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -62,7 +62,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Programtillegget Qt database (%1) er ikke installert. Dette programmet er " "Programtillegget TQt database (%1) er ikke installert. Dette programmet er "
"nødvendig for denne database motoren." "nødvendig for denne database motoren."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -66,7 +66,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"De Qt databaseplugin (%1) is niet geïnstalleerd. Deze plugin is vereist als " "De TQt databaseplugin (%1) is niet geïnstalleerd. Deze plugin is vereist als "
"u deze databasebackend wilt gebruiken." "u deze databasebackend wilt gebruiken."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -63,7 +63,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Wtyczka Qt MySQL (QMYSQL3) nie jest zainstalowana. Ta wtyczka jest wymagana " "Wtyczka TQt MySQL (QMYSQL3) nie jest zainstalowana. Ta wtyczka jest wymagana "
"do zarządzania bazą danych MySQL." "do zarządzania bazą danych MySQL."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -68,7 +68,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"O 'plugin' de base de dados do Qt (%1) não está instalado. Este 'plugin' é " "O 'plugin' de base de dados do TQt (%1) não está instalado. Este 'plugin' é "
"necessário para utilizar esta infra-estrutura de base de dados." "necessário para utilizar esta infra-estrutura de base de dados."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -65,7 +65,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"O plug-in para banco de dados da Qt (%1) não está instalado. Este plug-in é " "O plug-in para banco de dados da TQt (%1) não está instalado. Este plug-in é "
"necessário para utilizar esta infra-estrutura de banco de dados." "necessário para utilizar esta infra-estrutura de banco de dados."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -71,7 +71,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Vstavek MySQL za Qt (QMYSQL3) ni nameščen. Ta vstavek je potreben za " "Vstavek MySQL za TQt (QMYSQL3) ni nameščen. Ta vstavek je potreben za "
"uporabo MySQL." "uporabo MySQL."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -61,7 +61,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Qt прикључак за базе података у (%1) није инсталиран. Овај прикључак је " "TQt прикључак за базе података у (%1) није инсталиран. Овај прикључак је "
"неопходан за коришћење позадинског система база података." "неопходан за коришћење позадинског система база података."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -61,7 +61,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Qt priključak za baze podataka u (%1) nije instaliran. Ovaj priključak je " "TQt priključak za baze podataka u (%1) nije instaliran. Ovaj priključak je "
"neophodan za korišćenje pozadinskog sistema baza podataka." "neophodan za korišćenje pozadinskog sistema baza podataka."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -63,7 +63,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Databasinsticksprogrammet i Qt (%1) är inte installerat. Detta " "Databasinsticksprogrammet i TQt (%1) är inte installerat. Detta "
"insticksprogram krävs för att använda databasgränssnittet." "insticksprogram krävs för att använda databasgränssnittet."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -70,7 +70,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Qt தரவுத்தள சொருகுப்பொருள்(%1) நிறுவப்படவில்லை. இந்த சொருகுப்பொருள் தரவுத்தள பின்னணியை " "TQt தரவுத்தள சொருகுப்பொருள்(%1) நிறுவப்படவில்லை. இந்த சொருகுப்பொருள் தரவுத்தள பின்னணியை "
"பயன்படுத்துவதற்கு தேவைப்படுகிறது." "பயன்படுத்துவதற்கு தேவைப்படுகிறது."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104

@ -69,7 +69,7 @@ msgid ""
"The TQt database plug-in (%1) is not installed. This plug-in is required " "The TQt database plug-in (%1) is not installed. This plug-in is required "
"for using this database backend." "for using this database backend."
msgstr "" msgstr ""
"Qt·MySQL·plug-in'i·(QMYSQL3)·yüklenmemiş.MySQL kullanmak için bu gerekli." "TQt·MySQL·plug-in'i·(QMYSQL3)·yüklenmemiş.MySQL kullanmak için bu gerekli."
#: src/backends/qsqlrecipedb.cpp:104 #: src/backends/qsqlrecipedb.cpp:104
#, fuzzy #, fuzzy

Loading…
Cancel
Save