From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kode/automakefile.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'kode/automakefile.cpp') diff --git a/kode/automakefile.cpp b/kode/automakefile.cpp index 4ee5408fb..468059ae3 100644 --- a/kode/automakefile.cpp +++ b/kode/automakefile.cpp @@ -23,7 +23,7 @@ using namespace KODE; -AutoMakefile::Target::Target( const QString &type, const QString &name ) +AutoMakefile::Target::Target( const TQString &type, const TQString &name ) : mType( type ), mName( name ) { } @@ -40,17 +40,17 @@ void AutoMakefile::addTarget( const Target &t ) } } -void AutoMakefile::addEntry( const QString &variable, const QString &value ) +void AutoMakefile::addEntry( const TQString &variable, const TQString &value ) { if ( variable.isEmpty() ) { mEntries.append( variable ); return; } - QStringList::ConstIterator it = mEntries.find( variable ); + TQStringList::ConstIterator it = mEntries.find( variable ); if ( it == mEntries.end() ) { mEntries.append( variable ); - QMap::Iterator it = mValues.find( variable ); + TQMap::Iterator it = mValues.find( variable ); if ( it == mValues.end() ) { mValues.insert( variable, value ); } else { @@ -64,13 +64,13 @@ void AutoMakefile::newLine() addEntry( "" ); } -QString AutoMakefile::text() const +TQString AutoMakefile::text() const { - QString out; + TQString out; - QStringList::ConstIterator it; + TQStringList::ConstIterator it; for( it = mEntries.begin(); it != mEntries.end(); ++it ) { - QString variable = *it; + TQString variable = *it; if ( variable.isEmpty() ) { out += '\n'; } else { @@ -80,7 +80,7 @@ QString AutoMakefile::text() const out += '\n'; for( it = mTargetTypes.begin(); it != mTargetTypes.end(); ++it ) { - QString targetType = *it; + TQString targetType = *it; out += targetType + " = "; @@ -97,7 +97,7 @@ QString AutoMakefile::text() const Target t = *it2; if ( t.type() != targetType ) continue; - QString name = t.name(); + TQString name = t.name(); name.replace( '.', '_' ); out += name + "_SOURCES = " + t.sources() + '\n'; -- cgit v1.2.1