diff options
Diffstat (limited to 'buildtools/qmake/qmakedefaultopts.cpp')
-rw-r--r-- | buildtools/qmake/qmakedefaultopts.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/buildtools/qmake/qmakedefaultopts.cpp b/buildtools/qmake/qmakedefaultopts.cpp index 14ca7aa0..fa7711c9 100644 --- a/buildtools/qmake/qmakedefaultopts.cpp +++ b/buildtools/qmake/qmakedefaultopts.cpp @@ -13,7 +13,7 @@ #include <kdebug.h> #include <ktempfile.h> -#include <qregexp.h> +#include <tqregexp.h> #include <kprocess.h> #include <blockingkprocess.h> @@ -23,7 +23,7 @@ QMakeDefaultOpts::QMakeDefaultOpts() } -void QMakeDefaultOpts::readVariables( const QString& qmake, const QString& projdir ) +void QMakeDefaultOpts::readVariables( const TQString& qmake, const TQString& projdir ) { KTempFile makefile (projdir+"/", ".mf"); KTempFile qmakefile(projdir+"/", ".pro"); @@ -53,16 +53,16 @@ void QMakeDefaultOpts::readVariables( const QString& qmake, const QString& projd { makefile.unlink(); qmakefile.unlink(); - QStringList lines = QStringList::split( "\n", proc.stdErr() ); + TQStringList lines = TQStringList::split( "\n", proc.stdErr() ); kdDebug(9024) << "Got " << lines.count() << " lines" << endl; - for ( QStringList::const_iterator it = lines.begin(); it != lines.end(); ++it) + for ( TQStringList::const_iterator it = lines.begin(); it != lines.end(); ++it) { - QString line = *it; - QRegExp re( "DEBUG 1: ([^ =:]+) === (.*)" ); + TQString line = *it; + TQRegExp re( "DEBUG 1: ([^ =:]+) === (.*)" ); if ( re.exactMatch( line ) ) { - QString var = re.cap( 1 ); - QStringList values = QStringList::split( " :: ", re.cap( 2 ) ); + TQString var = re.cap( 1 ); + TQStringList values = TQStringList::split( " :: ", re.cap( 2 ) ); m_variables[var] = values; m_keys.append( var ); } @@ -75,15 +75,15 @@ QMakeDefaultOpts::~QMakeDefaultOpts() { } -const QStringList QMakeDefaultOpts::variableValues( const QString& var ) const +const TQStringList QMakeDefaultOpts::variableValues( const TQString& var ) const { -// QStringList result; +// TQStringList result; if ( m_variables.contains(var) ) return m_variables[var]; - return QStringList(); + return TQStringList(); } -const QStringList& QMakeDefaultOpts::variables() const +const TQStringList& QMakeDefaultOpts::variables() const { return m_keys; } |