summaryrefslogtreecommitdiffstats
path: root/src/tools/qdatetime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qdatetime.cpp')
-rw-r--r--src/tools/qdatetime.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/tools/qdatetime.cpp b/src/tools/qdatetime.cpp
index d0c21dc..ea8950a 100644
--- a/src/tools/qdatetime.cpp
+++ b/src/tools/qdatetime.cpp
@@ -513,7 +513,7 @@ QString QDate::shortMonthName( int month )
{
#if defined(QT_CHECK_RANGE)
if ( month < 1 || month > 12 ) {
- qWarning( "QDate::shortMonthName: Parameter out ouf range" );
+ tqWarning( "QDate::shortMonthName: Parameter out ouf range" );
month = 1;
}
#endif
@@ -559,7 +559,7 @@ QString QDate::longMonthName( int month )
{
#if defined(QT_CHECK_RANGE)
if ( month < 1 || month > 12 ) {
- qWarning( "QDate::longMonthName: Parameter out ouf range" );
+ tqWarning( "QDate::longMonthName: Parameter out ouf range" );
month = 1;
}
#endif
@@ -613,7 +613,7 @@ QString QDate::shortDayName( int weekday )
{
#if defined(QT_CHECK_RANGE)
if ( weekday < 1 || weekday > 7 ) {
- qWarning( "QDate::shortDayName: Parameter out of range" );
+ tqWarning( "QDate::shortDayName: Parameter out of range" );
weekday = 1;
}
#endif
@@ -661,7 +661,7 @@ QString QDate::longDayName( int weekday )
{
#if defined(QT_CHECK_RANGE)
if ( weekday < 1 || weekday > 7 ) {
- qWarning( "QDate::longDayName: Parameter out of range" );
+ tqWarning( "QDate::longDayName: Parameter out of range" );
weekday = 1;
}
#endif
@@ -850,7 +850,7 @@ bool QDate::setYMD( int y, int m, int d )
return isValid();
if ( !isValid(y,m,d) ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QDate::setYMD: Invalid date %04d-%02d-%02d", y, m, d );
+ tqWarning( "QDate::setYMD: Invalid date %04d-%02d-%02d", y, m, d );
#endif
return FALSE;
}
@@ -1073,7 +1073,7 @@ QDate QDate::fromString( const QString& s, Qt::DateFormat f )
{
if ( ( s.isEmpty() ) || ( f == Qt::LocalDate ) ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QDate::fromString: Parameter out of range" );
+ tqWarning( "QDate::fromString: Parameter out of range" );
#endif
QDate d;
d.jd = 0;
@@ -1122,7 +1122,7 @@ QDate QDate::fromString( const QString& s, Qt::DateFormat f )
}
#if defined(QT_CHECK_RANGE)
if ( month < 1 || month > 12 ) {
- qWarning( "QDate::fromString: Parameter out of range" );
+ tqWarning( "QDate::fromString: Parameter out of range" );
QDate d;
d.jd = 0;
return d;
@@ -1493,7 +1493,7 @@ bool QTime::setHMS( int h, int m, int s, int ms )
{
if ( !isValid(h,m,s,ms) ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QTime::setHMS Invalid time %02d:%02d:%02d.%03d", h, m, s,
+ tqWarning( "QTime::setHMS Invalid time %02d:%02d:%02d.%03d", h, m, s,
ms );
#endif
ds = MSECS_PER_DAY; // make this invalid
@@ -1664,7 +1664,7 @@ QTime QTime::fromString( const QString& s, Qt::DateFormat f )
{
if ( ( s.isEmpty() ) || ( f == Qt::LocalDate ) ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QTime::fromString: Parameter out of range" );
+ tqWarning( "QTime::fromString: Parameter out of range" );
#endif
QTime t;
t.ds = MSECS_PER_DAY;
@@ -1708,7 +1708,7 @@ bool QTime::currentTime( QTime *ct, Qt::TimeSpec ts )
{
if ( !ct ) {
#if defined(QT_CHECK_NULL)
- qWarning( "QTime::currentTime(QTime *): Null pointer not allowed" );
+ tqWarning( "QTime::currentTime(QTime *): Null pointer not allowed" );
#endif
return FALSE;
}
@@ -1789,7 +1789,7 @@ bool QTime::isValid( int h, int m, int s, int ms )
QTime t;
t.start();
some_lengthy_task();
- qDebug( "Time elapsed: %d ms", t.elapsed() );
+ tqDebug( "Time elapsed: %d ms", t.elapsed() );
\endcode
\sa restart(), elapsed(), currentTime()
@@ -2320,7 +2320,7 @@ int QDateTime::daysTo( const QDateTime &dt ) const
\code
QDateTime dt = QDateTime::currentDateTime();
QDateTime xmas( QDate(dt.date().year(),12,24), QTime(17,00) );
- qDebug( "There are %d seconds to Christmas", dt.secsTo(xmas) );
+ tqDebug( "There are %d seconds to Christmas", dt.secsTo(xmas) );
\endcode
\sa addSecs(), daysTo(), QTime::secsTo()
@@ -2449,7 +2449,7 @@ QDateTime QDateTime::fromString( const QString& s, Qt::DateFormat f )
{
if ( ( s.isEmpty() ) || ( f == Qt::LocalDate ) ) {
#if defined(QT_CHECK_RANGE)
- qWarning( "QDateTime::fromString: Parameter out of range" );
+ tqWarning( "QDateTime::fromString: Parameter out of range" );
#endif
QDateTime dt;
dt.d.jd = 0;
@@ -2482,7 +2482,7 @@ QDateTime QDateTime::fromString( const QString& s, Qt::DateFormat f )
}
#if defined(QT_CHECK_RANGE)
if ( month < 1 || month > 12 ) {
- qWarning( "QDateTime::fromString: Parameter out of range" );
+ tqWarning( "QDateTime::fromString: Parameter out of range" );
QDateTime dt;
dt.d.jd = 0;
return dt;