|
|
|
@ -187,7 +187,7 @@ void ItemFactory::initItem(LogListItem* item) {
|
|
|
|
|
void ItemFactory::initDefaultItem(LogListItem* item) {
|
|
|
|
|
LogLine* line=item->getLogLine();
|
|
|
|
|
|
|
|
|
|
item->setText(0, line->getTime().toString(Qt::LocalDate));
|
|
|
|
|
item->setText(0, line->getTime().toString(TQt::LocalDate));
|
|
|
|
|
|
|
|
|
|
int i=1;
|
|
|
|
|
TQStringList& labels=line->getItemList();
|
|
|
|
@ -302,7 +302,7 @@ TQString ItemFactory::createCronFormattedText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Hostname:"), items[0]));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Process:"), items[1]));
|
|
|
|
|
result.append(labelMessageFormat(i18n("User:"), items[2]));
|
|
|
|
@ -321,7 +321,7 @@ TQString ItemFactory::createDefaultFormattedText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Hostname:"), items[0]));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Process:"), items[1]));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Level:"), line->getLogLevel()->name));
|
|
|
|
@ -339,7 +339,7 @@ TQString ItemFactory::createAcpidFormattedText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Level:"), line->getLogLevel()->name));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Type:"), items[0]));
|
|
|
|
|
|
|
|
|
@ -353,7 +353,7 @@ TQString ItemFactory::createCupsFormattedText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Level:"), line->getLogLevel()->name));
|
|
|
|
|
|
|
|
|
|
result.append("</table>");
|
|
|
|
@ -368,7 +368,7 @@ TQString ItemFactory::createCupsAccessFormattedText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Level:"), line->getLogLevel()->name));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Hostname:"), items[0]));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Identification:"), items[1]));
|
|
|
|
@ -389,7 +389,7 @@ TQString ItemFactory::createApacheFormattedText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Level:"), line->getLogLevel()->name));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Client:"), items[0]));
|
|
|
|
|
|
|
|
|
@ -405,7 +405,7 @@ TQString ItemFactory::createApacheAccessFormattedText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Level:"), line->getLogLevel()->name));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Hostname:"), items[0]));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Identification:"), items[1]));
|
|
|
|
@ -428,7 +428,7 @@ TQString ItemFactory::createSambaFormattedText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Level:"), line->getLogLevel()->name));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Source File:"), items[0]));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Function:"), items[1]));
|
|
|
|
@ -450,7 +450,7 @@ TQString ItemFactory::createDefaultToolTipText(LogLine* line) {
|
|
|
|
|
|
|
|
|
|
result.append("<table>");
|
|
|
|
|
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(Qt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Date:"), line->getTime().toString(TQt::LocalDate)));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Level:"), line->getLogLevel()->name));
|
|
|
|
|
result.append(labelMessageFormat(i18n("Original file:"), line->getOriginalFile()));
|
|
|
|
|
|
|
|
|
|