From 17e2ed52dbf8fac39a04331da02b9572e9e2e304 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:35:40 -0600 Subject: Rename additional global TQt functions --- libkmime/kmime_charfreq.cpp | 2 +- libkmime/kmime_content.cpp | 10 +++++----- libkmime/kmime_header_parsing.cpp | 6 +++--- libkmime/tests/test_kmime_codec.cpp | 6 +++--- libkmime/tests/test_kmime_header_parsing.cpp | 2 +- libkmime/tests/test_mdn.cpp | 2 +- 6 files changed, 14 insertions(+), 14 deletions(-) (limited to 'libkmime') diff --git a/libkmime/kmime_charfreq.cpp b/libkmime/kmime_charfreq.cpp index 93413b80c..13e77ddcc 100644 --- a/libkmime/kmime_charfreq.cpp +++ b/libkmime/kmime_charfreq.cpp @@ -133,7 +133,7 @@ bool CharFreq::hasLeadingFrom() const { CharFreq::Type CharFreq::type() const { #if 0 - qDebug( "Total: %d; NUL: %d; CTL: %d;\n" + tqDebug( "Total: %d; NUL: %d; CTL: %d;\n" "CR: %d; LF: %d; CRLF: %d;\n" "lineMin: %d; lineMax: %d;\n" "printable: %d; eightBit: %d;\n" diff --git a/libkmime/kmime_content.cpp b/libkmime/kmime_content.cpp index 6eca383fa..5dead52af 100644 --- a/libkmime/kmime_content.cpp +++ b/libkmime/kmime_content.cpp @@ -53,7 +53,7 @@ Content::~Content() void Content::setContent(TQStrList *l) { - //qDebug("Content::setContent(TQStrList *l) : start"); + //tqDebug("Content::setContent(TQStrList *l) : start"); h_ead.resize(0); b_ody.resize(0); @@ -79,7 +79,7 @@ void Content::setContent(TQStrList *l) hts << '\0'; bts << '\0'; - //qDebug("Content::setContent(TQStrList *l) : finished"); + //tqDebug("Content::setContent(TQStrList *l) : finished"); } @@ -98,7 +98,7 @@ void Content::setContent(const TQCString &s) //parse the message, split multiple parts void Content::parse() { - //qDebug("void Content::parse() : start"); + //tqDebug("void Content::parse() : start"); delete h_eaders; h_eaders=0; @@ -151,7 +151,7 @@ void Content::parse() c->parse(); c->contentType()->setCategory(cat); //set category of the sub-part c_ontents->append(c); - //qDebug("part:\n%s\n\n%s", c->h_ead.data(), c->b_ody.left(100).data()); + //tqDebug("part:\n%s\n\n%s", c->h_ead.data(), c->b_ody.left(100).data()); } //the whole content is now split into single parts, so it's safe delete the message-body @@ -249,7 +249,7 @@ void Content::parse() } } - //qDebug("void Content::parse() : finished"); + //tqDebug("void Content::parse() : finished"); } diff --git a/libkmime/kmime_header_parsing.cpp b/libkmime/kmime_header_parsing.cpp index 14d4ed118..32099f29e 100644 --- a/libkmime/kmime_header_parsing.cpp +++ b/libkmime/kmime_header_parsing.cpp @@ -1402,7 +1402,7 @@ static bool parseDayName( const char* & scursor, const char * const send ) if ( send - scursor < 3 ) return false; for ( int i = 0 ; i < stdDayNamesLen ; ++i ) - if ( qstrnicmp( scursor, stdDayNames[i], 3 ) == 0 ) { + if ( tqstrnicmp( scursor, stdDayNames[i], 3 ) == 0 ) { scursor += 3; kdDebug() << "found " << stdDayNames[i] << endl; return true; @@ -1426,7 +1426,7 @@ static bool parseMonthName( const char* & scursor, const char * const send, if ( send - scursor < 3 ) return false; for ( result = 0 ; result < stdMonthNamesLen ; ++result ) - if ( qstrnicmp( scursor, stdMonthNames[result], 3 ) == 0 ) { + if ( tqstrnicmp( scursor, stdMonthNames[result], 3 ) == 0 ) { scursor += 3; return true; } @@ -1495,7 +1495,7 @@ static bool parseAlphaNumericTimeZone( const char* & scursor, if ( !parseToken( scursor, send, maybeTimeZone, false /*no 8bit*/ ) ) return false; for ( int i = 0 ; i < timeZonesLen ; ++i ) - if ( qstrnicmp( timeZones[i].tzName, + if ( tqstrnicmp( timeZones[i].tzName, maybeTimeZone.first, maybeTimeZone.second ) == 0 ) { scursor += maybeTimeZone.second; secsEastOfGMT = timeZones[i].secsEastOfGMT; diff --git a/libkmime/tests/test_kmime_codec.cpp b/libkmime/tests/test_kmime_codec.cpp index 832ea2c3c..7417c8aea 100644 --- a/libkmime/tests/test_kmime_codec.cpp +++ b/libkmime/tests/test_kmime_codec.cpp @@ -138,11 +138,11 @@ int main( int argc, char * argv[] ) { verbose = true; break; case 9: // usage-pattern - if ( !qstricmp( "kio", optarg ) ) + if ( !tqstricmp( "kio", optarg ) ) pattern = Kio; - else if ( !qstricmp( "chunkwise", optarg ) ) + else if ( !tqstricmp( "chunkwise", optarg ) ) pattern = ChunkWise; - else if ( !qstricmp( "convenience-qba", optarg ) ) + else if ( !tqstricmp( "convenience-qba", optarg ) ) pattern = ConvenienceTQBA; else { cerr << "Unknown usage pattern \"" << optarg << "\"" << endl; diff --git a/libkmime/tests/test_kmime_header_parsing.cpp b/libkmime/tests/test_kmime_header_parsing.cpp index 7c93ec108..091b48a65 100644 --- a/libkmime/tests/test_kmime_header_parsing.cpp +++ b/libkmime/tests/test_kmime_header_parsing.cpp @@ -116,7 +116,7 @@ int main( int argc, char * argv[] ) { int index; for ( index = 0 ; index < tokenTypesLen ; ++index ) - if ( !qstricmp( tokenTypes[index], argument ) ) break; + if ( !tqstricmp( tokenTypes[index], argument ) ) break; if ( index >= tokenTypesLen ) usage( "unknown token type" ); diff --git a/libkmime/tests/test_mdn.cpp b/libkmime/tests/test_mdn.cpp index fa9290f20..e4a132d8d 100644 --- a/libkmime/tests/test_mdn.cpp +++ b/libkmime/tests/test_mdn.cpp @@ -52,7 +52,7 @@ int main( int argc, char * argv[] ) { long_options, &option_index ); if ( c == -1 ) break; -#define EQUALS(x) !qstricmp( optarg, x ) +#define EQUALS(x) !tqstricmp( optarg, x ) switch ( c ) { -- cgit v1.2.1