summaryrefslogtreecommitdiffstats
path: root/src/tools/qstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qstring.cpp')
-rw-r--r--src/tools/qstring.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/tools/qstring.cpp b/src/tools/qstring.cpp
index 756f12477..bb521868c 100644
--- a/src/tools/qstring.cpp
+++ b/src/tools/qstring.cpp
@@ -1986,7 +1986,7 @@ static TQString replaceArgEscapes(const TQString &s, const ArgEscapeData &d, int
differ between languages.
If there is no place marker (\c %1, \c %2, etc.), a warning
- message (qWarning()) is output and the result is undefined.
+ message (tqWarning()) is output and the result is undefined.
\warning If any placeholder occurs more than once, the result is undefined.
@@ -1996,7 +1996,7 @@ TQString TQString::arg( const TQString& a, int fieldWidth ) const
ArgEscapeData d = findArgEscapes(*this);
if (d.occurrences == 0) {
- qWarning( "TQString::arg(): Argument missing: %s, %s", latin1(),
+ tqWarning( "TQString::arg(): Argument missing: %s, %s", latin1(),
a.latin1() );
return *this;
}
@@ -2103,7 +2103,7 @@ TQString TQString::arg( Q_LLONG a, int fieldWidth, int base ) const
ArgEscapeData d = findArgEscapes(*this);
if (d.occurrences == 0) {
- qWarning( "TQString::arg(): Argument missing: %s, %lld", latin1(),
+ tqWarning( "TQString::arg(): Argument missing: %s, %lld", latin1(),
a );
return *this;
}
@@ -2133,7 +2133,7 @@ TQString TQString::arg( Q_ULLONG a, int fieldWidth, int base ) const
ArgEscapeData d = findArgEscapes(*this);
if (d.occurrences == 0) {
- qWarning( "TQString::arg(): Argument missing: %s, %llu", latin1(),
+ tqWarning( "TQString::arg(): Argument missing: %s, %llu", latin1(),
a );
return *this;
}
@@ -2249,7 +2249,7 @@ TQString TQString::arg( double a, int fieldWidth, char fmt, int prec ) const
ArgEscapeData d = findArgEscapes(*this);
if (d.occurrences == 0) {
- qWarning( "TQString::arg(): Argument missing: %s, %g", latin1(),
+ tqWarning( "TQString::arg(): Argument missing: %s, %g", latin1(),
a );
return *this;
}
@@ -2281,7 +2281,7 @@ TQString TQString::arg( double a, int fieldWidth, char fmt, int prec ) const
break;
default:
#if defined(QT_CHECK_RANGE)
- qWarning( "TQString::setNum: Invalid format char '%c'", fmt );
+ tqWarning( "TQString::setNum: Invalid format char '%c'", fmt );
#endif
break;
}
@@ -2329,7 +2329,7 @@ TQString TQString::multiArg( int numArgs, const TQString& a1, const TQString& a2
} while ( lastDigit < 10 && digitUsed[lastDigit] == 0 );
if ( lastDigit == 10 ) {
- qWarning( "TQString::arg(): Argument missing: %s, %s",
+ tqWarning( "TQString::arg(): Argument missing: %s, %s",
latin1(), args[i]->latin1() );
numArgs = i;
lastDigit = 9;
@@ -4735,7 +4735,7 @@ Q_LLONG TQString::toLongLong( bool *ok, int base ) const
{
#if defined(QT_CHECK_RANGE)
if ( base != 0 && (base < 2 || base > 36) ) {
- qWarning( "TQString::toLongLong: Invalid base (%d)", base );
+ tqWarning( "TQString::toLongLong: Invalid base (%d)", base );
base = 10;
}
#endif
@@ -4825,7 +4825,7 @@ Q_ULLONG TQString::toULongLong( bool *ok, int base ) const
{
#if defined(QT_CHECK_RANGE)
if ( base != 0 && (base < 2 || base > 36) ) {
- qWarning( "TQString::toULongLong: Invalid base %d", base );
+ tqWarning( "TQString::toULongLong: Invalid base %d", base );
base = 10;
}
#endif
@@ -5153,7 +5153,7 @@ TQString &TQString::setNum( Q_LLONG n, int base )
{
#if defined(QT_CHECK_RANGE)
if ( base < 2 || base > 36 ) {
- qWarning( "TQString::setNum: Invalid base %d", base );
+ tqWarning( "TQString::setNum: Invalid base %d", base );
base = 10;
}
#endif
@@ -5175,7 +5175,7 @@ TQString &TQString::setNum( Q_ULLONG n, int base )
{
#if defined(QT_CHECK_RANGE)
if ( base < 2 || base > 36 ) {
- qWarning( "TQString::setNum: Invalid base %d", base );
+ tqWarning( "TQString::setNum: Invalid base %d", base );
base = 10;
}
#endif
@@ -5282,7 +5282,7 @@ TQString &TQString::setNum( double n, char f, int prec )
break;
default:
#if defined(QT_CHECK_RANGE)
- qWarning( "TQString::setNum: Invalid format char '%c'", f );
+ tqWarning( "TQString::setNum: Invalid format char '%c'", f );
#endif
break;
}
@@ -7128,7 +7128,7 @@ TQCString qt_winTQString2MB( const TQString& s, int uclen )
} else {
#ifndef QT_NO_DEBUG
// Fail.
- qWarning("WideCharToMultiByte cannot convert multibyte text (error %d): %s (UTF8)",
+ tqWarning("WideCharToMultiByte cannot convert multibyte text (error %d): %s (UTF8)",
r, s.utf8().data());
#endif
break;
@@ -7154,7 +7154,7 @@ TQString qt_winMB2TQString( const char* mb, int mblen )
int r = GetLastError();
if ( r == ERROR_INSUFFICIENT_BUFFER ) {
if ( wc != wc_auto ) {
- qWarning("Size changed in MultiByteToWideChar");
+ tqWarning("Size changed in MultiByteToWideChar");
break;
} else {
wclen = MultiByteToWideChar( CP_ACP, MB_PRECOMPOSED,
@@ -7164,7 +7164,7 @@ TQString qt_winMB2TQString( const char* mb, int mblen )
}
} else {
// Fail.
- qWarning("MultiByteToWideChar cannot convert multibyte text");
+ tqWarning("MultiByteToWideChar cannot convert multibyte text");
break;
}
}