diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-05-27 19:21:21 +0000 |
commit | d8cc8bdfa7fa624a526d5aa1626974e1444cb799 (patch) | |
tree | f295f1c545b319963d5357af79fe08991d8141d9 /src/projects/k3bencodingconverter.h | |
parent | 2a39a080579fb52a2599c02b2939795385b89093 (diff) | |
download | k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.tar.gz k3b-d8cc8bdfa7fa624a526d5aa1626974e1444cb799.zip |
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
Diffstat (limited to 'src/projects/k3bencodingconverter.h')
-rw-r--r-- | src/projects/k3bencodingconverter.h | 14 |
1 files changed, 7 insertions, 7 deletions
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 <qcstring.h> -#include <qstring.h> +#include <tqcstring.h> +#include <tqstring.h> -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; |