diff options
Diffstat (limited to 'kradio3/plugins/gui-error-log')
-rw-r--r-- | kradio3/plugins/gui-error-log/errorlog.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kradio3/plugins/gui-error-log/errorlog.cpp b/kradio3/plugins/gui-error-log/errorlog.cpp index b675d14..97cc22b 100644 --- a/kradio3/plugins/gui-error-log/errorlog.cpp +++ b/kradio3/plugins/gui-error-log/errorlog.cpp @@ -19,11 +19,11 @@ #include <tqframe.h> #include <tqdatetime.h> -#include <tqlayout.h> +#include <layout.h> #include <klocale.h> #include <kiconloader.h> -#include <tqtextedit.h> +#include <textedit.h> #include <kfiledialog.h> #include <kurl.h> #include <ktempfile.h> @@ -162,7 +162,7 @@ void ErrorLog::showOnOrgDesktop() void ErrorLog::hide() { - logDebug(TQString("%1, ErrorLog::hide: all: %2, desktop: %3, visible:%4, anywherevisible:%5, cachevalid: %6").tqarg(name()).tqarg(m_saveSticky).tqarg(m_saveDesktop).tqarg(isReallyVisible()).tqarg(isAnywhereVisible()).tqarg(m_geoCacheValid)); + logDebug(TQString("%1, ErrorLog::hide: all: %2, desktop: %3, visible:%4, anywherevisible:%5, cachevalid: %6").arg(name()).arg(m_saveSticky).arg(m_saveDesktop).arg(isReallyVisible()).arg(isAnywhereVisible()).arg(m_geoCacheValid)); WidgetPluginBase::pHide(); KDialogBase::hide(); } @@ -183,7 +183,7 @@ void ErrorLog::hideEvent(TQHideEvent *e) bool ErrorLog::logError (const TQString &s) { - m_teErrors->append("<i>" + TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); + m_teErrors->append("<i>" + TQDateTime::currentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); if (init_done) { showPage(PAGE_ID_ERROR); show(); @@ -193,19 +193,19 @@ bool ErrorLog::logError (const TQString &s) bool ErrorLog::logWarning(const TQString &s) { - m_teWarnings->append("<i>" + TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); + m_teWarnings->append("<i>" + TQDateTime::currentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); return true; } bool ErrorLog::logInfo (const TQString &s) { - m_teInfos->append("<i>" + TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); + m_teInfos->append("<i>" + TQDateTime::currentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); return true; } bool ErrorLog::logDebug (const TQString &s) { - m_teDebug->append("<i>" + TQDateTime::tqcurrentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); + m_teDebug->append("<i>" + TQDateTime::currentDateTime().toString(Qt::ISODate) + "</i> " + s + "\n"); return true; } @@ -244,7 +244,7 @@ void ErrorLog::slotUser1() if (outf->status() != IO_Ok) { logError("ErrorLogger: " + - i18n("error writing to tempfile %1").tqarg(tmpFile.name())); + i18n("error writing to tempfile %1").arg(tmpFile.name())); return; } @@ -253,7 +253,7 @@ void ErrorLog::slotUser1() if (!KIO::NetAccess::upload(tmpFile.name(), url, this)) { logError("ErrorLogger: " + - i18n("error uploading preset file %1").tqarg(url.url())); + i18n("error uploading preset file %1").arg(url.url())); } } setIconListAllVisible(true); |