Browse Source

qt -> tqt conversion:

QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/1/head
Michele Calgaro 1 year ago
parent
commit
757f562a48
Signed by: MicheleC <michele.calgaro@yahoo.it> GPG Key ID: 2A75B7CA8ADED5CF
2 changed files with 8 additions and 8 deletions
  1. +1
    -1
      configure.in.in
  2. +7
    -7
      src/rtf2html/rtf2html.cpp

+ 1
- 1
configure.in.in View File

@@ -27,7 +27,7 @@ AM_KDE_MIN_VERSION(3,3,1)

dnl CXXFLAGS="$NOOPT_CXXFLAGS" dnl __tdevelop[noopt]__
dnl CFLAGS="$NOOPT_CFLAGS" dnl __tdevelop[noopt]__
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS -DQT_NO_ASCII_CAST -DQT_NO_TRANSLATION" dnl __tdevelop[exc]__
dnl CXXFLAGS="$CXXFLAGS $USE_EXCEPTIONS -DTQT_NO_ASCII_CAST -DTQT_NO_TRANSLATION" dnl __tdevelop[exc]__

dnl KDE_NEED_FLEX dnl __tdevelop__
dnl AC_PROG_YACC dnl __tdevelop__


+ 7
- 7
src/rtf2html/rtf2html.cpp View File

@@ -15,9 +15,9 @@
***************************************************************************/

// force to use QT with STL
#if defined(QT_NO_STL)
# define DISABLE_QT_NO_STL
# undef QT_NO_STL
#if defined(TQT_NO_STL)
# define DISABLE_TQT_NO_STL
# undef TQT_NO_STL
#endif

#include "rtf2html.h"
@@ -535,8 +535,8 @@ TQString RTF2HTML::toHTML() const {
return html;
}

// restore QT_NO_STL
#if defined(DISABLE_QT_NO_STL)
# undef DISABLE_QT_NO_STL
# define QT_NO_STL
// restore TQT_NO_STL
#if defined(DISABLE_TQT_NO_STL)
# undef DISABLE_TQT_NO_STL
# define TQT_NO_STL
#endif

Loading…
Cancel
Save