From d8cc8bdfa7fa624a526d5aa1626974e1444cb799 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 May 2011 19:21:21 +0000 Subject: TQt4 port k3b This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/k3b@1233803 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/projects/k3bencodingconverter.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/projects/k3bencodingconverter.h') diff --git a/src/projects/k3bencodingconverter.h b/src/projects/k3bencodingconverter.h index e40003c..c88f5be 100644 --- a/src/projects/k3bencodingconverter.h +++ b/src/projects/k3bencodingconverter.h @@ -16,10 +16,10 @@ #ifndef _K3B_ENCODING_CONVERTER_H_ #define _K3B_ENCODING_CONVERTER_H_ -#include -#include +#include +#include -class QWidget; +class TQWidget; class K3bEncodingConverter { @@ -32,7 +32,7 @@ class K3bEncodingConverter * * \return True if the string is encoded in the local encoding. */ - bool encodedLocally( const QCString& ); + bool encodedLocally( const TQCString& ); /** * Tries to fix the encoding of a string to fit the local @@ -41,16 +41,16 @@ class K3bEncodingConverter * the proper encoding based on example conversions. * * \param s The string to be fixed. - * \param parent The parent widget to be used when showing the encoding selection dialog. + * \param tqparent The tqparent widget to be used when showing the encoding selection dialog. * \param cacheEncoding If true the codeset used for successful conversion is cached and * reused for the next call to fixEncoding. * * \return True if the conversion was successful. */ - bool fixEncoding( const QCString& s, QCString& result, QWidget* parent = 0, bool cacheEncoding = true ); + bool fixEncoding( const TQCString& s, TQCString& result, TQWidget* tqparent = 0, bool cacheEncoding = true ); private: - bool convert( const QCString& s, QCString& result, const QString& from, const QString& to ); + bool convert( const TQCString& s, TQCString& result, const TQString& from, const TQString& to ); class Private; Private* d; -- cgit v1.2.3