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.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kppp/logview/export.cpp b/kppp/logview/export.cpp
index 14c614c4..e741405d 100644
--- a/kppp/logview/export.cpp
+++ b/kppp/logview/export.cpp
@@ -47,8 +47,8 @@ ExportFormats [] = {
/***** ExportWizard *****/
-ExportWizard::ExportWizard(TQWidget *parent, const TQString &_date)
- : KWizard(parent, "", true) {
+ExportWizard::ExportWizard(TQWidget *tqparent, const TQString &_date)
+ : KWizard(tqparent, "", true) {
date = _date;
filterID = 0;
@@ -73,7 +73,7 @@ ExportWizard::ExportWizard(TQWidget *parent, const TQString &_date)
formatLayout->addSpacing(10);
typeInfo = new TQLabel(formatPage);
- typeInfo->setAlignment(Qt::AlignTop | Qt::WordBreak);
+ typeInfo->tqsetAlignment(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);
@@ -144,7 +144,7 @@ void ExportWizard::getFilename() {
void ExportWizard::reject() {
hide();
- filename = TQString::null;
+ filename = TQString();
}
void ExportWizard::accept() {
@@ -219,12 +219,12 @@ void CSVExport::setFinishCode() {
/***** HTMLExport *****/
HTMLExport::HTMLExport(const TQString &filename, const TQString &date)
: Export(filename) {
- TQString title = i18n("Connection log for %1").arg(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::fromLatin1(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=")
+ buffer.append(TQString::tqfromLatin1(" <meta http-equiv=\"Content-Type\" content=\"text/html; charset=")
+ TQTextCodec::codecForLocale()->mimeName() +
- TQString::fromLatin1("\">"));
+ TQString::tqfromLatin1("\">"));
buffer.append("\n</head>\n<body>\n<h1>"+title+"</h1>\n\n");
buffer.append("<table width=\"100%\" border=\"1\">\n");