summaryrefslogtreecommitdiffstats
path: root/kode/automakefile.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kode/automakefile.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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';