diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/astyle/astyle_adaptor.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/astyle/astyle_adaptor.h')
-rw-r--r-- | parts/astyle/astyle_adaptor.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/parts/astyle/astyle_adaptor.h b/parts/astyle/astyle_adaptor.h index 2367c4d7..21398fbb 100644 --- a/parts/astyle/astyle_adaptor.h +++ b/parts/astyle/astyle_adaptor.h @@ -2,10 +2,10 @@ #define __ASTYLE_ADAPTOR_H__ -#include <qstring.h> -#include <qtextstream.h> -#include <qmap.h> -#include <qvariant.h> +#include <tqstring.h> +#include <tqtextstream.h> +#include <tqmap.h> +#include <tqvariant.h> #include "astyle.h" @@ -17,7 +17,7 @@ class ASStringIterator : public astyle::ASSourceIterator { public: - ASStringIterator(const QString &string); + ASStringIterator(const TQString &string); virtual ~ASStringIterator(); virtual bool hasMoreLines() const; @@ -26,8 +26,8 @@ public: private: - QString _content; - QTextStream *_is; + TQString _content; + TQTextStream *_is; }; @@ -37,18 +37,18 @@ class KDevFormatter : public astyle::ASFormatter { public: - KDevFormatter(const QMap<QString, QVariant>& options); + KDevFormatter(const TQMap<TQString, TQVariant>& options); KDevFormatter( AStyleWidget * widget ); - QString indentString() const + TQString indentString() const { return m_indentString; } private: - bool predefinedStyle( const QString & style ); + bool predefinedStyle( const TQString & style ); private: - QString m_indentString; + TQString m_indentString; }; |