diff options
Diffstat (limited to 'src/rtf2html')
-rw-r--r-- | src/rtf2html/rtf2html.cpp | 6 | ||||
-rw-r--r-- | src/rtf2html/rtf2html.h | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/rtf2html/rtf2html.cpp b/src/rtf2html/rtf2html.cpp index 4f29fe7..e6e8b34 100644 --- a/src/rtf2html/rtf2html.cpp +++ b/src/rtf2html/rtf2html.cpp @@ -29,11 +29,11 @@ using Tellico::RTF2HTML; using namespace rtf; -RTF2HTML::RTF2HTML(const QString& text) : m_text(text) { +RTF2HTML::RTF2HTML(const TQString& text) : m_text(text) { } -QString RTF2HTML::toHTML() const { - std::string str_in = m_text; +TQString RTF2HTML::toHTML() const { + std::string str_in = m_text.ascii(); std::string::iterator buf_in=str_in.begin(), buf_in_end=str_in.end(); colorvect colortbl; diff --git a/src/rtf2html/rtf2html.h b/src/rtf2html/rtf2html.h index a4e1d2f..05e8eb1 100644 --- a/src/rtf2html/rtf2html.h +++ b/src/rtf2html/rtf2html.h @@ -11,18 +11,18 @@ * * ***************************************************************************/ -#include <qstring.h> +#include <tqstring.h> namespace Tellico { class RTF2HTML { public: - RTF2HTML(const QString& text); + RTF2HTML(const TQString& text); - QString toHTML() const; + TQString toHTML() const; private: - QString m_text; + TQString m_text; }; } |