summaryrefslogtreecommitdiffstats
path: root/kode/automakefile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kode/automakefile.cpp')
-rw-r--r--kode/automakefile.cpp20
1 files changed, 10 insertions, 10 deletions
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<QString,QString>::Iterator it = mValues.find( variable );
+ TQMap<TQString,TQString>::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';