diff options
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") { |