summaryrefslogtreecommitdiffstats
path: root/kradio3/src/errorlog-interfaces.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kradio3/src/errorlog-interfaces.cpp')
-rw-r--r--kradio3/src/errorlog-interfaces.cpp66
1 files changed, 33 insertions, 33 deletions
diff --git a/kradio3/src/errorlog-interfaces.cpp b/kradio3/src/errorlog-interfaces.cpp
index 025c0be..65e2e43 100644
--- a/kradio3/src/errorlog-interfaces.cpp
+++ b/kradio3/src/errorlog-interfaces.cpp
@@ -19,7 +19,7 @@
#include <kdebug.h>
#include <klocale.h>
-#include <qdatetime.h>
+#include <tqdatetime.h>
IErrorLog *staticLogger = NULL;
@@ -38,73 +38,73 @@ IErrorLog::~IErrorLog()
}
-int IErrorLogClient::sendLogError(const QString &s) const
+int IErrorLogClient::sendLogError(const TQString &s) const
{
- kdDebug() << QString(i18n("%1 Error: %2\n"))
- .arg(QDateTime::currentDateTime().toString(Qt::ISODate))
- .arg(s);
+ kdDebug() << TQString(i18n("%1 Error: %2\n"))
+ .tqarg(TQDateTime::tqcurrentDateTime().toString(Qt::ISODate))
+ .tqarg(s);
IF_SEND_MESSAGE(logError(s));
}
-int IErrorLogClient::sendLogWarning(const QString &s) const
+int IErrorLogClient::sendLogWarning(const TQString &s) const
{
- kdDebug() << QString(i18n("%1 Warning: %2\n"))
- .arg(QDateTime::currentDateTime().toString(Qt::ISODate))
- .arg(s);
+ kdDebug() << TQString(i18n("%1 Warning: %2\n"))
+ .tqarg(TQDateTime::tqcurrentDateTime().toString(Qt::ISODate))
+ .tqarg(s);
IF_SEND_MESSAGE(logWarning(s));
}
-int IErrorLogClient::sendLogInfo(const QString &s) const
+int IErrorLogClient::sendLogInfo(const TQString &s) const
{
- kdDebug() << QString(i18n("%1 Information: %2\n"))
- .arg(QDateTime::currentDateTime().toString(Qt::ISODate))
- .arg(s);
+ kdDebug() << TQString(i18n("%1 Information: %2\n"))
+ .tqarg(TQDateTime::tqcurrentDateTime().toString(Qt::ISODate))
+ .tqarg(s);
IF_SEND_MESSAGE(logInfo(s));
}
-int IErrorLogClient::sendLogDebug(const QString &s) const
+int IErrorLogClient::sendLogDebug(const TQString &s) const
{
- kdDebug() << QString(i18n("%1 Debug: %2\n"))
- .arg(QDateTime::currentDateTime().toString(Qt::ISODate))
- .arg(s);
+ kdDebug() << TQString(i18n("%1 Debug: %2\n"))
+ .tqarg(TQDateTime::tqcurrentDateTime().toString(Qt::ISODate))
+ .tqarg(s);
IF_SEND_MESSAGE(logDebug(s));
}
-void IErrorLogClient::staticLogError (const QString &s)
+void IErrorLogClient::staticLogError (const TQString &s)
{
- kdDebug() << QString(i18n("%1 Error: %2\n"))
- .arg(QDateTime::currentDateTime().toString(Qt::ISODate))
- .arg(s);
+ kdDebug() << TQString(i18n("%1 Error: %2\n"))
+ .tqarg(TQDateTime::tqcurrentDateTime().toString(Qt::ISODate))
+ .tqarg(s);
if (staticLogger)
staticLogger->logError(s);
}
-void IErrorLogClient::staticLogWarning(const QString &s)
+void IErrorLogClient::staticLogWarning(const TQString &s)
{
- kdDebug() << QString(i18n("%1 Warning: %2\n"))
- .arg(QDateTime::currentDateTime().toString(Qt::ISODate))
- .arg(s);
+ kdDebug() << TQString(i18n("%1 Warning: %2\n"))
+ .tqarg(TQDateTime::tqcurrentDateTime().toString(Qt::ISODate))
+ .tqarg(s);
if (staticLogger)
staticLogger->logWarning(s);
}
-void IErrorLogClient::staticLogInfo (const QString &s)
+void IErrorLogClient::staticLogInfo (const TQString &s)
{
- kdDebug() << QString(i18n("%1 Information: %2\n"))
- .arg(QDateTime::currentDateTime().toString(Qt::ISODate))
- .arg(s);
+ kdDebug() << TQString(i18n("%1 Information: %2\n"))
+ .tqarg(TQDateTime::tqcurrentDateTime().toString(Qt::ISODate))
+ .tqarg(s);
if (staticLogger)
staticLogger->logInfo(s);
}
-void IErrorLogClient::staticLogDebug (const QString &s)
+void IErrorLogClient::staticLogDebug (const TQString &s)
{
- kdDebug() << QString(i18n("%1 Debug: %2\n"))
- .arg(QDateTime::currentDateTime().toString(Qt::ISODate))
- .arg(s);
+ kdDebug() << TQString(i18n("%1 Debug: %2\n"))
+ .tqarg(TQDateTime::tqcurrentDateTime().toString(Qt::ISODate))
+ .tqarg(s);
if (staticLogger)
staticLogger->logDebug(s);
}