summaryrefslogtreecommitdiffstats
path: root/kppp/logview/export.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kppp/logview/export.cpp')
-rw-r--r--kppp/logview/export.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kppp/logview/export.cpp b/kppp/logview/export.cpp
index b646acdc..a3d55686 100644
--- a/kppp/logview/export.cpp
+++ b/kppp/logview/export.cpp
@@ -73,7 +73,7 @@ ExportWizard::ExportWizard(TQWidget *parent, const TQString &_date)
formatLayout->addSpacing(10);
typeInfo = new TQLabel(formatPage);
- typeInfo->tqsetAlignment(TQt::AlignTop | TQt::WordBreak);
+ typeInfo->setAlignment(TQt::AlignTop | TQt::WordBreak);
typeInfo->setText(i18n("<qt><b>Please choose the output format on the left side.</b></qt>"));
typeInfo->setMinimumSize(350, 200);
formatLayout->addWidget(typeInfo);
@@ -222,9 +222,9 @@ HTMLExport::HTMLExport(const TQString &filename, const TQString &date)
TQString title = i18n("Connection log for %1").tqarg(date);
buffer = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
buffer.append("<html>\n<head>\n <title>"+title+"</title>\n");
- buffer.append(TQString::tqfromLatin1(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=")
+ buffer.append(TQString::fromLatin1(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=")
+ TQTextCodec::codecForLocale()->mimeName() +
- TQString::tqfromLatin1("\">"));
+ TQString::fromLatin1("\">"));
buffer.append("\n</head>\n<body>\n<h1>"+title+"</h1>\n\n");
buffer.append("<table width=\"100%\" border=\"1\">\n");