From d6f8bbb45b267065a6907e71ff9c98bb6d161241 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:56:07 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/astyle/astyle_adaptor.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'parts/astyle/astyle_adaptor.cpp') diff --git a/parts/astyle/astyle_adaptor.cpp b/parts/astyle/astyle_adaptor.cpp index 124da96e..6d6d44b6 100644 --- a/parts/astyle/astyle_adaptor.cpp +++ b/parts/astyle/astyle_adaptor.cpp @@ -4,19 +4,19 @@ #include -#include -#include -#include +#include +#include +#include #include #include #include -ASStringIterator::ASStringIterator(const QString &text) +ASStringIterator::ASStringIterator(const TQString &text) : ASSourceIterator(), _content(text) { - _is = new QTextStream(&_content, IO_ReadOnly); + _is = new TQTextStream(&_content, IO_ReadOnly); } @@ -38,9 +38,9 @@ string ASStringIterator::nextLine() } -KDevFormatter::KDevFormatter(const QMap& options) +KDevFormatter::KDevFormatter(const TQMap& options) { -// for ( QMap::ConstIterator iter = options.begin();iter != options.end();iter++ ) +// for ( TQMap::ConstIterator iter = options.begin();iter != options.end();iter++ ) // { // kdDebug ( 9009 ) << "format: " << iter.key() << "=" << iter.data() << endl; // } @@ -48,7 +48,7 @@ KDevFormatter::KDevFormatter(const QMap& options) setCStyle(); // style - QString s = options["FStyle"].toString(); + TQString s = options["FStyle"].toString(); if ( predefinedStyle( s ) ) { return; @@ -215,7 +215,7 @@ KDevFormatter::KDevFormatter( AStyleWidget * widget ) setSingleStatementsMode( !widget->Keep_Statements->isChecked() ); } -bool KDevFormatter::predefinedStyle( const QString & style ) +bool KDevFormatter::predefinedStyle( const TQString & style ) { if (style == "ANSI") { -- cgit v1.2.1