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.cpp | |
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.cpp')
-rw-r--r-- | parts/astyle/astyle_adaptor.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
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 <string> -#include <qradiobutton.h> -#include <qspinbox.h> -#include <qcheckbox.h> +#include <tqradiobutton.h> +#include <tqspinbox.h> +#include <tqcheckbox.h> #include <kdebug.h> #include <kapplication.h> #include <kconfig.h> -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<QString, QVariant>& options) +KDevFormatter::KDevFormatter(const TQMap<TQString, TQVariant>& options) { -// for ( QMap<QString, QVariant>::ConstIterator iter = options.begin();iter != options.end();iter++ ) +// for ( TQMap<TQString, TQVariant>::ConstIterator iter = options.begin();iter != options.end();iter++ ) // { // kdDebug ( 9009 ) << "format: " << iter.key() << "=" << iter.data() << endl; // } @@ -48,7 +48,7 @@ KDevFormatter::KDevFormatter(const QMap<QString, QVariant>& 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") { |